Signal conversion method, position detection method, and position detection device

The signal conversion method for rotational position detection synchronizes the conversion of multiple analog signals by reversing the sampling order, addressing timing shifts and improving detection accuracy in rotational position sensing.

WO2024202082A1PCT designated stage expired Publication Date: 2024-10-03NIDEC CORP(JP) +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/019991
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2023-05-29
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Conventional methods for detecting the rotational position of a rotating body using Hall sensors face accuracy issues due to timing shifts when converting multiple analog signals into digital signals simultaneously, leading to reduced positional detection accuracy.

Method used

A signal conversion method that involves sequentially sampling analog signals multiple times, with a reverse order sampling process in a second step, to synchronize the conversion of multiple analog signals and reduce timing deviations, allowing for accurate digital signal conversion and positional detection.

Benefits of technology

This approach effectively suppresses deviations between digital signals obtained from multiple analog signals, enhancing the accuracy of rotational position detection by ensuring simultaneous conversion timing, even with inexpensive conversion devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023019991_03102024_PF_FP_ABST
    Figure JP2023019991_03102024_PF_FP_ABST
Patent Text Reader

Abstract

This signal conversion method converts each of a plurality of analog signals into a digital signal, and includes: a first step in which a sampling process for sampling the value of an analog signal at least once is sequentially performed a plurality of times; and a second step that is performed following the first step, and in which the sampling process is sequentially performed a plurality of times. The plurality of instances of the sampling process performed in the first step include at least one instance of the sampling process for each of the plurality of analog signals. In the second step, the plurality of instances of the sampling process performed in the first step are performed in the opposite order from that of the first step.
Need to check novelty before this filing date? Find Prior Art

Description

Signal conversion method, position detection method, and position detection device

[0001] This application claims priority to Japanese Patent Application No. 2023-057638, filed on March 31, 2023, the contents of which are incorporated herein by reference.

[0002] 2. Description of the Related Art Conventionally, a method for detecting the rotational position of a rotating body such as a rotor of a motor using a plurality of Hall sensors is known (see, for example, Patent Document 1).

[0003] Japanese Patent Application Laid-Open No. 2019-54656

[0004] In the above method, analog signals obtained from multiple Hall sensors are converted into digital signals, and the rotational position of the rotating body is detected based on the obtained digital signals. However, when using inexpensive equipment to convert analog signals to digital signals, it may not be possible to convert multiple analog signals simultaneously, and analog signals may only be converted one at a time. In this case, in order to convert multiple analog signals into digital signals individually, the multiple analog signals must be converted into digital signals sequentially. Therefore, there is a problem in that the timing of acquiring the digital signals differs for each of the multiple analog signals, reducing the accuracy of detecting the rotational position of the rotating body.

[0005] In view of the above circumstances, one of the objects of the present invention is to provide a signal conversion method that can suppress discrepancies between multiple digital signals obtained by converting multiple analog signals, a position detection method that uses such a signal conversion method, and a position detection device that can execute such a signal conversion method.

[0006] One aspect of the signal conversion method of the present invention is a signal conversion method for converting each of a plurality of analog signals into a digital signal, the method including: a first step of sequentially performing a sampling process for sampling the values ​​of the analog signals at least once a plurality of times; and a second step subsequent to the first step of sequentially performing the sampling process a plurality of times. The multiple sampling processes performed in the first step include the sampling process for each of the plurality of analog signals at least once. In the second step, the multiple sampling processes performed in the first step are performed in the reverse order to that of the first step.

[0007] One aspect of the position detection method of the present invention is a position detection method for detecting the rotational position of a rotating body, the method including: acquiring a plurality of analog signals having mutually different phases by a plurality of rotation sensors capable of outputting analog signals corresponding to the rotational position of the rotating body; and performing a detection step of detecting the rotational position of the rotating body based on the plurality of analog signals at a predetermined cycle. The detection step includes a conversion step of converting each of the plurality of analog signals into a digital signal by the signal conversion method described above; and a calculation step of calculating the rotational position of the rotating body based on the digital signals obtained in the conversion step.

[0008] One aspect of the position detection device of the present invention is a position detection device that detects the rotational position of a rotating body, the position detection device comprising: a plurality of rotation sensors that can output analog signals that correspond to the rotational position of the rotating body and have different phases from one another; and a calculation unit that can execute a detection step at a predetermined cycle to detect the rotational position of the rotating body based on the plurality of analog signals output from the plurality of rotation sensors. In the detection step, the calculation unit executes a conversion step that converts each of the plurality of analog signals into a digital signal, and a calculation step that calculates the rotational position of the rotating body based on the digital signal obtained in the conversion step. In the conversion step, the calculation unit executes the following steps: a first step that sequentially performs a sampling process multiple times to sample the values ​​of the analog signals at least once; a second step that sequentially performs the sampling process multiple times, which is performed subsequent to the first step; and a third step that calculates a digital signal value for each of the plurality of analog signals based on the sampled data obtained in the first step and the sampled data obtained in the second step. The multiple sampling processes performed in the first step include the sampling process for each of the plurality of analog signals at least once. In the second step, the calculation unit performs the sampling process multiple times in the reverse order to that performed in the first step.

[0009] According to one aspect of the present invention, it is possible to suppress the occurrence of discrepancies between a plurality of digital signals obtained by converting a plurality of analog signals.

[0010] FIG. 1 is a schematic diagram illustrating a position detection device according to a first embodiment. FIG. 2 is a graph illustrating an example of a plurality of analog signals according to the first embodiment. FIG. 3 is a flowchart illustrating the detection steps according to the first embodiment. FIG. 4 is a diagram illustrating the detection steps according to the first embodiment. FIG. 5 is a diagram illustrating the first and second steps according to the first embodiment. FIG. 6 is a flowchart illustrating the detection steps according to the second embodiment. FIG. 7 is a diagram illustrating another example of the first and second steps. FIG. 8 is a diagram illustrating yet another example of the first and second steps. FIG. 9 is a diagram illustrating yet another example of the first and second steps.

[0011] First Embodiment A position detection device 100 of this embodiment shown in Fig. 1 is a device that detects the rotational position of a rotor 20 of a motor 10. In this embodiment, the motor 10 is a three-phase motor. The rotor 20 is a rotating body that can rotate around a central axis J. In the following description, the axial direction in which the central axis J extends may be simply referred to as the "axial direction," and the circumferential direction around the central axis J may be simply referred to as the "circumferential direction."

[0012] As shown in FIG. 1 , the rotor 20 is provided with a magnet 30. The magnet 30 is, for example, annular and surrounds the central axis J. The magnet 30 has magnetic pole portions 30N and 30S that are alternately arranged in the circumferential direction around the central axis J. The magnetic pole portion 30N is a north pole. The magnetic pole portion 30S is a south pole. There are four magnetic pole portions 30N and four magnetic pole portions 30S. That is, in this embodiment, the magnet 30 has four pole pairs. Note that a pole pair refers to a pair of a north pole and a south pole. The magnet 30 may be a rotor magnet in which the magnetic flux of the magnet 30 flows between the rotor 20 and a stator (not shown) of the motor 10, or may be a sensor magnet provided on the rotor 20 separately from the rotor magnet.

[0013] The position detection device 100 includes a magnet 30, a plurality of rotation sensors 40, and a signal processing device 50. Although not shown, the position detection device 100 also includes a circuit board that faces the magnet 30 in the axial direction. The plurality of rotation sensors 40 and the signal processing device 50 are attached to the circuit board, for example.

[0014] The multiple rotation sensors 40 are capable of outputting analog signals HS corresponding to the rotational position of the rotor 20, which is a rotating body. The analog signals HS output from the multiple rotation sensors 40 have different phases from one another. In this embodiment, the multiple rotation sensors 40 are magnetic sensors capable of detecting the magnetic field of the magnet 30. Therefore, while the rotation sensors 40 can be inexpensive sensors, the rotational position of the rotor 20, which is a rotating body, can be easily detected by detecting the magnetic field of the magnet 30 using the rotation sensors 40.

[0015] The rotation sensor 40 outputs an analog signal HS that indicates the magnetic field strength that changes depending on the rotational position of the rotor 20, i.e., the rotational position of the magnet 30. The type of magnetic sensor 40 is not particularly limited as long as it is a magnetic sensor that can output the analog signal HS. The rotation sensor 40 may be a Hall element, a linear Hall IC, or a magnetic resistance element. In this embodiment, three rotation sensors 40 are provided: a first rotation sensor 41, a second rotation sensor 42, and a third rotation sensor 43.

[0016] The first rotation sensor 41, the second rotation sensor 42, and the third rotation sensor 43 are arranged at a predetermined interval in the circumferential direction. In this embodiment, the first rotation sensor 41, the second rotation sensor 42, and the third rotation sensor 43 are arranged in this order at 30° intervals in the circumferential direction. If the number of pole pairs of the magnet 30 is P, one electrical angle cycle of each analog signal HS output from each rotation sensor 40 corresponds to 1 / P of one mechanical angle cycle. In this embodiment, since the number of pole pairs P of the magnet 30 is "4," one electrical angle cycle of each analog signal HS output from each rotation sensor 40 corresponds to 1 / 4 of one mechanical angle cycle, i.e., 90° mechanical angle. In this embodiment, the analog signals HS output from circumferentially adjacent rotation sensors 40 have a phase difference of 120° electrical angle from each other.

[0017] The analog signal HS output from the first rotation sensor 41 is the first analog signal Hu. The analog signal HS output from the second rotation sensor 42 is the second analog signal Hv. The analog signal HS output from the third rotation sensor 43 is the third analog signal Hw. As shown in FIG. 2 , the first analog signal Hu, the second analog signal Hv, and the third analog signal Hw are sinusoidal waves. In FIG. 2 , the horizontal axis represents the rotation angle θ of the rotor 20, and the vertical axis represents the voltage V. The rotation angle θ is a mechanical angle. When the rotor 20 rotates at a constant rotational speed, each analog signal HS changes similarly to the graph shown in FIG. 2 , with the horizontal axis representing time. In this embodiment, the second analog signal Hv has a phase delay of 120° electrical angle relative to the first analog signal Hu. The third analog signal Hw has a phase delay of 120° electrical angle relative to the second analog signal Hv. As shown in FIG. 1, the first analog signal Hu, the second analog signal Hv, and the third analog signal Hw are input to a signal processing device 50 .

[0018] The signal processing device 50 processes the multiple analog signals HS output from the multiple rotation sensors 40. In this embodiment, the signal processing device 50 calculates the rotation angle θ of the rotor 20, which is a rotating body, based on the first analog signal Hu, the second analog signal Hv, and the third analog signal Hw. The signal processing device 50 has a calculation unit 51 and a storage unit 52. In other words, the position detection device 100 includes the calculation unit 51 and the storage unit 52.

[0019] The calculation unit 51 is a part that calculates the rotation angle θ of the rotor 20, which is a rotating body, based on the first analog signal Hu, the second analog signal Hv, and the third analog signal Hw. The calculation unit 51 is, for example, a microprocessor such as an MCU (Microcontroller Unit). The calculation unit 51 is connected to the storage unit 52 so as to be able to communicate data with it, for example, via a data bus. The first analog signal Hu, the second analog signal Hv, and the third analog signal Hw are input to the calculation unit 51. The calculation unit 51 is capable of executing a detection step Sd1, at a predetermined period ts, that detects the rotational position of the rotor 20, which is a rotating body, based on the multiple analog signals HS output from the multiple rotation sensors 40.

[0020] The storage unit 52 includes a nonvolatile memory that stores programs, various values, learning data, and the like required for the calculation unit 51 to execute various processes, and a volatile memory that is used as a temporary storage destination for data when the calculation unit 51 executes various processes. The nonvolatile memory is, for example, an EEPROM (Electrically Erasable Programmable Read-Only Memory) or a flash memory. The volatile memory is, for example, a RAM (Random Access Memory).

[0021] In this embodiment, the position detection device 100 acquires a first analog signal Hu, a second analog signal Hv, and a third analog signal Hw as a plurality of analog signals HS using a plurality of rotation sensors 40, and performs a detection step Sd1 at a predetermined period ts using the acquired plurality of analog signals HS in a calculation unit 51, thereby detecting the rotational position of the rotor 20, which is a rotating body, as a rotation angle θ, at the predetermined period ts. In this embodiment, a position detection method for detecting the rotational position of the rotor 20, which is a rotating body, is performed using the position detection device 100. The position detection method of this embodiment includes acquiring a plurality of analog signals HS having mutually different phases using a plurality of rotation sensors 40 capable of outputting analog signals HS corresponding to the rotational position of the rotor 20, and performing a detection step Sd1 at the predetermined period ts, in which the rotational position of the rotor 20 is detected based on the plurality of analog signals HS. As an example, the period ts is approximately 5 microseconds (μs) or more and 100 microseconds (μs) or less.

[0022] In this embodiment, the calculation unit 51 executes the detection step Sd1 in accordance with the flowchart of Fig. 3. As shown in Fig. 3, in the detection step Sd1, the calculation unit 51 executes the conversion step Scv. That is, the detection step Sd1 includes the conversion step Scv. The conversion step Scv is a step of converting each of the multiple analog signals HS into a digital signal using the signal conversion method of this embodiment. In other words, the conversion step Scv is a step of performing A / D conversion.

[0023] In this embodiment, the calculation unit 51 can only convert one analog signal HS into a digital signal at a time. Therefore, the microprocessor constituting the calculation unit 51 can be made less expensive than if the calculation unit 51 were capable of simultaneously converting multiple analog signals HS into digital signals. This reduces the manufacturing cost of the position detection device 100. The sampling rate of the A / D conversion that the calculation unit 51 can perform may be, for example, several hundred ksamples per second (sps) or several thousand ksamples per second (sps). The sampling rate of the A / D conversion that the calculation unit 51 can perform is, for example, not less than 100 ksamples per second (sps) and not more than 10,000 ksamples per second (sps). The sampling rate of the A / D conversion that the calculation unit 51 can perform is not particularly limited.

[0024] In the conversion step Scv, the calculation unit 51 executes a first step S1a, a second step S2a, and a third step S3a. That is, the conversion step Scv includes the first step S1a, the second step S2a, and the third step S3a. The first step S1a, the second step S2a, and the third step S3a are executed in this order.

[0025] The first step S1a is a step of sequentially performing the sampling process Sp multiple times. The sampling process Sp is a process of sampling the value of the analog signal HS at least once. For example, the sampling process Sp samples the value of the analog signal HS eight times. The number of times sampling is performed in the sampling process Sp is not particularly limited as long as it is at least once. As shown in FIG. 4 , in the first step S1a of this embodiment, the sampling process Sp is performed three times. In the sampling process Sp of this embodiment, the calculation unit 51 acquires, as sampling data, a total value obtained by adding up the values ​​obtained by sampling the analog signal HS multiple times. In FIG. 4 , the horizontal axis represents time t.

[0026] The multiple sampling processes Sp performed in the first step S1a include at least one sampling process Sp for each of the multiple analog signals HS output from the multiple rotation sensors 40. In this embodiment, the multiple sampling processes Sp performed in the first step S1a include the same number of sampling processes Sp for each of the multiple analog signals HS output from the multiple rotation sensors 40. The multiple sampling processes Sp performed in the first step S1a include one each of a first sampling process Us performed on the first analog signal Hu, a second sampling process Vs performed on the second analog signal Hv, and a third sampling process Ws performed on the third analog signal Hw. In the first step S1a of this embodiment, the first sampling process Us, the second sampling process Vs, and the third sampling process Ws are performed consecutively in this order.

[0027] The second step S2a is performed following the first step S1a and is a step in which the sampling process Sp is performed sequentially multiple times. In the second step S2a of this embodiment, the sampling process Sp is performed three times. The multiple sampling processes Sp performed in the second step S2a include at least one sampling process Sp for each of the multiple analog signals HS output from the multiple rotation sensors 40. In this embodiment, the multiple sampling processes Sp performed in the second step S2a include the same number of sampling processes Sp for each of the multiple analog signals HS output from the multiple rotation sensors 40. In this embodiment, the multiple sampling processes Sp performed in the second step S2a include one each of a first sampling process Us performed on the first analog signal Hu, a second sampling process Vs performed on the second analog signal Hv, and a third sampling process Ws performed on the third analog signal Hw. In other words, the multiple sampling processes Sp performed in the second step S2a are similar to the multiple sampling processes Sp performed in the first step S1a.

[0028] The multiple sampling processes Sp performed in the second step S2a are performed in a different order than the multiple sampling processes Sp performed in the first step S1a. In the second step S2a of this embodiment, the third sampling process Ws, the second sampling process Vs, and the first sampling process Us are performed consecutively in this order. In other words, in the second step S2a, the calculation unit 51 performs the multiple sampling processes Sp performed in the first step S1a in the reverse order to that of the first step S1a.

[0029] In a relative comparison of the sampling data, the sampling data obtained in the first step S1a sampling process Sp and the second step S2a sampling process Sp can be considered to be values ​​acquired at the center time between the start and end of each sampling process Sp. This is because, as shown in FIG. 5 , within the sufficiently short time period during which each detection step Sd1 is performed, the change in each analog signal HS with respect to time t can be linearly approximated. In the upper and lower graphs in FIG. 5 , the horizontal axis represents time t. In the upper graph in FIG. 5 , the vertical axis represents voltage V. In the following description, the center time between the start and end of each sampling process Sp may be referred to as the center time of each sampling process Sp.

[0030] For example, if the first analog signal Hu can be approximated as a signal that changes linearly over time, and multiple samplings are performed at regular intervals in the first sampling process Us, the value of the first analog signal Hu at the center time of the first sampling process Us can be considered to be equivalent to the average value obtained by adding up all the values ​​obtained from the multiple samplings and dividing the sum by the number of samplings performed in the first sampling process Us. The same applies to the second sampling process Vs and the third sampling process Ws.

[0031] Here, the number of samplings performed in the first sampling process Us, the number of samplings performed in the second sampling process Vs, and the number of samplings performed in the third sampling process Ws are all the same. Therefore, the ratio between the sum of the data obtained by multiple samplings in each sampling process Sp is the same as the ratio between the values ​​obtained from each analog signal HS at the center time of each sampling process Sp. Therefore, as in this embodiment, the sum of the values ​​obtained by multiple samplings in each sampling process Sp is obtained as sampling data, and when comparing the sampling data between the analog signals HS, each sampling data can be treated as a value obtained at the center time of each sampling process Sp.

[0032] In FIG. 5 , PU1 denotes the value of the first analog signal Hu at the center time of the first sampling process Us in the first step S1a. PV1 denotes the value of the second analog signal Hv at the center time of the second sampling process Vs in the first step S1a. PW1 denotes the value of the third analog signal Hw at the center time of the third sampling process Ws in the first step S1a. PU2 denotes the value of the first analog signal Hu at the center time of the first sampling process Us in the second step S2a. PV2 denotes the value of the second analog signal Hv at the center time of the second sampling process Vs in the second step S2a. PW2 denotes the value of the third analog signal Hw at the center time of the third sampling process Ws in the second step S2a. In this embodiment, the ratio between each value PU1, PV1, PW1, PU2, PV2, and PW2 can be considered to be equivalent to the ratio between the total values ​​of each sampling data obtained in each sampling process Sp, i.e., the values ​​obtained by adding up multiple samplings in each sampling process Sp.

[0033] The third step S3a is a step of calculating, for each of the plurality of analog signals HS, the value of a digital signal based on the sampling data obtained in the first step S1a and the sampling data obtained in the second step S2a. In the third step S3a of this embodiment, the calculation unit 51 adds together the sampling data obtained in the first step S1a and the sampling data obtained in the second step S2a for each of the plurality of analog signals HS. That is, in the present embodiment, the third step S3a includes adding together the sampling data obtained in the first step S1a and the sampling data obtained in the second step S2a for each of the plurality of analog signals HS.

[0034] In the third step S3a, the calculation unit 51 calculates the value of the digital signal converted from the first analog signal Hu by adding the sampling data obtained from the first analog signal Hu in the first sampling process Us in the first step S1a and the sampling data obtained from the first analog signal Hu in the first sampling process Us in the second step S2a.

[0035] In the third step S3a, the calculation unit 51 calculates the value of the digital signal converted from the second analog signal Hv by adding together the sampling data obtained from the second analog signal Hv in the second sampling process Vs in the first step S1a and the sampling data obtained from the second analog signal Hv in the second sampling process Vs in the second step S2a.

[0036] In the third step S3a, the calculation unit 51 calculates the value of the digital signal converted from the third analog signal Hw by adding the sampling data obtained from the third analog signal Hw in the third sampling process Ws in the first step S1a and the sampling data obtained from the third analog signal Hw in the third sampling process Ws in the second step S2a.

[0037] In a relative comparison between the values ​​of the digital signals obtained from each analog signal HS, the value of each digital signal obtained in the third step S3a can be regarded as the value acquired at the timing Ta at which the first step S1a and the second step S2a switch. This is because, as described above, within the sufficiently short time period in which each detection step Sd1 is performed, the change in each analog signal HS with respect to time t can be linearly approximated, and in the sampling process Sp for any analog signal HS, the center time from the start of the first sampling process Sp in the detection step Sd1 to the end of the last sampling process Sp is the timing Ta.

[0038] Specifically, the center time between the start of the first sampling process Us in the detection step Sd1 and the end of the last first sampling process Us, the center time between the start of the first second sampling process Vs in the detection step Sd1 and the end of the last second sampling process Vs, and the center time between the start of the first third sampling process Ws in the detection step Sd1 and the end of the last third third sampling process Ws are all the same, and are all timing Ta. The timing Ta at which the first step S1a and the second step S2a switch is the time when the first step S1a ends and the second step S2a starts.

[0039] 5 , for example, when the first analog signal Hu can be approximated as a signal that changes linearly over time, the value PU of the first analog signal Hu at the time Ta can be regarded as a value equivalent to the average value obtained by adding together the value PU1 of the first analog signal Hu at the center time of the first sampling process U in the first step S1a and the value PU2 of the first analog signal Hu at the center time of the first sampling process U in the second step S2a, and dividing this sum by the total number of times the first sampling process U is performed in the first step S1a and the second step S2a. That is, in this embodiment, the value PU of the first analog signal Hu at the time Ta can be regarded as a value equivalent to the sum of the value PU1 of the first analog signal Hu and the value PU2 of the first analog signal Hu, divided by 2. The same applies to the second analog signal Hv and the third analog signal Hw. That is, the value PV of the second analog signal Hv at the timing Ta can be considered to be a value equivalent to the sum of the value PV1 of the second analog signal Hv and the value PV2 of the second analog signal Hv, divided by 2. The value PW of the third analog signal Hw at the timing Ta can be considered to be a value equivalent to the sum of the value PW1 of the third analog signal Hw and the value PW2 of the third analog signal Hw, divided by 2.

[0040] As described above, the ratio between the values ​​PU1, PV1, PW1, PU2, PV2, and PW2 can be considered to be equivalent to the ratio between the sampled data obtained in each sampling process Sp, and therefore, in relative comparisons between the multiple analog signals HS, the values ​​PU1, PV1, PW1, PU2, PV2, and PW2 can be replaced with the sampled data obtained in each sampling process Sp. Therefore, the value of the digital signal calculated by adding up the sampled data obtained in the first sampling process Us in the first step S1a and the second step S2a, divided by the total number of times the first sampling process Us is performed in the first step S1a and the second step S2a, can be considered to be the sampled data of the first analog signal Hu obtained at the timing Ta.

[0041] The value of the digital signal calculated by adding up the sampling data obtained in the second sampling process Vs in the first step S1a and the second step S2a and dividing the value by the total number of times the second sampling process Vs is performed in the first step S1a and the second step S2a can be considered to be the sampling data of the second analog signal Hv obtained at the timing Ta.

[0042] The value of the digital signal calculated by adding up the sampling data obtained in the third sampling process Ws in the first step S1a and the second step S2a and dividing it by the total number of times the third sampling process Ws is performed in the first step S1a and the second step S2a can be considered to be the sampling data of the third analog signal Hw obtained at the timing Ta.

[0043] Here, the total number of times the first sampling process Us, the total number of times the second sampling process Vs, and the total number of times the third sampling process Ws are performed in the first step S1a and the second step S2a are all the same, that is, 2. Therefore, in the relative comparison between the digital signals corresponding to the multiple analog signals HS, the value of each digital signal calculated in the third step S3a by adding up the sampling data in the sampling process Sp for each of the multiple analog signals HS can be treated as the value of the digital signal corresponding to each analog signal HS at the timing Ta.

[0044] As described above, according to this embodiment, the multiple sampling processes Sp performed in the first step S1a include at least one sampling process Sp for each of the multiple analog signals HS, and in the second step S2a, the multiple sampling processes Sp performed in the first step S1a are performed in the reverse order of the first step S1a. Therefore, for each of the multiple analog signals HS, the number of sampling processes Sp performed in the first step S1a and the number of sampling processes Sp performed in the second step S2a can be made the same. Furthermore, for each analog signal HS, the center time from the start of the first sampling process Sp to the end of the last sampling process Sp can be set to the timing Ta at which the first step S1a and the second step S2a switch. This makes it possible to obtain digital signal values ​​converted from the analog signals HS that correspond to values ​​obtained simultaneously at the same timing Ta. Therefore, even if the calculation unit 51 can only convert one analog signal HS at a time, it is possible to prevent discrepancies from occurring between the multiple digital signals obtained by converting the multiple analog signals HS.

[0045] In this embodiment, the converting step Scv includes a third step S3a of calculating, for each of the plurality of analog signals HS, a digital signal value based on the sampling data obtained in the first step S1a and the sampling data obtained in the second step S2a. Therefore, in the third step S3a, it is possible to obtain, for each of the plurality of analog signals HS, a digital signal value corresponding to the digital signals obtained at the same time.

[0046] In this embodiment, the third step S3a includes adding together the sampling data obtained in the first step S1a and the sampling data obtained in the second step S2a for each of the multiple analog signals HS. Therefore, for example, as described above, it is easy to obtain a digital signal value corresponding to the digital signal obtained at time Ta. In particular, in this embodiment, the multiple sampling processes Sp performed in the first step S1a include the same number of sampling processes Sp for each of the multiple analog signals HS. Therefore, as described above, the sum of the sampling data obtained in the first step S1a and the sampling data obtained in the second step S2a can be treated as a value corresponding to the digital signal value obtained at time Ta. This makes it easier to obtain a digital signal value corresponding to the digital signal obtained at time Ta for each of the multiple analog signals HS.

[0047] As shown in FIG. 3 , in the detection step Sd1 of this embodiment, the calculation unit 51 determines whether the current detection step Sd1 is the second or subsequent detection step Sd1 after the conversion step Scv (step Sj1). If the current detection step Sd1 is the first detection step Sd1 (step Sj1: NO), the calculation unit 51 executes a calculation step Sca1 in which the calculation unit 51 calculates the rotational position of the rotor 20, which is a rotating body, based on the digital signal obtained in the conversion step Scv. In other words, the detection step Sd1 includes the calculation step Sca1. In this embodiment, the first detection step Sd1 is the detection step Sd1 first executed by the calculation unit 51 after power supply to the calculation unit 51 is resumed after power supply to the calculation unit 51 has been stopped.

[0048] If the current detection step Sd1 is the first detection step Sd1, in the calculation step Sca1, the calculation unit 51 calculates the rotational position of the rotor 20, i.e., the rotation angle θ, using the values ​​of the digital signals obtained in the conversion step Scv without correction. The method by which the calculation unit 51 calculates the rotation angle θ from the values ​​of the digital signals is not particularly limited. For example, the calculation unit 51 can calculate the rotation angle θ using the method described in Japanese Patent No. 6233532. In this embodiment, as described above, it is possible to suppress deviations between the multiple digital signals obtained by converting the multiple analog signals HS, thereby improving the accuracy of the rotation angle θ calculated based on the values ​​of the multiple digital signals.

[0049] If the current detection step Sd1 is the second or subsequent detection step Sd1 (step Sj1: YES), the calculation unit 51 executes a correction step Scr1 to correct the value of the digital signal obtained in the conversion step Scv. In the correction step Scr1, the calculation unit 51 calculates an estimate De of the digital signal obtained based on the value of the analog signal HS a first predetermined time tpa after timing Ta based on the value of the digital signal obtained in the third step S3a and the value of the digital signal obtained in the third step S3a of the immediately previous detection step Sd1. In other words, the detection step Sd1 performed after the second time includes calculating an estimate De of the digital signal obtained based on the value of the analog signal HS a first predetermined time tpa after timing Ta, at which the first step S1a and the second step S2a switch, based on the value of the digital signal obtained in the third step S3a and the value of the digital signal obtained in the third step S3a of the immediately previous detection step Sd1. This allows for the acquisition of a digital signal value equivalent to that obtained at a timing different from timing Ta. This makes it possible to detect the rotational position of the rotor 20, which is a rotating body, based on the value of the digital signal at any timing.

[0050] As shown in FIG. 4 , in this embodiment, the first predetermined time tpa is equal to the time from timing Ta, when the first step S1a switches to the second step S2a, to the calculation of the rotational position of the rotor 20, which is a rotating body, in calculation step Sca1. Therefore, the value of the estimated value De can be set to a value corresponding to the value of the digital signal acquired at the time when the rotation angle θ is calculated. As a result, even if timing Ta and timing Tb, when the rotation angle θ is calculated, are not coincident as in this embodiment, it is possible to output a value corresponding to the rotation angle θ at timing Tb using the estimated value De corresponding to the digital signal acquired at timing Tb. This prevents a time lag from occurring in the value of the rotation angle θ output from the position detection device 100. This further improves the detection accuracy of the position detection device 100. Note that the first predetermined time tpa is not particularly limited.

[0051] In this embodiment, timing Tb is the time when the rotation angle θ is calculated and also the time when calculation step Sca1 ends. That is, in this embodiment, the first predetermined time tpa is equal to the time from timing Ta to the end of calculation step Sca1. In this embodiment, the first predetermined time tpa is equal to the sum of the time for executing second step S2a, the time for executing third step S3a, the time for executing correction step Scr1, and the time for executing calculation step Sca1. The first predetermined time tpa is, for example, approximately several tens of microseconds (μs). The first predetermined time tpa is, for example, approximately 1 μs or more and 100 μs or less.

[0052] In FIG. 4, the number of times the detection step Sd1 has been performed is indicated using an integer M equal to or greater than 2. Specifically, detection step Sd1[M] is the Mth detection step Sd1. Timing Ta[M] is the timing Ta in the Mth detection step Sd1. FIG. 4 illustrates an example where M=2. That is, detection step Sd1[M-1] shown in FIG. 4 is the first detection step Sd1. In correction step Scr1 in detection steps Sd1 performed from the second time onwards, calculation unit 51 calculates an estimated value De of the digital signal using the following equation (1):

[0053] De=D[M]+(D[M]-D[M-1]) / ts×tpa...Formula (1)

[0054] In equation (1), D[M] is the value of the digital signal obtained in the third step S3a of the Mth detection step Sd1. D[M-1] is the value of the digital signal obtained in the third step S3a of the (M-1)th detection step Sd1. ts is the predetermined period ts. tpa is the first predetermined time tpa. In correction step Scr1, the calculation unit 51 corrects the value of each digital signal obtained from the multiple analog signals HS to an estimated value De using the above equation (1).

[0055] In equation (1), (D[M] - D[M-1]) / ts is the rate of change per unit time of the value when the linearly approximable analog signal HS is converted into a digital signal within a period including the previous detection step Sd1 and the current detection step Sd1. Multiplying this rate of change by the first predetermined time tpa allows the value of the digital signal that changes from timing Ta in the Mth detection step Sd1 until the first predetermined time tpa has elapsed. Adding this value to the digital signal value D[M] obtained in the third step S3a in the Mth detection step Sd1 allows for the calculation of an estimated value De corresponding to the value of the digital signal from timing Ta until the first predetermined time tpa has elapsed. In this embodiment, as described above, a value corresponding to the value of the digital signal obtained at timing Tb when the rotation angle θ is calculated can be calculated, thereby enabling the rotation angle θ to be obtained with greater accuracy.

[0056] 3, after performing correction step Scr1, calculation unit 51 calculates the rotational position of rotor 20, i.e., rotation angle θ, using estimated value De, which is the corrected digital value (calculation step Sca1). The method by which calculation unit 51 calculates rotation angle θ from estimated value De in second and subsequent detection steps Sd1 is the same as the method by which calculation unit 51 calculates rotation angle θ in the first detection step Sd1.

[0057] Below, embodiments different from the above-described embodiments will be described. In the following description of each embodiment, the same configurations as those described above in the description of each embodiment may be omitted by appropriately assigning the same reference numerals. Furthermore, parts corresponding to the respective parts of the configurations described above in the description of each embodiment may be assigned the same names but different reference numerals, and differences from the above-described configurations may be described, while similar configurations to the above-described configurations may be omitted. Note that, as the configurations whose description is omitted in each of the following embodiments, configurations similar to the configurations described above in the description of each embodiment may be adopted within the scope of not being inconsistent.

[0058] Second Embodiment In this embodiment, the calculation unit 51 executes the detection step Sd2 in accordance with the flowchart of Fig. 6. In the detection step Sd2, the calculation unit 51 executes the conversion step Scv in the same manner as the detection step Sd1 in the first embodiment. After executing the conversion step Scv, the calculation unit 51 executes the calculation step Sca2 in which the rotational position of the rotor 20, i.e., the rotation angle θ, is calculated based on the value of the digital signal obtained in the conversion step Scv. The calculation step Sca2 is similar to the calculation step Sca1 in the first embodiment, except that the calculation step Sca2 is executed immediately after the conversion step Scv.

[0059] In the detection step Sd2 of this embodiment, the calculation unit 51 determines whether the current detection step Sd2 is the second or subsequent detection step Sd2 after the calculation step Sca2 (step Sj2). If the current detection step Sd2 is the first detection step Sd2 (step Sj2: NO), the calculation unit 51 outputs the rotation angle θ obtained in the calculation step Sca2 without correcting it. In this embodiment, the first detection step Sd2 is the detection step Sd2 that is first executed by the calculation unit 51 after power is supplied to the calculation unit 51, which had previously been turned off.

[0060] If the current detection step Sd2 is the second or subsequent detection step Sd2 (step Sj2: YES), the calculation unit 51 executes a correction step Scr2 to correct the rotational position of the rotor 20, i.e., the value of the rotational angle θ, obtained in the calculation step Sca2. In the correction step Scr2 of the second or subsequent detection step Sd2, the calculation unit 51 calculates an estimated value θe of the rotational angle θ after the second predetermined time tpb, based on the rotational angle θ obtained in the calculation step Sca2 and the rotational angle θ obtained in the calculation step Sca2 of the detection step Sd2 performed immediately before. In other words, the detection step Sd2 performed immediately after the second or subsequent detection step Sd2 includes calculating an estimated value θe of the rotational position of the rotor 20 after the second predetermined time tpb, based on the rotational position of the rotor 20, which is a rotating body, obtained in the calculation step Sca2, and the rotational position of the rotor 20 obtained in the calculation step Sca2 of the detection step Sd2 performed immediately before. Therefore, it is possible to detect the rotational position of the rotor 20 corresponding to the case where the value of the digital signal is acquired at a timing different from the timing Ta. This makes it possible to detect the rotational position of the rotor 20 at any timing.

[0061] In the correction step Scr2 of the detection step Sd2 that is performed for the second time or later, the calculation unit 51 calculates the estimated value De of the digital signal using the following equation (2).

[0062] θe=θ[M]+(θ[M]-θ[M-1]) / ts×tpb...Formula (2)

[0063] In equation (1), θ[M] is the value of rotation angle θ obtained in calculation step Sca2 of the Mth detection step Sd2. θ[M-1] is the value of rotation angle θ obtained in calculation step Sca2 of the (M-1)th detection step Sd2. ts is the predetermined period ts. tpb is the second predetermined time tpb. In correction step Scr2, the calculation unit 51 corrects the value of rotation angle θ obtained in calculation step Sca2 to an estimated value θe using the above equation (2).

[0064] In equation (2), (θ[M] - θ[M-1]) / ts is the rate of change per unit time of the rotation angle θ that can be linearly approximated within the period including the previous detection step Sd2 and the current detection step Sd2. Multiplying this rate of change by the second predetermined time tpb makes it possible to calculate the value of the rotation angle θ that changes from timing Ta in the Mth detection step Sd2 until the second predetermined time tpb has elapsed. Adding this value to the value θ[M] of the rotation angle θ obtained in calculation step Sca2 in the Mth detection step Sd2 makes it possible to suitably calculate an estimated value θe that corresponds to the value of the rotation angle θ from timing Ta until the second predetermined time tpb has elapsed.

[0065] In this embodiment, the second predetermined time tpb is equal to the time from the timing Ta at which the first step S1a switches to the second step S2a until the estimated value θe is calculated. Therefore, the rotation angle θ corresponding to the case where multiple analog signals HS are sampled at the timing at which the estimated value θe is calculated can be calculated as the estimated value θe. This prevents a time lag from occurring in the output rotation angle θ, allowing the rotation angle θ to be acquired with greater accuracy. The second predetermined time tpb is not particularly limited. The second predetermined time tpb is, for example, approximately several tens of microseconds (μs). The second predetermined time tpb is, for example, approximately 1 microsecond (μs) or more and 100 microseconds (μs) or less.

[0066] The present invention is not limited to the above-described embodiment, and other configurations and methods may be adopted within the scope of the technical concept of the present invention. The multiple sampling processes performed in the first step may be performed in any order and may include any number of sampling processes for each analog signal, as long as the multiple sampling processes include at least one sampling process for each analog signal. The second step may be performed in any order and may include any number of sampling processes for each analog signal, as long as the multiple sampling processes similar to the multiple sampling processes performed in the first step are performed in the reverse order of the first step.

[0067] The first step and the second step may be configured as, for example, a first step S1b and a second step S2b shown in Fig. 7 . As shown in Fig. 7 , the multiple sampling processes Sp performed in the first step S1b and the multiple sampling processes Sp performed in the second step S2b each include one first sampling process Us performed on the first analog signal Hu, one second sampling process Vs performed on the second analog signal Hv, and one third sampling process Ws performed on the third analog signal Hw. In the first step S1b, the second sampling process Vs, the third sampling process Ws, and the first sampling process Us are performed consecutively in this order. In the second step S2b, the first sampling process Us, the third sampling process Ws, and the second sampling process Vs are performed consecutively in this order.

[0068] The first step and the second step may be configured as, for example, a first step S1c and a second step S2c shown in Fig. 8. As shown in Fig. 8, the multiple sampling processes Sp performed in the first step S1c and the multiple sampling processes Sp performed in the second step S2c each include two of the following: a first sampling process Us performed on the first analog signal Hu, a second sampling process Vs performed on the second analog signal Hv, and a third sampling process Ws performed on the third analog signal Hw. That is, the first step S1c and the second step S2c each include six of the sampling processes Sp. In the first step S1c, the first sampling process Us, the third sampling process Ws, the second sampling process Vs, the third sampling process Ws, the second sampling process Vs, and the first sampling process Us are performed consecutively in this order. In the second step S2c, the first sampling process Us, the second sampling process Vs, the third sampling process Ws, the second sampling process Vs, the third sampling process Ws, and the first sampling process Us are executed successively in this order.

[0069] The first step and the second step may be configured, for example, as a first step S1d and a second step S2d shown in Fig. 9. As shown in Fig. 9, the multiple sampling processes Sp performed in the first step S1d and the multiple sampling processes Sp performed in the second step S2c each include one first sampling process Us, two second sampling processes Vs, and three third sampling processes Ws. That is, in the example of Fig. 9, the multiple sampling processes Sp performed in the first step S1d and the second step S2d include different numbers of sampling processes Sp for each of the multiple analog signals HS.

[0070] The total number of times the first sampling process Us is performed in the first step S1d and the second step S2d is 2. The total number of times the second sampling process Vs is performed in the first step S1d and the second step S2d is 4. The total number of times the third sampling process Ws is performed in the first step S1d and the second step S2d is 6.

[0071] In the first step S1d, the first sampling process Us, the third sampling process Ws, the second sampling process Vs, the third sampling process Ws, the second sampling process Vs, and the third sampling process Ws are executed successively in this order. In the second step S2d, the third sampling process Ws, the second sampling process Vs, the third sampling process Ws, the second sampling process Vs, the third sampling process Ws, and the first sampling process Us are executed successively in this order.

[0072] 9 , in the third step, for each of the analog signals HS, the sampling data obtained in the first step S1 d and the sampling data obtained in the second step S2 d are added together, and the sum is divided by the total number of sampling processes Sp corresponding to each analog signal HS to calculate a digital signal value. In this way, for each of the analog signals HS, a digital signal value corresponding to the digital signal value acquired at the timing Ta can be calculated.

[0073] 9 , the sampling data obtained in the sampling process Sp in the first step S1d and the sampling data obtained in the first sampling process Us in the second step S2d are added together, and the sum is divided by the total number of times the first sampling process Us was performed, i.e., 2, to calculate the value of the digital signal corresponding to the first analog signal Hu. In the third step of the example of Fig. 9 , the sampling data obtained in the second sampling process Vs in the first step S1d and the sampling data obtained in the second sampling process Vs in the second step S2d are added together, and the sum is divided by the total number of times the second sampling process Vs was performed, i.e., 4, to calculate the value of the digital signal corresponding to the second analog signal Hv. In the third step of the example of Fig. 9 , the sampling data obtained in the third sampling process Ws in the first step S1d and the sampling data obtained in the third sampling process Ws in the second step S2d are added together, and the sum is divided by the total number of times the third sampling process Ws was performed, i.e., 6, to calculate the value of the digital signal corresponding to the third analog signal Hw.

[0074] The method for calculating the value of the digital signal in the third step is not particularly limited as long as it is based on the sampling data obtained in the first step and the sampling data obtained in the second step. The value of the digital signal calculated in the third step may be a value obtained by adding up the sampling data obtained in the first step and the sampling data obtained in the second step for each of the multiple analog signals and dividing the sum by the total number of sampling processes performed in the first step and the second step. The sampling data obtained in the first step may not be a sum of values ​​obtained from multiple samplings, but may be multiple values ​​obtained from multiple samplings. The sampling data obtained in the second step may not be a sum of values ​​obtained from multiple samplings, but may be multiple values ​​obtained from multiple samplings.

[0075] The calculation unit of the position detection device may be capable of simultaneously converting multiple analog signals into digital signals. The object whose rotational position is detected by the position detection method and position detection device is not limited to a motor rotor, but is not particularly limited as long as it is a rotating body. When the target rotating body is a motor rotor, the motor may be any type of motor. The motor may be a multi-phase motor other than a three-phase motor. The rotation sensor that detects the rotational position of the rotating body is not limited to a magnetic sensor, but may be any type of sensor. The rotation sensor may be, for example, an optical sensor. The number of analog signals converted into digital signals by the signal conversion method of the present invention is not particularly limited as long as it is two or more.

[0076] The present technology may be configured as follows: (1) A signal conversion method for converting each of a plurality of analog signals into a digital signal, the signal conversion method including: a first step of sequentially performing a sampling process for sampling the values ​​of the analog signals at least once a plurality of times; and a second step performed subsequent to the first step of sequentially performing the sampling process a plurality of times, wherein the plurality of sampling processes performed in the first step include the sampling process for each of the plurality of analog signals at least once, and wherein the plurality of sampling processes performed in the second step are performed in the reverse order of the first step. (2) The signal conversion method according to (1), further including: a third step of calculating, for each of the plurality of analog signals, a value of a digital signal based on sampling data obtained in the first step and sampling data obtained in the second step. (3) The signal conversion method according to (2), wherein the third step includes adding, for each of the plurality of analog signals, the sampling data obtained in the first step and the sampling data obtained in the second step. (4) The signal conversion method according to (2) or (3), wherein the plurality of sampling processes performed in the first step include the same number of sampling processes for each of the plurality of analog signals. (5) A position detection method for detecting a rotational position of a rotating body, the position detection method comprising: acquiring a plurality of analog signals having mutually different phases by a plurality of rotation sensors capable of outputting analog signals according to the rotational position of the rotating body; and performing a detection step of detecting the rotational position of the rotating body based on the plurality of analog signals at a predetermined period, wherein the detection step includes a conversion step of converting each of the plurality of analog signals into a digital signal by the signal conversion method according to any one of (2) to (4), and a calculation step of calculating the rotational position of the rotating body based on the digital signal obtained in the conversion step.(6) The position detection method according to (5), wherein the detection step performed a second time or later includes calculating an estimate of the digital signal obtained based on the value of the analog signal at a first predetermined time after the timing at which the first step and the second step are switched, based on the value of the digital signal obtained in the third step and the value of the digital signal obtained in the third step of the detection step performed immediately before. (7) The position detection method according to (6), wherein the estimate of the digital signal is calculated in the detection step performed a second time or later by the following formula (1), where ts is the predetermined period, tpa is the first predetermined time, D[M] is the value of the digital signal obtained in the Mth detection step, and De is the estimate of the digital signal. De=D[M]+(D[M]-D[M-1]) / ts×tpa ...Equation (1) (8) The position detection method according to (6) or (7), wherein the first predetermined time is equal to the time from the timing of switching between the first step and the second step to the time when the rotational position of the rotating body is calculated in the calculation step. (9) The position detection method according to (5), wherein the detection step performed a second time or later includes calculating an estimate of the rotational position of the rotating body after a second predetermined time based on the rotational position of the rotating body obtained in the calculation step and the rotational position of the rotating body obtained in the calculation step of the detection step performed immediately before. (10) The position detection method according to (9), wherein, in the detection step performed second or later, an estimated value of the rotational position of the rotating body is calculated by the following formula (2), where ts is the predetermined period, tpb is the second predetermined time, θ[M] is the rotational position of the rotating body obtained in the detection step for the Mth time, and θe is the estimated value of the rotational position of the rotating body: θe=θ[M]+(θ[M]-θ[M-1]) / ts×tpb Formula (2) (11) The position detection method according to (9) or (10), wherein the second predetermined time is equal to the time from the timing of switching between the first step and the second step until the estimated value is calculated.(12) A position detection device for detecting a rotational position of a rotating body, comprising: a plurality of rotation sensors capable of outputting analog signals that are analog signals corresponding to the rotational position of the rotating body and have mutually different phases; and a calculation unit capable of executing, at a predetermined cycle, a detection step of detecting the rotational position of the rotating body based on the plurality of analog signals output from the plurality of rotation sensors, wherein in the detection step, the calculation unit executes a conversion step of converting each of the plurality of analog signals into a digital signal; and a calculation step of calculating the rotational position of the rotating body based on the digital signal obtained in the conversion step, and in the conversion step, the calculation unit samples the value of the analog signal at least once. a second step subsequent to the first step, in which the sampling process is performed sequentially a plurality of times; and a third step of calculating, for each of the plurality of analog signals, a value of a digital signal based on the sampled data obtained in the first step and the sampled data obtained in the second step, wherein the plurality of sampling processes performed in the first step include the sampling process for each of the plurality of analog signals at least once, and in the second step, the calculation unit performs the plurality of sampling processes performed in the first step in a reverse order to that of the first step. (13) The position detection device according to (12), wherein in the third step, the calculation unit adds, for each of the plurality of analog signals, the sampled data obtained in the first step and the sampled data obtained in the second step. (14) The position detection device according to (13), wherein the plurality of sampling processes performed in the first step include the sampling process for each of the plurality of analog signals the same number of times.(15) The position detection device according to any one of (12) to (14), wherein, in the detection step performed a second time or later, the calculation unit calculates an estimate of the digital signal obtained based on the value of the analog signal after a first predetermined time from the timing at which the first step and the second step switch, based on the value of the digital signal obtained in the third step and the value of the digital signal obtained in the third step of the detection step performed immediately before. (16) The position detection device according to (15), wherein the first predetermined time is equal to the time from the timing at which the first step and the second step switch to the time at which the rotational position of the rotating body is calculated in the calculation step. (17) The position detection device according to any one of (12) to (14), wherein, in the detection step performed a second time or later, the calculation unit calculates an estimate of the rotational position of the rotating body after a second predetermined time based on the rotational position of the rotating body obtained in the calculation step and the rotational position of the rotating body obtained in the calculation step of the detection step performed immediately before. (18) The position detection device according to (17), wherein the second predetermined time is equal to the time from the timing of switching between the first step and the second step to the calculation of the estimated value. (19) The position detection device according to any one of (12) to (18), further comprising a magnet provided on the rotating body, and wherein the rotation sensor is a magnetic sensor capable of detecting a magnetic field of the magnet.

[0077] The configurations and methods described in this specification can be combined as appropriate within the scope of not being mutually contradictory.

[0078] 20...rotor (rotating body), 30...magnet, 40...rotation sensor, 51...calculation unit, 100...position detection device, De, θe...estimated value, HS...analog signal, S1a, S1b, S1c, S1d...first step, S2a, S2b, S2c, S2d...second step, S3a...third step, Sca1, Sca2...calculation step, Scv...conversion step, Sd1, Sd2...detection step, Sp...sampling process, Ta...timing, tpa...first predetermined time, tpb...second predetermined time, ts...period

Claims

1. A signal conversion method for converting each of a plurality of analog signals into a digital signal, comprising: a first step of sequentially performing a sampling process multiple times to sample the values ​​of the analog signals at least once; and a second step which follows the first step and sequentially performs the sampling process multiple times, wherein the multiple sampling processes performed in the first step include the sampling process at least once for each of the plurality of analog signals, and wherein in the second step, the multiple sampling processes performed in the first step are performed in the reverse order to that of the first step.

2. A signal conversion method as described in claim 1, further comprising a third step of calculating, for each of the plurality of analog signals, a value of a digital signal based on the sampling data obtained in the first step and the sampling data obtained in the second step.

3. A signal conversion method as described in claim 2, wherein said third step includes adding together the sampling data obtained in said first step and the sampling data obtained in said second step for each of said plurality of analog signals.

4. The signal conversion method according to claim 3, wherein the plurality of sampling processes carried out in the first step include the same number of sampling processes for each of the plurality of analog signals.

5. A position detection method for detecting the rotational position of a rotating body, comprising: acquiring a plurality of analog signals having different phases from each other by a plurality of rotation sensors capable of outputting analog signals according to the rotational position of the rotating body; and performing a detection step at a predetermined period for detecting the rotational position of the rotating body based on the plurality of analog signals, wherein the detection step includes a conversion step for converting each of the plurality of analog signals into a digital signal by a signal conversion method described in any one of claims 2 to 4; and a calculation step for calculating the rotational position of the rotating body based on the digital signal obtained in the conversion step.

6. A position detection method as described in claim 5, wherein the detection step performed for the second time or later includes calculating an estimate of a digital signal obtained based on the value of the analog signal after a first predetermined time has elapsed since the timing at which the first step and the second step are switched, based on the value of the digital signal obtained in the third step and the value of the digital signal obtained in the third step of the detection step performed immediately before.

7. The position detection method according to claim 6, wherein, when the predetermined period is ts, the first predetermined time is tpa, the value of the digital signal obtained in the Mth detection step is D[M], and the estimated value of the digital signal is De, the estimated value of the digital signal is calculated in the detection step performed for the second or subsequent time by the following formula (1): De=D[M]+(D[M]-D[M-1]) / ts×tpa ... formula (1) 8. A position detection method as described in claim 6, wherein the first predetermined time is equal to the time from the timing when the first step and the second step are switched to the time when the rotational position of the rotating body is calculated in the calculation step.

9. A position detection method as described in claim 5, wherein the detection step performed for the second or subsequent time includes calculating an estimate of the rotational position of the rotating body after a second predetermined time based on the rotational position of the rotating body obtained in the calculation step and the rotational position of the rotating body obtained in the calculation step of the detection step performed one time previously.

10. The position detection method according to claim 9, wherein, when the predetermined period is ts, the second predetermined time is tpb, the rotational position of the rotating body obtained in the Mth detection step is θ[M], and the estimated value of the rotational position of the rotating body is θe, the estimated value of the rotational position of the rotating body is calculated in the detection step performed for the second or subsequent time by the following formula (2): θe=θ[M]+(θ[M]-θ[M-1]) / ts×tpb (2) 11. The position detection method according to claim 9, wherein the second predetermined time is equal to the time from when the first step and the second step are switched to when the estimated value is calculated.

12. A position detection device for detecting the rotational position of a rotating body, comprising: a plurality of rotation sensors capable of outputting analog signals which correspond to the rotational position of the rotating body and have mutually different phases; and a calculation unit capable of executing, at a predetermined cycle, a detection step for detecting the rotational position of the rotating body based on a plurality of analog signals output from the plurality of rotation sensors, wherein in the detection step, the calculation unit executes a conversion step for converting each of the plurality of analog signals into a digital signal, and a calculation step for calculating the rotational position of the rotating body based on the digital signal obtained in the conversion step, wherein in the conversion step, the calculation unit executes a first step for sequentially performing a sampling process for sampling the value of the analog signal at least once a plurality of times, a second step which is performed subsequent to the first step and sequentially performs the sampling process a plurality of times, and a third step for calculating, for each of the plurality of analog signals, a value of a digital signal based on the sampling data obtained in the first step and the sampling data obtained in the second step, wherein the plurality of sampling processes performed in the first step include the sampling process for each of the plurality of analog signals at least once, In the second step, the calculation unit performs the sampling process multiple times in an order reverse to that in the first step.

13. A position detection device as described in claim 12, wherein in the third step, the calculation unit adds together the sampling data obtained in the first step and the sampling data obtained in the second step for each of the multiple analog signals.

14. The position detection device according to claim 13, wherein the plurality of sampling processes performed in the first step include the same number of sampling processes for each of the plurality of analog signals.

15. A position detection device as described in claim 12, wherein in the detection step performed for the second time or later, the calculation unit calculates an estimate of the digital signal obtained based on the value of the analog signal a first predetermined time after the timing at which the first step and the second step are switched, based on the value of the digital signal obtained in the third step and the value of the digital signal obtained in the third step of the detection step performed immediately before.

16. A position detection device as described in claim 15, wherein the first predetermined time is equal to the time from the timing when the first step and the second step are switched to the time when the rotational position of the rotating body is calculated in the calculation step.

17. A position detection device as described in claim 12, wherein in the detection step performed for the second or subsequent time, the calculation unit calculates an estimate of the rotational position of the rotating body after a second predetermined time based on the rotational position of the rotating body obtained in the calculation step and the rotational position of the rotating body obtained in the calculation step of the detection step performed one time previously.

18. The position detection device according to claim 17, wherein the second predetermined time is equal to the time from when the first step and the second step are switched to when the estimated value is calculated.

19. A position detection device according to any one of claims 12 to 18, further comprising a magnet provided on the rotating body, and the rotation sensor is a magnetic sensor capable of detecting a magnetic field of the magnet.

Citation Information

Patent Citations

  • Ad conversion control circuit and related technology thereof

    JP2008193825A

  • A / d conversion circuit and semiconductor integrated circuit

    JP2015128217A

  • A / d converter and jitter correction method

    JP2017216527A