Method for estimating rotational speed of brushless DC motor and control device
The method uses multiple magnetic sensors and a Kalman filter with a time-varying gain to accurately estimate rotational speed in brushless DC motors, addressing position errors and eliminating the need for rotary encoders, thereby enhancing precision and reducing costs.
Patent Information
- Application Number
- JP2024012574
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-24
- Filing Date
- 2024-01-31
- Publication Date
- 2024-09-05
- Estimated Expiration
- 2044-01-31
AI Technical Summary
Existing methods for controlling brushless DC motors using Hall sensors and Kalman filters face challenges due to position errors in Hall sensors and rotor magnetic poles, leading to inaccurate rotational speed estimation and reduced ability to follow target speeds, which are exacerbated by the need for rotary encoders that increase cost and weight.
A method for estimating rotational speed using multiple magnetic sensors and a Kalman filter with a time-varying Kalman gain adjustment parameter, designed to remove observation errors caused by sensor and rotor pole position errors, allowing accurate speed estimation without rotary encoders.
The method enables precise rotational speed estimation and control of brushless DC motors, improving tracking of target speeds with reduced cost and weight by minimizing observation errors.
Smart Images

Figure 2024120855000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a method for estimating the rotation speed of a brushless DC motor, and a control device for a brushless DC motor that utilizes this rotation speed estimation method. [Background technology]
[0002] Brushless DC motors are simple and easy to control, and are widely used in various fields such as industrial products and computer peripherals. Brushless DC motors are usually used by observing the rotation speed using a Hall sensor and a rotary encoder, and controlling it to match a desired rotation speed. There is a demand for brushless DC motors to be cheaper and lighter. Therefore, while Hall sensors are inexpensive and easy to install, rotary encoders, which are precision parts, are expensive and heavy. Therefore, a method has been proposed for controlling a brushless DC motor by estimating the rotation speed from information observed by a Hall sensor without using a rotary encoder (for example, Patent Document 1).
[0003] In the method of estimating the electrical angle of a brushless motor disclosed in Patent Document 1, the electrical angle used to calculate the PWM drive voltage for rotating the rotor of a brushless DC motor at a target rotation speed is estimated using the period of the PWM drive voltage. This period is calculated based on the rising edge detected by a Hall sensor (see paragraphs 0044-0048 of Patent Document 1).
[0004] On the other hand, in recent years, there has been an increasing demand for controlling brushless DC motors with higher accuracy. To address this issue, a method for controlling a brushless DC motor by estimating the rotation speed using a Kalman filter has been disclosed (for example, Patent Document 2).
[0005] In the method disclosed in Patent Document 2, the motor angle detected by a motor angle detection sensor is input, and the rotation speed is estimated using a Kalman filter. This estimated rotation speed is used to estimate the torque ripple of the motor (see paragraphs 0023-0027 of Patent Document 2). [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2011-030371 A [Patent Document 2] Patent Publication No. 2021-027744 Summary of the Invention [Problem to be solved by the invention]
[0007] In order to meet the demands for lower cost and lighter weight, if a method is adopted in which the rotation speed is estimated from information observed by a Hall sensor and the brushless DC motor is controlled without using a rotary encoder, there is a problem that large measurement errors occur due to position errors of the Hall sensors and position errors of the rotor's magnetic poles (hereinafter referred to as "position errors"), which may deteriorate the ability of the brushless DC motor to track the target rotation speed.
[0008] Therefore, it is considered that a method of estimating the rotation speed using a Kalman filter is effective in suppressing the influence of the measurement error. However, the conventional method using a Kalman filter, such as the method disclosed in Patent Document 2, is premised on the use of a rotary encoder, which is disadvantageous for reducing cost and weight.
[0009] In view of the above, the main object of the present invention is to propose a method for estimating the rotation speed of a brushless DC motor that can estimate the rotation speed of the brushless DC motor with high accuracy from information observed by a magnetic sensor such as a Hall sensor without using a rotary encoder. Another object of the present invention is to propose a control device that utilizes this rotation speed estimation method and is capable of controlling a brushless DC motor to follow a target rotation speed with high accuracy even from information observed by a magnetic sensor. [Means for solving the problem]
[0010] [1] In order to solve the above problems, a method for estimating the rotation speed of a brushless DC motor includes a step of calculating the rotation speed of a rotor based on outputs from a plurality of magnetic sensors that detect the magnetic poles of the rotor, and passing the calculated rotation speed through a Kalman filter to estimate an actual rotation speed of the rotor, the method including: a Kalman filter setting step of setting the Kalman filter so that an adjustment parameter (r) of a Kalman gain of the Kalman filter becomes a time-varying value r[k] expressed by the following equation 1; TIFF2024120855000002.tif31170 The method includes a detection pulse signal acquisition step of acquiring detection pulse signals output from each of a plurality of magnetic sensors at a predetermined sampling period; a rotational speed calculation step of calculating the rotational speed of the rotor as an observed rotational speed from continuous pulses obtained by taking an exclusive OR (XOR) of the detection pulse signals acquired at each sampling time; a Kalman filter update step of updating an adjustment parameter (r) of a Kalman gain of a Kalman filter used at the current sampling time by using the previous estimated rotational speed estimated at the previous sampling time; and a rotational speed estimation step of inputting the observed rotational speed calculated at the current sampling time to the Kalman filter in which the adjustment parameter (r) of the Kalman gain has been updated, and estimating the rotor rotational speed from which observation error noise caused by position errors of the magnetic sensors and position errors of the rotor magnetic poles included in the observed rotational speed has been removed.
[0011] [2] In the method for estimating the rotation speed of a brushless DC motor according to the present invention, the coefficient (h ω ) is preferably set based on the observation error noise contained in the rotation speed between each edge of successive pulses for one rotation of the rotor observed while driving the rotor at a constant rotation speed, as shown in the following equation 2. TIFF2024120855000003.tif35170
[0012] [3] In the method for estimating the rotation speed of a brushless DC motor according to the present invention, the brushless DC motor may be an eight-pole, three-phase motor, and the adjustment parameter r[k] of the Kalman gain may be designed using 24 pulses obtained from successive pulses per rotor rotation.
[0013] [4] In the method for estimating the rotation speed of a brushless DC motor according to the present invention, it is preferable to set the adjustment parameter (q) of the prior covariance matrix of the Kalman filter to the variance value of the system noise superimposed on the command voltage.
[0014] [5] In the method for estimating the rotation speed of a brushless DC motor according to the present invention, in the Kalman filter setting step, the adjustment parameter (r) of the Kalman gain of the Kalman filter is set to a time-varying value r[k] expressed by the following Equation 3 instead of the above Equation 1: TIFF2024120855000004.tif78170 It is preferable to use a C matrix (Cρ) that takes into account the bias of the observation values due to the observation error noise as the C matrix used in the calculation formulas for the Kalman gain, the covariance matrix, and the state estimate value.
[0015] [6] In the rotational speed estimation method for a brushless DC motor according to the present invention, in the rotational speed estimation step, if the observed rotational speed calculated in the rotational speed calculation step is obtained at the first sampling immediately after the time has elapsed between the edges of the successive pulses, the observed rotational speed calculated at the current sampling time is input to a Kalman filter in which the adjustment parameter (r) of the Kalman gain has been updated, and the rotational speed of the rotor from which observation error noise contained in the observed rotational speed and which is caused by the position error of the magnetic sensor and the position error of the rotor magnetic poles is eliminated is estimated, and if the observed rotational speed is not obtained at the first sampling immediately after the time has elapsed between the edges of the successive pulses, it is preferable to use a formula for calculating the state estimate in the Kalman filter different from the formula used when the observed rotational speed is obtained at the first sampling immediately after the time has elapsed between the edges of the successive pulses, and to use a state estimate that is the same as the prior state estimate.
[0016] [7] In this case, a first processing Kalman filter mathematical model including the observed rotation speed as a parameter and a second processing Kalman filter mathematical model not including the observed rotation speed as a parameter are set in the Kalman filter in the calculation formula for the state estimate value, and if the observed rotation speed is obtained at the first sampling immediately after the time has elapsed between the edges of the successive pulses, the first processing Kalman filter mathematical model is used in the Kalman filter update step and the rotation speed estimation step, and if the observed rotation speed is not obtained at the first sampling immediately after the time has elapsed between the edges of the successive pulses, the second processing Kalman filter mathematical model is used in the Kalman filter update step and the rotation speed estimation step.
[0017] [8] A brushless DC motor control device according to the present invention is a brushless DC motor control device connected to a brushless DC motor having a plurality of magnetic sensors that detect and output magnetic poles of a rotor, and configured to drive and control the brushless DC motor, and includes a motor drive unit configured to rotate the rotor at a target rotation speed based on a control command, a detection pulse signal acquisition unit that acquires detection pulse signals output from each of the plurality of magnetic sensors at a predetermined sampling period, a rotation speed calculation unit that calculates the rotation speed of the rotor as an observed rotation speed from continuous pulses obtained by taking an exclusive OR (XOR) of the detection pulse signals acquired at each sampling time, and a rotation speed adjustment unit that adjusts the Kalman gain so that an adjustment parameter (r) becomes a time-varying value r[k] expressed by the above-mentioned equation 1. The rotor rotation speed estimation system is designed to estimate the rotor rotation speed by passing the observed rotation speed calculated by the rotation speed calculation unit through the Kalman filter to remove observation error noise caused by position errors of the magnetic sensors and position errors of the rotor magnetic poles, which are included in the observed rotation speed; a Kalman filter update unit to update an adjustment parameter (r) of a Kalman gain of the Kalman filter to be used at a current sampling time by using the previous estimated rotation speed estimated at the previous sampling time; and a motor control command unit to generate a control command based on the estimated rotation speed estimated by the Kalman filter in which the adjustment parameter (r) of the Kalman gain has been updated by the Kalman filter update unit and the target rotation speed so as to follow the target rotation speed, and to output the control command to a motor drive unit.
[0018] [9] In the brushless DC motor control device according to the present invention, the Kalman filter has a coefficient (h ω ) is preferably set based on the observation error noise contained in the rotation speed between each edge of successive pulses for one rotation of the rotor observed while driving the rotor at a constant rotation speed, as shown in Equation 2 above.
[0019]
[10] In the control device for a brushless DC motor according to the present invention, it is preferable that the Kalman filter has an adjustment parameter (q) of the prior covariance matrix set to the variance value of the system noise superimposed on the command voltage.
[0020]
[11] In the control device for a brushless DC motor according to the present invention, it is preferable that the Kalman filter has the adjustment parameter (r) of the Kalman gain set to the time-varying value r[k] expressed by the above-mentioned equation 3 instead of the above-mentioned equation 1, and that a C matrix (Cρ) that takes into account the bias of the observation values due to the observation error noise is used for the C matrix used in the calculation formulas for the Kalman gain, covariance matrix, and state estimate value.
[0021]
[12] In the control device for a brushless DC motor according to the present invention, when the observed rotational speed calculated by the rotational speed calculation unit at the current sampling time is obtained at the first sampling immediately after the time has elapsed between the edges of the successive pulses, the Kalman filter inputs the observed rotational speed calculated at the current sampling time to the Kalman filter updated by the Kalman filter update unit, and estimates the rotor rotational speed from which observation error noise contained in the observed rotational speed due to position errors of the magnetic sensors and position errors of the rotor magnetic poles has been removed, and when the observed rotational speed is not obtained at the first sampling immediately after the time has elapsed between the edges of the successive pulses, it is preferable to use a formula for calculating the state estimate other than the formula used when the observed rotational speed is obtained at the first sampling immediately after the time has elapsed between the edges of the successive pulses, and to use a state estimate that is the same as the prior state estimate.
[0022]
[13] In this case, the Kalman filter has a first processing Kalman filter mathematical model that includes the observed rotation speed as a parameter in a calculation formula for the state estimate value, and a second processing Kalman filter mathematical model that does not include the observed rotation speed as a parameter, and if the observed rotation speed is obtained at the first sampling immediately after the time has elapsed between the edges of the successive pulses, the rotor rotation speed is estimated using the first processing Kalman filter mathematical model, and if the observed rotation speed is not obtained at the first sampling immediately after the time has elapsed between the edges of the successive pulses, the rotor rotation speed is estimated using the second processing Kalman filter mathematical model. Effect of the Invention
[0023] According to the present invention, the rotation speed of a brushless DC motor can be estimated with higher accuracy from information observed by a magnetic sensor, and therefore it is possible to control the brushless DC motor to follow a target rotation speed with high accuracy even from information observed by the magnetic sensor. [Brief description of the drawings]
[0024] [Figure 1] FIG. 1 is a configuration diagram of a brushless DC motor system according to a first embodiment. [Diagram 2] FIG. 2 is a signal processing diagram in the brushless DC motor system of the first embodiment. [Diagram 3] 5 is an explanatory diagram for explaining processing of a pulse signal detected by a magnetic sensor in the brushless DC motor system of the first embodiment. FIG. [Figure 4] FIG. 2 is a model diagram of a brushless DC motor according to the first embodiment. [Diagram 5] FIG. 2 is a diagram illustrating signal processing by a Kalman filter according to the first embodiment. [Figure 6] 4 is a flowchart showing a method for controlling the brushless DC motor of the first embodiment. [Figure 7] FIG. 11 is a diagram illustrating signal processing by a Kalman filter according to the second embodiment. [Figure 8] FIG. 13 is a diagram showing a state in which the observed rotation speed is sampled during low-speed rotation. [Figure 9] FIG. 11 is a diagram illustrating signal processing by a Kalman filter according to the third embodiment. [Figure 10] 10 is a flowchart showing a method for controlling a brushless DC motor according to a third embodiment. [Figure 11] 4 is a graph showing a simulation result for confirming the effect of the Kalman filter of the first embodiment in the example. [Figure 12] 11 is a graph showing a simulation result for confirming the effect of the Kalman filter of the second embodiment in the example. [Figure 13]13 is a graph showing a simulation result for confirming the effect of the Kalman filter of the third embodiment in the example. [Figure 14] FIG. 14 is an enlarged view of parts A1 and A2 in FIG. [Figure 15] 14 is an enlarged view of parts B1, B2, and B3 in FIG. 13. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0025] A brushless DC motor system 1 according to an embodiment of the present invention will be described below with reference to the drawings. Note that the drawings do not necessarily strictly reflect all of the actual configuration. In this specification, the rotation of the rotor of a brushless DC motor is described using the term "rotational speed", but this term may be replaced with the term "angular velocity". In this specification, the structure of a brushless DC motor, the driving principle of a brushless DC motor using an inverter circuit, and peripheral equipment for controlling a brushless DC motor are generally the same as in the past, and descriptions of the same parts as in the past will be simplified or omitted. In the text, for example, "ω hat A signal with a symbol with a subscript "hat" such as "," means an estimated signal, and is shown in formulas and figures as a symbol with an umbrella accent without a subscript. In this specification, the timing of processing that is repeatedly performed at a predetermined interval (sampling period) is called a sampling time, and the timing of the sampling is described using symbols such as [k] or [k|k-1]. For example, [k] means ex-post estimation by processing using data available up to time k, and [k|k-1] means pre-estimation at time k by processing based on data available up to time k-1.
[0026] (Embodiment 1) (1-1. Configuration of Brushless DC Motor System of Embodiment 1) Fig. 1 is a configuration diagram of a brushless DC motor system 1 of embodiment 1. Fig. 2 is a signal processing diagram in the brushless DC motor system 1 of embodiment 1. Fig. 3 is an explanatory diagram for processing a pulse signal detected by a magnetic sensor in the brushless DC motor system 1 of embodiment 1. First, the configuration of the brushless DC motor system 1 of embodiment 1 will be described with reference to Fig. 1, and also with reference to Figs. 2 and 3 as necessary.
[0027] 1, the brushless DC motor system 1 includes a brushless DC motor 10 that outputs rotational power, and a control device 20 that drives and controls the connected brushless DC motor 10. The brushless DC motor system 1 also includes a computer device 60 that is connected to the control device 20 so as to be able to send and receive data, so that data can be set in the control device 20 and data can be acquired from the control device 20. Each component of the brushless DC motor system 1 will be described in detail below.
[0028] The brushless DC motor 10 includes a stator (not shown), a rotor 11 having multiple magnetic poles and rotatable relative to the stator, multiple coils 12 fixed to the stator at equal intervals in the circumferential direction, and multiple magnetic sensors 13 fixed to the stator at equal intervals in the circumferential direction. The rotor 11 includes an output shaft and a permanent magnet with an S pole and a permanent magnet with an N pole aligned at equal intervals in the circumferential direction on the output shaft, forming a rotor. The multiple coils 12 can switch between generating a magnetic force of an S pole, generating a magnetic force of an N pole, and no magnetic force depending on the presence or absence of a current and the direction of the current supplied from a motor drive unit 30 (described later) including an inverter circuit. The multiple magnetic sensors 13 are, for example, Hall sensors, and detect the magnetic poles of the rotor 11 that they face. The stator, the multiple coils 12, and the multiple magnetic sensors 13 form a stator. The brushless DC motor 10 is an 8-pole three-phase motor having U-phase, V-phase, and W-phase, with eight magnetic poles (divided into eight at 45°) on the rotor 11, three coils 12 (120° pitch), and three magnetic sensors 13 (120° pitch), and is configured to detect and output the magnetic poles of the rotor 11 using multiple evenly spaced magnetic sensors 13.
[0029] The control device 20 includes a motor drive unit 30, a motor drive power supply 40, and a DSP unit 50 (Digital Signal Processor unit), and is configured to drive and control the connected brushless DC motor 10. The control device 20 also has other components such as an AD converter, but these other components are well known and will not be described here.
[0030] The motor drive unit 30 is formed with an inverter circuit including a gate driver 31 and a three-phase bridge 32. In the motor drive unit 30, each coil 12 of the brushless DC motor 10 is connected to each line of each phase of the three-phase bridge 32, and the gate driver 31 switches the energized phase based on a PID control command from a DSP unit 50 described later to generate an input voltage (u s ) is controlled to rotate the rotor 11 to the target rotation speed (ω ref ) can be used to rotate the rotor (see also Figure 2).
[0031] The motor driving power supply 40 is electrically connected to the motor driving unit 30 , and supplies driving power to the current-carrying phases of the brushless DC motor 10 via the three-phase bridge 32 of the motor driving unit 30 .
[0032] The DSP unit 50 is a processing unit having a memory element for storing a control program and temporary stored data, a calculation element for performing calculation processing, and an input / output interface for inputting and outputting data to and from the outside, and executes digital signal processing and input / output processing of digital signals according to the control program stored in the memory element. The DSP unit 50 includes a target rotation speed setting unit 51, a detection pulse signal acquisition unit 52, a rotation speed calculation unit 53, a Kalman filter 54, a Kalman filter update unit 55, and a motor control command unit 56, and is responsible for control processing of the brushless DC motor 10.
[0033] The target rotation speed setting unit 51 sets a target rotation speed (ω ref ) input is accepted.
[0034] The detection pulse signal acquiring unit 52 acquires the detection pulse signals output from each of the plurality of magnetic sensors 13 at a predetermined sampling period (see also FIG. 3).
[0035] The rotation speed calculation unit 53 calculates the observed rotation speed (ω y) is calculated. Specifically, in the brushless DC motor system 1, since the brushless DC motor 10 is an eight-pole three-phase motor, the rotation speed calculation unit 53, as shown in FIG. 3, performs an XOR operation on the three detection pulse signals acquired by the respective detection pulse signal acquisition units 52 to obtain 24 consecutive pulses per rotor rotation. In other words, the rotation angle (Φ) corresponding to one edge in these consecutive pulses is theoretically 2π / 24. As represented by the following equation 5, this 2π / 24 is converted into the time between edges (Δt g ) gives the observed rotation speed (ω y ) can be calculated. TIFF2024120855000005.tif24170
[0036] The Kalman filter 54 calculates the observed rotation speed (ω y In calculating the rotation angle (Φ) between two edges of consecutive pulses, the theoretical rotation angle (Φ) was set to 2π / 24. However, strictly speaking, the observed rotation speed (ω y ) includes the measurement error noise (ω n ) and the observed rotation speed (ω y ) to the observation error noise (ω n The Kalman filter 54 is provided to estimate the rotation speed from which the command voltage (u) and the observed rotation speed (ω y ) is input, and the observation error noise (ω n ) to estimate the rotation speed (ω hat ) is estimated and output. The design content of the Kalman filter 54 will be described in detail later.
[0037] The Kalman filter update unit 55 updates the adjustment parameter (r) of the Kalman gain of the Kalman filter 54 used at the current sampling time [k] by updating the previous estimated rotation speed (ω hat [k|k-1]) is used. Specifically, the adjustment parameter (r) of the Kalman gain is calculated using the above-mentioned formula 1.
[0038] The motor control command unit 56 determines the target rotation speed (ω ref The estimated rotation speed (ω hat ) and the target rotation speed (ω ref ) and generates a control command based on the control command. The motor control command unit 56 outputs a command voltage (u) as the generated control command to the motor drive unit 30.
[0039] The computer equipment 60 is, for example, a personal computer, a tablet terminal, a mobile terminal, a control switch, or a display panel, and exchanges data with the DSP unit 50, instructs the DSP unit 50 on the control content to be executed, displays data obtained from the DSP unit 50, and performs analysis using that data.
[0040] In the brushless DC motor system 1 configured as above, as shown in FIG. 2, first, the target rotation speed (ω ref ) and the estimated rotation speed (ω hat This command voltage (u) is sent to the motor drive unit 30 as a control command. In reality, the motor drive unit 30 includes the command voltage (u) and system noise (u n ) on the input voltage (u s The information on the command voltage (u) is also fed back to the Kalman filter 54 and is used to estimate the next estimated rotation speed in the Kalman filter 54. s), motor drive unit 30 switches the coils 12 to be energized by the inverter circuit accordingly, and drives brushless DC motor 10 to rotate. When brushless DC motor 10 drives to rotate, multiple magnetic sensors 13 detect the magnetism of rotor 11, and each detection pulse signal is output to motor drive unit 30 to indicate the timing of switching coils 12 to be energized, and is also output to detection pulse signal acquisition unit 52. Each detection pulse signal output to detection pulse signal acquisition unit 52 is output to rotation speed calculation unit 53 at a predetermined sampling period, and rotation speed calculation unit 53 calculates an observed rotation speed (ω y ) is calculated. y ) is the measurement error noise (ω) due to measurement errors caused by installation errors of the magnetic sensor 13 and arrangement errors of the magnetic poles of the rotor 11, with respect to the true rotation speed (ω). n ) is listed. In the brushless DC motor system 1, the measurement error noise (ω n ) and system noise (u n The observed rotation speed (ω y ) to remove these noises and estimate the rotation speed (ω hat ) is the actual rotation speed, and the estimated rotation speed (ω hat The adjustment parameter (r) of the Kalman gain in the Kalman filter 54 is the previous estimated rotation speed (ω hat [k|k-1]) and is updated every time (every sampling period) an estimation process is performed by the Kalman filter 54. Specifically, for example, the estimation process is performed 250 times per second, and the adjustment parameter (r) of the Kalman gain in the Kalman filter 54 is updated each time.
[0041] (1-2. Design of Kalman Filter in Embodiment 1) 4 is a model diagram of the brushless DC motor 10 of the first embodiment. FIG. 5 is a signal processing diagram of the Kalman filter 54 of the first embodiment. The Kalman filter 54 calculates a command voltage (u) and an observed rotation speed (ω y ) from the input value of the system noise (u n ) and the observation error noise (ω n ) is removed and the estimated rotation speed (ω hat The design of the Kalman filter 54 will be explained below.
[0042] When designing the Kalman filter 54, first, a mathematical model of the brushless DC motor 10, which is the control method, is set. The brushless DC motor 10 is shown as a motor model as shown in Fig. 4 based on a general DC servo motor. In this motor model, the output rotation speed is expressed by the following equation 6. TIFF2024120855000006.tif49170
[0043] From this, by performing zero-order hold and discretization of u, x[k+1] = Ax[k] + bu[k] is obtained, and the brushless DC motor mathematical model represented by the following processing equations (7) to (9) as shown in Figure 5 is obtained. TIFF2024120855000007.tif65170
[0044] Next, as the first Kalman filter mathematical model, a steady Kalman filter mathematical model represented by the following processing equations 10 to 15 as shown in FIG. 5 is set, and adjustment parameters are optimized. TIFF2024120855000008.tif105170
[0045] In the Kalman filter 54, the system noise (u n ) and the observation error noise (ω nIn order to remove the system noise (u n ) has an expected value of 0 and the system noise (u n ) variance (σ u 2 ) is a normally distributed white noise, and the observation error noise (ω n ) has an expected value of 0 and the observation error noise (ω n ) variance (σ ω 2 ) is considered to be a white noise that follows a normal distribution. Then, the adjustment parameter (q) of the prior covariance matrix is n ) variance (σ u 2 ), and the adjustment parameter (r) of the Kalman gain is the observation error noise (ω n ) variance (σ ω 2 ), the evaluation function J shown in the following equation 16 is ud is the smallest. TIFF2024120855000009.tif22170
[0046] In the first embodiment, the adjustment parameter (q) of the prior covariance matrix is determined based on the system noise (u n ) is known, so the system noise (u n ) variance (σ u 2 On the other hand, the adjustment parameter (r) of the Kalman gain is set based on the fact that the rotation speed obtained from the detection pulse output by the magnetic sensor 13 is an observation error noise (ω n ) including the observed rotation speed (ω y ) and the true rotational speed (ω) is unknown, so how to design it is the key point.
[0047] Therefore, in the Kalman filter 54, the rotation angles (Φ1 to Φ2) corresponding to the intervals between the edges of successive pulses obtained by XORing the detection pulse signals output by the magnetic sensor 13 are calculated. n) are all different due to position errors (n different per 2π rotation angle of the rotor 11), and during observation, the rotation speed between any one edge is determined as the observed rotation speed (ω y ) is calculated as follows. If the angular velocity (ω) between edges of the rotation angle (Φ) is constant, the time between edges (Δt g ), observed rotation speed (ω y ), and the observation error noise (ω n ) are expressed by the following Equations 17 to 19. TIFF2024120855000010.tif20170Here, the observation error noise (ω n ) has an expected value of 0 and the observation error noise (ω n ) variance (σ ω 2 ) is normally distributed, the observation error noise (ω n ) variance (σ ω 2 ) can be expressed as a function of rotation speed (ω) using the following equation (20): TIFF2024120855000011.tif20170The coefficient of rotation speed (ω) in Eq. 20 was replaced with the coefficient (h ω ) is obtained. TIFF2024120855000012.tif8170This coefficient (h ω ), the rotation angles (Φ1 to Φ2) corresponding to the intervals between the edges of successive pulses obtained by XORing the detection pulse signals of the magnetic sensor 13 are n ) is a value determined by the coefficient (h ω ) is calculated by rotating the rotor 11 at a constant speed ω in advance and calculating the ω y =2π / n / Δt g (The above formula 5 describes the case where n=24.) Using this, the observed rotation speed (ω y ) and each observation error noise (ω n ) can be obtained in advance. In other words, the coefficient (h ωAs shown in Equation 2, the observation error noise (ω n It is set based on the coefficient (h ω ) is a value that is determined by the position error specific to the motor and is a value that is determined for each motor, so it may be identified when the motor is manufactured, or a rotary encoder may be connected only when identifying the rotation angle and the precise rotation angle detected by the rotary encoder may be used.
[0048] Then, the Kalman filter 54 calculates the rotation speed between any one of the edges at the time of observation as the observed rotation speed (ω y ) is calculated as the identified coefficient (h ω ) and the adjustment parameter (r) of the Kalman gain is designed to be a time-varying value (r[k]) expressed by the above equation 1. TIFF2024120855000013.tif67170
[0049] (1-3. Control method of brushless DC motor in embodiment 1) 6 is a flowchart showing a method for controlling the brushless DC motor according to embodiment 1. Next, a method for controlling the brushless DC motor using a Kalman filter will be described with reference to FIG.
[0050] The method of controlling the brushless DC motor in the brushless DC motor system 1 is to calculate the rotation speed of the rotor 11 based on the output of the magnetic sensor 13 that detects the magnetic pole of the rotor 11 in the brushless DC motor 10 using a plurality of magnetic sensors 12, and to pass the calculated rotation speed through a Kalman filter 54 to convert the actual rotation speed of the rotor 11 into an estimated rotation speed (ω hat ) and its estimated rotation speed (ω hat) to drive and control a brushless DC motor 10 by PID control. This brushless DC motor control method executes a target rotation speed setting step ST1, a Kalman filter setting step ST2, a detection pulse signal acquisition step ST3, which are repeated at a fixed sampling period until the drive control is stopped, a rotation speed calculation step ST4, a Kalman filter update step ST5, a rotation speed estimation step ST6, and a motor control command step ST7.
[0051] In the target rotation speed setting step ST1, a target rotation speed (ω ref ) is input and set from an input device such as computer equipment 60.
[0052] In the Kalman filter setting step ST2, the Kalman filter 54 is set so that the adjustment parameter (r) of the Kalman gain becomes the time-varying value r[k] expressed by the above-mentioned equation 1.
[0053] In the detection pulse signal acquiring step ST3, the detection pulse signals output from the plurality of magnetic sensors 13 are acquired at a predetermined sampling period.
[0054] In the rotation speed calculation step ST4, the rotation speed of the rotor 11 is calculated from the continuous pulses obtained by XORing the detection pulse signals acquired at each sampling time, as the observed rotation speed (ω y Specifically, the calculation is performed in the same manner as described above in the explanation of the rotation speed calculation unit 53.
[0055] In the Kalman filter update step ST5, the adjustment parameter (r) of the Kalman gain of the Kalman filter 54 used at the current sampling time (k) is updated based on the previous estimated rotation speed (ω hat [k|k-1]). Specifically, the adjustment parameter (r) of the Kalman gain is updated using the above formula 1 (r[k]=h ω ω hat [k|k-1]2 ) and update it.
[0056] In the rotation speed estimation step ST6, the observed rotation speed (ω y ) and the observed rotation speed (ω y ) due to the position error of the magnetic sensor 13 and the position error of the magnetic poles of the rotor 11. n The rotation speed of the rotor 11 from which the ω hat ) is estimated as the specific rotation speed (ω hat The method for estimating ) is as described above.
[0057] In the motor control command step ST7, the target rotation speed (ω ref The estimated rotation speed (ω hat ) and the target rotation speed (ω ref ) and outputs the control command as a drive control signal for the brushless DC motor 10.
[0058] (1-4. Actions and Effects of the First Embodiment) In the method for estimating the rotation speed of the brushless DC motor according to the first embodiment, the detection pulse signals output from the plurality of magnetic sensors 13 are acquired at a predetermined sampling period in a detection pulse signal acquisition step ST3, and the rotation speed of the rotor 11 is estimated as an observed rotation speed (ω y) is calculated as the rotational speed. Therefore, according to the first embodiment, the rotational speed can be calculated from the information observed by the magnetic sensor 13 without using a rotary encoder. In the method for estimating the rotational speed of a brushless DC motor of the first embodiment, the Kalman filter 54 is set in the Kalman filter setting step ST2 so that the adjustment parameter (r) of the Kalman gain becomes the time-varying value r[k] expressed by the above-mentioned formula 1, thereby reducing the observation error noise (ω n ) is optimized to remove variations in the rotation speed of brushless DC motor 10. Therefore, according to the method for estimating the rotation speed of a brushless DC motor of the first embodiment, the rotation speed of brushless DC motor 10 can be estimated with higher accuracy from the information observed by magnetic sensor 13. Furthermore, according to control device 20 for brushless DC motor 10 of the first embodiment, control device 20 for brushless DC motor 10 is configured using the method for estimating the rotation speed of a brushless DC motor that achieves this effect, so the rotation speed of brushless DC motor 10 can be estimated with higher accuracy from the information observed by magnetic sensor 13.
[0059] (Embodiment 2) The brushless DC motor system and the rotation speed estimation method of a brushless DC motor of the second embodiment are similar to the brushless DC motor system and the rotation speed estimation method of a brushless DC motor of the first embodiment in terms of basic configuration, control concept, and flow of the control method, but uses a Kalman filter in which a modified Kalman filter mathematical model is set with different design contents. Therefore, in the following explanation, the differences in the design contents of the Kalman filter will be explained, and other explanations will be omitted.
[0060] 7 is a diagram showing signal processing by the Kalman filter 154 of the second embodiment. In the Kalman filter 54 of the first embodiment, the estimated rotation speed (ω hat ) has a slight deviation from the true rotation speed (ω), so the Kalman filter 154 uses the estimated rotation speed (ω hat ) and further reduce the variation in the estimated rotation speed (ω hatThe design of the Kalman filter 154 will be described below.
[0061] In designing the Kalman filter 154, first, for the Kalman filter 54 of the first embodiment, the observation error noise (ω n ) has an expected value of 0 and the observation error noise (ω n ) variance (σ ω 2 ), but strictly speaking, the expected value is not exactly 0, so the estimated rotation speed (ω hat ) is considered to be biased. Therefore, for the Kalman filter 154, a normal Kalman filter with an expected value of 0 is modified to set a new model, and the observation error noise (ω n ) is the expected value μ ω The observation error noise (ω n ) variance (σ ω 2 ) is designed to be a normally distributed white noise.
[0062] The expected value (μ ω ) can be expressed as a function of rotation speed (ω) using the following equation (21): TIFF2024120855000014.tif7170Then, by replacing the coefficient of rotation speed (ω) in Equation 21, we obtain the coefficient (ρ) (set based on the bias of the measurement value of the observation error noise) shown in the following Equation 22. TIFF2024120855000015.tif7170This coefficient (ρ) is the rotation angle (Φ1 to Φ n For this reason, the coefficient (ρ) is determined by rotating the rotor 11 at a constant speed ω in advance and calculating the coefficient ω from the formula ω shown in the above formula 5. y =2π / n / Δt g (The above formula 5 describes the case where n=24.) Using this, the observed rotation speed (ω y ) and each observation error noise (ωn ) to obtain E[ω n ]=ρω, the above equation 4 is calculated. TIFF2024120855000016.tif19170Note that the coefficient (ρ) is a value determined by the motor's specific position error and is a value determined for each motor, so it may be identified when the motor is manufactured, or a rotary encoder may be connected only when identifying the coefficient and the precise rotation angle detected by the rotary encoder may be used.
[0063] In addition, the observation error noise (ω n ) variance (σ ω 2 ) can also be expressed as a function of rotation speed (ω) as shown in the following equation 23. TIFF2024120855000017.tif5170
[0064] From the above, the observation error noise (ω n ) is the expected value ρω and the observation error noise (ω n ) variance ((h ω -ρ 2 )ω 2 This is expressed by the following Equation 24, and due to the linearity of the normal distribution, it is decomposed as shown in Equation 25, and the observation equation shown in Equation 26 is obtained. TIFF2024120855000018.tif15170The coefficient of x in this observation equation [0 1+ρ] is the C matrix (Cρ) that takes into account the bias in the observation values due to observation error noise.
[0065] In the Kalman filter 154, a second Kalman filter mathematical model is set, which is expressed by a processing formula consisting of the above-mentioned formulas 10 to 12 and the following formulas 27 to 29 as shown in FIG. 7, and which uses a C matrix (Cρ) that takes into account the bias of the observation value of the observation error noise as the C matrix used in the calculation formula for the Kalman gain, covariance matrix, and state estimate value, and optimization of the adjustment parameters is performed. TIFF2024120855000019.tif110170
[0066] In the modified model Kalman filter 154, in order to further take into account the bias of the observation value of the observation error noise, the adjustment parameter (r) of the Kalman gain is adjusted to the observation error noise (ω n ) is designed to be a time-varying value (r[k]) expressed by Equation 3 above, using a coefficient (ρ) set based on the bias of the observed values. TIFF2024120855000020.tif78170
[0067] According to the brushless DC motor system and the method for estimating the rotation speed of the brushless DC motor of the second embodiment, similarly to the first embodiment, the Kalman filter 154 adjusts the adjustment parameter (r) of the Kalman gain by subtracting the observation error noise (ω n ) based on the coefficient (h ω ) and time-varying (r[k]), the observation error noise (ω n ) is optimized to remove the influence of the measurement error noise (ω n ) is set to take into account the bias of the observation value, and the C matrix used in the calculation formula of the Kalman gain, covariance matrix, and state estimate also takes into account the observation error noise (ω n ) is set in consideration of the bias of the observed values of the measurement error noise (ω n ) can be reduced, and the rotation speed of the brushless DC motor 10 can be estimated with higher accuracy.
[0068] (Embodiment 3) The brushless DC motor system and the rotation speed estimation method of the brushless DC motor of the third embodiment are similar to the brushless DC motor system and the rotation speed estimation method of the brushless DC motor of the first and second embodiments in terms of basic configuration, control concept, and flow of the control method, but the design content is different and a Kalman filter in which a Kalman filter mathematical model is set that is expanded by adding some selective processing is used. Therefore, in the following description, the difference in the design content of the Kalman filter is described, and other descriptions are omitted. Note that the selective processing of the Kalman filter expanded in the third embodiment can also be applied to the Kalman filter used in the brushless DC motor system of the first embodiment, but the following describes an example of a Kalman filter to which selective processing is added based on the Kalman filter 154 used in the brushless DC motor system of the second embodiment.
[0069] 8 is a diagram showing a state in which the observed rotation speed is sampled during low-speed rotation, FIG. 9 is a diagram showing signal processing by the Kalman filter 254 of the third embodiment, and FIG. 10 is a flowchart showing a method of controlling a brushless DC motor using the Kalman filter 254. The Kalman filter 154 of the second embodiment calculates the estimated rotation speed (ω hat ) and further reduce the variation in the estimated rotation speed (ω hat ), the Kalman filter 254 of the third embodiment is designed based on the Kalman filter 154 of the second embodiment, and is further designed to prevent a deterioration in observation accuracy due to a decrease in observation data during low-speed rotation. The design of the Kalman filter 254 will be described below.
[0070] In designing the Kalman filter 254, first, the Kalman filter 154 of the second embodiment calculates an observed value (the observed rotation speed (ω y)) is sampled. For this reason, when the rotor of a brushless DC motor rotates at a low speed, as shown in Figure 8, the sampling period (indicated by the symbol "T" in Figure 8) can be shorter than the time (Δtg) between edges of successive pulses obtained by XORing the detection pulse signal (see also Figure 3). In this case, the observed rotation speed (ω y ) is updated less frequently, so that the observed rotation speed (ω y ) is sampled. In other words, the observed rotation speed (ω y ) does not change from the previously observed rotation speed calculated at the previous sampling time. As an example, in FIG. 8, the observed rotation speed (ω y ) is indicated by a double circle, and the observed rotation speed (ω y ) are shown by black circles, and the observed rotation speed (ω y ) is the observed rotation speed (ω y ) and the observed rotation speed (ω y In the Kalman filter 154 of the second embodiment, the observation error noise (ω n ) is the expected value μ ω The observation error noise (ω n ) variance (σ ω 2 ) is designed to be a normally distributed white noise with the same observed rotation speed (ω y ), the observation error noise (ω n ) will deviate from the design, and the estimation accuracy will deteriorate. Therefore, the Kalman filter 254 is designed to selectively apply different estimation processing at low rotation speeds in order to prevent the estimation accuracy from deteriorating at low rotation speeds.
[0071] 9, the Kalman filter 254 is set with a first processing Kalman filter mathematical model 254a, which is the same as the second Kalman filter mathematical model set in the Kalman filter 154 of the second embodiment, and a second processing Kalman filter mathematical model 254b, which has a part of an equation different from that of the second Kalman filter mathematical model. The Kalman filter 254 also includes a model selection processing unit 254c that selects either the first processing Kalman filter mathematical model 254a or the second processing Kalman filter mathematical model 254b as the Kalman filter mathematical model to be used for estimation at each sampling time.
[0072] The first processing Kalman filter mathematical model 254a is the second Kalman filter mathematical model set in the Kalman filter 154 of the second embodiment, and is expressed by the following processing equations consisting of equations 10 to 12 and equations 27 to 29 as described above. TIFF2024120855000021.tif110170
[0073] The second processing Kalman filter mathematical model 254b is a second Kalman filter mathematical model set in the Kalman filter 154 of the second embodiment, in which only the equation for calculating the state estimate value (equation 29) is replaced with another equation for calculating the state estimate value (equation 30), and is expressed by the following processing equation consisting of equations 10 to 12, equations 27 to 28, and equation 30. That is, the second processing Kalman filter mathematical model 254b adds the observed rotation speed (ω y ) is not included in the parameters, and the rotation speed of the rotor 11 is the same as the prior state estimate calculated in Equation 11, which is the state estimate. TIFF2024120855000022.tif113170
[0074] The model selection processing unit 254c calculates the observed rotation speed (ω y ), the observed rotation speed (ω y ) to be used for estimation at each sampling time. More specifically, the model selection processing unit 254c selects a Kalman filter mathematical model to be used for estimation at each sampling time according to the observed rotation speed (ω yIf the time between the edges (Δtg) has elapsed, the first processing Kalman filter mathematical model 254a is selected, and the observed rotation speed calculated at the current sampling time is input (ω y ) and the observed rotation speed (ω y ) due to the position error of the magnetic sensor 13 and the position error of the rotor magnetic poles. n On the other hand, the model selection processing unit 254c estimates the rotation speed of the rotor 11 from which the observed rotation speed (ω y ) other than immediately after the time (Δtg) between the edges has elapsed, the second processing Kalman filter mathematical model 254b is selected, and the rotation speed of the rotor 11 is set as the state estimation value that is the same as the prior state estimation value calculated in Equation 11. That is, the model selection processing unit 254c selectively uses the second processing Kalman filter mathematical model 254b for low-speed rotation to estimate the rotation speed of the rotor 11 during low-speed rotation, and when the rotation speed becomes relatively high other than the low-speed rotation, estimates the rotation speed of the rotor 11 similarly to the second embodiment using only the first processing Kalman filter mathematical model 254a.
[0075] In this way, the control method for a brushless DC motor using the Kalman filter 254 that selectively switches the Kalman filter mathematical model first executes a target rotation speed setting step ST1, a Kalman filter setting step ST2, a detection pulse signal acquisition step ST3, and a rotation speed calculation step ST4, as in the first and second embodiments, as shown in Fig. 10. Next, in this control method, the observed rotation speed (ω y ), the model selection processing unit 254c receives the observed rotation speed (ω y) immediately after the time (Δtg) between edges has elapsed or not, and the Kalman filter mathematical model to be used is selected as the first processing Kalman filter mathematical model 254a when it is immediately after the time (Δtg) between edges has elapsed (when the timing is shown by a double circle in FIG. 8), and the second processing Kalman filter mathematical model 254b when it is not immediately after the time (Δtg) between edges has elapsed (when the timing is shown by a black circle in FIG. 8). Next, this control method executes the Kalman filter update step ST5, the rotation speed estimation step ST6, and the motor control command step ST7 as in the first and second embodiments, using the Kalman filter mathematical model selected in the process selection step ST100, and if drive control is to be continued, returns to the detection pulse signal acquisition step ST3, and repeats the flow of the detection pulse signal acquisition step ST3 to the motor control command step ST7.
[0076] According to the brushless DC motor system and the method for estimating the rotation speed of the brushless DC motor of the third embodiment, similarly to the first and second embodiments, the Kalman filter 254 adjusts the adjustment parameter (r) of the Kalman gain based on the observation error noise (ω n ) based on the coefficient (h ω ) and time-varying (r[k]), the observation error noise (ω n ) is optimized to remove the influence of the observed rotation speed (ω yIn other words, in the brushless DC motor system and the method for estimating the rotational speed of a brushless DC motor according to the third embodiment, the accuracy of the estimation is degraded during low-speed rotation in the brushless DC motor system and the method for estimating the rotational speed of a brushless DC motor according to the second embodiment, whereas the accuracy of the estimation is degraded during low-speed rotation in the brushless DC motor system and the method for estimating the rotational speed of a brushless DC motor according to the second embodiment, the estimation accuracy is degraded during low-speed rotation in the brushless DC motor system and the method for estimating the rotational speed of a brushless DC motor according to the third embodiment, y ) includes a state other than immediately after the time (Δtg) between the edges has elapsed, and the second Kalman filter mathematical model 254b is also selectively used to estimate the rotation speed of the rotor 11 so that the Kalman filter mathematical model to be used is suitable for low-speed rotation. Therefore, according to the brushless DC motor system and the method for estimating the rotation speed of a brushless DC motor of embodiment 3, the rotation speed of the rotor 11 can be estimated with higher accuracy even during low-speed rotation.
[0077] [Other formats] Although the present invention has been described based on the above embodiment, the present invention is not limited to the above embodiment. The present invention can be embodied in various forms without departing from the spirit of the present invention, and for example, the following modifications are also possible.
[0078] (1) The number of components, the manner of connection, the setting parameters of the Kalman filter, and the like described in the above embodiment are merely examples and may be changed without impairing the effects of the present invention.
[0079] (2) In the above embodiment, the brushless DC motor control device is described as a device in which the motor drive unit, the motor drive power supply, and the DSP unit are integrated, but the present invention is not limited to this. For example, a part of the configuration may be configured as a separate device electrically connected to the control device.
[0080] (3) In the above embodiment, the brushless DC motor is described as an eight-pole three-phase motor, but the present invention is not limited to this. For example, the number of magnetic poles arranged on the rotor 11 may be two (divided into two at 180°), making it a two-pole three-phase motor.
[0081] (4) In the above embodiment, in Equation 2 and Equation 20, the sum of the squared deviations (sum of squared deviations) is divided by n to obtain the sample variance for hω. However, the unbiased variance obtained by dividing the sum of the squared deviations (sum of squared deviations) by n-1 may be used for the calculation as hω.
[0082] (5) In the above embodiment, the control command from the DSP unit 50 is described as PID control, but the present invention is not limited to this. The present invention can also be applied to a case where the control command from the DSP unit is feedback control such as I-PD control or PI-PD control.
[0083] (6) In the above embodiment, the rotation speed estimation method is described using the brushless DC motor system 1 of the rotation speed control system shown in Fig. 2 as an example, but the rotation speed estimation method according to the present invention is not limited to application to a brushless DC motor system whose speed is controlled. For example, it can also be applied to a brushless DC motor system whose position is controlled. EXAMPLES
[0084] Fig. 11 is a graph showing the results of a simulation for confirming the effect of the Kalman filter 54 of the first embodiment in an example. In the brushless DC motor model shown in Fig. 4, the values shown in Table 1 below were used for each parameter (parameter in the above-mentioned formula 6) such as the circuit resistance. Fig. 11(a) is a graph showing the results of a simulation in the case where the Kalman filter is not used. Fig. 11(b) is a graph showing the results of a simulation in the case where the Kalman filter is used but the adjustment parameter (r) of the Kalman gain is set to r=h ω 1 211C is a graph showing the simulation results when the adjustment parameter (r) of the Kalman gain is set to a constant value of r[k]=h. ω ω hat [k|k-1] 2 11 is a graph showing a simulation result when the time-varying value of the Kalman filter 54 of the first embodiment is designed. First, the effect of the Kalman filter 54 of the first embodiment will be described with reference to FIG. 11. Note that when the Kalman filter is used, the adjustment parameter (q) of the prior covariance matrix is adjusted to include the system noise (u n ) variance (σ u 2 = 0.01) and the simulation was performed.
[0085] [Table 1]
[0086] Looking at the simulation results shown in Fig. 11, the graph in Fig. 11(a) shows the case without the Kalman filter, whereas the graphs in Fig. 11(b) and Fig. 11(c) show the case with the Kalman filter, where the observed rotation speed (ω) is smaller than the true rotation speed (ω). y ) is suppressed. Furthermore, even when the Kalman filter is used, the variation in the observed rotation speed (ω) is suppressed compared to the true rotation speed (ω) in the graph of FIG. 11(c) where the adjustment parameter (r) of the Kalman gain is designed to be a time-varying value, as opposed to the graph of FIG. 11(b) where the adjustment parameter (r) of the Kalman gain is designed to be a constant value. y From the simulation results shown in Fig. 11, it can be seen that the variation in the estimated rotation speed (ω hat The root mean squared error (RMSE) of the approximation was calculated and is shown in Table 2.
[0087] [Table 2]
[0088] As shown in Table 2, when the Kalman filter in FIG. 11(a) is not used, RMSE=3.9700, whereas when the Kalman filter in FIG. 11(b) is used with the Kalman gain adjustment parameter (r) designed to be a constant value, RMSE=1.0489. When the Kalman filter with the Kalman gain adjustment parameter (r) designed to be a constant value is used, the observation error noise (ω n ) is eliminated by 73.58%. Furthermore, when the Kalman filter in Fig. 11(c) is used, in which the adjustment parameter (r) of the Kalman gain is designed to be a time-varying value, the RMSE is 0.3475. When the Kalman filter of the first Kalman filter mathematical model in which the adjustment parameter (r) of the Kalman gain is designed to be a time-varying value is used, the effect of the observation error noise (ω n ) is eliminated by 91.25%. This simulation result shows that when using the Kalman filter, especially the first Kalman filter mathematical model, the effect of the observation error noise (ω n ) variation suppression effect was confirmed.
[0089] FIG. 12 is a graph showing the results of a simulation to confirm the effect of the Kalman filter 154 of the second embodiment in an example, with the range during constant speed rotation being enlarged. FIG. 12(a) is a graph showing the results of a simulation when a Kalman filter of a first Kalman filter mathematical model is used that does not take into account the bias in the observed values of the observation error noise. FIG. 12(b) is a graph showing the results of a simulation when a Kalman filter of a second Kalman filter mathematical model is used that takes into account the bias in the observed values of the observation error noise. Next, the effect of the Kalman filter 154 described in the second embodiment will be described with reference to FIG. 12. Note that when the adjustment parameter (q) of the prior covariance matrix of the Kalman filter is adjusted to include the system noise (u n ) variance (σ u 2 = 0.01) and the simulation was performed.
[0090] The simulation results shown in FIG. 12 show that, in contrast to the graph in FIG. 12(a) where the Kalman filter 54 is used, which does not take into account the bias in the observation values of the observation error noise, the graph in FIG. 12(b) where the Kalman filter 154 is used, which takes into account the bias in the observation values of the observation error noise, shows that the observed rotation speed (ω) is smaller than the true rotation speed (ω). y From the simulation results shown in Fig. 12, the estimated rotation speed (ω hat The root mean squared error (RMSE) of the approximation was calculated and is shown in Table 3.
[0091] [Table 3]
[0092] As shown in Table 3, the estimated rotation speed (ω hat 12(a) is used, the RMSE is 0.3475, whereas the RMSE is 0.3312 when the Kalman filter 154 in FIG. 12(b) is used. When the Kalman filter 154, which takes into account the bias of the observation value of the observation error noise, is used, the observation error noise (ω n ) is removed by 91.66%, which is better than the case where the Kalman filter 54 is used. This simulation result shows that when the Kalman filter 154 that takes into account the bias of the observation value of the observation error noise is used, the effect of the observation error noise (ω n ) bias suppression effect was confirmed.
[0093] Furthermore, to verify the robustness, the Kalman filter 54 of the first Kalman filter mathematical model is used to measure the measurement error noise (ω n ) based on the coefficients (h ω A simulation was performed in which there was an identification error of ±5% in the estimated rotation speed (ω hat) was calculated and is shown in Table 4.
[0094] [Table 4]
[0095] As shown in Table 4, the coefficient (h ω ) without identification error, RMSE=0.3475, compared with the case without the Kalman filter, where the observation error noise (ω n ) is eliminated by 91.25%. On the other hand, the coefficient (h ω ) with an identification error of +5%, RMSE=0.3468, compared with the case without the Kalman filter. n ) by 91.27%. On the other hand, the effect of the coefficient (h ω ) with an identification error of -5%, RMSE=0.3483, compared with the case without the Kalman filter. n ) is eliminated by 91.23%. As can be seen from this, the coefficient (h ω Even if there is an identification error of ±5% in the estimated rotation speed (ω hat ) has hardly changed.
[0096] Furthermore, as a verification of robustness, the Kalman filter 54 of the first Kalman filter mathematical model is used to estimate the estimated rotation speed (ω hat A simulation was performed in which a delay of several steps occurs in the estimated rotation speed (ω hat ) was calculated and is shown in Table 5.
[0097] [Table 5] As shown in Table 5, in the case of the design value of one step delay (L = 1), the RMSE is 0.3475, and the measurement error noise (ω n ) is eliminated by 91.25%. On the other hand, in the case of two-step delay (L=2), the RMSE is 0.3585, and the effect of the observation error noise (ω n ) is eliminated by 90.97%. On the other hand, in the case of 5-step delay (L=5), the RMSE is 0.3644, and the effect of the observation error noise (ω n ) is eliminated by 90.82%. As can be seen from this, even if there is a delay in the estimated rotation speed used in updating the adjustment parameter (r) of the Kalman gain, the estimated rotation speed (ω hat ) has hardly changed.
[0098] FIG. 13 is a graph showing a simulation result for confirming the effect of the Kalman filter of the third embodiment in an example, showing a state in which the rotation speed of the rotor 11 is increased to a certain degree and then rotated at a low speed, and FIG. 13(a) shows a case observed by a conventional method not using the Kalman filter of Comparative Example 3, FIG. 13(b) shows a case estimated using the Kalman filter 154 of the second embodiment, and FIG. 13(c) shows a case estimated using the Kalman filter 254 of the third embodiment. FIG. 14 is an enlarged view of the A1 and A2 parts of FIG. 13. FIG. 15 is an enlarged view of the B1, B2, and B3 parts of FIG. 13. The effect of the Kalman filter 254 of the third embodiment will be described with reference to these figures.
[0099] Looking at the simulation results shown in Fig. 13, the graph in Fig. 13(a) shows the case when the Kalman filter is not used, whereas the graphs in Fig. 13(b) and Fig. 13(c) show the case when the Kalman filter is used, and the observed rotation speed (ω) is smaller than the true rotation speed (ω). y) is suppressed. Furthermore, even when the Kalman filter is used, it can be seen that in the low-speed range of the rotation speed of the rotor 11 of 15-20 rad / s, the variation in the graph of FIG. 14(b) using the Kalman filter 254 of the third embodiment is suppressed compared to the graph of FIG. 14(a) using the Kalman filter 154 of the second embodiment. Furthermore, in the extremely low-speed range of the rotation speed of the rotor 11 of 0-0.5 rad / s, the variation in the actual rotation speed and the estimated rotation speed (ω hat ) is large, but in FIG. 15(c) using the Kalman filter 254 of the third embodiment, hat ) is small. From the simulation results shown in Fig. 13, the estimated rotation speed (ω hat The root mean squared error (RMSE) of the approximation was calculated and is shown in Table 6.
[0100] [Table 6]
[0101] As shown in Table 6, when the Kalman filter is not used as shown in Fig. 13(a), the RMSE is 4.1864, whereas when the Kalman filter is used as shown in Fig. 13(b) and Fig. 13(c), the RMSE is less than 0.5. n ) variation suppression effect was confirmed. Furthermore, while RMSE=0.4290 in the case of using the Kalman filter 154 of the second embodiment shown in FIG. 13(b), RMSE=0.2894 in the case of using the Kalman filter 254 of the third embodiment shown in FIG. 13(c), which shows that the rotational speed of the rotor 11 is estimated with high accuracy even at low rotation speeds, the observation error noise (ω n ) further suppression of variation was confirmed.
[0102] From the above simulation results, the method for estimating the rotation speed of a brushless DC motor to which the present invention is applied has the following advantages: n It was confirmed that this method can significantly reduce the effects of the above and is a practical method that can tolerate a certain degree of control error. [Explanation of symbols]
[0103] 1...brushless DC motor system, 10...brushless DC motor, 11...rotor, 12...coil, 13...magnetic sensor, 20...control device, 30...motor drive unit, 31...gate driver, 32...three-phase bridge, 40...motor drive power supply, 50...DSP unit, 51...target rotation speed setting unit, 52...detection pulse signal acquisition unit, 53...rotation speed calculation unit, 54...Kalman filter (of first Kalman filter mathematical model), 55...Kalman filter update unit, 56...motor speed command unit, 60...computer equipment, 154...Kalman filter (of second Kalman filter mathematical model), 254...Kalman filter (of the first processing Kalman filter mathematical model and the second processing Kalman filter mathematical model), 254a...first processing Kalman filter mathematical model, 254b...second processing Kalman filter mathematical model, 254c...model selection processing unit, ST1...target rotation speed setting step, ST2...Kalman filter setting step, ST3...detection pulse signal acquisition step, ST4...rotation speed calculation step, ST5...Kalman filter update step, ST6...rotation speed estimation step, ST7...motor control command step, ST100...processing selection step
Claims
1. 1. A method for estimating a rotation speed of a brushless DC motor, comprising: calculating a rotation speed of a rotor based on outputs of a plurality of magnetic sensors that detect magnetic poles of the rotor; and passing the calculated rotation speed through a Kalman filter to estimate an actual rotation speed of the rotor, a Kalman filter setting step of setting the Kalman filter so that an adjustment parameter (r) of a Kalman gain of the Kalman filter becomes a time-varying value r[k] expressed by the following formula 1; a detection pulse signal acquiring step of acquiring detection pulse signals output from the plurality of magnetic sensors at a predetermined sampling period; a rotation speed calculation step of calculating a rotation speed of the rotor as an observed rotation speed from continuous pulses obtained by taking an exclusive OR (XOR) of the detection pulse signals acquired at each sampling time; a Kalman filter updating step of updating an adjustment parameter (r) of a Kalman gain of the Kalman filter used at a current sampling time by using a previous estimated rotation speed estimated at a previous sampling time; a rotation speed estimating step of inputting the observed rotation speed calculated at a current sampling time to the Kalman filter in which the adjustment parameter (r) of the Kalman gain has been updated, and estimating the rotation speed of the rotor from which observation error noise caused by position errors of the magnetic sensor and position errors of the rotor magnetic poles, which are included in the observed rotation speed, has been removed; A method for estimating a rotation speed of a brushless DC motor, comprising:
2. The coefficient (h ω 2. The method for estimating the rotational speed of a brushless DC motor according to claim 1, wherein, as shown in the following equation 2, m is set based on the observation error noise contained in the rotational speed between each edge of the successive pulses for one rotation of the rotor observed while driving the rotor at a constant rotational speed.
3. The brushless DC motor is an 8-pole, three-phase motor, 3. The method for estimating the rotational speed of a brushless DC motor according to claim 2, wherein the adjustment parameter r[k] of the Kalman gain is designed using 24 pulses obtained from the continuous pulses per one rotation of the rotor.
4. 2. The method for estimating the rotational speed of a brushless DC motor according to claim 1, further comprising the step of setting an adjustment parameter (q) of a priori covariance matrix of the Kalman filter to a variance value of system noise superimposed on the command voltage.
5. In the Kalman filter setting step, The adjustment parameter (r) of the Kalman gain of the Kalman filter is set to a time-varying value r[k] expressed by the following Equation 3, instead of Equation 1:
2. The method for estimating the rotational speed of a brushless DC motor according to claim 1, wherein a C matrix (Cρ) that takes into account bias in the observed values of the observation error noise is used as a C matrix used in a calculation formula for a Kalman gain, a covariance matrix, and a state estimate value.
6. In the rotation speed estimation step, when the observed rotational speed calculated in the rotational speed calculation step is obtained at the first sampling immediately after a time lapse between edges of the successive pulses, the observed rotational speed calculated at the current sampling time is input to the Kalman filter in which an adjustment parameter (r) of the Kalman gain has been updated, and the rotational speed of the rotor is estimated from which observation error noise included in the observed rotational speed and caused by position errors of the magnetic sensor and position errors of the rotor magnetic poles has been removed; 6. The method for estimating the rotational speed of a brushless DC motor according to claim 1, wherein, when the observed rotational speed is not obtained at a first sampling immediately after a time has elapsed between the edges of the successive pulses, a formula for calculating a state estimate in the Kalman filter is used that is different from a formula used when the observed rotational speed is obtained at a first sampling immediately after a time has elapsed between the edges of the successive pulses, and a state estimate that is the same as a prior state estimate is used.
7. a first processing Kalman filter mathematical model including the observed rotation speed as a parameter in a calculation formula for a state estimate value, and a second processing Kalman filter mathematical model not including the observed rotation speed as a parameter in a calculation formula for a state estimate value, if the observed rotation speed is obtained at the first sampling immediately following a time lapse between edges of the successive pulses, the Kalman filter updating step and the rotation speed estimating step use the first processing Kalman filter mathematical model; 7. The method for estimating the rotational speed of a brushless DC motor according to claim 6, wherein the second processing Kalman filter mathematical model is used in the Kalman filter updating step and the rotational speed estimating step when the observed rotational speed is not obtained at the first sampling immediately after the time lapse between edges of the successive pulses.
8. A brushless DC motor control device connected to a brushless DC motor having a plurality of magnetic sensors that detect and output magnetic poles of a rotor, and configured to drive and control the brushless DC motor, comprising: a motor drive unit configured to rotate the rotor at a target rotation speed based on a control command; a detection pulse signal acquiring unit that acquires detection pulse signals output from the plurality of magnetic sensors at a predetermined sampling period; a rotation speed calculation unit that calculates the rotation speed of the rotor as an observed rotation speed from continuous pulses obtained by taking an exclusive OR (XOR) of the detection pulse signals acquired at each sampling time; a Kalman filter, designed so that an adjustment parameter (r) of a Kalman gain is a time-varying value r[k] expressed by the following formula 1, through which the observed rotational speed calculated by the rotational speed calculation unit is passed to estimate the rotational speed of the rotor from which observation error noise caused by position errors of the magnetic sensors and position errors of the rotor magnetic poles, which are included in the observed rotational speed, has been removed; a Kalman filter update unit that updates an adjustment parameter (r) of a Kalman gain of the Kalman filter used at a current sampling time by using a previous estimated rotation speed estimated at a previous sampling time; a motor control command unit that generates the control command based on the target rotation speed and the estimated rotation speed estimated by the Kalman filter, in which an adjustment parameter (r) of the Kalman gain is updated by the Kalman filter update unit so as to cause the estimated rotation speed to follow the target rotation speed, and outputs the control command to the motor drive unit.
9. The Kalman filter uses the coefficients (h ω 9. The control device for a brushless DC motor according to claim 8, wherein the difference (i) between the edges of the successive pulses during one rotation of the rotor is set based on the observation error noise contained in the rotation speed between the edges of the successive pulses observed while driving the rotor at a constant rotation speed, as shown in the following equation 2:
10. 9. The control device for a brushless DC motor according to claim 8, wherein the Kalman filter has an adjustment parameter (q) of a priori covariance matrix set to a variance value of system noise superimposed on the command voltage.
11. In the Kalman filter, the adjustment parameter (r) of the Kalman gain is set to a time-varying value r[k] expressed by the following Equation 3 instead of Equation 1:
9. The control device for a brushless DC motor according to claim 8, wherein a C matrix (Cρ) that takes into account bias in the observed values of the observation error noise is used for a C matrix used in calculation formulas for a Kalman gain, a covariance matrix, and a state estimate value.
12. The Kalman filter is when the observed rotation speed calculated at the current sampling time by the rotation speed calculation unit is obtained at the first sampling immediately after a time lapse between edges of the successive pulses, the observed rotation speed calculated at the current sampling time is input to the Kalman filter updated by the Kalman filter update unit, and the rotation speed of the rotor is estimated from the observed rotation speed with observation error noise caused by position errors of the magnetic sensor and position errors of the rotor magnetic poles, which are included in the observed rotation speed, removed; 12. The control device for a brushless DC motor according to claim 8, wherein, when the observed rotation speed is not obtained at a first sampling immediately after a time has elapsed between the edges of the successive pulses, a formula for calculating a state estimate is used that is different from a formula used when the observed rotation speed is obtained at a first sampling immediately after a time has elapsed between the edges of the successive pulses, and a state estimate that is the same as a prior state estimate is used.
13. the Kalman filter has a first processing Kalman filter mathematical model that includes the observed rotation speed as a parameter in a calculation formula for a state estimate value, and a second processing Kalman filter mathematical model that does not include the observed rotation speed as a parameter, estimating the rotational speed of the rotor using the first processing Kalman filter mathematical model if the observed rotational speed was obtained at the first sample immediately following a time lapse between edges of the successive pulses; 13. The control device for a brushless DC motor of claim 12, wherein the rotational speed of the rotor is estimated using the second processing Kalman filter mathematical model if the observed rotational speed is not obtained at the first sampling immediately following the time lapse between edges of the successive pulses.
Citation Information
Patent Citations
Operation auxiliary device for vehicle, and vehicle equipped with operation auxiliary device for vehicle
JP2005162025A
Speed detection circuit
JP2008157886A
Lens control device and its control method
JP2020091415A
Material testing machine and control method for material testing machine
JP2020169838A
Electric angle estimation method for brushless motor, and brushless motor
JP2011030371A
Cited By
Method and system for driving brushless direct current motor
CN120433638A
Method and apparatus for estimating rotational speed of brushless DC motor
JP2026075410A
Method and control device for estimating the rotational speed of a brushless DC motor
JP2026138795A
Method and control device for estimating the rotational speed of a brushless DC motor
JP7946300B2
Method and control device for estimating the rotational speed of a brushless DC motor
JP7946304B2
