Rotation angle detector and servo motor system

The rotation angle detector uses an annular magnet and arithmetic circuit to switch between data output modes, enabling bidirectional communication and protocol conversion, addressing the need for serial communication with external components.

JP7533274B2Active Publication Date: 2024-08-14NSK LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021025861
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-22
Publication Date
2024-08-14
Estimated Expiration
2041-02-22

AI Technical Summary

Technical Problem

There is a demand for serial communication between a rotation angle detector and an external component, with a need to switch between outputting and stopping data based on input to the rotation angle detector.

Method used

The rotation angle detector includes an annular magnet with alternating N and S poles, a magnetic sensor, an output circuit, and an arithmetic circuit that operates in either a first mode for data output or a second mode for impedance increase to stop data output, with storage circuits for setting and correction data, allowing bidirectional communication and protocol conversion.

Benefits of technology

Enables switching between data output and stoppage based on input, facilitating bidirectional communication and protocol conversion between the rotation angle detector and external components, even with different protocols, and supports operation mode switching without additional identification data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007533274000005
    Figure 0007533274000005
  • Figure 0007533274000004
    Figure 0007533274000004
  • Figure 0007533274000001
    Figure 0007533274000001
Patent Text Reader

Abstract

To provide a rotation angle detector capable of switching between data output by serial communication and output stop on the basis of an input to a rotation angle detector.SOLUTION: A rotation angle detector 1 comprises: an annular magnet in which N poles and S poles are alternately arranged in a circumferential direction; a magnetic sensor 11 which is arranged opposite the magnet in a non-contact manner; a bus transceiver circuit 30 that outputs serial data based on output data of the magnetic sensor 11; an I / F 40 to which an input and output terminal of the bus transceiver circuit 30 is connected; an FPGA 20 interposed between the magnetic sensor 11 and the bus transceiver circuit 30; and a substrate 3 provided with the magnetic sensor 11, the bus transceiver circuit 30, the I / F 40, and the FPGA 20. The bus transceiver circuit 30 operates in two operation modes having different impedances of input and output terminals (a plus terminal 33 and a minus terminal 34) on the basis of input from the I / F 40.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a rotation angle detector and a servo motor system. [Background technology]

[0002] A rotation angle detector is known that is capable of selectively switching between input and output to a sensor. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent No. 6098513 Summary of the Invention [Problem to be solved by the invention]

[0004] There has been a demand for employing serial communication for communication between a rotation angle detector and an external configuration connected to the rotation angle detector, and a demand for switching between outputting data via serial communication and stopping output based on an input to the rotation angle detector.

[0005] An object of the present invention is to provide a rotation angle detector and a servo motor system that are capable of switching between outputting data via serial communication and stopping the output based on an input to the rotation angle detector. [Means for solving the problem]

[0006] In order to achieve the above-mentioned object, a rotation angle detector of the present invention comprises a ring-shaped magnet in which north and south poles are arranged alternately in the circumferential direction, a magnetic sensor arranged facing the magnet in a non-contact state, an output circuit that outputs serial data based on output data of the magnetic sensor, an interface to which the input / output terminals of the output circuit are connected, an arithmetic circuit interposed between the magnetic sensor and the output circuit, and a substrate on which the magnetic sensor, the output circuit, the interface and the arithmetic circuit are provided, wherein the output circuit operates in either a first mode or a second mode, the first mode being an operation mode in which the output data of the magnetic sensor is input to the servo amplifier, and the second mode being a mode in which the impedance of the input / output terminals is made higher than in the first mode to block the input / output of the output circuit, and the output circuit determines the operation mode based on the input from the interface.

[0007] Therefore, in the second mode, the impedance of the output terminal becomes high, and the output of data can be blocked. In this manner, it is possible to switch between outputting data via serial communication and stopping the output based on the input from the interface to the rotation angle detector.

[0008] The rotation angle detector of the present invention includes a first storage circuit in which setting data to be read by the servo amplifier is stored, and in the second mode, the setting data is made writable.

[0009] Therefore, two-way communication including input of configuration data and output of sensors can be performed through the interface.

[0010] In the rotation angle detector of the present invention, the first memory circuit is built into the arithmetic circuit.

[0011] Therefore, two-way communication including input of setting data built into the arithmetic circuit and output of the sensor can be performed through the interface.

[0012] The rotation angle detector of the present invention is provided with a second memory circuit that is provided so as to be referenced by the magnetic sensor and stores correction data for the magnetic sensor, and in the second mode, is provided so as to be able to write the setting data or the correction data.

[0013] Therefore, two-way communication including input of setting data or correction data and output of the sensor can be performed through the interface.

[0014] In the rotation angle detector of the present invention, the correction data is written into the second storage circuit from the interface via the arithmetic circuit and the magnetic sensor.

[0015] Therefore, the data transmission path used for inputting the correction data and the data transmission path used for outputting the data via the output circuit can be different paths.

[0016] In the rotation angle detector of the present invention, the arithmetic circuit determines whether the data to be written is the setting data or the correction data, based on the frequency of the signal input from the interface.

[0017] Therefore, it becomes possible to switch between writing of setting data and writing of correction data based on the frequency of the signal.

[0018] In the rotation angle detector of the present invention, the output circuit determines the operation mode based on the waiting time until an input is made from the interface after power is turned on.

[0019] Therefore, the operation mode can be switched without providing identification data or the like dedicated to switching the operation mode.

[0020] In the rotation angle detector of the present invention, when the output circuit operates in the first mode, the arithmetic circuit performs a process of converting a first protocol used for input / output of the magnetic sensor into a second protocol used for input / output of the output circuit.

[0021] Therefore, even if the protocol adopted by the magnetic sensor and the protocol adopted by the output circuit are different, the sensor and the output circuit can communicate with each other.

[0022] In order to achieve the above object, a servo motor system of the present invention includes an electric motor provided with a rotation angle detector of the present invention, and a servo amplifier connected to the interface.

[0023] Therefore, in the second mode, the impedance of the output terminal becomes high, and the output of data can be blocked. In this manner, it is possible to switch between outputting data via serial communication and stopping the output based on the input from the interface to the rotation angle detector. Effect of the Invention

[0024] According to the present invention, it is possible to switch between outputting and stopping data output by serial communication based on the input to the rotation angle detector. [Brief description of the drawings]

[0025] [Figure 1] FIG. 1 is a diagram showing a main configuration of a servo motor system according to a first embodiment. [Diagram 2] FIG. 2 is a schematic diagram showing a configuration example of the rotation angle detector. [Diagram 3] FIG. 3 is a schematic diagram showing a configuration example of the substrate of the first embodiment. [Figure 4] FIG. 4 is a schematic diagram showing an example of a protocol used in two signal transmission paths to a magnetic sensor. [Diagram 5] FIG. 5 is a schematic diagram showing an example of the configuration of a rotation angle detector according to the second embodiment. [Figure 6] FIG. 6 is a schematic diagram showing a configuration example of the substrate according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0026] Hereinafter, an embodiment of the present invention will be described with reference to the drawings, but the present invention is not limited thereto. The requirements of each embodiment described below can be appropriately combined. In addition, some components may not be used.

[0027] (First embodiment) 1 is a diagram showing the main configuration of a servo motor system 100 according to the first embodiment. The servo motor system 100 includes an electric motor M, a rotating member R, and a rotation angle detector 1. The servo motor system 100 is connected to a servo amplifier 90.

[0028] The electric motor M rotates or turns the output shaft MS under the operational control of the servo amplifier 90 in response to the supply of electric power. The rotating member R is a member fixed to the output shaft MS and rotates or turns in response to the rotation or turning of the output shaft MS. The rotating member R is, for example, a disk-shaped member having the rotation center X of the output shaft MS as its radial center and a plate surface perpendicular to the extension direction of the output shaft MS, but the specific shape of the rotating member R is not limited to this and can be changed as appropriate.

[0029] 2 is a schematic diagram showing a configuration example of the rotation angle detector 1. The rotation angle detector 1 includes a ring magnet 2 and a substrate 3. The ring magnet 2 is fixed to one surface of a rotating member R. The ring magnet 2 is an annular magnetic body centered on the center of rotation X.

[0030] The ring magnet 2 has a first magnetized row C1 and a second magnetized row C2. The first magnetized row C1 and the second magnetized row C2 are each a magnetized row in which the polarity alternates in the circumferential direction. The first magnetized row C1 has a larger diameter than the second magnetized row C2. The first magnetized row C1 is located outside the second magnetized row C2.

[0031] The number of magnetic pole pairs W1 in the first magnetization row C1 is different from the number of magnetic pole pairs W2 in the second magnetization row C2. Although Fig. 2 illustrates an example in which the number of magnetic pole pairs W1 is greater than the number of magnetic pole pairs W2, the relationship between the numbers can be changed. For example, the relationship between the number of magnetic pole pairs W1 in the first magnetization row C1 and the number of magnetic pole pairs W2 in the second magnetization row C2 may be reversed. Each of the magnetic pole pairs W1 and W2 includes one north pole and one south pole.

[0032] A magnetic sensor 11 is provided on the substrate 3. The substrate 3 supports the magnetic sensor 11 at a position facing the ring of the ring magnet 2. The magnetic sensor 11 is an integrated circuit (IC) that is supported in a non-contact state with the ring of the ring magnet 2, detects a magnetic field corresponding to the rotation angle of the ring magnet 2 that rotates in response to the operation of the electric motor M, and outputs a signal corresponding to the detected magnetic flux density (or magnetic field strength). This output is treated as a sensor output of the magnetic sensor 11. The magnetic sensor 11 of the first embodiment is intended for a magnetic field in which the magnetic flux from the first magnetized array C1 and the magnetic flux from the second magnetized array C2 are combined.

[0033] 1, each component of the rotation angle detector 1 and the rotating member R are covered with a cover member P. By supporting the substrate 3 by the cover member P, the position of the substrate 3 relative to the ring magnet 2 is maintained.

[0034] 3 is a schematic diagram showing a configuration example of the substrate 3 of the first embodiment. The substrate 3 includes a magnetic sensor 11, an EEPROM (Electrically Erasable Programmable Read Only Memory) 15, a level shifter LS1, an FPGA (Field Programmable Gate Array) 20, a level shifter LS2, a bus transceiver circuit 30, an interface (I / F) 40, an oscillator 71, a temperature monitoring IC 72, an LOD 73, a connector 80, and the like.

[0035] The EEPROM 15 functions as a second storage circuit that stores correction data for the magnetic sensor 11. The magnetic sensor 11 corrects the output according to the correction data in the EEPROM 15 during operation. The magnetic sensor 11 outputs the corrected signal to the FPGA 20. The magnetic sensor 11 and the EEPROM 15 are connected, for example, via an I2C (Inter Integrated Circuit) serial bus, but this is merely an example and is not limiting, and can be changed as appropriate.

[0036] In the first embodiment, a level shifter LS1 is provided between the magnetic sensor 11 and the FPGA 20. The level shifter LS1 converts the level of a signal between the voltage system of the magnetic sensor 11 and the voltage system of the FPGA 20. In the first embodiment, the magnetic sensor 11 and the FPGA 20 operate under different voltage systems. Specifically, the magnetic sensor 11 is a 5V system, and the FPGA 20 is a 3.3V system. Therefore, the level shifter LS1 converts a 5V system signal output from the magnetic sensor 11 into a 3.3V system signal and inputs it to a terminal 21 of the FPGA 20. In addition, the level shifter LS1 converts a 3.3V system signal output from the terminal 21 into a 5V system signal and inputs it to the magnetic sensor 11.

[0037] The FPGA 20 is an arithmetic circuit that performs protocol conversion between the magnetic sensor 11 and the servo amplifier 90 connected to the substrate 3. The FPGA 20 allows the magnetic sensor 11 and the servo amplifier 90 to be adopted without being restricted by direct compatibility between the protocol of the magnetic sensor 11 and the protocol of the servo amplifier 90.

[0038] The terminal 22a of the FPGA 20 is connected to the I / F 40 via a level shifter LS2. The level shifter LS2 converts the level of signals between the voltage system of the FPGA 20 and the voltage system of the I / F 40. In the first embodiment, the FPGA 20 and the I / F 40 operate under different voltage systems. Specifically, the FPGA 20 is a 3.3V system, and the I / F 40 is a 5V system. Therefore, the level shifter LS2 converts a 5V system signal input from the I / F 40 to a 3.3V system signal. The level shifter LS2 also converts a 3.3V system signal output from the terminal 22a to a 5V system signal and transmits it to the I / F 40.

[0039] The level shifter LS2 includes an OE (output enable) terminal OE2. The OE terminal OE2 is connected to a terminal 22b of the FPGA 20. The level shifter LS2 operates when there is an input (OE signal) to the OE terminal OE2.

[0040] The FPGA 20 of the first embodiment includes a built-in user flash memory (UFM) 20b in which setting data read by the servo amplifier 90 is stored. The UFM 20b functions as a first storage circuit. Specifically, the UFM 20b stores information indicating the specifications of the motor M, such as the number of poles of the motor M and information indicating the rotation direction of the motor M (L / R). The servo amplifier 90 connected to the board 3 reads information about the motor M from the UFM 20b and matches the correspondence between the setting data obtained from the board 3 and the operation of the motor M. The number of poles of the motor M refers to the number of poles of a magnet (for example, a magnet with fixed magnetic poles such as a so-called permanent magnet) that the rotor or stator has.

[0041] The UFM 20b is provided to enable input and output of setting data via a terminal 29a of the FPGA 20. The terminal 29a of the FPGA 20 is connected to the I / F 40 via a level shifter LS3. The level shifter LS3 converts the level of signals between the voltage system of the FPGA 20 and the voltage system of the I / F 40. The level shifter LS3 converts a 5V signal input from the I / F 40 to a 3.3V signal. The level shifter LS3 also converts a 3.3V signal output from the terminal 29a to a 5V signal and transmits it to the I / F 40.

[0042] The level shifter LS3 includes an OE terminal OE3. The OE terminal OE3 is connected to a terminal 29b of the FPGA 20. The level shifter LS3 operates when there is an input (OE signal) to the OE terminal OE3.

[0043] The terminal 23 and the terminal group 24 of the FPGA 20 are connected to a bus transceiver circuit 30. The bus transceiver circuit 30 is a circuit capable of serial communication with a servo amplifier 90 connected to the board 3. The bus transceiver circuit 30 is interposed between the FPGA 20 and the I / F 40.

[0044] In the first embodiment, there are three signal transmission paths between the FPGA 20 and the I / F 40. One is a path via the level shifter LS2. Another is a path via the level shifter LS3. The other is a path via the bus transceiver circuit 30.

[0045] The I / F 40 is provided with a connector 51, a connector 56, or a connector 61 so that it can be connected thereto. The I / F 40 is, for example, a 4-pin female connector, but is not limited thereto. The specific form of the I / F 40 can be changed as appropriate. The connectors 51, 56, and 61 are in a form corresponding to the specific form of the I / F 40 (for example, a 4-pin male connector). Two of the lines connected to the 4 pins are power lines (for example, 5V and GND), and the other two are signal lines for transmitting differential signals.

[0046] The FPGA 20 enables correction of the magnetic sensor 11 when an external normalization processing device (not shown) is connected. The normalization processing device is connected to a correction I / F 50. The correction I / F 50 is a mutual conversion I / F that enables data transmission between an I / F provided in the normalization processing device and a connector 51. A specific example of the I / F provided in the normalization processing device is, for example, a USB (Universal Serial Bus) I / F, but is not limited to this. The normalization processing device is, for example, a computer provided with a USB I / F and configured to be able to output correction data of a magnetic sensor such as the magnetic sensor 11 from the USB I / F, but is not limited to this and can be changed as appropriate.

[0047] When an external UFM writing device (not shown) is connected, the FPGA 20 enables writing of setting data stored in the UFM 20b. The UFM writing device is connected to a memory I / IF 55. The memory I / F is a mutual conversion I / F that enables data transmission between an I / F provided in the UFM writing device and a connector 56. A specific example of the I / F provided in the UFM writing device is, for example, a USB I / F, but is not limited to this. The UFM writing device is, for example, a computer provided with a USB I / F and capable of outputting setting data from the USB I / F, but is not limited to this and can be changed as appropriate.

[0048] The connector 61 is connected to a servo amplifier I / F 60 which is connected to a servo amplifier 90. The sensor output of the magnetic sensor 11 is transmitted to the servo amplifier 90 via the magnetic sensor 11, level shifter LS1, FPGA 20, bus transceiver circuit 30, I / F 40, connector 61, and servo amplifier I / F 60. The servo amplifier 90 controls the operation of the electric motor M based on the rotation angle of the ring magnet 2 indicated by the sensor output of the magnetic sensor 11.

[0049] Fig. 4 is a schematic explanatory diagram showing an example of protocols used in two signal transmission paths for the magnetic sensor 11. Fig. 4 illustrates an example in which the serial communication protocol adopted by the magnetic sensor 11 is BiSS (Bidirectional Serial Synchronous), particularly Biss C. Fig. 4 also illustrates an example in which the serial communication protocol adopted for inputting and outputting setting data of the UFM 20b is I2C. Fig. 4 also illustrates an example in which the serial communication protocol adopted by the bus transceiver circuit 30 and the servo amplifier 90 is RS-485.

[0050] Biss C, I2C, and RS-485 used in the first embodiment are half-duplex protocols that use differential signals. Therefore, the number of signal lines between the magnetic sensor 11 and FPGA 20 through the level shifter LS1 is two in order to transmit the differential signal used in Biss C. The number of signal lines between the bus transceiver circuit 30 and the correction I / F 50 through the level shifter LS2 is two in order to transmit the differential signal used in Biss C. The number of signal lines between the memory I / F and FPGA 20 through the level shifter LS3 is two in order to transmit the differential signal used in IS2. In FIG. 2, the arrow connecting the level shifter LS1 and the terminal 21, the arrow connecting the level shifter LS2 and the terminal 22a, and the arrow connecting the level shifter LS3 and the terminal 29a are indicated by slanting lines and the number "2".

[0051] The number of signal lines between the FPGA 20 and the bus transceiver circuit 30 used as part of a path for transmitting the sensor output of the magnetic sensor 11 to the servo amplifier 90 connected to the I / F 40 via the FPGA 20 and the bus transceiver circuit 30 is two, including signal lines connected to the DE (driver enable) terminal 32a and the D (driver input) terminal 32b. In Fig. 3, the reference numeral 32 is given to a terminal group including the DE terminal 32a and the D terminal 32b corresponding to the two signal lines and a TE (termination enable) terminal 32c described later. The FPGA 20 shown in Fig. 2 also has a terminal 24a for transmitting an output signal to the DE terminal 32a and a terminal 24b for transmitting an output signal to the D terminal 32b. The terminal group 24 includes a terminal 24a, a D terminal 32b, and a terminal 24c described later. Furthermore, in the first embodiment, a signal line connecting the receiver output (R) terminal 31 of the bus transceiver circuit 30 and the input terminal 23 of the FPGA 20 is separately provided as a signal line connecting a signal transmission path for identifying whether the configuration connected to the I / F 40 of the board 3 is the connector 51 or the connector 61. Since the number of these signal lines (+1) is added to the number (2) of signal lines connected to the DE terminal 32a and the D terminal 32b, the number of RS-485 signal lines between the FPGA 20 and the bus transceiver circuit 30 shown in FIG. 3 is (2+1).

[0052] In addition, a signal line is provided between the FPGA 20 and the bus transceiver circuit 30 for inputting a signal from the terminal 24c of the FPGA 20 to the TE terminal 32c of the bus transceiver circuit 30. However, the signal transmitted through this signal line is not transmitted to the normalization processing device, the memory writing device, and the servo amplifier 90, and is therefore not included in the number of RS-485 signal lines ((2+1) lines) in FIG. 3. The signal transmitted through this signal line determines the operation mode of the bus transceiver circuit 30. In the first embodiment, the operation modes include a first mode and a second mode. The first mode is an operation mode in which the bus transceiver circuit 30 outputs serial data based on the output data of the magnetic sensor 11 from the plus (+) terminal 33 and the minus (-) terminal 34. The second mode is a mode in which the impedance of the input / output terminals (the plus terminal 33 and the minus terminal 34) is made higher than that of the first mode, and the input / output of the bus transceiver circuit 30 is blocked. In the embodiment, in the second mode, the setting data or the correction data is provided to be writable.

[0053] The bus transceiver circuit 30 determines the operation mode based on whether the component connected to the I / F 40 when the board 3 is powered on is the connector 61 or another connector (connector 51 or connector 56). In the first embodiment, the FPGA 20 determines the operation mode of the bus transceiver circuit 30 based on the waiting time until input from the I / F 40 is made after the board 3 is powered on. This utilizes the fact that the time (second time) from powering on until signal input from the servo amplifier 90 starts is longer than the time (first time) from powering on until the FPGA 20 mounted on the board 3 starts operating after powering on. As a specific example, the first time is, for example, one hundred [ms]. On the other hand, the second time is, for example, several hundred [ms]. Therefore, if a signal is input via the I / F 40 before the second time has elapsed after powering on, it can be determined that the signal is not a signal from the servo amplifier 90 but a signal from the normalization processing device or the UFM writing device. Note that when setting data is input to the UFM 20b, the UFM writing device is assumed to be operating beforehand when the board 3 is powered on. In addition, when the correction data of the magnetic sensor 11 is input, the normalization processing device is assumed to be already operating when the power supply of the substrate 3 is turned on.

[0054] The FPGA 20 of the first embodiment includes a switching detection unit 20a that performs processing related to switching of the operation mode of the bus transceiver circuit 30. A signal input via the I / F 40 after power-on is input to the bus transceiver circuit 30. The signal is input from the R terminal 31 to the terminal 23. The FPGA 20 operates after the first time has elapsed. Therefore, the switching detection unit 20a determines that the signal is from the servo amplifier 90 when the signal is input after the elapse of (second time-first time) from the start of operation, and determines that the signal is from the normalization processing device or UFM writing device when the signal is input before the elapse of (second time-first time).

[0055] When the servo amplifier 90 is connected at the time of power-on, if a signal is input after the lapse of (second time-first time), the switching detection unit 20a does not output the TE signal. This enables the signal output from the bus transceiver circuit 30 via the + terminal 33 and the - terminal 34. In this manner, the bus transceiver circuit 30 operates in the first mode. This establishes communication including protocol conversion between the magnetic sensor 11-level shifter LS1-FPGA 20-bus transceiver circuit 30-I / F 40-connector 61-servo amplifier I / F 60, and the sensor output from the magnetic sensor 11 is transmitted to the servo amplifier 90. When operating in the first mode, the FPGA 20 performs a process of converting the first protocol (BiSS C) used for input / output of the magnetic sensor 11 into the second protocol (RS-485) used for input / output of the bus transceiver circuit 30.

[0056] On the other hand, if a signal is input before the lapse of (second time-first time) due to the normalization processing device or UFM writing device being connected when the power is turned on, the switching detection unit 20a outputs a TE signal from the terminal 24c. The TE signal is input to the bus transceiver circuit 30 via the TE terminal 32c. The bus transceiver circuit 30 to which the TE signal is input operates to set the output impedance of the + terminal 33 and the - terminal 34 to high impedance (HighZ) when the output is cut off, and cuts off the termination resistor. This cuts off the signal transmission path between the FPGA 20 and the I / F 40 via the bus transceiver circuit 30. In this way, the bus transceiver circuit 30 operates in the second mode.

[0057] In the second mode, the output impedance of the + terminal 33 and the - terminal 34 becomes high impedance (HighZ) when the output is cut off, and the level shifter LS2 or the level shifter LS3 operates. Whether the level shifter LS2 or the level shifter LS3 operates depends on the configuration connected to the I / F 40.

[0058] When a UFM writing device is connected, that is, when the connector 56 is connected to the I / F 40, the switching detection unit 20a outputs an OE signal to the terminal 29b. When the level shifter LS3 operates in response to the OE signal transmitted from the terminal 29b to the OE terminal OE3, communication is established between the UFM 20b, the level shifter LS3, the I / F 40, the connector 56, and the memory I / F 55 according to the I2C protocol, and setting data can be input from the memory I / F 55 to the UFM 20b. The input setting data is stored in the UFM 20b.

[0059] When the normalization processing device is connected, that is, when the connector 61 is connected to the I / F 40, the switching detection unit 20a outputs an OE signal to the terminal 22b. When the level shifter LS2 operates in response to the OE signal transmitted from the terminal 22b to the OE terminal OE2, communication according to the BiSS C protocol is established between the magnetic sensor 11-level shifter LS1-FPGA 20-level shifter LS2-I / F 40-connector 51-correction I / F 50, and correction data can be input from the correction I / F 50 to the magnetic sensor 11. The correction data input to the magnetic sensor 11 is stored in the EEPROM 15.

[0060] The switching detection unit 20a determines whether the configuration connected to the I / F 40 is the connector 56 or the connector 61, based on the signal input from the terminal 23. Specifically, the switching detection unit 20a determines the configuration connected to the I / F 40, based on the frequency of the signal input from the terminal 23, i.e., the frequency of the signal input from the I / F 40.

[0061] More specifically, the protocol (e.g., I2C) used by the UFM writing device when writing the setting data and the protocol (e.g., BiSS C) used by the normalization processing device when writing the correction data have different communication frame rates. Due to the difference in frame rate, the frequency of the signal input from the I / F 40 differs depending on whether the component connected to the I / F 40 is the connector 56 or the connector 61. As an example, it is assumed that the frequency corresponding to the frame rate of I2C is 100,000 kHz and the frequency corresponding to the frame rate of BiSS C is 10,000 kHz, but the frequencies of both are not limited to this and can be changed as appropriate.

[0062] The oscillator 71 outputs a clock signal (CLK). The FPGA 20 operates in synchronization with the clock signal input from the terminal 25.

[0063] The temperature monitoring IC 72 is a temperature sensor that monitors the temperature of the substrate of the substrate 3. When the temperature monitoring IC 72 detects a temperature equal to or higher than a predetermined operation stop temperature, it outputs a signal (circuit interruption signal) that stops the operation of the FPGA 20. When the circuit interruption signal is input from the terminal 26, the FPGA 20 stops operation. In this case, the signal transmission path between the magnetic sensor 11 and the I / F 40 is interrupted, and the normalization processing device and the servo amplifier 90 are able to detect the operation stop of the substrate 3. The operation stop temperature can be set to, for example, 100°C, 120°C, or 150°C, but is not limited to the temperatures exemplified and can be set to any temperature.

[0064] The LOD 73 is a voltage regulator for the FPGA 20. The FPGA 20 is designed with a voltage rail specification compatible with the LOD 73. The connector 80 is a connector provided so as to be able to directly communicate with the FPGA 20.

[0065] The method of switching between the first and second modes is not limited to the above-mentioned method based on the elapsed time after power-on. For example, the communication frame time between the normalization processing device and the FPGA 20 and the frequency of the signal from the servo amplifier 90 may be set in advance to be different from the frequency of the signal from the normalization processing device and the UFM writing device. In this case, the switching detection unit 20a switches whether to output the TE signal based on the relationship between the signal frequency and the clock signal (CLK).

[0066] As described above, according to the first embodiment, the rotation angle detector 1 includes the annular ring magnet 2 in which N poles and S poles are alternately arranged in the circumferential direction, the magnetic sensor 11 arranged to face the ring magnet 2 in a non-contact state, the bus transceiver circuit 30 that outputs serial data based on output data of the magnetic sensor 11, the I / F 40 to which the input / output terminals of the bus transceiver circuit 30 are connected, the FPGA 20 interposed between the magnetic sensor 11 and the bus transceiver circuit 30, and the substrate 3 on which the magnetic sensor 11, the bus transceiver circuit 30, the I / F 40, and the FPGA 20 are provided. The bus transceiver circuit 30 operates in either the first mode or the second mode. The bus transceiver circuit 30 determines the operation mode based on an input from the I / F 40.

[0067] Therefore, in the second mode, the impedance of the input / output terminals (for example, the + terminal 33 and the - terminal 34) becomes high, thereby cutting off the output of data. In this manner, it is possible to switch between outputting data by serial communication and stopping the output based on the input from the I / F 40 to the rotation angle detector 1.

[0068] Also, there is provided a UFM 20b in which setting data to be read by the servo amplifier 90 is stored. In the second mode, the setting data is provided so as to be writable. Furthermore, the UFM 20b is built into the FPGA 20. Therefore, bidirectional communication including input of setting data built into the FPGA 20 and output of the magnetic sensor 11 can be performed from the I / F 40.

[0069] The magnetic sensor 11 is also provided with an EEPROM 15 that is provided so as to be accessible from the magnetic sensor 11 and that stores correction data for the magnetic sensor 11. In the second mode, the magnetic sensor 11 is provided so as to be writable with setting data or correction data. Therefore, bidirectional communication including input of setting data or correction data and output of the magnetic sensor 11 can be performed from the I / F 40.

[0070] Furthermore, the correction data is written to the EEPROM 15 from the I / F 40 via the FPGA 20 and the magnetic sensor 11. Therefore, the data transmission path used for inputting the correction data and the data transmission path used for outputting the data via the bus transceiver circuit 30 can be different paths.

[0071] Furthermore, the FPGA 20 determines whether the data to be written is setting data or correction data, based on the frequency of the signal input from the I / F 40. Therefore, it becomes possible to switch between writing setting data and writing correction data, based on the frequency of the signal.

[0072] Furthermore, the bus transceiver circuit 30 determines the operation mode based on the waiting time from when the power is turned on until an input is received from the I / F 40. Therefore, the operation mode can be switched without providing identification data or the like dedicated to switching the operation mode.

[0073] In addition, when the bus transceiver circuit 30 operates in the first mode, the FPGA 20 performs a process of converting a first protocol used for input / output of the magnetic sensor 11 into a second protocol used for input / output of the bus transceiver circuit 30.

[0074] Therefore, even if the protocol adopted by the magnetic sensor 11 and the protocol adopted by the bus transceiver circuit 30 are different, the magnetic sensor 11 and the bus transceiver circuit 30 can communicate with each other.

[0075] Second embodiment Next, a second embodiment will be described with reference to Figures 5 and 6. In the description of the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals and the description thereof will be omitted.

[0076] 5 is a schematic diagram showing a configuration example of a rotation angle detector 1A of the second embodiment. In the second embodiment, a rotation angle detector 1A is provided instead of the rotation angle detector 1 of the first embodiment. The rotation angle detector 1A includes a magnetic ring 2A and a substrate 3A. Like the ring magnet 2, the magnetic ring 2A is fixed to one surface of a rotating member R. The magnetic ring 2A is an annular magnetic body with the rotation center X as its radial center.

[0077] The magnetic ring 2A has a third magnetized row C3 in addition to the first magnetized row C1 and the second magnetized row C2 of the ring magnet 2. The third magnetized row C3 is a magnetized row in which the polarity alternates in the circumferential direction. The third magnetized row C3 has a larger diameter than the second magnetized row C2 and a smaller diameter than the first magnetized row C1. The third magnetized row C3 is located midway between the first magnetized row C1 and the second magnetized row C2.

[0078] The number of magnetic pole pairs W3 of the third magnetization array C3 is different from the number of magnetic pole pairs W1 of the first magnetization array C1 and the number of magnetic pole pairs W2 of the second magnetization array C2. For example, when the number of magnetic pole pairs W3 of the third magnetization array C3 is two, m+n (m and n are natural numbers), then either the number of magnetic pole pairs W1 in the first magnetization array C1 or the number of magnetic pole pairs W2 in the second magnetization array C2 is 2. m+n -1, the other is 2 m (2 n -1). For example, when m=2 and n=3, the number of magnetic pole pairs W3 in the third magnetization row C3 is 2. (3+2) =2 5 = 32, and the number of magnetic pole pairs W1 in the first magnetization row C1 is 2 (3+2) -1=2 5 -1=31, and the number of magnetic pole pairs W2 in the second magnetization row C2 is 2 2 (2 3 -1) = 4 × (8-1) = 28. Here, the number of magnetic pole pairs W3 is greater than the number of magnetic pole pairs W1 and the number of magnetic pole pairs W2, but the relationship between the numbers can be changed. Magnetic pole pair W3 includes one north pole and one south pole.

[0079] The substrate 3A is provided with a magnetic sensor 11A and a magnetic sensor 12. The substrate 3 supports the magnetic sensors 11A and 12 at a position facing the ring of the magnetic ring 2A. The magnetic sensor 11A detects a magnetic field in which the magnetic flux from the second magnetized array C2 and the magnetic flux from the third magnetized array C3 are combined. The magnetic sensor 12 detects a magnetic field in which the magnetic flux from the first magnetized array C1 and the magnetic flux from the third magnetized array C3 are combined. The magnetic sensors 11A and 11 have the same configuration as the magnetic sensor 11, except that the magnetic field they detect is different from that of the magnetic sensor 11.

[0080] 6 is a schematic diagram showing a configuration example of the substrate 3A of the second embodiment. The substrate 3A includes a magnetic sensor 11A instead of the magnetic sensor 11 included in the substrate 3 of the first embodiment. The substrate 3A further includes a magnetic sensor 12 and an EEPROM 16.

[0081] The EEPROM 16 stores correction data for the magnetic sensor 12. The magnetic sensor 12 corrects the output according to the correction data in the EEPROM 16 during operation. The magnetic sensor 12 is connected to the level shifter LS1 via the magnetic sensor 11A. The number of signal lines between the magnetic sensor 12 and the magnetic sensor 11A corresponds to the serial communication protocol adopted by the magnetic sensor 11A and the magnetic sensor 12. The protocol is, for example, BiSS C, which is the same as the serial communication protocol adopted by the magnetic sensor 11 of the first embodiment. The magnetic sensor 12 outputs the corrected signal to the FPGA 20 via the magnetic sensor 11A and the level shifter LS1.

[0082] Input of correction data to EEPROM 15 via magnetic sensor 11A is similar to that of magnetic sensor 11 in the first embodiment. Input of correction data to EEPROM 16 via magnetic sensor 12 is similar. However, in the second embodiment, a mechanism is added for identifying whether the input correction data is data intended for magnetic sensor 11A or data intended for magnetic sensor 12. An example of such a mechanism is a method in which identification information is included in the header of the correction data, but the present invention is not limited to this, and other methods may be used as long as identification is possible. As described above, the second embodiment is similar to the first embodiment, except for the points noted above.

[0083] According to the second embodiment, even if the rotation angle detector 1A includes the magnetic ring 2A including three magnetized rows and the two magnetic sensors 11A and 12, it is possible to achieve the same effects as those of the first embodiment.

[0084] In the above embodiment, the ring magnet 2 and the magnetic ring 2A are annular and have holes on the inside, but the holes are not essential. The ring magnet 2 and the magnetic ring 2A may be, for example, disk-shaped as long as they are magnetized with alternating north and south poles in the circumferential direction. In the above embodiment, the ring magnet 2 and the magnetic ring 2A have multiple magnetized rows, but the magnetized row may be a single row.

[0085] Furthermore, if the voltage systems of the FPGA 20 and the magnetic sensor 11 (or the magnetic sensors 11A and 12) are the same, the level shifter LS1 can be omitted. Furthermore, if the voltage systems of the FPGA 20 and the I / F 40 are the same, the level shifter LS2 can be omitted. Furthermore, the correction data writing function can be omitted.

[0086] Furthermore, the UFM 20b may be provided on the substrate 3 as a circuit (eg, an EEPROM) independent of the FPGA 20. [Explanation of symbols]

[0087] 1,1A Rotation Angle Detector 2,2A Ring Magnet 3,3A board 11, 11A, 12 Magnetic sensor 15,16 EEPROM 20 FPGA 20b UFM 30 Bus transceiver circuit (output circuit) 40 Interfaces 90 Servo Amplifier 100 Servo motor system

Claims

1. An annular magnet with alternating north and south poles in the circumferential direction; a magnetic sensor disposed opposite the magnet in a non-contact state; an output circuit that outputs serial data based on the output data of the magnetic sensor; an interface to which an input / output terminal of the output circuit is connected; an arithmetic circuit interposed between the magnetic sensor and the output circuit; a substrate on which the magnetic sensor, the output circuit, the interface, and the arithmetic circuit are provided; a first storage circuit for storing setting data read by a servo amplifier connected to the interface; a second storage circuit provided so as to be accessible from the magnetic sensor and configured to store correction data for the magnetic sensor; the output circuit operates in either a first mode or a second mode; the first mode is an operation mode for outputting serial data based on the output data; the second mode is an operation mode in which the impedance of the input / output terminal is made higher than that of the first mode to cut off the input / output of the output circuit, In the second mode, the setting data or the correction data is provided to be writable, the output circuit determines whether to operate in a first mode or a second mode based on a waiting time until an input is made from the interface after power-on; The frequency of the signal input to the interface according to the protocol used when writing the setting data is different from the frequency of the signal input to the interface according to the protocol used when writing the correction data, The arithmetic circuit determines whether the data to be written is the setting data or the correction data, based on the frequency of the signal input from the interface. Rotation angle detector.

2. The first memory circuit is built into the arithmetic circuit. The rotation angle detector according to claim 1 .

3. The correction data is written into the second storage circuit from the interface via the arithmetic circuit and the magnetic sensor.

3. The rotation angle detector according to claim 1 or 2.

4. The arithmetic circuit performs a process of converting a first protocol used for input / output of the magnetic sensor into a second protocol used for input / output of the output circuit when the output circuit operates in the first mode. The rotation angle detector according to any one of claims 1 to 3.

5. An electric motor provided with the rotation angle detector according to any one of claims 1 to 4; A servo amplifier connected to the interface; A servo motor system comprising:

Citation Information

Patent Citations

  • Vertical magnetic recording and reproducing head

    JP1985098513A

  • Servo system

    JP2010092325A

  • Servo drive system

    JP2013073351A

  • Rotation angle detector and servo motor system

    JP2020153800A

  • Torque detection device, electric power steering device, and vehicle

    WO2014064856A1