Electric motor drive system and electric motor drive method
The electric motor drive system addresses the challenge of delay time influence by using a compensation amount adjustment section to generate compensation values for position information, improving the system's responsiveness and stability by accounting for delay times in position detection updates.
Patent Information
- Application Number
- PCT/JP2023/009049
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-12
AI Technical Summary
The existing electric motor drive systems face challenges in reducing the influence of delay time from position sensor output to detection result update within control cycles, affecting responsiveness and stability, especially when delay times are irregular.
An electric motor drive system that includes a position sensor and a compensation amount adjustment section, which counts the delay time and generates a compensation value to adjust position information, allowing the control unit to perform position control based on compensated position information and position commands.
This approach effectively reduces the impact of delay time on motor control, enhancing responsiveness and stability by compensating for the delay in position detection updates within control cycles.
Smart Images

Figure JP2023009049_12092024_PF_FP_ABST
Abstract
Description
Electric motor drive system and electric motor drive method
[0001] FIELD An embodiment of the present invention relates to an electric motor drive system and an electric motor drive method.
[0002] An electric motor drive system uses a position sensor to detect the position of the electric motor and control the position of the electric motor. Generally, the control period of the electric motor is set longer than the period at which the position sensor outputs and updates the position detection result. However, the delay time between the output of the position detection result by the position sensor and the acquisition of that detection result at each control period can affect the responsiveness and stability of the electric motor control. If the magnitude of this delay time is irregular, it is difficult to reduce its effect. It has been desired to reduce the effect of this delay time in the control of the electric motor.
[0003] International Publication No. 2021 / 149187 Pamphlet
[0004] An object of the present invention is to provide an electric motor drive system and an electric motor drive method that can reduce the effect of the delay time between the timing at which the position detection result of the electric motor by the position sensor is output and the timing at which that detection result is updated every control period.
[0005] In one embodiment, an electric motor drive system causes a position sensor to output a position detection result of an electric motor every first period, and generates a delay time from a first timing at which the position sensor updates the position detection result of the electric motor to a second timing at which position information of the electric motor is acquired every second period within a control period of the electric motor. The electric motor drive system includes a compensation amount adjuster and a controller. The compensation amount adjuster counts the time from the first timing to the second timing and generates a compensation value for compensating for the position information based on the counting result. The controller performs position control of the electric motor based on the position information resulting from the compensation and position command information of the electric motor.
[0006] 1 is a configuration diagram of an electric motor drive system according to a first embodiment; 2 is a configuration diagram of a calculation unit according to the first embodiment; 3 is a configuration diagram of a compensation amount adjustment unit according to the first embodiment; 4 is a diagram for explaining position compensation amount adjustment according to the first embodiment; and 5 is a diagram for explaining position compensation amount adjustment according to a modified example of the first embodiment; 6 is a configuration diagram of an electric motor drive system according to a second embodiment; 7 is a configuration diagram of a calculation unit according to the second embodiment; and 8 is a configuration diagram of a compensation amount adjustment unit according to the second embodiment.
[0007] Hereinafter, an electric motor drive system and an electric motor drive method according to an embodiment will be described with reference to the drawings. In the following description, components having the same or similar functions will be assigned the same reference numerals. Duplicate descriptions of those components may be omitted. Electrical connection may also be simply referred to as "connected." In the following description, "equal in size" includes cases where the size is approximately equal.
[0008] Fig. 1A is a configuration diagram of an electric motor drive system 1 according to a first embodiment. Fig. 1B is a configuration diagram of a calculation unit 31 according to the first embodiment. Fig. 1C is a configuration diagram of a compensation amount adjustment unit 51 according to the first embodiment.
[0009] The electric motor drive system 1 includes, for example, an electric motor 2 , a position sensor 3 , and a power conversion device 10 .
[0010] The electric motor 2 (denoted as M in FIG. 1A ) is, for example, an AC motor having a plurality of windings. The windings of each phase of the AC are connected to the output of a power conversion device 10, which will be described later. The power conversion device 10 supplies AC power to the electric motor 2. This AC power causes the electric motor 2 to rotate. For example, the shaft of the electric motor 2 is mechanically coupled to the shaft of a position sensor 3 (denoted as PS in FIG. 1A ), and the shaft of the position sensor 3 rotates in conjunction with the rotation of the shaft of the electric motor 2.
[0011] The position sensor 3 detects the absolute position of the shaft of the electric motor 2. The position sensor 3 is an example of an absolute encoder. The position sensor 3 calculates and outputs the absolute phase.
[0012] The power conversion device 10 is connected to the electric motor 2 and a position sensor 3. The power conversion device 10 controls the electric motor 2 so that the actual position of the shaft of the electric motor 2 detected by the position sensor 3 coincides with a position corresponding to a position command value supplied separately.
[0013] 1B, the position sensor 3 includes a position sensor body and a calculation unit 31 (represented in FIG. 1A as an FPGA (Field-Programmable Gate Array)). The calculation unit 31 of the position sensor 3 includes, for example, a z-position detection unit 311, an ab-position detection unit 312, an update period generation unit 313, a position information calculation unit 314, and an output unit 316.
[0014] The z-position detection 311 of the position sensor 3 detects the absolute position using the position sensor main body and outputs information on the absolute position associated with this detection. The ab-position detection 312 of the position sensor 3 detects the relative position using the position sensor main body and outputs information on the relative position associated with this detection. The update period generation unit 313 generates a period for periodically updating the position information detected by the position sensor 3 and a timing signal for outputting the position information. The position information calculation unit 314 periodically generates current position information Qr using the timing signal supplied from the update period generation unit 313. The output unit 316 has an interface for communicating with an external device. The output unit 316 outputs the position information Qr via serial communication. The type of signal output by the output unit 316 may be an optical signal or an electrical signal.
[0015] The power conversion device 10 includes an inverter 4 and a controller 5. The inverter 4 is an example of a power converter in which a plurality of semiconductor switches are formed in a bridge configuration. For example, the inverter 4 converts DC power supplied from a DC power source (not shown) into AC power and supplies the AC power to the electric motor 2 to drive the electric motor 2.
[0016] The controller 5 is a control device for the inverter 4 that drives the electric motor 2. The controller 5 includes, for example, a compensation amount adjustment unit 51 (represented as an FPGA in FIG. 1A ) and a CPU 52. The CPU 52 is a computer that includes, for example, a processor that executes a program to perform predetermined arithmetic processing, a semiconductor memory, a drive circuit for the inverter 4, a clock, and the like. The compensation amount adjustment unit 51 is connected to the CPU 52 as its peripheral circuit. The CPU 52 includes a position control unit that acquires position information generated by the compensation amount adjustment unit 51 and performs position control based on the position information, a current control unit that adjusts the current to be supplied based on the result of the position control, and a PWM control unit that performs PWM control to supply power from the inverter 4 based on the result of the current control. A general method may be applied to each of the processes related to the position control, current control, PWM control, and the like of the electric motor 2 performed by the CPU 52.
[0017] 1C , an example of the compensation amount adjustment unit 51 of the controller 5 will be described. The compensation amount adjustment unit 51 includes, for example, an interface 511, a differential position information generation unit 512, a control period generation unit 513, a delay time information calculation unit 514, a compensation amount calculation unit 515, and a compensation calculation unit 516.
[0018] The interface 511 includes a receiving circuit that receives a signal from the position sensor 3. The signal from the position sensor 3 is, for example, a serial communication signal, and includes position information that is periodically transmitted. The interface 511 extracts and outputs position information Qr that is periodically transmitted from the signal received from the position sensor 3. The position information Qr corresponds to the position information output by the position sensor 3.
[0019] The differential position information generator 512 derives a position change amount ΔQr that occurs due to updating of the position information Qr, based on the position information Qr output by the interface 511. The differential position information generator 512 calculates this position change amount ΔQr according to the timing at which the position sensor 3 outputs position information, in other words, the timing at which position information is received from the position sensor 3. The differential position information generator 512 outputs the position change amount ΔQr as time history information.
[0020] The control period generation unit 513 is a timer that defines the period (control period) of the control calculation of the power conversion device 10. The control period generation unit 513 includes a counter that can count the time width of the control period. The control period generation unit 513 receives a clock CLK with a period Tc generated in the controller 5, counts this clock CLK using the counter, and outputs a count value CNT that is the counting result. When the control period generation unit 513 reaches a predetermined upper limit value, it clears the count value CNT and resumes counting. The count value CNT output by the control period generation unit 513 is associated with a phase within the control period.
[0021] The delay time information calculation unit 514 samples and holds the count value CNT output by the control period generation unit 513 in synchronization with the timing of receiving the position information Qr. The delay time information calculation unit 514 subtracts the value of the count value CNT held by this sampling from the value of the control period Ti to calculate the delay time Td.
[0022] The compensation amount calculation unit 515 calculates the compensation amount Qc using the position change amount ΔQr and the delay time Td, as will be described later.
[0023] The compensation calculation unit 516 generates position information Q based on the position information Qr output from the interface 511 and the compensation amount Qc calculated by the compensation amount calculation unit 515. This position information Q is compensated for the influence of the delay time Td.
[0024] The power conversion device 10 configured as described above is periodically sent via serial communication information on the absolute phase output by the position sensor 3. The power conversion device 10 periodically receives the position detection result and holds it until the next reception. When the power conversion device 10 receives the next position detection result, it updates the detection result it has held so far and repeats this process. However, the sampling time of the control period of the electric motor 2 may arrive during the period in which the position detection result is being held. In this case, the power conversion device 10 uses the held position detection result for position control of the electric motor 2. The sampling time of the control period refers to the timing at which various information indicating the status of the electric motor 2, such as the position of the electric motor 2, is acquired in order to control the electric motor 2.
[0025] In the comparative example, the detection result is updated periodically as described above, and the phase indicated by the absolute phase is used for the position control with a delay from the time of detection, resulting in a delay time Td from the update of the detection result to the sampling timing for use in position control.
[0026] The power conversion device 10 of this embodiment compensates for the delay that occurs in this control period, which will be described in detail below.
[0027] The adjustment of the position compensation amount according to the first embodiment will be described with reference to Fig. 2. Fig. 2 is a diagram for explaining the adjustment of the position compensation amount according to the first embodiment. The timing chart shown in Fig. 2 shows, from the top to the bottom, the phase of the control period, the control period of the power conversion device, and the update period of the position information. The horizontal axis of this timing chart indicates the passage of time.
[0028] The "Control Cycle Phase" at the top of Figure 2 shows a series of triangular waves. The amplitude of each triangular wave indicates the phase of the control cycle. The amplitude of this triangular wave is the result of counting by the control cycle generation unit 513. Therefore, the triangular wave that appears to change continuously is actually transitioning in value in a step-like manner. In this way, by setting the quantization level of the output of the control cycle generation unit 513 to be relatively fine, it can be considered to change continuously.
[0029] 2 shows the duration and phase of the control period during which calculations are performed for various controls of the power conversion device 10. This diagram depicts four consecutive control periods identified using (N-1), (N), (N+1), and (N+2) as identification indices.
[0030] The third row from the top of Figure 2 shows the period and phase of the cycle in which the position sensor 3 outputs the detection result of the absolute phase. This figure depicts 11 consecutive update cycles identified using the identification indices (n-3), (n-2), (n-1), (n), (n+1), (n+2), (n+3), (n+4), (n+5), (n+6), and (n+7). The third row also shows the detection results obtained during each update cycle. For example, the detection results obtained during the update cycles (n-3), (n-2), (n-1), and (n), respectively, are denoted as Qr(n-3), Qr(n-2), Qr(n-1), and Qr(n), respectively.
[0031] During this update period (n), the sampling timing for the next control period, control period (N), occurs. The time from the start timing (first timing) of the update period (n) to the sampling timing (second timing) for control period (N) is called delay time Td(N). The delay time Td(N) corresponding to control period (N) is defined by the following equation (1):
[0032] Td(N)=Tc*(Ti / Tc-CNT(N)) (1)
[0033] "CNT(N)" in the above equation (1) is the count value of the counter at the start timing of the update period (n).
[0034] As in the above, the sampling timing for the control cycle (N+1) occurs within the update cycle (n+3). The time (time difference) from the start of the update cycle (n+3) to the sampling timing for the control cycle (N+1) is called the delay time Td(N+1). The count value by the counter at the start of the update cycle (n+3) is denoted as CNT(N+1).
[0035] Furthermore, the sampling timing for control cycle (N+2) occurs within update cycle (n+7). The time (time difference) from the start of update cycle (n+7) to the sampling timing for control cycle (N+2) is called delay time Td(N+2). The count value by the counter at the start of update cycle (n+7) is denoted as CNT(N+2).
[0036] The following describes in more detail how the delay time Td for each control cycle is derived by associating the sampling timing for each control cycle with the start timing of each control cycle.
[0037] The power conversion device 10 is required to perform control calculations for driving the electric motor 2 in a predetermined control period (referred to as a control period Ti) based on the phase of the electric motor 2 at a predetermined time point within the control period Ti. For example, the predetermined time point within the control period Ti corresponds to the start timing of the control period Ti. Assume that the phase update period of the position sensor 3 and the communication period of the serial communication are asynchronous with the control period Ti of the power conversion device 10. Under this condition, a delay occurs before the position information received by the power conversion device 10 is used for the position control calculation. Therefore, an error occurs in the position indicated by the position information received by the power conversion device 10 compared to the actual position at the time used for the position control calculation due to the calculation being performed in discrete time. The phase update period of the position sensor 3 is synonymous with the update period of the position information of the position detected by the position sensor 3.
[0038] Adjustment of the control period Ti of the power conversion device 10: For example, the control period Ti of the power conversion device 10 is determined depending on the application of the system to which it is applied. In this case, the control period Ti may be changed from the standard value within the allowable range, as necessary. In the position sensor 3 of the embodiment, the phase update period and the communication period of serial communication with the power conversion device 10 are set in advance and cannot be changed. Therefore, even if the control period Ti of the power conversion device 10 is adjusted as described above depending on the application of the system to which it is applied, the phase update period of the position sensor 3 and the communication period of serial communication with the power conversion device 10 cannot be changed in accordance with the adjustment of the control period Ti of the power conversion device 10.
[0039] In this embodiment, the power conversion device 10 compensates for this effect.
[0040] Relationship between the control period Ti of the power conversion device 10 and the phase update period of the position sensor 3: It is assumed that the phase update period of the position sensor 3 and the communication period of the serial communication are sufficiently fast compared to the control period Ti of the power conversion device 10. For simplicity's sake, it is assumed that the position sensor 3 updates the phase and immediately transmits it to the power conversion device 10, with this period being Ts. That is, as shown in FIG. 2 above, the phase information is updated at the update period Ts. The CPU of the power conversion device 10 performs control calculations at the control period Ti. Thus, the relationship (Ti > Ts) holds that the control period Ti is longer than the update period Ts. If this magnitude relationship were reversed (Ti < Ts), the power conversion device 10 would not function. Therefore, consideration and explanation of this condition will be omitted.
[0041] Method for Identifying a Phase Within a Control Period Ti of the Power Conversion Device 10: The power conversion device 10 counts the duration of the control period Ti of the power conversion device 10, using a unit time that is shorter than the update period Ts. For example, the control period generation unit 513 of the power conversion device 10 has a counter that sets the value at the start of the control period Ti to 0 and counts up the clock CLK as time passes. The repetition period of the clock CLK becomes the period Tc. For example, the control period generation unit 513 resets this count CNT to zero at the start of the next control period Ti. The control period generation unit 513 repeatedly counts from the start of the control period Ti, thereby varying the count CNT between 0 and (Ti / Tc). The control period generation unit 513 constantly performs this counting, so that the count CNT becomes information indicating the phase within the control period Ti. The control period generating unit 513 of the power conversion device 10 records the count CNT at the timing when the position information Qr is updated together with the position information Qr.
[0042] Deriving the delay time Td: At the start of the next control period Ti, the differential position information generator 512 of the power conversion device 10 uses the last updated count CNT to calculate the delay time Td, which indicates how long the information has been delayed since the last updated transmission or reception of the position information Qr. The above-mentioned formula (1) can be applied to this calculation. Note that the relationship shown in formula (1) ignores the effects of delay and fluctuation due to serial communication.
[0043] Deriving the compensation amount for the delay time Td: The differential position information generator 512 of the power conversion device 10 calculates the phase change amount ΔQr for each update period Ts using the time history information of the position information Qr. The compensation amount calculator 515 calculates the compensation amount Qc for the position information Qr using the delay time Td and the phase change amount ΔQr for each update period Ts. The compensation calculator 516 generates compensated position information Q based on the position information Qr and the compensation amount Qc calculated by the compensation amount calculator 515. For example, the compensation calculator 516 may add the compensation amount Qc to the phase Qr(n) of the latest sample to calculate the corrected phase Q(N). This relationship is shown in the following equations (2-1) to (2-3).
[0044] ΔQr = Qr(n) - Qr(n-1) (2-1) Qc = ΔQr * Td / Ts (2-2) Q(N) = Qr(n) + Qc (2-3)
[0045] According to the above embodiment, the electric motor drive system 1 is a power conversion device that causes the position sensor 3 to output a position detection result of the electric motor 2 every first period, and generates a delay time Td from a first timing at which the position sensor 3 updates the position detection result of the electric motor 2 to a second timing at which position information of the electric motor 2 is acquired every second period within the control period of the electric motor 2. The electric motor drive system 1 includes a compensation amount adjuster 51 and a CPU 52 (controller). The compensation amount adjuster 51 counts the time (time difference) from the first timing to the second timing and generates a compensation value for compensating for the position information based on the counting result. The CPU 52 performs position control of the electric motor 2 based on the position information resulting from the compensation and information on a position command for the electric motor 2. This reduces the influence of the delay time Td from the output of the position detection result of the electric motor 2 by the position sensor 3 to the updating of the detection result every control period.
[0046] (Modification of the First Embodiment) A modification of the first embodiment will be described. In the first embodiment, a case has been described in which a change in the detected position during an update period Ts is calculated from the difference in position information Qr of the detection result, and this is taken as the amount of change ΔQr. Instead, in this modification, a case will be described in which a moving average is used to calculate the amount of change ΔQr.
[0047] The adjustment of the amount of position compensation according to the modified example of the first embodiment will be described with reference to Fig. 3. Fig. 3 is a diagram for explaining the adjustment of the amount of position compensation according to the modified example of the first embodiment. The information shown in Fig. 3 is the same as that shown in Fig. 2 described above. This diagram discloses example values of each variable when specific conditions are set.
[0048] Modified example of deriving the compensation amount for the delay time Td: In order to improve the accuracy of the compensation amount Qc, one method is to take a moving average to calculate the change amount ΔQr. The following example uses a simple moving average, but it is not limited to a specific moving average method, and the number of moves may be any number. The change amount ΔQr does not depend on the control cycle of the power conversion device 10, and it is advisable to determine the type of moving average method to be used and the length of the time window. This relationship is shown in the following equation (3).
[0049]
[0050] The variable m in the above formula (3) is a natural number indicating the number of update periods included in the time window that defines the range of the moving average process. According to formula (3), the amount of change ΔQr is calculated by dividing the difference when the value of the variable k is changed from 1 to m, that is, the sum of (Qr(n-(k-1)) - Qr(nk)), by m.
[0051] Below, the calculation results using specific numerical values are shown.
[0052] Control period of power conversion device 10: Ti = 1000 μs Phase update period: Ts = 300 μs Counter period: Tc = 1 μs Specifications of motor 2: 60 Hz, 2-pole AC motor, rated rotation speed 3600 rpm Acceleration conditions: Assume acceleration from 0 to 100% speed in 1 second.
[0053] In the above case, as shown in the following conversion formula, it rotates at a speed of 21.6 degrees per millisecond. In this case, it turns out that it rotates 6.48 degrees within the phase update time Ts of 300 μs (microseconds).
[0054] 3600rpm / 60s = 60rps 60rps / 1000ms = 0.06r / ms 360deg * 0.06r / ms = 21.6deg / ms 21.6deg / ms * (300μs / 1000μs) = 6.48deg / (300μs)
[0055] It is assumed that the position sensor 3 detects the following phase and notifies the power conversion device 10 of it.
[0056] Qr(n-3) = 62deg Qr(n-2) = 68deg Qr(n-1) = 74.5deg Qr(n) = 80.5deg
[0057] A simple moving average with three elements (m = 3) within the time window is used. The amount of change in position ΔQr in this case is calculated using the following formula. According to the calculation results, the amount of change in position ΔQr of the motor 2 is 6.17 degrees of rotation within the phase update time Ts of 300 μs.
[0058] ΔQr = {(Qr(n) - Qr(n-1)) + (Qr(n-1) - Qr(n-2)) + (Qr(n-2) - Qr(n-3))} / 3 = {6 + 6.5 + 6} / 3 = 6.17deg
[0059] On the other hand, if the counter CNT(N) is 830 when Qr(n) is 80.5 deg as described above, the delay time Td(N) will be 170 μs as shown in the following formula: Td(N) = Tc * (Ti / Tc - CNT(N)) = 1 μs * (1000 μs / 1 μs - 830) = 170 μs
[0060] When analyzed using the values of the above variables, the magnitudes of Qc(N) and Q(N) are "3.496 deg" and "84 deg", respectively.
[0061] Qc(N) = ΔQr * Td(N) / Ts = 6.17deg * 170μs / 300μs = 3.496deg
[0062] Q(N) = Qr(n) + Qc(N) = 80.5deg + 3.496deg = 84deg
[0063] When the same conditions as above are applied to the comparative example, Q(N) becomes "80.5 deg." This value is the value of Qr(n) before compensation, and by applying this embodiment, the influence of the delay time Td can be reduced.
[0064] This modification also provides the same effects as the above-described embodiment. In addition, this modification can improve the resistance to accidental fluctuations in the position detection result.
[0065] As described above, if the variation in the transmission delay of the phase information is relatively small, the position sensor 3 that outputs the position information Qr can be used if it is implemented on the power conversion device 10 side. Note that the difference in the position information Qr (change amount ΔQr) can be regarded as the rate of change of the phase with respect to the update period Ts. This is a variable having the same dimension as the rotation speed and frequency of the electric motor 2.
[0066] On the other hand, if variations in the transmission delay of the phase information affect the control, it is advisable to calculate the difference (amount of change ΔQr) of the position information Qr on the position sensor 3 side.
[0067] Second Embodiment A second embodiment will be described. In the first embodiment, a case has been described in which the position sensor 3 periodically outputs position information Qr, and the power conversion device 10 calculates the difference in the position information Qr (amount of change ΔQr) between update periods Ts. In this embodiment, a case in which the position sensor 3 periodically outputs the position information Qr and the difference in the position information Qr (amount of change ΔQr) will be described, focusing on differences from the first embodiment.
[0068] Fig. 4A is a configuration diagram of an electric motor drive system 1A according to the second embodiment, Fig. 4B is a configuration diagram of a calculation unit 31A according to the second embodiment, and Fig. 4C is a configuration diagram of a compensation amount adjustment unit 51A according to the second embodiment.
[0069] The electric motor drive system 1A includes, for example, an electric motor 2, a position sensor 3A, and a power conversion device 10A.
[0070] The position sensor 3A detects the absolute position of the shaft of the electric motor 2 in the same manner as the position sensor 3. The position sensor 3A further derives and outputs the amount of change in the absolute position. Unless otherwise specified, the first embodiment may be referred to by substituting the position sensor 3A for the position sensor 3 in the first embodiment.
[0071] As shown in FIG. 4B , the position sensor 3A includes a position sensor main body and a calculation unit 31A (represented as an FPGA in FIG. 4A ). The calculation unit 31A of the position sensor 3A further includes a differential position information generation unit 315 in addition to the calculation unit 31 described above, and an output unit 316A instead of the output unit 316. The differential position information generation unit 315 derives a change amount ΔQr in the position indicated by the position information Qr based on the position information Qr generated by the position information calculation unit 314. The differential position information generation unit 315 outputs this change amount ΔQr in position in synchronization with the timing at which the position sensor 3A outputs the position information Qr. The differential position information generation unit 315 may also output the change amount ΔQr in position as time history information. The output unit 316A associates the position information Qr with the change amount ΔQr in position and outputs them. Such a position sensor 3A may output time history information that associates position information Qr with the amount of change ΔQr in position.
[0072] The power conversion device 10A is connected to the electric motor 2 and the position sensor 3A. Unless otherwise specified, the power conversion device 10 of the first embodiment may be read as the power conversion device 10A.
[0073] The power conversion device 10A includes an inverter 4 and a controller 5A. The controller 5A includes, for example, a compensation amount adjusting unit 51A (represented as an FPGA in FIG. 4A ) and a CPU 52.
[0074] 4C , an example of a compensation amount adjustment unit 51A of the controller 5A will be described. The compensation amount adjustment unit 51A differs from the compensation amount adjustment unit 51 in that it does not include a differential position information generation unit 512 and includes an interface 511A instead of the interface 511.
[0075] The interface 511A extracts and outputs position information Qr and a position change amount ΔQr, which are periodically transmitted from the signal from the position sensor 3A. The position information Qr corresponds to the position information output by the position sensor 3. The position change amount ΔQr is supplied to a compensation amount calculation unit 515.
[0076] The compensation amount calculation unit 515 of this embodiment acquires the phase change amount ΔQr for each update period Ts from the interface 511 A. As in the first embodiment, the compensation amount calculation unit 515 calculates the compensation amount Qc for the position information Qr using the delay time Td and the phase change amount ΔQr for each update period Ts.
[0077] In this way, even when the calculation of the amount of change in position ΔQr is performed within the position sensor 3A, the same effects as those of the first embodiment can be achieved. Furthermore, by disposing the differential position information generator 315 in the position sensor 3A instead of the differential position information generator 512, the amount of change in position ΔQr generated by the differential position information generator 315 becomes less susceptible to the effects of variations in transmission delays of phase information, etc.
[0078] Third Embodiment A third embodiment will be described. In the first and second embodiments, the case where the position of the electric motor 2 is defined in the range of 0 to 360 degrees has been described. Instead, in this embodiment, a case where the position is defined in the range of −180 to +180 degrees will be described.
[0079] If the position of the electric motor 2 is defined within a range of 0 to 360 degrees, the value indicating the position returns to 0 degrees after one rotation. Therefore, if the previous value of the position is simply subtracted from the current value, the value of the change amount ΔQr may deviate significantly from the normal value. In such cases, a calculation rule is established that uses the range of -180 to +180 degrees and the polarity of one 360-degree rotation to separate the conditions. When the boundary where the polarity of the current and previous position values changes is reached, it is advisable to separate the processing by using conditional branching.
[0080] For example, when the polarity of the position difference changes from negative to positive, the following equation (4) holds true, and in this case, equation (5) is used.
[0081] Qr(n-1) < 0 ∧ Qr(n) > 0 (4) ΔQr = 180°+ Qr(n) - |Qr(n-1)| (5)
[0082] Furthermore, when the polarity of the position difference changes from positive to negative, the following equation (6) holds, and in this case, equation (7) is used.
[0083] Qr(n-1) > 0 ∧ Qr(n) < 0 (6) ΔQr = -(180°+ |Qr(n)| - Qr(n-1)) (7)
[0084] By using the calculation rule with different conditions in this way, it is possible to prevent the value of the change amount ΔQr from deviating significantly from the normal value. The above embodiment can be combined with the first and second embodiments described above.
[0085] According to at least one embodiment described above, in an electric motor drive system 1 in which a delay time occurs between a first timing at which the position sensor outputs a position detection result of the electric motor 2 every first period and a second timing at which position information of the electric motor 2 is acquired every second period within a control period of the electric motor 2, the effect of the delay time Td from the output of the motor position detection result by the position sensor to the updating of the detection result every control period can be reduced. In this case, the electric motor drive system may include a compensation amount adjustment unit that counts the time (time difference) from the first timing to the second timing and generates a compensation value for compensating for the position information based on the counting result, and a control unit that performs position control of the electric motor based on the position information resulting from the compensation and position command information for the electric motor.
[0086] Some or all of the functional units of the controllers 5, 5A and the position sensors 3, 3A in the electric motor drive systems 1, 1A of the above-described embodiments may have software functional units that are realized, for example, by a computer processor (hardware processor) executing a program (computer program, software component) stored in a storage unit (memory, etc.) of the computer. Note that some or all of the functional units of the controllers 5, 5A and the position sensors 3, 3A may be realized by hardware such as an LSI (Large Scale Integration), an ASIC (Application Specific Integrated Circuit), or an FPGA (Field-Programmable Gate Array), or may be realized by a combination of software functional units and hardware.
[0087] Although several embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. For example, the configurations of each embodiment may be implemented in combination with each other, and can be applied to components omitted from the description. These embodiments and their modifications are intended to be included within the scope and spirit of the invention, as well as within the scope of the invention and its equivalents as set forth in the claims.
[0088] REFERENCE SIGNS LIST 1, 1A... motor drive system, 2... electric motor, 3, 3A... position sensor, 4... inverter, 5, 5A... controller, 10, 10A... power conversion device, 31, 31A... calculation unit, 51, 51A... compensation amount adjustment unit.
Claims
1. An electric motor drive system in which a position sensor outputs a position detection result of an electric motor every first period, and a delay time occurs from a first timing at which the position detection result of the electric motor is updated by the position sensor to a second timing at which position information of the electric motor is obtained every second period within a control period of the electric motor, the electric motor drive system comprising: a compensation amount adjustment unit that counts the time from the first timing to the second timing, and generates a compensation value to compensate for the position information based on the counting result; and a control unit that performs position control on the electric motor based on position information resulting from the compensation and position command information of the electric motor.
2. The electric motor drive system according to claim 1, wherein the compensation amount adjustment unit compensates for the detection result in accordance with the magnitude of the time difference from the first timing to the second timing.
3. The electric motor drive system according to claim 2, wherein the compensation amount adjustment unit compensates the detection result using the magnitude of the time difference from the first timing to the second timing and time history information of the position of the electric motor at the first timing.
4. The electric motor drive system according to claim 2, wherein the compensation amount adjustment unit is provided in either an electric motor drive system that drives the electric motor or in the position sensor.
5. An electric motor drive system according to claim 3 or 4, wherein the compensation amount adjustment unit generates the compensation value based on the counting result, compensates for the detection result using the compensation value, and generates position information of the compensated result.
6. The electric motor drive system of claim 1, wherein the first period and the second period are not equal in length.
7. The electric motor drive system according to claim 1, wherein the compensation amount adjustment unit generates the compensation value based on a result of the counting, and generates information on the position of the compensated result by using the compensation value and time history information on the position of the compensated result.
8. A method for driving an electric motor using a position sensor that detects the position of the electric motor every first period and a power conversion device that generates a delay time from a first timing at which the position detection result of the electric motor is updated by the position sensor to a second timing at which position information of the electric motor is obtained every second period within a control period of the electric motor, the method comprising the steps of: counting the time from the first timing to the second timing, generating a compensation value for compensating for the position information based on the counting result, and implementing position control of the electric motor based on the position information resulting from the compensation and position command information of the electric motor.
9. The electric motor drive method according to claim 8, further comprising the step of compensating for the detection result in accordance with the magnitude of the time difference from the first timing to the second timing.
10. The motor drive method according to claim 9, further comprising the step of compensating the detection result using the magnitude of the time difference from the first timing to the second timing and time history information of the position of the motor at the first timing.
11. The electric motor drive method according to claim 9, wherein either one of a power conversion device that drives the electric motor or the position sensor generates a compensation value for compensating for the position information.
12. The electric motor drive method according to claim 10 or 11, further comprising the steps of: generating the compensation value based on a result of the counting; compensating the detection result using the compensation value; and generating position information of the compensated result.
13. The method of driving an electric motor according to claim 8, wherein the first period and the second period are not equal in length.
14. The electric motor drive method according to claim 8, further comprising the steps of: generating the compensation value based on a result of the counting; and generating information on the position of the compensated result using the compensation value and time history information on the position of the compensated result.
Citation Information
Patent Citations
Method and system for latching position of motor, terminal equipment and medium
CN114362638A
Controller and control method of motor
JP2012029371A
Position control device and position control method
JP2014134493A
Motor amplifier and angle adjustment method
JP2022011694A
Motor control device, motor control system, and motor control method
WO2015068213A1
