The present application claims priority to Japanese Application Number 2022-026725, filed Feb. 24, 2022, the disclosure of which is hereby incorporated by reference herein in its entirety.
The present invention relates to a rotation angle detector, a rotation angle detection method, a rotation angle detection program, and a rotation angle detection system for detecting the rotation angle of a rotator.
For example, Patent Literature 1 describes a position detection sensor including a rotational shaft to which a detection target rotator is connected. A first rotor and a second rotor are fixed on the rotational shaft. The first rotor includes numerous pairs of different poles arranged alternately in the circumferential direction. The second rotor includes a single pair of different poles arranged in the circumferential direction. A housing for these rotors also accommodates a first sensor facing the first rotor from radially outside and a second sensor facing the second rotor from radially outside.
The first sensor outputs digital pulses. The second sensor generates an analog output. Sensor signals from the first sensor are interpolated by sensor signals from the second sensor to calculate an absolute mechanical angle.
However, the position detection sensor described in Patent Literature 1 includes the pair of rotors fixed coaxially with the rotational shaft and the pair of sensors accommodated in the housing for the respective rotors. The position detection sensor including many parts can be large and costly and also increase the manufacturing cost. The rotational shaft having a large moment of inertia is less controllable and may stop with less accuracy.
One or more aspects of the present invention are directed to a rotation angle detector, a rotation angle detection method, a rotation angle detection program, and a rotation angle detection system that are inexpensive, space-saving, and simple and have high detection accuracy.
A rotation angle detector according to one aspect of the present disclosure is a rotation angle detector for detecting a rotation angle of a rotator. The rotator includes at least two pole pairs arranged in a ring. The rotation angle detector includes an electrical angle calculator that calculates an electrical angle of the rotator, a pole pair number setter that sets a pole pair number for each of the at least two pole pairs in the rotator, an origin pole pair detector that detects, based on magnitudes of magnetic fluxes of the at least two pole pairs, an origin pole pair as an origin and sets an origin pole pair number to the origin pole pair, and an absolute mechanical-angle calculator that calculates an absolute mechanical angle of the rotator based on the electrical angle, the pole pair number, and the origin pole pair number.
The rotation angle detector, the rotation angle detection method, the rotation angle detection program, and the rotation angle detection system according to the above aspect of the present invention are inexpensive, space-saving, and simple and can have high detection accuracy.
One or more embodiments of the present invention will now be described with reference to the drawings. The embodiments are mere examples of the present disclosure. Any modifications that may occur to those skilled in the art without departing from the spirit of the invention fall within the scope of the present invention. For clarity, the drawings may be schematic and may not be drawn to scale relative to, for example, the actual width, thickness, and shape of each component. Such sizes are mere examples and do not limit the present invention.
In the specification and the drawings, like reference numerals denote like components that have been already described in any of the drawings. Such components may not be described in detail.
A rotation angle detection system 1000 shown in
The rotation angle detection system 1000 may include a housing 11 that is a substantially annular disk with a hollow. The housing 11 includes a substantially cylindrical sidewall 12, a top plate 13 that closes the hollow at one axial end (upper end in the figure) of the sidewall 12, and a bottom plate 14 that closes the hollow at the other axial end (lower end in the figure) of the sidewall 12. Through-holes 13a and 14a extend through the center of each of the top plate 13 and the bottom plate 14 to allow a hollow shaft (rotator) 16 to be placed through the through-holes 13a and 14a.
The bottom plate 14 is integral with a substrate support 14b. The substrate support 14b is a protrusion inside the housing 11. A sensor board 15 including a magnetoresistive (MR) sensor 15a mounted on the sensor board 15 is fastened to the substrate support 14b with, for example, fastener screws (not shown). The MR sensor 15a functions as a magnetic detection unit. Thus, the MR sensor 15a is located inside the housing 11 and axially at the middle of the housing 11. The sensor board 15 is electrically connected to the controller CT with a connector (not shown). An electric signal converted from a detection signal (detected magnetic flux density in T) from the MR sensor 15a is output to the rotation angle detector 200.
The MR sensor 15a is specifically a magnetoresistive sensor that measures the magnetic flux (magnetic field) of a ring magnet 20A rotated by the hollow shaft 16. The MR sensor 15a includes a pair of MR sensors 15a1 and 15a2 functioning as magnetic detectors. The MR sensors 15a1 and 15a2 may be supplied in physically different integrated circuit (IC) packages or may be contained in a single IC package. In the present embodiment, the MR sensor 15a outputs a change in the magnetic flux of each pole pair as a sine wave electric signal of one cycle and a cosine wave electric signal of one cycle in response to rotation of the rotator. For example, the MR sensor 15a1 outputs a change in the magnetic flux of a single pole pair as a sine wave electric signal of one cycle in response to rotation of the rotator. The MR sensor 15a2 outputs a change in the magnetic flux of the single pole pair as a cosine wave electric signal of one cycle in response to rotation of the rotator. The cosine wave is shifted from the sine wave by 90 degrees in the electrical angle. The MR sensor to output a sine wave electric signal or a cosine wave electric signal may be determined by changing the positions of the MR sensors 15a1 and 15a2.
The rotation angle detection system 1000 includes the hollow shaft 16 that rotates integrally with a rotational shaft in the joint-drive servomotor. The hollow shaft 16 is placed through the through-holes 13a and 14a and is rotatably supported by the top plate 13 and the bottom plate 14 of the housing 11 with a pair of bearings 17a and 17b. Thus, the housing 11 supports the hollow shaft 16 in a manner rotatable freely.
The hollow shaft 16 is substantially cylindrical and has a radial internal space to accommodate electric wires (wiring) for driving, for example, another joint-drive servomotor. The bearings 17a and 17b are metal sliding bearings that are also referred to as plain metal bearings. Thus, the hollow shaft 16 can rotate smoothly relative to the housing 11.
The rotation angle detection system 1000 includes the ring magnet (magnet) 20A. The ring magnet 20A is located on the hollow shaft 16 radially outward and inside the housing 11. The ring magnet 20A is, for example, a magnet formed from a ferrite magnetic material.
The ring magnet 20A is fixed to the hollow shaft 16 with an adhesive (not shown) formed from, for example, an epoxy resin, and is rotated by rotation of the hollow shaft 16. In other words, the ring magnet 20A rotates together with the hollow shaft 16 inside the housing 11.
The ring magnet 20A, as well as the MR sensor 15a, is located axially at the middle of the housing 11. Thus, the MR sensor 15a is located radially outward from the ring magnet 20A at a predetermined clearance (air gap). The MR sensor 15a faces the ring magnet 20A. The MR sensor 15a can thus detect (measure) the magnetic fluxes of multiple magnetized sections (12 poles) included in the ring magnet 20A in response to rotation of the hollow shaft 16. A magnetic flux detection unit may be located on an extension of the radius of rotation of the multiple pole pairs on the rotator described above, or may be located on a line intersecting with the extension of the radius of rotation of the multiple pole pairs. In other words, the MR sensor 15a functioning as a magnetic flux detection unit may be located obliquely to the radial direction of the ring magnet 20A.
The waveform of a detection signal (detected magnetic flux) output from the MR sensor 15a changes in accordance with the number of magnetized sections (number of poles) in the ring magnet 20A. The number of magnetized sections (number of poles) for detecting the rotation angle using the sine wave detection signal output from the MR sensor 15a will now be described.
The upper graph in
As shown in the upper graph in
As shown in the lower graph in
To accurately detect the rotation angle of the hollow shaft 16, the ring magnet 20A may include as many magnetized sections (poles) as appropriate (multi-polar ring magnet). In the present embodiment, the ring magnet 20A includes 12 poles in an appropriate structure.
However, as shown in the upper graph in
In the present embodiment, one section (origin-indicator magnetized section) of the total of 12 magnetized sections (12 poles) generates a magnetic flux that serves as an index (mark). The rotation angle detector 200 can thus detect the origin of the hollow shaft 16 as well.
The structure of the ring magnet 20A in the present embodiment will now be described in detail with reference to the drawings.
As shown in
In other words, the ring magnet 20A is a ring with the magnetized sections MG1 to MG12 having different poles (N pole and S pole) and being alternately arranged in the direction of rotation of the hollow shaft 16. In the present embodiment, the ring magnet 20A includes 12 circumferential sections of an annular magnetic material magnetized alternately to have N poles and S poles. In some embodiments, substantially tiled magnets (not shown) may be magnetized and attached around the hollow shaft 16. A pair of magnetized sections having different poles is referred to as a pole pair in the present embodiment. A pole pair number is set for each pole pair by the rotation angle detector 200. In
In the present embodiment, as shown in
In this structure, the MR sensor 15a facing the ring magnet 20A detects a sinusoidal magnetic flux as shown in the lower graph in
Thus, the rotation angle detector 200 detecting the single outstanding peak point (marked with a black dot) can detect the origin or reference point of rotation of the hollow shaft 16. More specifically, the rotation angle detector 200 compares the detected magnetic flux density level AN (T) as the major peak value (marked with a black dot) and the detected magnetic flux density level BN (T) as the minor peak value (marked with a white dot) with a comparison threshold ThN (T) stored in a storage 230 (
The single major peak value between 0 and 360 degrees may be an S-polar peak instead of an N-polar peak. The rotation angle detector 200 can detect an origin pole pair indicating the origin of the hollow shaft 16 as well. The magnetized sections MG1 to MG12 are thermally demagnetized or magnetized, or have the magnetic forces decreasing or increasing as the temperature changes. The magnetic forces may decrease due to aging degradation. The rotation angle detector 200 can change and adjust the comparison threshold ThN based on environmental changes including temperature changes and secular changes including aging degradation. The rotation angle detector 200 detects an origin pole pair by comparing the detected magnetic flux density level AN (T). The MR sensor 15a as a magnetic detection unit may thus be located on an extension of the radius of rotation of the multiple pole pairs on the rotator as shown in
To magnetize the ring magnet 20A as described above, for example, a magnetizer (not shown) is used for generating a magnetic field in the radial direction. More specifically, the magnetizer includes a total of 12 magnetic force generators corresponding to the magnetized sections MG1 to MG12 (12 poles) in the ring magnet 20A. The coil in the magnetic force generator for the magnetized section MG5 has a larger number of turns than that of the coils in the magnetic force generators for the other magnetized sections MG1 to MG4 and MG6 to MG12.
In other words, a magnetic force MP1 generated by the magnetic force generator for the magnetized section MG5 is larger than magnetic forces MP2 generated by the other magnetic force generators (MP1>MP2). The ring magnet 20A as shown in
In some embodiments, for the magnetic force generator for the magnetized section MG5 to have a larger magnetic force, the coil in the magnetic force generator for the magnetized section MG5 may have a larger wire diameter than the magnetic force generators for the other magnetized sections, whereas the coils in all magnetic force generators have the same number of turns.
As described in detail above, the rotation angle detector 200 according to the first embodiment includes the ring magnet 20A that rotates together with the hollow shaft 16 and includes the magnetized sections MG1 to MG12 having different poles and being alternately arranged in the direction of rotation of the hollow shaft 16, and the MR sensor 15a that detects the magnetic fluxes of the magnetized sections MG1 to MG12. The magnetized sections MG1 to MG12 include the origin-indicator magnetized section 21 that allows detection of the origin or reference point of rotation of the hollow shaft 16.
The controller CT electrically connected to the rotation angle detector 200 can thus detect both the rotation angle and the origin of the hollow shaft 16 using the single ring magnet 20A and the single MR sensor 15a. The rotation angle detector 200 is thus smaller and less expensive and has higher detection accuracy.
In addition, the magnetic force MP1 from the origin-indicator magnetized section 21 (magnetized section MG5) is larger than the magnetic forces MP2 from the other magnetized sections MG1 to MG4 and MG6 to MG12 included in the multiple magnetized sections MG1 to MG12 (MP1>MP2).
Thus, the ring magnet 20A can be magnetized using a known magnetizer with minor modifications. This structure reduces an increase in the manufacturing cost.
Methods for calculating the electrical angle and the (absolute) mechanical angle of the ring magnet 20A will now be described with reference to
As described with reference to
As shown in the upper graph in
θEI (electrical angle)=Arctan 2(cos,sin) (1)
The method for calculating the mechanical angle is also known and will not be described in detail. The mechanical angle can be calculated using Formula 2 below.
θMec (mechanical angle)=(θEI (electrical angle)/number of pole pairs (6))+((360 degrees×pole pair number)/number of pole pairs (6)) (2)
(The pole pair number is assigned to a pole pair in the ring magnet 20A facing the MR sensors 15a1 and 15a2. The structure in the present embodiment includes six pole pairs, and the numbers 0 to 5 are set as example pole pair numbers.)
The number of pole pairs (6) indicates the number of pole pairs being six in the present embodiment.
However, the mechanical angle expressed by Formula 2 does not reflect the pole pair number serving as the origin, and is thus a relative mechanical angle based on the pole pair detected first by the MR sensors 15a1 and 15a2. For example, the pole pair number as a reference (e.g., 0) is assigned to a pole pair facing the MR sensors 15a1 and 15a2 when the rotation angle detector 200 and the MR sensors 15a1 and 15a2 are powered on. Thus, the absolute positional relationship cannot be determined. To calculate the absolute mechanical angle, an origin-indicator magnetized section is to be detected from the multiple magnetized sections MG1 to MG12, and a pole pair that serves as the origin is to be determined, as described above. As shown in the upper graph in
θMecAbs (absolute mechanical angle)=(θEI (electrical angle)/number of pole pairs (6))+((360 degrees×(pole pair number−origin pole pair number))/number of pole pairs (6) (3)
When the number obtained by subtracting the origin pole pair number from the pole pair number is negative, the actual number of pole pairs is added ((pole pair number−origin pole pair number)+number of pole pairs) to allow the number to fall within the range from zero to (number of pole pairs−1).
For example, the pole pair number is 4 and the electrical angle is 180 degrees at point 1 in the upper graph in
θMecAbs (absolute mechanical angle)=180 degrees/6+(360×(4−2))/6=30 degrees+120 degrees=150 degrees (4)
The rotation angle detector that can perform the above calculations will be described in detail below.
The rotation angle detection system 1000 includes the ring magnet 20A that rotates together with the rotator, a magnetic detection unit 15a, and the rotation angle detector 200.
The ring magnet 20A described above will not be described in detail. A pole pair that serves as the origin is magnetized with various methods as in modifications described later.
The magnetic detection unit 15a includes the MR sensors 15a1 and 15a2 that function as magnetic detectors. The MR sensor 15a1 detects the magnetic flux density of the ring magnet 20A and outputs, for a change in the magnetic flux density of a pair of magnetic poles in the ring magnet 20A, a sine wave of one cycle as an output signal. The MR sensor 15a2 detects the magnetic flux density of the ring magnet 20A and outputs, for a change in the magnetic flux density of a pair of magnetic poles in the ring magnet 20A, a cosine wave of one cycle as an output signal. The MR sensor 15a2 may output a sine wave as an output signal. The MR sensor 15a1 may output a cosine wave as an output signal.
The MR sensors 15a1 and 15a2 are attached, with respect to the direction of rotation of the ring magnet 20A, to positions that allow the electrical angles to have their phases shifted by 90 degrees within a single pole pair.
The rotation angle detector 200 includes an analog-to-digital (A/D) converter 210, a control unit 220, and the storage 230.
The A/D converter 210 converts analog sine and cosine magnetic flux detection signals output from the magnetic detection unit 15a to digital signals that can be processed in the control unit 220 and the storage 230. The A/D converter 210 may be incorporated in the magnetic detection unit 15a. The A/D converter 210 may be a separate module.
The control unit 220 may be a hardware device including, for example, a semiconductor circuit and a microcomputer (not shown) that perform processes associated with the functions of the components in the block diagram, which will be described later. The control unit 220 may be included in a general-purpose server or a virtual server built by a cloud computing service. The control unit 220 may be a CPU (not shown). The control unit 220 may be implemented by executing middleware such as an operating system (OS) loaded from a recording device including a hard disk drive (HDD) into a memory or software running on such middleware. The processes associated with the functions, which will be described later, may be performed using the middleware or the software described above.
The control unit 220 may also be implemented by a combination of such hardware and software as appropriate. The control unit 220 may not be entirely implemented in a single casing. Some of the functions may be implemented in another casing, and these casings may be interconnected with, for example, a communication cable. In other words, the implementation of the control unit 220 is not limited and may be flexibly modified as appropriate based on, for example, the system environment.
The control unit 220 may be implemented in combination with other devices in the system. For example, the control unit 220 may be implemented after being added to other hardware or software in the system. The A/D converter 210 may be incorporated in the control unit 220. The control unit 220 may be incorporated in the controller CT.
The control unit 220 includes an electrical angle calculator 221, a pole pair number setter 222, a peak value determiner 223, a rotation determiner 224, an origin pole pair detector 225, and an absolute mechanical-angle calculator 226.
The electrical angle calculator 221 calculates the electrical angle within a single pole pair. More specifically, the electrical angle calculator 221 calculates and outputs, using Formula 1, the electrical angle based on the sine wave magnetic flux density detection signal and the cosine wave magnetic flux density detection signal output from the A/D converter 210. The sine wave magnetic flux density detection signal and the cosine wave magnetic flux density detection signal may be distinguished from each other based on identification information about an input port of the electrical angle calculator 221 that receives the sine wave magnetic flux density detection signal and identification information about an input port that receives the cosine wave magnetic flux density detection signal.
The pole pair number setter 222 performs initialization in response to the rotation angle detector 200 being powered on and sets a pole pair number to 0 or to a predetermined integer. The pole pair number setter 222 also increments or decrements the pole pair number based on electrical angle information indicating the electrical angle output from the electrical angle calculator 221. For example, in response to the electrical angle indicated by the electrical angle information changing from 360 to 0 degrees, the pole pair number setter 222 increments the pole pair number by one. In response to the electrical angle indicated by the electrical angle information changing from 0 to 360 degrees, the pole pair number setter 222 decrements the pole pair number by one. When the resulting pole pair number exceeds the maximum pole pair number, the pole pair number setter 222 may set the pole pair number to 0. When the resulting pole pair number is a negative number, the pole pair number setter 222 may set the pole pair number to the maximum pole pair number.
The peak value determiner 223 determines, within a single pole pair, a peak value of the sine wave magnetic flux density detection signal and the cosine wave magnetic flux density detection signal output from the A/D converter 210, and stores the peak value into the storage 230. The peak value indicates the maximum value or the minimum value. The peak value determined by the peak value determiner 223 indicates the maximum value or the minimum value depending on the magnetization method used to magnetize the characteristic magnetized section. In the present embodiment, for example, the characteristic magnetized section is magnetized to have the maximum value. The peak value determiner 223 thus detects the maximum value within each pole pair and stores the detected maximum value into the storage 230. For the maximum value, one or both of the maximum values of the sine wave magnetic flux density detection signal and the cosine wave magnetic flux density detection signal may be detected and stored into the storage 230 as the maximum value. The maximum value determined by the peak value determiner 223 is associated with the corresponding pole pair number set by the pole pair number setter 222 and stored into the storage 230. In other words, the maximum value corresponding to each pole pair number is stored into the storage 230.
The rotation determiner 224 determines whether the ring magnet 20A has completed one rotation. For example, the rotation determiner 224 determines that the ring magnet 20A has completed one rotation when the pole pair number setter 222 has set pole pair numbers for the number of pole pairs in the ring magnet 20A and the peak value determiner 223 has determined the maximum value in the range of the electrical angle between 0 to 360 degrees within each pole pair.
In response to receiving, from the rotation determiner 224, a rotation signal that determines that the ring magnet 20A has completed one rotation, the origin pole pair detector 225 compares the peak values between the pole pairs and determines the pole pair with the maximum peak value as a pole pair including the characteristic magnetized section. The origin pole pair detector 225 stores the pole pair number of the pole pair with the maximum peak value into the storage 230 as the origin pole pair number.
The absolute mechanical-angle calculator 226 calculates, using Formula 3 above, the absolute mechanical angle of the ring magnet 20A based on the origin pole pair number, and the electrical angle and the pole pair number of the pole pair with the magnetic flux being detected by the magnetic detection unit 15a. The electrical angle calculated by the electrical angle calculator 221 is used for the electrical angle of the pole pair with the magnetic flux density being detected by the magnetic detection unit 15a. The pole pair number set by the pole pair number setter 222 is used for the pole pair number of the pole pair with the magnetic flux density being detected by the magnetic detection unit 15a. The absolute mechanical-angle calculator 226 may output the calculated absolute mechanical angle to a control device such as the controller CT that externally controls the rotator 16 with the ring magnet 20A. The absolute mechanical-angle calculator 226 may also calculate the relative mechanical angle of the ring magnet 20A using Formula 2 above.
The storage 230 may be a computer-readable recording medium. For example, the storage 230 may include at least one of a read-only memory (ROM) or a random-access memory (RAM). The storage 230 may include at least one of an erasable programmable read-only memory (RPROM) or an electrically erasable programmable read-only memory (EEPROM), in addition to the ROM or the RAM. The storage 230 may be referred to as a register, a cache, or a main memory. The storage 230 may also store, for example, a program and a software module (including a rotation angle detection program) executable to perform the processes in one embodiment of the present disclosure.
The storage 230 may store information output from the A/D converter 210 and may also input and output information to and from the control unit 220 and store the input or output information. The storage 230 may also store information exchanged between the functional blocks in the control unit 220. The storage 230 may also store information to be output from the control unit 220.
As described above, for a single pole pair in the ring magnet 20A, the magnetic detector 15al outputs a sine wave magnetic flux density detection signal, and the magnetic detector 15a2 outputs a cosine wave magnetic flux density detection signal. The ring magnet 20A includes a characteristic magnetized section. The rotation angle detector 200 with this structure can calculate and output the absolute mechanical angle of the ring magnet 20A. Flowchart of Example Schematic Operation Performed by Rotation Angle Detector
In step S601, the pole pair number setter 222 initializes the pole pair number in response to the magnetic detection unit 15a and the rotation angle detector 200 being powered on. For example, the pole pair number setter 222 sets the pole pair number to 0 or to a predetermined integer in response to the magnetic detection unit 15a and the rotation angle detector 200 being powered on.
In step S602, the rotation angle detector 200 converts analog sine and cosine wave magnetic flux density detection signals output from the magnetic detection unit 15a to digital signals with the A/D converter 210. The rotation angle detector 200 stores the digital signals into the storage 230. The rotation angle detector 200 also outputs the digital signals to the electrical angle calculator 221.
In step S603, the electrical angle calculator 221 calculates, using Formula 1 above, the electrical angle based on the digital signal indicating the magnitude of the sine wave magnetic flux density detection signal and the digital signal indicating the magnitude of the cosine wave magnetic flux density detection signal. The electrical angle calculator 221 outputs the calculated electrical angle to the pole pair number setter 222.
In step S604, the pole pair number setter 222 determines whether to increment or decrement the pole pair number based on electrical angle information indicating the electrical angle input from the electrical angle calculator 221. For example, the pole pair number setter 222 determines that the condition for updating the pole pair number is satisfied when the electrical angle indicated by the electrical angle information has changed from 360 to 0 degrees or when the electrical angle indicated by the electrical angle information has changed from 0 to 360 degrees. When the condition for updating the pole pair number is satisfied (Yes in step S604), the pole pair number setter 222 advances to step S605. When the condition for updating the pole pair number is not satisfied (No in step S604), the pole pair number setter 222 advances to step S606.
In step S605, in response to the electrical angle indicated by the electrical angle information changing from 360 to 0 degrees, the pole pair number setter 222 increments the pole pair number by one. In response to the electrical angle indicated by the electrical angle information changing from 0 to 360 degrees, the pole pair number setter 222 decrements the pole pair number by one. When the resulting pole pair number exceeds the maximum pole pair number, the pole pair number setter 222 sets the pole pair number to 0. When the resulting pole pair number is a negative number, the pole pair number setter 222 sets the pole pair number to the maximum pole pair number. In this manner, the pole pair number setter 222 updates the pole pair number.
In step S606, the peak value determiner 223 determines, within the range of a single pole pair, the peak value of the sine wave magnetic flux detection signal and the cosine wave magnetic flux detection signal output from the A/D converter 210, and stores the peak value into the storage 230. The peak value indicates the maximum value or the minimum value. The peak value determined by the peak value determiner 223 indicates the maximum value or the minimum value depending on the magnetization method used to magnetize the characteristic magnetized section.
In step S607, the rotation determiner 224 determines whether the ring magnet 20A has completed one rotation or whether a detection signal exceeds a comparison threshold. For example, when the pole pair number set by the pole pair number setter 222 reaches the pole pair number obtained by subtracting one from the number of pole pairs of the ring magnet 20A, and the peak value determiner 223 has already determined the maximum value or the minimum value in the range of the electrical angle from 0 and 360 degrees in each pole pair, the rotation determiner 224 determines that the ring magnet 20A has completed one rotation. When the rotation determiner 224 determines that the ring magnet 20A has completed one rotation or that any detection signal exceeds the comparison threshold (Yes in step S607), the rotation angle detector 200 advances to step S608. When the rotation determiner 224 determines that the ring magnet 20A has yet to perform one rotation or that no detection signal exceeds the comparison threshold (No in step S607), the rotation angle detector 200 advances to step S609.
In step S608, the origin pole pair detector 225 compares the peak values between the pole pairs and determines the pole pair with the maximum peak value as a pole pair including the characteristic magnetized section. The origin pole pair detector 225 stores the pole pair number of the pole pair with the maximum peak value into the storage 230 as the origin pole pair number. In some cases, the origin pole pair detector 225 compares the peak values between the pole pairs and determines the pole pair with the minimum peak value as a pole pair including the characteristic magnetized section. The origin pole pair detector 225 can also store the pole pair number of the pole pair with the minimum peak value into the storage 230 as the origin pole pair number.
In step S609, the rotation angle detector 200 determines whether the origin pole pair number is stored in the storage 230 by the origin pole pair detector 225. When the origin pole pair number is stored in the storage 230 (Yes in step S609), the rotation angle detector 200 advances to step S610. When no origin pole pair number is stored in the storage 230 (No in step S609), the rotation angle detector 200 advances to step S613.
In step S610, the absolute mechanical-angle calculator 226 calculates, using Formula 3 above, the absolute mechanical angle of the ring magnet 20A based on the origin pole pair number, and the electrical angle and the pole pair number of the pole pair with the magnetic flux density being detected by the magnetic detection unit 15a. The electrical angle calculated by the electrical angle calculator 221 is used for the electrical angle of the pole pair with the magnetic flux being detected by the magnetic detection unit 15a. The pole pair number set by the pole pair number setter 222 is used for the pole pair number of the pole pair with the magnetic flux being detected by the magnetic detection unit 15a.
In step S611, the absolute mechanical-angle calculator 226 outputs, as the absolute mechanical angle, the calculated absolute mechanical angle to a control device such as the controller CT that externally controls the rotator 16 with the ring magnet 20A.
In step S612, the determination is performed as to whether the operation of the rotation angle detector 200 has been completed. When the operation of the rotation angle detector 200 has been completed (Yes in step S612), the rotation angle detector 200 ends the processing. When the operation of the rotation angle detector 200 has not been completed (No in step S612), the rotation angle detector 200 returns to step S602.
In step S613, the absolute mechanical-angle calculator 226 calculates, using Formula 2 above, the relative mechanical angle of the ring magnet 20A based on the electrical angle and the pole pair number of the pole pair with the magnetic flux density being detected by the magnetic detection unit 15a.
In step S614, the absolute mechanical-angle calculator 226 outputs, as the relative mechanical angle, the calculated relative mechanical angle to a control device such as the controller CT that externally controls the rotator 16 with the ring magnet 20A.
Referring to
The MR sensor 15a1 and the ring magnet 20 in the left part of
For example, when the distance between the MR sensor 15a1 and the ring magnet changes over time as shown in the right part of
As described above, for a single pole pair in the ring magnet 20, the magnetic detector 15a1 outputs a sine wave magnetic flux density detection signal, and the magnetic detector 15a2 outputs a cosine wave magnetic flux density detection signal. The ring magnet includes a characteristic magnetized section. The rotation angle detector 200 with this structure can calculate and output the absolute mechanical angle of the ring magnet 20.
The rotation angle detector 200 can thus detect both the rotation angle and the origin of the hollow shaft 16 using the single ring magnet 20 and the pair of MR sensors 15a1 and 15a2. The rotation angle detector 200 is thus smaller and less expensive and has higher detection accuracy.
A first modification of the first embodiment will now be described in detail with reference to the drawings. Like reference numerals denote like functional elements in the above first embodiment. Such elements will not be described.
As shown in
In other words, in the first modification of the first embodiment, a pair of adjacent magnetized sections MG5 and MG6 with different poles, of the multiple (12) magnetized sections MG1 to MG12, serve as the origin-indicator magnetized sections 21 and 22.
In this structure, the MR sensor 15a (refer to
Thus, the rotation angle detector 200 detecting any one of the two outstanding peak points (marked with black dots) can detect the origin or reference point of rotation of the hollow shaft 16.
When the detected magnetic flux density level AS (T) is used, the rotation angle detector 200 compares the detected magnetic flux density level AS (T) as the major peak value (marked with a black dot) and the detected magnetic flux density level BS (T) as the minor peak value (marked with a white dot) with a comparison threshold ThS (T) stored in the storage 230 in the rotation angle detector 200 (AS>ThS>BS). The controller CT thus detects the single major S-polar peak value (marked with a black dot) between 0 and 360 degrees and determines that the detected peak indicates the origin of the hollow shaft 16.
A second modification of the first embodiment will now be described in detail with reference to the drawings. Like reference numerals denote like functional elements in the above first embodiment. Such elements will not be described.
As shown in
In this structure, the MR sensor 15a (refer to
In this case, the rotation angle detector 200 detecting the magnetic flux density level AS (T) at the single point can detect the origin or reference point of rotation of the hollow shaft 16. More specifically, the rotation angle detector 200 compares the detected magnetic flux density level AS (T) as the major peak value (marked with a black dot) and the detected magnetic flux density level BS (T) as the minor peak value (marked with a white dot) with the comparison threshold ThS (T) stored in the storage 230 in the rotation angle detector 200 (AS>ThS>BS). The rotation angle detector 200 thus detects the single major S-polar peak value (marked with a black dot) between 0 and 360 degrees and determines that the detected peak indicates the origin of the hollow shaft 16.
The above structure in the second modification of the first embodiment also produces the same advantageous effects as in the above first embodiment. In the second modification of the first embodiment, in addition to this, the magnetized sections MG5 and MG7 adjacent to the origin-indicator magnetized section 22 (magnetized section MG6) also serve as the origin-indicator magnetized sections 21 and 23 (strongly magnetized sections). Thus, the rotation angle detector 200 determines that the hollow shaft 16 is in the range of rotation angles from 120 to 210 degrees (range of absolute mechanical angles from 0 to 90 degrees) by continuously detecting the magnetic flux density level AN (T) at the major peak value (marked with a black dot) exceeding the comparison threshold ThN (T), then the magnetic flux density level AS (T) at the major peak value (marked with a black dot) exceeding the comparison threshold ThS (T), and finally the magnetic flux density level AN (T) at the major peak value (marked with a black dot) exceeding the comparison threshold ThN (T). The rotation angle detector 200 can further predict the origin (magnetic flux density level AS in T at a major peak value) by detecting one of the magnetic flux density levels AN in T at the major peak value. The rotation angle detector 200 can output rotation direction information about the rotation direction of the hollow shaft 16 to an external device together with absolute mechanical angle information indicating the absolute mechanical angle.
Third and fourth modifications of the first embodiment will now be described in detail with reference to the drawings. Like reference numerals denote like functional elements in the above first embodiment. Such elements will not be described.
As shown in
More specifically, in the ring magnet 20D (outward protrusion type) in the third modification of the first embodiment, the origin-indicator magnetized section 24 (magnetized section MG5) protrudes radially outward from the ring magnet 20D, and has a volume S1 larger than a volume S2 of each of the other magnetized sections MG1 to MG4 and MG6 to MG12 (S1>S2). Thus, magnetizing the ring magnet 20D using a magnetizer causes the magnetic force MP1 from the magnetized section MG5 to be larger than the magnetic forces MP2 from the other magnetized sections MG1 to MG4 and MG6 to MG12.
The magnetizer for magnetizing the ring magnet 20D (outward protrusion type) includes a total of 12 magnetic force generators each corresponding to one of the magnetized sections MG1 to MG12 in the ring magnet 20D. The coils in these magnetic force generators each have the same number of turns (turns). This allows the use of a general-purpose magnetizer with a simple structure.
To obtain the same characteristics as those in the first and second modifications of the first embodiment above, the magnetized sections MG6 and MG7 may also protrude radially outward to serve as origin-indicator magnetized sections 25 and 26 (strongly magnetized sections), as indicated by the two-dot-dash lines in the figure.
In the ring magnet 20E (inward protrusion type) in the fourth modification of the first embodiment, the origin-indicator magnetized section 27 (magnetized section MG5) protrudes radially inward from the ring magnet 20E, and has a volume S1 larger than a volume S2 of each of the other magnetized sections MG1 to MG4 and MG6 to MG12 (S1>S2). Thus, magnetizing the ring magnet 20E using a magnetizer causes the magnetic force MP1 from the magnetized section MG5 to be larger than the magnetic forces MP2 from the other magnetized sections MG1 to MG4 and MG6 to MG12.
As a magnetizer for magnetizing the ring magnet 20E (inner protrusion type) as well, a general-purpose magnetizer with a simple structure may be used as for the ring magnet 20D in the third modification of the first embodiment. A resin (non-magnetic) spacer SP is attached to the radially inner end of the ring magnet 20E. Thus, the ring magnet 20E is fixed to the hollow shaft 16 (refer to
To obtain the same characteristics as those in the first embodiment and the first and second modifications of the first embodiment above, the magnetized sections MG6 and MG7 may also protrude radially inward to serve as origin-indicator magnetized sections 28 and 29 (strongly magnetized sections), as indicated by the two-dot-dash lines in the figure.
The above structures in the third and fourth modifications of the first embodiment also produce substantially the same advantageous effects as in the above first embodiment.
A fifth modification of the first embodiment will now be described in detail with reference to the drawings. Like reference numerals denote like functional elements in the above first embodiment. Such elements will not be described.
As shown in
The origin-indicator magnetized section 30 (magnetized section MG5) generates a (small) magnetic flux indicating that the hollow shaft 16 has completed one rotation. More specifically, the origin-indicator magnetized section 30 has a magnetic force different from the magnetic force from each of the other magnetized sections MG1 to MG4 and MG6 to MG12, which is smaller than the magnetic forces from the other magnetized sections MG1 to MG4 and MG6 to MG12. In other words, the magnetic force MP1 from the magnetized section MG5 is smaller than the magnetic forces MP2 from the other magnetized sections MG1 to MG4 and MG6 to MG12 (MP1<MP2). The magnetized sections MG1 to MG12 including the origin-indicator magnetized section 30 (magnetized section MG5) each have the same volume.
In this structure, the MR sensor 15a (refer to
Thus, the rotation angle detector 200 detecting the single minor peak point marked with a black dot can detect the origin or reference point of rotation of the hollow shaft 16. More specifically, the rotation angle detector 200 compares the detected magnetic flux density level An (T) as the minor peak value (marked with a black dot) and the detected magnetic flux density level Bn (T) as the major peak value (marked with a white dot) with a comparison threshold Thn (T) stored in the storage 230 in the rotation angle detector 200 (An<Thn<Bn). The controller CT thus detects the single minor N-polar peak value (marked with a black dot) between 0 and 360 degrees and determines that the detected peak indicates the origin of the hollow shaft 16.
The single minor peak value between 0 and 360 degrees may be an S-polar peak instead of an N-polar peak. The rotation angle detector 200 can detect the origin of the hollow shaft 16 as well. The magnetic forces from the magnetized sections MG1 to MG12 decrease as the temperature changes. Thus, the rotation angle detector 200 may adjust the comparison threshold Thn based on temperature changes.
The above structure in the fifth modification of the first embodiment also produces substantially the same advantageous effects as in the above first embodiment. However, in a magnetizer used for magnetizing the ring magnet 20F in the fifth modification of the first embodiment, the coil of the magnetic force generator for the magnetized section MG5 has a smaller number of turns than the coils of the magnetic force generators for the other magnetized sections MG1 to MG4 and MG6 to MG12, in a manner opposite to the first embodiment. Any structure may be used when the magnetic force generated by the magnetic force generator for the magnetized section MG5 is smaller than the other sections. The magnetic force generator for the magnetized section MG5 may have no coil wound. In this case, the magnetized section MG5 is weakly magnetized by leakage flux from the magnetic force generators for the magnetized sections MG4 and MG6.
A sixth modification of the first embodiment will now be described in detail with reference to the drawings. Like reference numerals denote like functional elements in the above fifth modification of the first embodiment. Such elements will not be described.
As shown in
In other words, in the sixth modification of the first embodiment, a pair of adjacent magnetized sections MG5 and MG6 with different poles, of the multiple (12) magnetized sections MG1 to MG12, serve as the origin-indicator magnetized sections 30 and 31.
In this structure, the MR sensor 15a (refer to
Thus, the rotation angle detector 200 detecting any one of the two minor peak points marked with black dots can detect the origin or reference point of rotation of the hollow shaft 16.
When the detected magnetic flux density level As (T) is used, the rotation angle detector 200 compares the detected magnetic flux density level As (T) as the minor peak value (marked with a black dot) and the detected magnetic flux density level Bs (T) as the major peak value (marked with a white dot) with a comparison threshold Ths (T) stored in the storage 230 in the rotation angle detector 200 (As<Ths<Bs). The rotation angle detector 200 thus detects the single minor S-polar peak value (marked with a black dot) between 0 and 360 degrees and determines that the detected peak indicates the origin of the hollow shaft 16.
A seventh modification of the first embodiment will now be described in detail with reference to the drawings. Like reference numerals denote like functional elements in the above fifth modification of the first embodiment. Such elements will not be described.
As shown in
In this structure, the MR sensor 15a (refer to
In this case, the rotation angle detector 200 detecting the magnetic flux density level As (T) at the single point can detect the origin or reference point of rotation of the hollow shaft 16. More specifically, the rotation angle detector 200 compares the detected magnetic flux density level As (T) as the minor peak value (marked with a black dot) and the detected magnetic flux density level Bs (T) as the major peak value (marked with a white dot) with the comparison threshold Ths (T) stored in the storage 230 in the rotation angle detector 200 (As<Ths<Bs). The rotation angle detector 200 thus detects the single minor S-polar peak value (marked with a black dot) between 0 and 360 degrees and determines that the detected peak indicates the origin of the hollow shaft 16.
The above structure in the seventh modification of the first embodiment also produces substantially the same advantageous effects as in the above fifth modification of the first embodiment. In the seventh modification of the first embodiment, in addition to this, the magnetized sections MG5 and MG7 adjacent to the origin-indicator magnetized section 31 (magnetized section MG6) also serve as the origin-indicator magnetized sections 30 and 32 (weakly magnetized sections). Thus, the rotation angle detector 200 determines that the hollow shaft 16 is in the range of rotation angles from 120 to 210 degrees by continuously detecting the magnetic flux density level An (T) at the minor peak value (marked with a black dot) (without exceeding the comparison threshold Thn in T), then the magnetic flux density level As (T) at the minor peak value (marked with a black dot) (without exceeding the comparison threshold Ths in T), and finally the magnetic flux density level An (T) at the minor peak value (marked with a black dot) (without exceeding the comparison threshold Thn in T). The rotation angle detector 200 can also predict the origin (magnetic flux density level As in T at a minor peak value) by detecting one of the magnetic flux density levels An (T) at the minor peak value.
Eighth and ninth modifications of the first embodiment will now be described in detail with reference to the drawings. Like reference numerals denote like functional elements in the above fifth modification of the first embodiment. Such elements will not be described.
As shown in
More specifically, in the ring magnet 20K (inner recess type) in the eighth modification of the first embodiment, the origin-indicator magnetized section 33 (magnetized section MG5) is recessed radially outward into the ring magnet 20K, and has a volume S1 smaller than a volume S2 of each of the other magnetized sections MG1 to MG4 and MG6 to MG12 (S1<S2). Thus, magnetizing the ring magnet 20K using a magnetizer causes the magnetic force MP1 from the magnetized section MG5 to be smaller than the magnetic forces MP2 from the other magnetized sections MG1 to MG4 and MG6 to MG12.
The magnetizer for magnetizing the ring magnet 20K (inner recess type) includes a total of 12 magnetic force generators each corresponding to one of the magnetized sections MG1 to MG12 in the ring magnet 20K. The coils in these magnetic force generators each have the same number of turns (turns). This allows the use of a general-purpose magnetizer with a simple structure.
To obtain the same characteristics as those in the sixth and seventh modifications of the first embodiment above, magnetized sections MG6 and MG7 may also be recessed radially outward to serve as origin-indicator magnetized sections 34 and 35 (weakly magnetized sections), as indicated by the two-dot-dash lines in the figure.
A resin (non-magnetic) spacer SP is attached to the radially inner end of the origin-indicator magnetized section 33. Thus, the ring magnet 20K is fixed to the hollow shaft 16 (refer to
In the ring magnet 20L (outer cut type) in the ninth modification of the first embodiment, an outer peripheral portion of the origin-indicator magnetized section 36 (magnetized section MG5) is cut by a predetermined volume (shown by the two-dot-dash line in the figure) into a flat surface. Thus, the origin-indicator magnetized section 36 (magnetized section MG5) has a volume S1 smaller than a volume S2 of any one of the other magnetized sections MG1 to MG4 and MG6 to MG12 (S1<S2). Thus, magnetizing the ring magnet 20L using a magnetizer causes the magnetic force MP1 from the origin-indicator magnetized section MG5 to be smaller than the magnetic forces MP2 from the other magnetized sections MG1 to MG4 and MG6 to MG12.
As a magnetizer for magnetizing the ring magnet 20L (outer cut type) as well, a general-purpose magnetizer with a simple structure may be used as for the ring magnet 20K in the eighth modification of the first embodiment.
To obtain the same characteristics as those in the sixth and seventh modifications of the first embodiment above, outer peripheral portions of the magnetized sections MG6 and MG7 may also be cut into flat surfaces to allow these magnetized sections to serve as origin-indicator magnetized sections 37 and 38 (weakly magnetized sections), as indicated by the two-dot-dash lines in the figure.
The above structures in the eighth and ninth modifications of the first embodiment also produce substantially the same advantageous effects as in the above fifth modification of the first embodiment.
The present disclosure is not limited to the above embodiments, but may be modified variously without departing from the spirit and scope of the present disclosure. For example, although the above embodiments are described using the 12-pole ring magnets 20A to 20L, the number of poles used in the embodiments of the present disclosure is not limited to this number and may be reduced to 8 or increased to 14 or more, for example, as appropriate for the specifications used for the rotation angle detector 200. For example, the above embodiments are described in detail for ease of explanation of the present disclosure, and not all the described components may be included in each embodiment. Some of the components in the above embodiments may be eliminated or replaced, or other components may be added.
Although a magnetic sensor is used as an MR sensor in the above embodiments, the type of the sensor used in the embodiments of the present disclosure is not limited to this type of sensor and may be any other types of magnetic sensors, such as anisotropic magnetoresistive (AMR) sensors, giant magnetoresistive (GMR) sensors, and Hall sensors.
The above components, functions, processors, and processing units may each be partly or entirely implemented by hardware by, for example, being designed in an IC. The above components and functions may each be implemented by software with a processor interpreting and executing programs for implementing the functions. Information about, for example, the programs for implementing the functions, tables, and files may be stored in a storage device such as a memory, a hard disk drive, or a solid-state drive (SSD) or a recording medium such as an IC card, a secure digital (SD) card, or a digital versatile disc (DVD).
In the above drawings, control lines and information lines are selectively shown for explanatory purposes, and some of the control lines or the information lines may not be shown. Almost all the components may actually be connected to one another.
The materials, shapes, dimensions, numbers, and positions of the components in the above embodiments may be determined as appropriate to achieve the aspects of the present disclosure without being limited to the above embodiments.
Number | Date | Country | Kind |
---|---|---|---|
2022-026725 | Feb 2022 | JP | national |