WO2021056344A1 - Detection method and apparatus, control method and apparatus, power component, movable platform and storage medium - Google Patents

Detection method and apparatus, control method and apparatus, power component, movable platform and storage medium Download PDF

Info

Publication number
WO2021056344A1
WO2021056344A1 PCT/CN2019/108222 CN2019108222W WO2021056344A1 WO 2021056344 A1 WO2021056344 A1 WO 2021056344A1 CN 2019108222 W CN2019108222 W CN 2019108222W WO 2021056344 A1 WO2021056344 A1 WO 2021056344A1
Authority
WO
WIPO (PCT)
Prior art keywords
function
rotation parameter
current moment
motor
determining
Prior art date
Application number
PCT/CN2019/108222
Other languages
French (fr)
Chinese (zh)
Inventor
陈旭
杨阳
陈鸿滨
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201980032899.6A priority Critical patent/CN112956125A/en
Priority to PCT/CN2019/108222 priority patent/WO2021056344A1/en
Publication of WO2021056344A1 publication Critical patent/WO2021056344A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/06Arrangements for speed regulation of a single motor wherein the motor speed is measured and compared with a given physical value so as to adjust the motor speed

Definitions

  • This specification relates to the field of motor technology, and in particular to a detection method and device, a control method and device, a power assembly, a movable platform, and a storage medium.
  • High-precision speed position sensors are usually expensive, so low-precision speed position sensors are often used in engineering to save costs.
  • Low-precision sensors have inherent disadvantages. Taking the low-precision incremental code disc as an example, the collected original speed and position information has the following defects: low accuracy, the accuracy of the scale lines on the low-precision code disc is often very low, resulting in poor accuracy of the obtained speed and position information ; Low resolution, low precision, the number of code disc lines is small, resulting in low resolution of the position information provided; low update frequency, at low speed, the code disc reading head takes a long time to get a code disc pulse, resulting in low speed position update frequency .
  • this manual provides a detection method and device, control method and device, power assembly, movable platform and storage medium, aiming to solve the poor accuracy of speed and position information obtained by the existing motor detection method, and the speed and position update Technical problems such as low frequency.
  • this specification provides a detection method, including:
  • the objective function is optimized, and the rotation parameter at the current moment is determined.
  • this specification provides a control method, including:
  • the objective function is optimized, the rotation parameter at the current moment is determined, and the motor is controlled according to the rotation parameter at the current moment.
  • this specification provides a detection device, including one or more processors, working individually or together, for executing:
  • the objective function is optimized, and the rotation parameter at the current moment is determined.
  • this specification provides a control device, including one or more processors, working individually or together, for performing the following steps:
  • the objective function is optimized, the rotation parameter at the current moment is determined, and the motor is controlled according to the rotation parameter at the current moment.
  • this specification provides a power assembly, including:
  • the motor includes a rotor and a stator, and the rotor can rotate relative to the stator;
  • the above-mentioned detection device is used to detect the motor.
  • this specification provides a movable platform that includes a motor, the motor includes a rotor and a stator, and the rotor can rotate relative to the stator;
  • the movable platform also includes one or more processors, working individually or together, for the detection method described above.
  • this specification provides a computer-readable storage medium that stores a computer program that can be executed by a processor to implement the above detection method and/or control method.
  • the embodiment of this specification provides a detection method and device, control method and device, power assembly, movable platform and storage medium.
  • the rotation parameter determines the objective function of the rotation parameter at the current moment, and optimizes the objective function to determine the rotation parameter of the motor at the current moment.
  • the more accurate electrical position and electrical speed information provided by the measured value information can be used to make the detection more accurate; and because the sampling frequency of the measured value of the motor is higher, the motor rotation parameters can be updated at a higher frequency. Ensure that the motor responds in a timely manner.
  • this method can use information other than the speed and position sensor information, such as measured value information for the calculation of rotation parameters such as the speed and position of the motor, the motor to which the detection method is applied may not include sensors, or include sensors with lower accuracy. , Or even if the speed and position sensor of the motor fails, the detection method can continue to calculate the rotation parameters to ensure that the motor can operate normally.
  • FIG. 1 is a schematic flowchart of a detection method provided by an embodiment of this specification
  • FIG. 2 is a schematic diagram of a sub-flow of an embodiment of determining an objective function in FIG. 1;
  • FIG. 3 is a schematic diagram of a sub-flow of an embodiment of determining a second function in FIG. 2;
  • FIG. 4 is a schematic diagram of a sub-flow of another implementation manner for determining a second function in FIG. 2;
  • FIG. 5 is a schematic diagram of a sub-flow of another embodiment for determining a second function in FIG. 2;
  • FIG. 6 is a schematic flowchart of a control method provided by an embodiment of this specification.
  • FIG. 7 is a schematic block diagram of a detection device according to an embodiment of the present specification.
  • Fig. 8 is a schematic block diagram of a control device according to an embodiment of the present specification.
  • Fig. 9 is a schematic block diagram of a power assembly according to an embodiment of the present specification.
  • Fig. 10 is a schematic block diagram of a movable platform provided by an embodiment of the present specification.
  • FIG. 1 is a schematic flowchart of a detection method provided by an embodiment of this specification.
  • the exemplary detection method can be used in the detection device to realize the process of detecting the rotation parameters of the motor, such as the rotation speed, the rotor position, and the like.
  • the drive control of the motor can be further realized according to the detected rotation parameters and/or the detection of some motions can be realized according to the detected rotation parameters, such as the movement of the pan-tilt axis driven by the motor. Steering angle etc.
  • the motor may be a permanent magnet synchronous motor, an induction motor, or the like.
  • the specific permanent magnet synchronous motor may be a permanent magnet synchronous motor with salient polarity or a permanent magnet synchronous motor without salient polarity, for example, it may be a surface mount permanent magnet synchronous motor.
  • the detection method of this embodiment includes step S110 to step S130.
  • some operating parameters of the motor can be measured when the motor is running, such as measuring the terminal voltage and winding current of the motor.
  • operating parameters that can characterize the motor may also be determined according to the measured operating parameters, such as determining the back electromotive force information, power consumption, output torque, etc. of the motor.
  • the measured value information includes information that can be directly measured and/or information that can be determined according to a known formula based on the measured information.
  • the determining the measured value information of the motor at the current moment includes: determining the back-EMF information of the motor at the current moment.
  • Back-EMF information can include information about motor speed and motor position. For example, when the motor rotates at different speeds or the position of the rotor is different, the corresponding back electromotive force is also different.
  • ⁇ -axis back EMF and ⁇ -axis back EMF of the motor can more accurately reflect the information of motor speed and motor position.
  • the determining the measured value information of the motor at the current moment includes: determining the voltage information and/or current information of the motor at the current moment.
  • the corresponding voltage information and current information will also be different, so the voltage information and/or current information can also reflect the information of the motor speed and the motor position.
  • the determining the back-EMF information of the motor at the current moment includes: acquiring the voltage information and current information of the motor at the current moment, and determining the back-EMF information of the motor at the current moment according to the voltage information and the current information.
  • Electromotive force information For example, determine the ⁇ -axis back EMF and ⁇ -axis back EMF at the current moment.
  • EMF ⁇ represents the ⁇ -axis back EMF at the current moment
  • EMF ⁇ represents the ⁇ -axis back EMF at the current moment.
  • the back EMF at the current moment is determined according to the following formula:
  • v ⁇ represents the ⁇ -axis voltage
  • v ⁇ represents the ⁇ -axis voltage
  • i ⁇ represents the ⁇ -axis current
  • i ⁇ represents the ⁇ -axis current
  • L d represents the d-axis inductance
  • L q represents the q-axis inductance
  • S120 Determine an objective function of the rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor.
  • the historical rotation parameters of the motor include: the electrical rotor position ⁇ n-1 , the rotor electrical speed ⁇ n-1 , and the rotor electrical acceleration ⁇ n-1 at the previous moment, such as at time n-1. At least one of.
  • the electrical position of the rotor, the electrical speed of the rotor, and the electrical acceleration of the rotor may be obtained by measurement or calculation, for example, optimized and determined according to the objective function.
  • the electrical position of the rotor, the electrical speed of the rotor, the electrical acceleration of the rotor, etc. may be determined by at least one of a code disk, a switch Hall, a linear Hall, and a resolver.
  • the historical rotation parameters of the motor include the measured value of the electrical position of the rotor at the previous moment The measured value of the rotor electrical speed at the previous moment And the measured value of the electrical acceleration of the rotor at the previous moment
  • the measured value of the electrical position of the rotor at the initial moment is determined by at least one of the encoder, the switch hall, the linear hall, and the resolver. Measured value of rotor electrical speed And the measured value of the electrical acceleration of the rotor
  • the electrical position of the rotor and the electrical speed of the rotor at the previous time are the rotation parameters determined by the optimization of the detection method of the embodiment of the present specification according to the objective function in the previous detection period.
  • the historical rotation parameters of the motor include the estimated value of the electrical position of the rotor at the previous moment And the measured value of the rotor electrical speed at the previous moment
  • the electrical acceleration of the rotor may be calculated after the torque output value of the motor is determined at each moment.
  • the measured value information such as the ⁇ -axis back EMF and the ⁇ -axis back EMF are known quantities
  • the historical rotation parameters of the motor such as the electrical position of the rotor at the previous time, the electrical speed of the rotor
  • the electrical acceleration of the rotor is also a known quantity. Therefore, there is known information (M, ⁇ n-1 , ⁇ n-1 , ⁇ n-1 ), where M represents the measurement value information at the current moment. For example, there are:
  • the determining the objective function of the rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor includes: in the known (M, ⁇ n-1 , ⁇ n-1 , ⁇ n In the case of -1), the most probable value of the rotation parameter at the current moment, such as the moment n, is obtained. For example, obtain the electrical rotor position ⁇ n and the rotor electrical speed ⁇ n of the motor at time n. It is understandable that ⁇ n and ⁇ n need to be taken so that the objective function can obtain the extreme value.
  • the objective function represents the corresponding probability that the rotor electrical position ⁇ n and the rotor electrical speed ⁇ n are different values when the conditions (M, ⁇ n-1 , ⁇ n-1 , ⁇ n-1) have occurred.
  • the objective function can be expressed as:
  • the superscript T of M represents the transposition of the matrix M
  • p() represents the objective function, for example, the conditional probability density function.
  • the objective function represents the likelihood of occurrence of (M, ⁇ n-1 , ⁇ n-1 , ⁇ n-1 ) when the rotor electrical position ⁇ n and the rotor electrical speed ⁇ n are different values.
  • the objective function can be expressed as:
  • p() represents the objective function, such as the likelihood function.
  • the objective function may also be expressed as an expected function of the sum of absolute values of errors or an expected function of the sum of squares of errors.
  • the objective function further includes function parameters for constraining the relationship between the measured value information, the historical rotation parameters of the motor, and the current rotation parameters.
  • the function parameters of the objective function may be derived from the physical model of the motor and/or the measured value information and the rotation parameters at different moments may be obtained as samples during the actual operation of the motor, and then the function parameters of the objective function may be determined according to the samples.
  • the objective function is optimized through linear programming, quadratic programming, or nonlinear programming to obtain the optimal estimated value of the rotation parameter at the current moment, and the optimal estimated value is taken as the value of the rotation parameter at the current moment.
  • the objective function is optimized to determine the electrical position of the rotor at the current moment and/or the electrical speed of the rotor at the current moment.
  • the electrical position of the rotor ⁇ n takes the value
  • the electrical speed of the rotor ⁇ n is taken as The conditional probability of is the largest, if p( ⁇ n , ⁇ n
  • the electrical position of the rotor at the current moment and the electrical speed of the rotor at the current moment are determined according to the following formula:
  • the electrical position of the rotor ⁇ n takes the value
  • the electrical speed of the rotor ⁇ n is taken as
  • (M, ⁇ n-1 , ⁇ n-1 , ⁇ n-1 ) has the greatest likelihood of occurrence, such as p(M T , ⁇ n-1 , ⁇ n-1 , ⁇ n-1
  • the optimal estimation Assign the value of ⁇ (n+1)-1 and ⁇ (n+1)-1 then assign the value of n+1 to n, and then return to step S110 to step S130.
  • step S120 determines the objective function of the rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor, including step S121 to step S123.
  • S121 Determine a first function on the current rotation parameter at the current moment according to the historical rotation parameter of the motor.
  • M T, ⁇ n-1, ⁇ n-1, ⁇ n-1) can be represented by the following formula:
  • p prior corresponds to the first function of the historical rotation parameter
  • p post is the second function corresponding to the measured value information
  • represents a constant, and its value does not change with the change of ⁇ n and ⁇ n.
  • the first function of the electrical position of the rotor at the current moment and/or the electrical speed of the rotor at the current moment is determined according to the historical rotation parameters.
  • the first function includes a conditional probability density function, which indicates that the electrical position of the rotor ⁇ n and the electrical speed of the rotor ⁇ n are different under the condition that ⁇ n-1 , ⁇ n-1 , and ⁇ n-1 have been determined at the current time. The corresponding probability of the value.
  • the first function can be expressed as:
  • p prior p( ⁇ n , ⁇ n
  • the prior probability density p prior of the rotation speed and position of the current cycle is determined according to the acceleration, rotation speed and position of the motor in the previous cycle.
  • the first function may also include a likelihood function, an expected function of the sum of absolute values of errors, or an expected function of the sum of squares of errors, and the like.
  • the first function of the rotation parameter at the current moment is determined according to the historical rotation parameter.
  • the prior probability model includes function parameters for constraining the relationship between the historical rotation parameters of the motor and the current rotation parameters.
  • the function parameters of the prior probability model can be derived according to the physical model of the motor and/or the rotation parameters obtained at different times during the actual operation of the motor are used as samples, and then the function parameters of the prior probability model can be determined according to the samples to obtain the preset Prior probability model.
  • the prior probability model includes a normal distribution model.
  • the value of the rotor electrical position ⁇ n at the current moment conforms to the normal distribution of the first expected value
  • the rotor electrical speed at the current moment The value of ⁇ n conforms to the normal distribution of the second expected value.
  • the first expected value can be determined according to ⁇ n-1 and ⁇ n-1
  • the second expected value can be determined according to ⁇ n-1 .
  • the parameters of the prior probability model at the current moment are determined according to the historical rotation parameters, and the first function on the rotation parameters at the current moment is obtained. That is, the historical rotation parameters are substituted into the prior probability model whose function parameters have been determined, and the first function of the rotation parameters at the current moment is obtained.
  • S122 Determine a second function of the rotation parameter at the current moment according to the measured value information.
  • the second function of the electrical position of the rotor at the current time and/or the electrical speed of the rotor at the current time is determined according to the measured value information at the current time.
  • the measured value information at the current moment is M.
  • the second function includes a conditional probability density function, which represents the conditional probability that the electrical position of the rotor is ⁇ n and the electrical speed of the rotor is ⁇ n under the condition that the measured value information at the current moment is M.
  • the second function can be expressed as:
  • p post p(M T
  • ⁇ -axis back EMF of the motor at the current moment and ⁇ -axis back EMF Determine the posterior probability density p post of the rotation speed and position of the current period.
  • the determining the second function of the rotation parameter at the current time according to the back-EMF information of the motor at the current time includes step S1221 to step S1223.
  • the first conditional probability density function is
  • S1222 Determine a second conditional probability density function related to the rotation parameter at the current time according to the ⁇ -axis back electromotive force of the motor at the current time.
  • the second conditional probability density function is
  • the second function of the rotation parameter at the current moment is determined according to the product of the first conditional probability density function and the second conditional probability density function.
  • the second function may also include a likelihood function, an expected function of the sum of absolute values of errors, or an expected function of the sum of squares of errors.
  • the second function of the rotation parameter at the current time is determined according to the measured value of the back-EMF information of the motor at the current time.
  • the posterior probability model includes function parameters for constraining the relationship between the back electromotive force information at the current moment and the rotation parameters at the current moment of the motor.
  • the functional parameters of the posterior probability model can be derived from the physical model of the motor and/or the back-EMF information and rotation parameters obtained at different times during the actual operation of the motor can be used as samples, and then the functional parameters of the posterior probability model can be determined according to the samples. Get the preset posterior probability model.
  • the posterior probability model includes a uniform distribution model. For example, when the current back-EMF information of the motor is determined, the rotor electrical position ⁇ n at the current time has the same probability to obtain the corresponding value within the value range, and the current rotor electrical speed ⁇ n has the same probability to obtain the value within the value range. The corresponding value.
  • the parameters of the posterior probability model at the current time are determined according to the back-EMF information at the current time, and the second function of the rotation parameter at the current time is obtained. That is, the back-EMF information is substituted into the posterior probability model whose function parameters have been determined, and the second function of the rotation parameters at the current moment is obtained.
  • Combining the first function corresponding to the historical rotation parameter and the second function corresponding to the measured value information can obtain the target function of the current rotation parameter, and the rotation parameter determined according to the target function is more accurate.
  • the objective function with respect to the rotation parameter at the current moment is determined according to the product of the first function and the second function.
  • the objective function can be expressed as: ⁇ p post p prior .
  • the motor may not include devices capable of determining the measured value of the rotation parameter, such as an encoder, a switch Hall, a linear Hall, and a resolver, and the rotation parameter of the motor at each time can be determined according to the aforementioned detection method.
  • the higher frequency posterior update of the rotation parameters can be achieved based on the measured value information with a higher sampling rate such as back electromotive force, voltage information, and current information.
  • the information of ⁇ back-EMF and ⁇ -axis back-EMF can be collected in every current control cycle, so as to ensure that the speed and position information of each current control cycle can be updated.
  • the measured value of the rotation parameter may be determined by at least one of a code wheel, a switch Hall, a linear Hall, and a resolver. Therefore, the objective function can be updated posteriorly according to the measured value of the rotation parameter, and the accuracy of the motor rotation parameter detection can be improved.
  • the determining the measured value information of the motor at the current moment includes: determining the measured value of the rotation parameter.
  • the measured value of the rotation parameter is determined by at least one of a code wheel, a switch Hall, a linear Hall, and a resolver.
  • the measured value of the electrical position of the rotor at a certain moment And/or the measured value of the electrical speed of the rotor
  • M represents the measurement value information at the current moment, including:
  • an objective function about the current rotation parameter can be determined according to the measured value information M and the historical rotation parameter of the motor, and the objective function can be optimized to determine the current rotation parameter.
  • the determining the second function of the rotation parameter at the current moment according to the measured value M of the rotation parameter includes step S1224 to step S1226.
  • the third conditional probability density function is
  • the fourth conditional probability density function is
  • the second function can be expressed as:
  • each current control cycle can collect back-EMF, voltage information, current information and other high-sampling measurement value information. In part of the current control cycle, it can also pass code disk, switch hall, linear At least one of the Hall and the resolver collects the measured value of the rotation parameter.
  • information such as back electromotive force, voltage information, current information, etc. is collected in each current control cycle, and the speed position sensor is queried whether there is a new rotor electrical position and/or rotor electrical speed return.
  • the measured value information at the current moment includes the ⁇ -axis back electromotive force And ⁇ -axis back EMF If the electrical position of the rotor and the electrical speed of the rotor return in the current cycle, the measured value information at the current time includes the ⁇ -axis back EMF And ⁇ -axis back EMF And the newly added measurement value of the rotor electrical position And/or the measured value of the electrical speed of the rotor
  • the determining the measured value information of the motor at the current moment includes determining the measured value of the electrical position of the rotor and the measured value of the electrical rotational speed of the rotor.
  • n determine the ⁇ -axis back EMF of the motor at the current time And ⁇ -axis back EMF Also collected the new measurement value of the rotor electrical position And/or the measured value of the electrical speed of the rotor
  • an objective function about the rotation parameter at the current moment may be determined according to the measured value information and the historical rotation parameter of the motor, and the objective function may be optimized to determine the rotation parameter at the current moment.
  • the measured value information is the measured value of the ⁇ -axis back EMF, the ⁇ -axis back EMF, and the electrical position of the rotor And the measured value of the rotor electrical speed It is a known quantity.
  • the historical rotation parameters of the motor such as the rotor electrical position, rotor electrical speed, and rotor electrical acceleration at the previous moment, are also known quantities. Therefore, there is known information (M, ⁇ n-1 , ⁇ n-1 , ⁇ n-1 , ⁇ n-1 ).
  • the determining the objective function of the rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor includes: in the known (M, ⁇ n-1 , ⁇ n-1 , ⁇ n In the case of -1), the most probable value of the rotation parameter at the current moment, such as the moment n, is obtained. For example, obtain the electrical rotor position ⁇ n and the rotor electrical speed ⁇ n of the motor at time n. It is understandable that ⁇ n and ⁇ n need to be taken so that the objective function can obtain the extreme value.
  • the objective function can be expressed as:
  • the determining the objective function regarding the current moment rotation parameter according to the measured value information and the historical rotation parameter of the motor includes: determining the first function regarding the current moment rotation parameter according to the historical rotation parameter of the motor Determine the second function about the rotation parameter at the current moment according to the measured value information; determine the objective function about the rotation parameter at the current moment according to the first function and the second function.
  • the second function of the rotation parameter at the current moment is determined according to the back electromotive force information of the motor at the current moment and the measured value of the rotation parameter.
  • the second function includes a conditional probability density function, which represents the corresponding probability that the rotor electrical position ⁇ n and the rotor electrical speed ⁇ n are different values under the condition that the measured value information at the current moment is M.
  • the second function can be expressed as:
  • p post p(M T
  • the second function of the rotation parameter at the current moment is determined according to the back electromotive force information of the motor at the current moment and the measured value of the rotation parameter.
  • the posterior probability model includes functional parameters used to constrain the relationship between the back electromotive force information of the current moment of the motor, the measured value of the rotation parameter, and the current moment of rotation parameter.
  • the functional parameters of the posterior probability model can be derived from the physical model of the motor and/or the back-EMF information and rotation parameters obtained at different times during the actual operation of the motor can be used as samples, and then the functional parameters of the posterior probability model can be determined according to the samples. Get the preset posterior probability model.
  • the posterior probability model includes a uniform distribution model.
  • the posterior probability model is strongly related to the selected position sensor type, and the posterior probability obeys a uniform distribution.
  • the parameters of the posterior probability model at the current time are determined according to the back-EMF information at the current time and the measured values of the rotation parameters, and the second function on the rotation parameters at the current time is obtained. That is, the back-EMF information and the measured values of the rotation parameters are substituted into the posterior probability model whose function parameters have been determined, and the second function of the rotation parameters at the current moment is obtained.
  • the determination of the second function of the rotation parameter at the current moment according to the back-EMF information of the motor at the current moment and the measured value of the rotation parameter includes steps S1227 to S1229.
  • the fifth conditional probability density function can be expressed as:
  • S1228 Determine a sixth conditional probability density function related to the current rotation parameter at the current moment according to the measured value of the motor rotation parameter.
  • the sixth conditional probability density function can be expressed as:
  • the second function can be expressed as:
  • the determining the second function about the rotation parameter at the current moment according to the back-EMF information of the motor at the current moment and the measured value of the rotation parameter includes: determining the second function about the rotation parameter at the current moment according to the ⁇ -axis back-EMF of the motor at the current moment
  • the first conditional probability density function of the rotation parameter at the current moment; the second conditional probability density function about the rotation parameter at the current moment is determined according to the ⁇ -axis back electromotive force of the motor at the current moment; according to the measured value of the electrical position of the rotor Determine a third conditional probability density function related to the rotation parameter at the current moment; determine a fourth conditional probability density function related to the rotation parameter at the current moment according to the measured value of the rotor electrical speed.
  • the ⁇ -axis back EMF, ⁇ -axis back EMF, rotor electrical position, and rotor electrical speed of the motor are mutually independent, it can be based on the first conditional probability density function, the second conditional probability density function, and the third conditional probability density.
  • the product of the function and the fourth conditional probability density function determines the second function of the rotation parameter at the current moment.
  • the detection method provided by the embodiment of this specification determines the measured value information of the current moment of the motor, such as back electromotive force, determines the objective function about the current moment rotation parameters according to the measured value information and the historical rotation parameters of the motor, and optimizes the objective function to thereby Determine the current rotation parameters of the motor.
  • the more accurate electrical position and electrical speed information provided by the measured value information can be used to make the detection more accurate; and because the sampling frequency of the measured value of the motor is higher, the motor rotation parameters can be updated at a higher frequency. Ensure that the motor responds in a timely manner.
  • the motor to which the detection method is applied may not include sensors or include sensors with lower accuracy. , Or even if the speed and position sensor of the motor fails, the detection method can continue to calculate the rotation parameters to ensure that the motor can operate normally.
  • measured value information such as back electromotive force is used to ensure that the speed and position information of each current control cycle can be updated a posteriori.
  • the measured value information such as ⁇ -axis back EMF and ⁇ -axis back EMF can be collected in each current control cycle, which can ensure that the speed and position are in These time points can be updated in time.
  • the speed position sensor After determining the measured value information of the motor at the current moment, you can query whether the speed position sensor has new information returned. If the new measured value of the electrical position of the rotor and/or the measured value of the electrical speed of the rotor is obtained, the measurement value of the electrical The measured value of the electrical position and/or the measured value of the electrical rotation speed of the rotor and the measurement information such as the back electromotive force update the rotation parameters of the motor, thereby further improving the accuracy of motor detection.
  • the optimization method is used to solve the measurement problem, and the measurement problem is converted into an optimization problem by the method of optimizing the objective function, and then the motor detection problem is solved through a mature optimization method.
  • conditional probability density function is mainly selected as the confidence evaluation of the objective function. It is understandable that the objective function, the first function, the second function, etc. can also use the likelihood function, (weighted) the expected function of the absolute value of the error , (Weighted) the expected function of the sum of squares of the error, etc., as the confidence evaluation, can be convenient to express or improve the calculation efficiency.
  • FIG. 6 is a schematic flowchart of a control method provided by an embodiment of this specification.
  • control method includes step S210 to step S230.
  • S220 Determine an objective function for the rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor.
  • controlling the motor according to the rotation parameter at the current moment includes: performing vector control on the motor according to the rotation parameter at the current moment.
  • the control method provided by the embodiment of this specification determines the measured value information of the motor at the current moment, such as back electromotive force, determines the objective function about the current moment rotation parameters according to the measured value information and the historical rotation parameters of the motor, and optimizes the objective function to The rotation parameter of the motor at the current moment is determined, and the motor is controlled according to the rotation parameter at the current moment.
  • the more accurate electrical position and electrical speed information provided by the measured value information can be used to make the detection more accurate; and because the sampling frequency of the measured value of the motor is higher, the motor rotation parameters can be updated at a higher frequency. Ensure that the motor responds in a timely manner.
  • the motor to which the detection method is applied may not include sensors or include sensors with lower accuracy. , Or even if the speed and position sensor of the motor fails, the detection method can continue to calculate the rotation parameters to ensure that the motor can operate normally.
  • FIG. 7 is a schematic block diagram of a detection device 600 provided in an embodiment of this specification.
  • the detection device 600 includes a processor 601.
  • the detection device 600 includes one or more processors 601 that work individually or collectively.
  • the detection device 600 further includes a memory 602.
  • the processor 601 and the memory 602 are connected by a bus 603, and the bus 603 is, for example, an I2C (Inter-integrated Circuit) bus.
  • I2C Inter-integrated Circuit
  • the processor 601 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
  • MCU micro-controller unit
  • CPU central processing unit
  • DSP Digital Signal Processor
  • the memory 602 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
  • the processor 601 is configured to run a computer program stored in the memory 602, and implement the aforementioned detection method when the computer program is executed.
  • FIG. 8 is a schematic block diagram of a control device 700 according to an embodiment of the present specification.
  • the control device 700 includes a processor 701.
  • control device 700 includes one or more processors 701, which work individually or collectively.
  • control device 700 further includes a memory 702.
  • the processor 701 and the memory 702 are connected by a bus 703, and the bus 703 is, for example, an I2C (Inter-integrated Circuit) bus.
  • I2C Inter-integrated Circuit
  • the processor 701 may be a micro-controller unit (MCU), a central processing unit (Central Processing Unit, CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
  • MCU micro-controller unit
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the memory 702 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
  • the processor 701 is configured to run a computer program stored in the memory 702, and implement the aforementioned control method when the computer program is executed.
  • FIG. 9 is a schematic block diagram of a power assembly 800 according to an embodiment of the present specification.
  • the power assembly 800 includes a motor 810.
  • the motor 810 includes a rotor 811 and a stator 812, and the rotor 811 can rotate relative to the stator 812; the motor 810 includes an outer rotor motor and/or an inner rotor motor.
  • the power assembly 800 also includes the aforementioned detection device 600, and the detection device 600 is used to detect the motor.
  • the power assembly includes a motor and the aforementioned control device, and the control device is used to control the motor.
  • FIG. 10 is a schematic block diagram of a movable platform 900 according to an embodiment of the present specification.
  • the movable platform 900 includes a motor 810.
  • the motor 810 includes a rotor 811 and a stator 812, and the rotor 811 can rotate relative to the stator 812; the motor 810 includes an outer rotor motor and/or an inner rotor motor.
  • the movable platform 900 also includes the aforementioned detection device 600, which is used to detect the motor.
  • the movable platform includes at least one of the following: an unmanned aerial vehicle, a handheld pan/tilt, a pan/tilt cart, a robot, a mechanical arm, and the like.
  • the movable platform includes a motor and the aforementioned control device, and the control device is used to control the motor.
  • the embodiments of this specification also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes the aforementioned detection method and/or The aforementioned control method.
  • the computer-readable storage medium may be the internal storage unit of the detection device or the control device described in any of the foregoing embodiments, for example, the hard disk or memory of the detection device or the control device.
  • the computer-readable storage medium may also be an external storage device of the detection device or the control device, for example, a plug-in hard disk equipped on the detection device or the control device, a smart memory card (Smart Media Card, SMC), and a safe Digital (Secure Digital, SD) card, Flash Card (Flash Card), etc.
  • the detection device, control device, power assembly, movable platform, and computer-readable storage medium use the more accurate electrical position and electrical speed information provided by the measured value information to make the detection more accurate. High; and because the sampling frequency of the measured value of the motor is higher, the motor rotation parameters can be updated at a higher frequency to ensure that the motor responds in time. And because this method can use information other than the speed and position sensor information, such as measured value information for the calculation of the rotation parameters such as the speed and position of the motor, the motor to which the detection method is applied may not include sensors or include sensors with lower accuracy. , Or even if the speed and position sensor of the motor fails, the detection method can continue to calculate the rotation parameters to ensure that the motor can operate normally.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Electric Motors In General (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

Disclosed are a detection method and apparatus, a control method and apparatus, a power component, a movable platform and a storage medium. The detection method comprises: determining measured value information of an electric motor at the current moment (S110); determining, according to the measured value information and historical rotation parameters of the electric motor, a target function with regard to a rotation parameter at the current moment (S120); and optimizing the target function, and determining the rotation parameter at the current moment (S130).

Description

检测、控制方法和装置、动力组件、可移动平台和存储介质Detection and control method and device, power assembly, movable platform and storage medium 技术领域Technical field
本说明书涉及电机技术领域,尤其涉及一种检测方法和装置、控制方法和装置、动力组件、可移动平台和存储介质。This specification relates to the field of motor technology, and in particular to a detection method and device, a control method and device, a power assembly, a movable platform, and a storage medium.
背景技术Background technique
在永磁同步电机的矢量控制等场景中,转子的速度和位置是必须的信息。这些信息由诸如码盘,霍尔等速度位置传感器来提供。因此,这些传感器的精度直接决定了速度和位置的精度。In scenes such as vector control of permanent magnet synchronous motors, the speed and position of the rotor are necessary information. This information is provided by speed and position sensors such as encoders and Hall. Therefore, the accuracy of these sensors directly determines the accuracy of speed and position.
高精度的速度位置传感器通常价格昂贵,因此工程上为了节约成本经常使用低精度的速度位置传感器。低精度传感器有自身固有的劣势。以低精度增量式码盘为例,其采集到的原始速度位置信息有如下几点缺陷:低精度,低精度码盘上刻度线的精度往往很低,导致得到的速度位置信息精度较差;低分辨率,低精度码盘线数少,导致提供的位置信息分辨率低;低更新频率,低速下,码盘读数头需要较长时间才能得到一次码盘脉冲,导致速度位置更新频率低。High-precision speed position sensors are usually expensive, so low-precision speed position sensors are often used in engineering to save costs. Low-precision sensors have inherent disadvantages. Taking the low-precision incremental code disc as an example, the collected original speed and position information has the following defects: low accuracy, the accuracy of the scale lines on the low-precision code disc is often very low, resulting in poor accuracy of the obtained speed and position information ; Low resolution, low precision, the number of code disc lines is small, resulting in low resolution of the position information provided; low update frequency, at low speed, the code disc reading head takes a long time to get a code disc pulse, resulting in low speed position update frequency .
发明内容Summary of the invention
基于此,本说明书提供了一种检测方法和装置、控制方法和装置、动力组件、可移动平台和存储介质,旨在解决现有的电机检测方法得到的速度位置信息精度较差,速度位置更新频率低等技术问题。Based on this, this manual provides a detection method and device, control method and device, power assembly, movable platform and storage medium, aiming to solve the poor accuracy of speed and position information obtained by the existing motor detection method, and the speed and position update Technical problems such as low frequency.
第一方面,本说明书提供了一种检测方法,包括:In the first aspect, this specification provides a detection method, including:
确定电机当前时刻的测量值信息;Determine the measured value information of the motor at the current moment;
根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数;Determining an objective function for the current rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor;
对所述目标函数进行优化,确定所述当前时刻的转动参数。The objective function is optimized, and the rotation parameter at the current moment is determined.
第二方面,本说明书提供了一种控制方法,包括:In the second aspect, this specification provides a control method, including:
确定电机当前时刻的测量值信息;Determine the measured value information of the motor at the current moment;
根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数;Determining an objective function for the current rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor;
对所述目标函数进行优化,确定所述当前时刻的转动参数,并根据所述当前时刻的转动参数控制所述电机。The objective function is optimized, the rotation parameter at the current moment is determined, and the motor is controlled according to the rotation parameter at the current moment.
第三方面,本说明书提供了一种检测装置,包括一个或多个处理器,单独地或共同地工作,用于执行:In the third aspect, this specification provides a detection device, including one or more processors, working individually or together, for executing:
确定电机当前时刻的测量值信息;Determine the measured value information of the motor at the current moment;
根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数;Determining an objective function for the current rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor;
对所述目标函数进行优化,确定所述当前时刻的转动参数。The objective function is optimized, and the rotation parameter at the current moment is determined.
第四方面,本说明书提供了一种控制装置,包括一个或多个处理器,单独地或共同地工作,用于执行如下步骤:In the fourth aspect, this specification provides a control device, including one or more processors, working individually or together, for performing the following steps:
确定电机当前时刻的测量值信息;Determine the measured value information of the motor at the current moment;
根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数;Determining an objective function for the current rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor;
对所述目标函数进行优化,确定所述当前时刻的转动参数,并根据所述当前时刻的转动参数控制所述电机。The objective function is optimized, the rotation parameter at the current moment is determined, and the motor is controlled according to the rotation parameter at the current moment.
第五方面,本说明书提供了一种动力组件,包括:In the fifth aspect, this specification provides a power assembly, including:
电机,包括转子和定子,所述转子能够相对于所述定子转动;The motor includes a rotor and a stator, and the rotor can rotate relative to the stator;
上述的检测装置,用于检测所述电机。The above-mentioned detection device is used to detect the motor.
第六方面,本说明书提供了一种可移动平台,包括电机,所述电机包括转子和定子,所述转子能够相对于所述定子转动;In a sixth aspect, this specification provides a movable platform that includes a motor, the motor includes a rotor and a stator, and the rotor can rotate relative to the stator;
所述可移动平台还包括一个或多个处理器,单独地或共同地工作,用于上所述的检测方法。The movable platform also includes one or more processors, working individually or together, for the detection method described above.
第七方面,本说明书提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序可被处理器执行以实现上述检测方法和/或控制方法。In a seventh aspect, this specification provides a computer-readable storage medium that stores a computer program that can be executed by a processor to implement the above detection method and/or control method.
本说明书实施例提供了一种检测方法和装置、控制方法和装置、动力组件、可移动平台和存储介质,通过确定电机当前时刻的测量值信息,如反电动势, 根据测量值信息和电机的历史转动参数确定关于当前时刻转动参数的目标函数,并对目标函数进行优化从而确定电机当前时刻的转动参数。可以利用测量值信息提供的更为精确的电位置和电速度信息,使得检测的精确度更高;而且由于电机测量值的采样频率较高,使得电机转动参数可以以更高的频率更新,以确保电机响应及时。而且由于该方法能利用除速度位置传感器信息以外的信息,如测量值信息进行电机的速度位置等转动参数的解算,因而应用该检测方法的电机可以不包括传感器,或者包括较低精度的传感器,或者即使电机的速度位置传感器出现故障,该检测方法也可以继续进行转动参数的解算,进而确保电机可以正常运行。The embodiment of this specification provides a detection method and device, control method and device, power assembly, movable platform and storage medium. By determining the measured value information of the motor at the current moment, such as back electromotive force, according to the measured value information and the history of the motor The rotation parameter determines the objective function of the rotation parameter at the current moment, and optimizes the objective function to determine the rotation parameter of the motor at the current moment. The more accurate electrical position and electrical speed information provided by the measured value information can be used to make the detection more accurate; and because the sampling frequency of the measured value of the motor is higher, the motor rotation parameters can be updated at a higher frequency. Ensure that the motor responds in a timely manner. And because this method can use information other than the speed and position sensor information, such as measured value information for the calculation of rotation parameters such as the speed and position of the motor, the motor to which the detection method is applied may not include sensors, or include sensors with lower accuracy. , Or even if the speed and position sensor of the motor fails, the detection method can continue to calculate the rotation parameters to ensure that the motor can operate normally.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本说明书的公开内容。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the disclosure of this specification.
附图说明Description of the drawings
为了更清楚地说明本说明书实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本说明书的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of this specification more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of this specification. Ordinary technicians can obtain other drawings based on these drawings without creative work.
图1是本说明书一实施例提供的一种检测方法的流程示意图;FIG. 1 is a schematic flowchart of a detection method provided by an embodiment of this specification;
图2是图1中确定目标函数的一实施方式的子流程示意图;FIG. 2 is a schematic diagram of a sub-flow of an embodiment of determining an objective function in FIG. 1; FIG.
图3是图2中确定第二函数的一实施方式的子流程示意图;FIG. 3 is a schematic diagram of a sub-flow of an embodiment of determining a second function in FIG. 2;
图4是图2中确定第二函数的另一实施方式的子流程示意图;FIG. 4 is a schematic diagram of a sub-flow of another implementation manner for determining a second function in FIG. 2;
图5是图2中确定第二函数的又一实施方式的子流程示意图;FIG. 5 is a schematic diagram of a sub-flow of another embodiment for determining a second function in FIG. 2; FIG.
图6是本说明书一实施例提供的一种控制方法的流程示意图;FIG. 6 is a schematic flowchart of a control method provided by an embodiment of this specification;
图7是本说明书一实施例提供的一种检测装置的示意性框图;FIG. 7 is a schematic block diagram of a detection device according to an embodiment of the present specification;
图8是本说明书一实施例提供的一种控制装置的示意性框图;Fig. 8 is a schematic block diagram of a control device according to an embodiment of the present specification;
图9是本说明书一实施例提供的一种动力组件的示意性框图;Fig. 9 is a schematic block diagram of a power assembly according to an embodiment of the present specification;
图10是本说明书一实施例提供的一种可移动平台的示意性框图。Fig. 10 is a schematic block diagram of a movable platform provided by an embodiment of the present specification.
具体实施方式detailed description
下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本说明书保护的范围。The technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this specification.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowchart shown in the drawings is only an example, and does not necessarily include all contents and operations/steps, nor does it have to be executed in the described order. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to actual conditions.
下面结合附图,对本说明书的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of this specification will be described in detail with reference to the drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
请参阅图1,图1是本说明书一实施例提供的一种检测方法的流程示意图。Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a detection method provided by an embodiment of this specification.
示例性的检测方法可以用于检测装置,用于实现对电机的转动参数,如转速、转子位置等的检测等过程。The exemplary detection method can be used in the detection device to realize the process of detecting the rotation parameters of the motor, such as the rotation speed, the rotor position, and the like.
示例性的,根据检测得到的电机的转动参数,可以进一步根据检测的转动参数实现对电机的驱动控制和/或根据检测的转动参数实现对一些运动量的检测,如由电机驱动的云台轴的转向角等。Exemplarily, according to the detected rotation parameters of the motor, the drive control of the motor can be further realized according to the detected rotation parameters and/or the detection of some motions can be realized according to the detected rotation parameters, such as the movement of the pan-tilt axis driven by the motor. Steering angle etc.
示例性的,电机可以为永磁同步电机、感应电机等。具体的永磁同步电机可以为有凸极性的永磁同步电机或者为无凸极性的永磁同步电机,例如可以为表贴式永磁同步电机。Exemplarily, the motor may be a permanent magnet synchronous motor, an induction motor, or the like. The specific permanent magnet synchronous motor may be a permanent magnet synchronous motor with salient polarity or a permanent magnet synchronous motor without salient polarity, for example, it may be a surface mount permanent magnet synchronous motor.
如图1所示,本实施例的检测方法包括步骤S110至步骤S130。As shown in FIG. 1, the detection method of this embodiment includes step S110 to step S130.
S110、确定电机当前时刻的测量值信息。S110. Determine the measured value information of the motor at the current moment.
示例性的,可以在电机运行时对电机的一些运行参数进行测量,例如测量电机的端电压、绕组电流等。Exemplarily, some operating parameters of the motor can be measured when the motor is running, such as measuring the terminal voltage and winding current of the motor.
示例性的,还可以根据测量的运行参数确定可以表征电机的其他类型的运行参数,如确定电机的反电动势信息、消耗功率、输出转矩等。Exemplarily, other types of operating parameters that can characterize the motor may also be determined according to the measured operating parameters, such as determining the back electromotive force information, power consumption, output torque, etc. of the motor.
可以理解的,测量值信息包括可以直接测量的信息和/或可以根据测量的信息根据已知公式确定的信息。It can be understood that the measured value information includes information that can be directly measured and/or information that can be determined according to a known formula based on the measured information.
在一些实施方式中,所述确定电机当前时刻的测量值信息,包括:确定所述电机当前时刻的反电动势信息。In some embodiments, the determining the measured value information of the motor at the current moment includes: determining the back-EMF information of the motor at the current moment.
反电动势信息中可以包括电机速度和电机位置的信息。例如电机在不同的转速或者转子位置不同的时候,对应的反电动势也不同。Back-EMF information can include information about motor speed and motor position. For example, when the motor rotates at different speeds or the position of the rotor is different, the corresponding back electromotive force is also different.
示例性的,确定所述电机当前时刻的α轴反电动势和β轴反电动势。α轴反电动势和β轴反电动势可以更精确的体现电机速度和电机位置的信息。Exemplarily, determine the α-axis back EMF and β-axis back EMF of the motor at the current moment. α-axis back-EMF and β-axis back-EMF can more accurately reflect the information of motor speed and motor position.
在一些实施方式中,所述确定电机当前时刻的测量值信息,包括:确定所述电机当前时刻的电压信息和/或电流信息。In some embodiments, the determining the measured value information of the motor at the current moment includes: determining the voltage information and/or current information of the motor at the current moment.
电机在不同的转速或者转子位置不同的时候,对应的电压信息、电流信息也会存在差异,因此电压信息和/或电流信息也可以体现电机速度和电机位置的信息。When the motor has different speeds or different rotor positions, the corresponding voltage information and current information will also be different, so the voltage information and/or current information can also reflect the information of the motor speed and the motor position.
示例性的,所述确定所述电机当前时刻的反电动势信息,包括:获取所述电机当前时刻的电压信息和电流信息,根据所述电压信息和所述电流信息确定所述电机当前时刻的反电动势信息。例如,确定当前时刻的α轴反电动势和β轴反电动势。Exemplarily, the determining the back-EMF information of the motor at the current moment includes: acquiring the voltage information and current information of the motor at the current moment, and determining the back-EMF information of the motor at the current moment according to the voltage information and the current information. Electromotive force information. For example, determine the α-axis back EMF and β-axis back EMF at the current moment.
示例性的,以EMF α表示当前时刻的α轴反电动势,以EMF β表示当前时刻的β轴反电动势,
Figure PCTCN2019108222-appb-000001
表示α轴反电动势的测量值,
Figure PCTCN2019108222-appb-000002
表示β轴反电动势的测量值。
Exemplarily, EMF α represents the α-axis back EMF at the current moment, and EMF β represents the β-axis back EMF at the current moment.
Figure PCTCN2019108222-appb-000001
Represents the measured value of the α-axis back EMF,
Figure PCTCN2019108222-appb-000002
Indicates the measured value of the β-axis back EMF.
示例性的,若电机为无凸极性电机,如为表贴式永磁同步电机,则根据下式确定当前时刻的反电动势:Exemplarily, if the motor is a salient-free motor, such as a surface-mounted permanent magnet synchronous motor, the back EMF at the current moment is determined according to the following formula:
Figure PCTCN2019108222-appb-000003
Figure PCTCN2019108222-appb-000003
其中,v α表示α轴电压,v β表示β轴电压,i α表示α轴电流,i β表示β轴电流,且有: Among them, v α represents the α-axis voltage, v β represents the β-axis voltage, i α represents the α-axis current, and i β represents the β-axis current, and there are:
Figure PCTCN2019108222-appb-000004
Figure PCTCN2019108222-appb-000004
其中,L d:表示d轴电感,L q:表示q轴电感。 Among them, L d: represents the d-axis inductance, and L q: represents the q-axis inductance.
S120、根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数。S120: Determine an objective function of the rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor.
在当前时刻之前,电机的一些参数已经测量得到或者根据数据处理确定,这些参数为电机的历史转动参数。Before the current moment, some parameters of the motor have been measured or determined according to data processing, and these parameters are the historical rotation parameters of the motor.
示例性的,所述电机的历史转动参数包括:所述电机在前一时刻,如n-1时刻的转子电位置θ n-1、转子电转速ω n-1、转子电加速度β n-1中的至少一项。 Exemplarily, the historical rotation parameters of the motor include: the electrical rotor position θ n-1 , the rotor electrical speed ω n-1 , and the rotor electrical acceleration β n-1 at the previous moment, such as at time n-1. At least one of.
示例性的,转子电位置、转子电转速、转子电加速度可以是测量得到的, 也可以是计算得到的,例如为根据目标函数优化确定的。Exemplarily, the electrical position of the rotor, the electrical speed of the rotor, and the electrical acceleration of the rotor may be obtained by measurement or calculation, for example, optimized and determined according to the objective function.
示例性的,可以通过码盘、开关霍尔、线性霍尔、旋转变压器中的至少一种确定转子电位置、转子电转速、转子电加速度等。例如,所述电机的历史转动参数包括前一时刻转子电位置的测量值
Figure PCTCN2019108222-appb-000005
前一时刻转子电转速的测量值
Figure PCTCN2019108222-appb-000006
和前一时刻转子电加速度的测量值
Figure PCTCN2019108222-appb-000007
例如,在电机启动时,通过码盘、开关霍尔、线性霍尔、旋转变压器中的至少一种确定初始时刻转子电位置的测量值
Figure PCTCN2019108222-appb-000008
转子电转速的测量值
Figure PCTCN2019108222-appb-000009
和转子电加速度的测量值
Figure PCTCN2019108222-appb-000010
Exemplarily, the electrical position of the rotor, the electrical speed of the rotor, the electrical acceleration of the rotor, etc. may be determined by at least one of a code disk, a switch Hall, a linear Hall, and a resolver. For example, the historical rotation parameters of the motor include the measured value of the electrical position of the rotor at the previous moment
Figure PCTCN2019108222-appb-000005
The measured value of the rotor electrical speed at the previous moment
Figure PCTCN2019108222-appb-000006
And the measured value of the electrical acceleration of the rotor at the previous moment
Figure PCTCN2019108222-appb-000007
For example, when the motor is started, the measured value of the electrical position of the rotor at the initial moment is determined by at least one of the encoder, the switch hall, the linear hall, and the resolver.
Figure PCTCN2019108222-appb-000008
Measured value of rotor electrical speed
Figure PCTCN2019108222-appb-000009
And the measured value of the electrical acceleration of the rotor
Figure PCTCN2019108222-appb-000010
示例性的,前一时刻的转子电位置、转子电转速为上一检测周期本说明书实施例的检测方法根据目标函数进行优化所确定的转动参数。例如,所述电机的历史转动参数包括前一时刻转子电位置的估计值
Figure PCTCN2019108222-appb-000011
和前一时刻转子电转速的测量值
Figure PCTCN2019108222-appb-000012
Exemplarily, the electrical position of the rotor and the electrical speed of the rotor at the previous time are the rotation parameters determined by the optimization of the detection method of the embodiment of the present specification according to the objective function in the previous detection period. For example, the historical rotation parameters of the motor include the estimated value of the electrical position of the rotor at the previous moment
Figure PCTCN2019108222-appb-000011
And the measured value of the rotor electrical speed at the previous moment
Figure PCTCN2019108222-appb-000012
示例性的,转子电加速度可以在各时刻电机扭矩输出值确定后计算得出。Exemplarily, the electrical acceleration of the rotor may be calculated after the torque output value of the motor is determined at each moment.
可以理解的,在当前时刻开始时,所述测量值信息,如α轴反电动势和β轴反电动势是已知量,电机的历史转动参数,如前一时刻的转子电位置、转子电转速、转子电加速度也是已知量。因此有已知信息(M,θ n-1,ω n-1,β n-1),其中M表示当前时刻的测量值信息。例如,有: It can be understood that at the beginning of the current moment, the measured value information, such as the α-axis back EMF and the β-axis back EMF are known quantities, and the historical rotation parameters of the motor, such as the electrical position of the rotor at the previous time, the electrical speed of the rotor, The electrical acceleration of the rotor is also a known quantity. Therefore, there is known information (M, θ n-1 , ω n-1 , β n-1 ), where M represents the measurement value information at the current moment. For example, there are:
Figure PCTCN2019108222-appb-000013
Figure PCTCN2019108222-appb-000013
示例性的,所述根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数,包括:在已知(M,θ n-1,ω n-1,β n-1)的情况下,求取当前时刻,如n时刻的转动参数的最有可能的值。例如求取n时刻电机的转子电位置θ n、转子电转速ω n。可以理解的,需要求取θ n和ω n,使得目标函数可以取得极值。 Exemplarily, the determining the objective function of the rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor includes: in the known (M, θ n-1 , ω n-1 , β n In the case of -1), the most probable value of the rotation parameter at the current moment, such as the moment n, is obtained. For example, obtain the electrical rotor position θ n and the rotor electrical speed ω n of the motor at time n. It is understandable that θ n and ω n need to be taken so that the objective function can obtain the extreme value.
例如,目标函数表示在条件(M,θ n-1,ω n-1,β n-1)已经发生的情况下,转子电位置θ n、转子电转速ω n为不同数值的相应概率。 For example, the objective function represents the corresponding probability that the rotor electrical position θ n and the rotor electrical speed ω n are different values when the conditions (M, θ n-1 , ω n-1 , β n-1) have occurred.
具体的,目标函数可以表示为:Specifically, the objective function can be expressed as:
p(θ nn|M Tn-1n-1n-1) p(θ nn |M Tn-1n-1n-1 )
其中,M的上标T表示对矩阵M的转置,p()表示目标函数,例如为条件概率密度函数。Among them, the superscript T of M represents the transposition of the matrix M, and p() represents the objective function, for example, the conditional probability density function.
例如,目标函数表示转子电位置θ n、转子电转速ω n为不同数值时, (M,θ n-1,ω n-1,β n-1)发生的似然性。 For example, the objective function represents the likelihood of occurrence of (M, θ n-1 , ω n-1 , β n-1 ) when the rotor electrical position θ n and the rotor electrical speed ω n are different values.
具体的,目标函数可以表示为:Specifically, the objective function can be expressed as:
p(M Tn-1n-1n-1nn) p(M Tn-1n-1n-1nn )
其中,p()表示目标函数,例如为似然函数。Among them, p() represents the objective function, such as the likelihood function.
示例性的,除了条件概率密度函数、似然函数,目标函数还可以表示为误差绝对值和的期望函数或者误差平方和的期望函数等。Exemplarily, in addition to the conditional probability density function and the likelihood function, the objective function may also be expressed as an expected function of the sum of absolute values of errors or an expected function of the sum of squares of errors.
S130、对所述目标函数进行优化,确定所述当前时刻的转动参数。S130. The objective function is optimized, and the rotation parameter at the current moment is determined.
示例性的,目标函数还包括用于约束测量值信息、电机的历史转动参数和当前时刻的转动参数之间关系的函数参数。Exemplarily, the objective function further includes function parameters for constraining the relationship between the measured value information, the historical rotation parameters of the motor, and the current rotation parameters.
示例性的,可以通过电机物理模型推导目标函数的函数参数和/或通过在电机实际运行过程中获取测量值信息、不同时刻的转动参数作为样本,然后根据样本确定目标函数的函数参数。Exemplarily, the function parameters of the objective function may be derived from the physical model of the motor and/or the measured value information and the rotation parameters at different moments may be obtained as samples during the actual operation of the motor, and then the function parameters of the objective function may be determined according to the samples.
示例性的,通过线性规划、二次型规划或者非线性规划对所述目标函数进行优化,得到当前时刻的转动参数的最优估计值,将最优估计值作为当前时刻的转动参数的数值。Exemplarily, the objective function is optimized through linear programming, quadratic programming, or nonlinear programming to obtain the optimal estimated value of the rotation parameter at the current moment, and the optimal estimated value is taken as the value of the rotation parameter at the current moment.
示例性的,对所述目标函数进行优化,确定当前时刻的转子电位置和/或当前时刻的转子电转速。Exemplarily, the objective function is optimized to determine the electrical position of the rotor at the current moment and/or the electrical speed of the rotor at the current moment.
例如,若在(M,θ n-1,ω n-1,β n-1)的条件下,转子电位置θ n取值为
Figure PCTCN2019108222-appb-000014
且转子电转速ω n取值为
Figure PCTCN2019108222-appb-000015
的条件概率最大,如p(θ nn|M Tn-1n-1n-1)最大,则将
Figure PCTCN2019108222-appb-000016
确定为当前时刻的转子电位置,将
Figure PCTCN2019108222-appb-000017
确定为当前时刻的转子电转速。
For example, if under the condition of (M, θ n-1 , ω n-1 , β n-1 ), the electrical position of the rotor θ n takes the value
Figure PCTCN2019108222-appb-000014
And the electrical speed of the rotor ω n is taken as
Figure PCTCN2019108222-appb-000015
The conditional probability of is the largest, if p(θ nn |M Tn-1n-1n-1 ) is the largest, then
Figure PCTCN2019108222-appb-000016
Determine the electrical position of the rotor at the current moment, and set
Figure PCTCN2019108222-appb-000017
Determine the electrical speed of the rotor at the current moment.
示例性的,根据下式确定当前时刻的转子电位置和当前时刻的转子电转速:Exemplarily, the electrical position of the rotor at the current moment and the electrical speed of the rotor at the current moment are determined according to the following formula:
Figure PCTCN2019108222-appb-000018
Figure PCTCN2019108222-appb-000018
例如,在转子电位置θ n取值为
Figure PCTCN2019108222-appb-000019
且转子电转速ω n取值为
Figure PCTCN2019108222-appb-000020
时,(M,θ n-1,ω n-1,β n-1)发生的似然性最大,如p(M Tn-1n-1n-1nn)最大,则将
Figure PCTCN2019108222-appb-000021
确定为当前时刻的转子电位置,将
Figure PCTCN2019108222-appb-000022
确定为当前时刻的转子电转速。
For example, in the electrical position of the rotor θ n takes the value
Figure PCTCN2019108222-appb-000019
And the electrical speed of the rotor ω n is taken as
Figure PCTCN2019108222-appb-000020
When (M, θ n-1 , ω n-1 , β n-1 ) has the greatest likelihood of occurrence, such as p(M Tn-1n-1n-1nn ) is the largest, then
Figure PCTCN2019108222-appb-000021
Determine the electrical position of the rotor at the current moment, and set
Figure PCTCN2019108222-appb-000022
Determine the electrical speed of the rotor at the current moment.
示例性的,在n+1时刻,将最优估计
Figure PCTCN2019108222-appb-000023
的值赋给θ (n+1)-1、ω (n+1)-1,然后将n+1的值赋给n,并返回执行步骤S110至步骤S130。
Exemplarily, at time n+1, the optimal estimation
Figure PCTCN2019108222-appb-000023
Assign the value of θ (n+1)-1 and ω (n+1)-1 , then assign the value of n+1 to n, and then return to step S110 to step S130.
在一些实施方式中,如图2所示,步骤S120根据所述测量值信息和所述电 机的历史转动参数确定关于当前时刻转动参数的目标函数,包括步骤S121至步骤S123。In some embodiments, as shown in Fig. 2, step S120 determines the objective function of the rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor, including step S121 to step S123.
S121、根据所述电机的历史转动参数确定关于当前时刻转动参数的第一函数。S121: Determine a first function on the current rotation parameter at the current moment according to the historical rotation parameter of the motor.
在一些实施方式中,目标函数p(θ nn|M Tn-1n-1n-1)可以表示为下式: In some embodiments, the target function p (θ n, ω n | M T, θ n-1, ω n-1, β n-1) can be represented by the following formula:
Figure PCTCN2019108222-appb-000024
Figure PCTCN2019108222-appb-000024
由于M T、θ n-1、ω n-1、β n-1为确定的量,上式可以进一步表示如下: Since M T , θ n-1 , ω n-1 , and β n-1 are definite quantities, the above formula can be further expressed as follows:
ηp(M Tnn)×p(θ nnn-1n-1n-1)=ηp postp prior ηp(M Tnn )×p(θ nnn-1n-1n-1 )=ηp post p prior
其中,p prior对应于历史转动参数的第一函数,p post为对应于测量值信息的第二函数,η表示常数,其值不会随着θ nn的变化而变化。 Among them, p prior corresponds to the first function of the historical rotation parameter, p post is the second function corresponding to the measured value information, η represents a constant, and its value does not change with the change of θ n and ω n.
示例性的,根据所述历史转动参数确定关于当前时刻的转子电位置和/或当前时刻的转子电转速的第一函数。Exemplarily, the first function of the electrical position of the rotor at the current moment and/or the electrical speed of the rotor at the current moment is determined according to the historical rotation parameters.
示例性的,第一函数包括条件概率密度函数,表示在当前时刻θ n-1、ω n-1、β n-1已经确定的条件下,转子电位置θ n、转子电转速ω n为不同数值的相应概率。 Exemplarily, the first function includes a conditional probability density function, which indicates that the electrical position of the rotor θ n and the electrical speed of the rotor ω n are different under the condition that θ n-1 , ω n-1 , and β n-1 have been determined at the current time. The corresponding probability of the value.
具体的,第一函数可以表示为:Specifically, the first function can be expressed as:
p prior=p(θ nnn-1n-1n-1) p prior = p(θ nnn-1n-1n-1 )
例如,根据上一周期时电机的加速度、转速和位置确定当前周期的转速和位置的先验概率密度p prior For example, the prior probability density p prior of the rotation speed and position of the current cycle is determined according to the acceleration, rotation speed and position of the motor in the previous cycle.
永磁同步电机控制中,在n时刻,θ n-1、ω n-1、β n-1三者皆已经确定,故p prior在实际计算中是关于θ nn的函数,表示(θ nnn-1n-1n-1)的概率,即在θ n-1、ω n-1、β n-1已经发生了的情况下,出现θ n,ω n情况的概率。 In permanent magnet synchronous motor control, at time n, θ n-1 , ω n-1 , β n-1 have been determined, so p prior is a function of θ n , ω n in the actual calculation, which means ( θ nnn-1n-1n-1 ), that is, when θ n-1 , ω n-1 , and β n-1 have already occurred, θ n will appear , The probability of the ω n case.
在另一些实施方式中,除了条件概率密度函数,所述第一函数也可以包括似然函数、误差绝对值和的期望函数或者误差平方和的期望函数等。In other embodiments, in addition to the conditional probability density function, the first function may also include a likelihood function, an expected function of the sum of absolute values of errors, or an expected function of the sum of squares of errors, and the like.
示例性的,基于预设的先验概率模型,根据所述历史转动参数确定关于当前时刻转动参数的第一函数。Exemplarily, based on a preset prior probability model, the first function of the rotation parameter at the current moment is determined according to the historical rotation parameter.
具体的,先验概率模型包括用于约束电机的历史转动参数和当前时刻的转动参数之间关系的函数参数。Specifically, the prior probability model includes function parameters for constraining the relationship between the historical rotation parameters of the motor and the current rotation parameters.
可以根据电机物理模型推导该先验概率模型的函数参数和/或通过在电机实际运行过程中获取的不同时刻的转动参数作为样本,然后根据样本确定先验概率模型的函数参数,得到预设的先验概率模型。The function parameters of the prior probability model can be derived according to the physical model of the motor and/or the rotation parameters obtained at different times during the actual operation of the motor are used as samples, and then the function parameters of the prior probability model can be determined according to the samples to obtain the preset Prior probability model.
示例性的,所述先验概率模型包括正态分布模型。例如,在前一时刻转子电位置为θ n-1,转子电转速为ω n-1时,当前时刻转子电位置θ n的取值符合第一期望值的正态分布,且当前时刻转子电转速ω n的取值符合第二期望值的正态分布。其中第一期望值可以根据θ n-1和ω n-1确定,第二期望值可以根据ω n-1确定。 Exemplarily, the prior probability model includes a normal distribution model. For example, when the electrical position of the rotor at the previous moment is θ n-1 and the electrical speed of the rotor is ω n-1 , the value of the rotor electrical position θ n at the current moment conforms to the normal distribution of the first expected value, and the rotor electrical speed at the current moment The value of ω n conforms to the normal distribution of the second expected value. The first expected value can be determined according to θ n-1 and ω n-1 , and the second expected value can be determined according to ω n-1 .
具体的,根据所述历史转动参数确定当前时刻所述先验概率模型的参数,得到关于当前时刻转动参数的第一函数。即将历史转动参数代入函数参数已经确定的先验概率模型,得到关于当前时刻转动参数的第一函数。Specifically, the parameters of the prior probability model at the current moment are determined according to the historical rotation parameters, and the first function on the rotation parameters at the current moment is obtained. That is, the historical rotation parameters are substituted into the prior probability model whose function parameters have been determined, and the first function of the rotation parameters at the current moment is obtained.
S122、根据所述测量值信息确定关于所述当前时刻转动参数的第二函数。S122: Determine a second function of the rotation parameter at the current moment according to the measured value information.
示例性的,根据当前时刻的测量值信息确定关于当前时刻的转子电位置和/或当前时刻的转子电转速的第二函数。Exemplarily, the second function of the electrical position of the rotor at the current time and/or the electrical speed of the rotor at the current time is determined according to the measured value information at the current time.
示例性的,当前时刻的测量值信息为M。第二函数包括条件概率密度函数,表示在当前时刻的测量值信息为M的条件下,转子电位置为θ n且转子电转速为ω n的条件概率。 Exemplarily, the measured value information at the current moment is M. The second function includes a conditional probability density function, which represents the conditional probability that the electrical position of the rotor is θ n and the electrical speed of the rotor is ω n under the condition that the measured value information at the current moment is M.
具体的,第二函数可以表示为:Specifically, the second function can be expressed as:
p post=p(M Tnn) p post = p(M Tnn )
例如,根据当前时刻电机的α轴反电动势
Figure PCTCN2019108222-appb-000025
和β轴反电动势
Figure PCTCN2019108222-appb-000026
确定当前周期的转速和位置的后验概率密度p post
For example, according to the α-axis back EMF of the motor at the current moment
Figure PCTCN2019108222-appb-000025
And β-axis back EMF
Figure PCTCN2019108222-appb-000026
Determine the posterior probability density p post of the rotation speed and position of the current period.
示例性的,由于α轴反电动势、β轴反电动势之间相互独立,有:Exemplarily, since the α-axis back EMF and β-axis back EMF are independent of each other, there are:
Figure PCTCN2019108222-appb-000027
Figure PCTCN2019108222-appb-000027
在一些实施方式中,如图3所示,所述根据所述电机当前时刻的反电动势信息确定关于所述当前时刻转动参数的第二函数,包括步骤S1221至步骤S1223。In some embodiments, as shown in FIG. 3, the determining the second function of the rotation parameter at the current time according to the back-EMF information of the motor at the current time includes step S1221 to step S1223.
S1221、根据所述电机当前时刻的α轴反电动势确定关于所述当前时刻转动参数的第一条件概率密度函数。S1221. Determine a first conditional probability density function related to the rotation parameter at the current time according to the α-axis back electromotive force of the motor at the current time.
具体的,第一条件概率密度函数为
Figure PCTCN2019108222-appb-000028
Specifically, the first conditional probability density function is
Figure PCTCN2019108222-appb-000028
S1222、根据所述电机当前时刻的β轴反电动势确定关于所述当前时刻转动参数的第二条件概率密度函数。S1222: Determine a second conditional probability density function related to the rotation parameter at the current time according to the β-axis back electromotive force of the motor at the current time.
具体的,第二条件概率密度函数为
Figure PCTCN2019108222-appb-000029
Specifically, the second conditional probability density function is
Figure PCTCN2019108222-appb-000029
S1223、根据所述第一条件概率密度函数和所述第二条件概率密度函数确定关于所述当前时刻转动参数的第二函数。S1223. Determine a second function related to the rotation parameter at the current moment according to the first conditional probability density function and the second conditional probability density function.
具体的,根据第一条件概率密度函数和所述第二条件概率密度函数的乘积确定关于所述当前时刻转动参数的第二函数。Specifically, the second function of the rotation parameter at the current moment is determined according to the product of the first conditional probability density function and the second conditional probability density function.
在另一些实施方式中,除了条件概率密度函数,所述第二函数也可以包括似然函数、误差绝对值和的期望函数或者误差平方和的期望函数。In other embodiments, in addition to the conditional probability density function, the second function may also include a likelihood function, an expected function of the sum of absolute values of errors, or an expected function of the sum of squares of errors.
示例性的,基于预设的后验概率模型,根据所述电机当前时刻的反电动势信息的测量值确定关于所述当前时刻转动参数的第二函数。Exemplarily, based on a preset posterior probability model, the second function of the rotation parameter at the current time is determined according to the measured value of the back-EMF information of the motor at the current time.
具体的,后验概率模型包括用于约束电机的当前时刻的反电动势信息和当前时刻的转动参数之间关系的函数参数。Specifically, the posterior probability model includes function parameters for constraining the relationship between the back electromotive force information at the current moment and the rotation parameters at the current moment of the motor.
可以根据电机物理模型推导该后验概率模型的函数参数和/或通过在电机实际运行过程中获取的不同时刻的反电动势信息和转动参数作为样本,然后根据样本确定后验概率模型的函数参数,得到预设的后验概率模型。The functional parameters of the posterior probability model can be derived from the physical model of the motor and/or the back-EMF information and rotation parameters obtained at different times during the actual operation of the motor can be used as samples, and then the functional parameters of the posterior probability model can be determined according to the samples. Get the preset posterior probability model.
示例性的,所述后验概率模型包括均匀分布模型。例如,在电机的当前时刻的反电动势信息确定时,当前时刻转子电位置θ n有相同的概率取得取值范围内的相应值,当前时刻转子电转速ω n有相同的概率取得取值范围内的相应值。 Exemplarily, the posterior probability model includes a uniform distribution model. For example, when the current back-EMF information of the motor is determined, the rotor electrical position θ n at the current time has the same probability to obtain the corresponding value within the value range, and the current rotor electrical speed ω n has the same probability to obtain the value within the value range. The corresponding value.
具体的,根据当前时刻的反电动势信息确定当前时刻所述后验概率模型的参数,得到关于当前时刻转动参数的第二函数。即将反电动势信息代入函数参数已经确定的后验概率模型,得到关于当前时刻转动参数的第二函数。Specifically, the parameters of the posterior probability model at the current time are determined according to the back-EMF information at the current time, and the second function of the rotation parameter at the current time is obtained. That is, the back-EMF information is substituted into the posterior probability model whose function parameters have been determined, and the second function of the rotation parameters at the current moment is obtained.
S123、根据所述第一函数和所述第二函数确定所述关于当前时刻转动参数的目标函数。S123. Determine the objective function of the rotation parameter at the current moment according to the first function and the second function.
将对应于历史转动参数的第一函数以及对应于测量值信息的第二函数联合,可以得到关于当前时刻转动参数的目标函数,根据该目标函数确定的转动参数更加精确。Combining the first function corresponding to the historical rotation parameter and the second function corresponding to the measured value information can obtain the target function of the current rotation parameter, and the rotation parameter determined according to the target function is more accurate.
在一些实施方式中,根据所述第一函数和所述第二函数的乘积确定所述关于当前时刻转动参数的目标函数。具体的,目标函数可以表示为:ηp postp priorIn some embodiments, the objective function with respect to the rotation parameter at the current moment is determined according to the product of the first function and the second function. Specifically, the objective function can be expressed as: ηp post p prior .
在一些实施方式中,电机可以不包括码盘、开关霍尔、线性霍尔、旋转变压器等能够确定转动参数测量值的器件,可以根据前述的检测方法确定电机在各时刻的转动参数。可以根据反电动势、电压信息、电流信息等采样率较高的测量值信息实现转动参数较高频率的后验更新。例如,α反电动势和β轴反电动势信息在每个电流控制周期都能够搜集到,从而可以确保每个电流控制周期的速度位置信息都能够得到更新。In some embodiments, the motor may not include devices capable of determining the measured value of the rotation parameter, such as an encoder, a switch Hall, a linear Hall, and a resolver, and the rotation parameter of the motor at each time can be determined according to the aforementioned detection method. The higher frequency posterior update of the rotation parameters can be achieved based on the measured value information with a higher sampling rate such as back electromotive force, voltage information, and current information. For example, the information of α back-EMF and β-axis back-EMF can be collected in every current control cycle, so as to ensure that the speed and position information of each current control cycle can be updated.
在另一些实施方式中,可以通过码盘、开关霍尔、线性霍尔、旋转变压器中的至少一种确定转动参数的测量值。因此可以根据转动参数的测量值对目标函数进行后验更新,提高电机转动参数检测的精度。In other embodiments, the measured value of the rotation parameter may be determined by at least one of a code wheel, a switch Hall, a linear Hall, and a resolver. Therefore, the objective function can be updated posteriorly according to the measured value of the rotation parameter, and the accuracy of the motor rotation parameter detection can be improved.
示例性的,所述确定电机当前时刻的测量值信息,包括:确定转动参数的测量值。例如通过码盘、开关霍尔、线性霍尔、旋转变压器中的至少一种确定转动参数的测量值。例如,在某一时刻确定转子电位置的测量值
Figure PCTCN2019108222-appb-000030
和/或转子电转速的测量值
Figure PCTCN2019108222-appb-000031
Exemplarily, the determining the measured value information of the motor at the current moment includes: determining the measured value of the rotation parameter. For example, the measured value of the rotation parameter is determined by at least one of a code wheel, a switch Hall, a linear Hall, and a resolver. For example, to determine the measured value of the electrical position of the rotor at a certain moment
Figure PCTCN2019108222-appb-000030
And/or the measured value of the electrical speed of the rotor
Figure PCTCN2019108222-appb-000031
示例性的,M表示当前时刻的测量值信息,有:Exemplarily, M represents the measurement value information at the current moment, including:
Figure PCTCN2019108222-appb-000032
Figure PCTCN2019108222-appb-000032
之后可以结合前述说明,根据所述测量值信息M和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数,以及对所述目标函数进行优化,确定所述当前时刻的转动参数。Afterwards, in combination with the foregoing description, an objective function about the current rotation parameter can be determined according to the measured value information M and the historical rotation parameter of the motor, and the objective function can be optimized to determine the current rotation parameter.
在一些实施方式中,如图4所示,所述根据所述转动参数的测量值M确定关于所述当前时刻转动参数的第二函数,包括步骤S1224至步骤S1226。In some embodiments, as shown in FIG. 4, the determining the second function of the rotation parameter at the current moment according to the measured value M of the rotation parameter includes step S1224 to step S1226.
S1224、根据所述转子电位置的测量值确定关于所述当前时刻转动参数的第三条件概率密度函数。S1224. Determine a third conditional probability density function with respect to the rotation parameter at the current moment according to the measured value of the electrical position of the rotor.
具体的,第三条件概率密度函数为
Figure PCTCN2019108222-appb-000033
Specifically, the third conditional probability density function is
Figure PCTCN2019108222-appb-000033
S1225、根据所述转子电转速的测量值确定关于所述当前时刻转动参数的第四条件概率密度函数。S1225. Determine a fourth conditional probability density function related to the rotation parameter at the current moment according to the measured value of the electrical rotation speed of the rotor.
具体的,第四条件概率密度函数为
Figure PCTCN2019108222-appb-000034
Specifically, the fourth conditional probability density function is
Figure PCTCN2019108222-appb-000034
S1226、根据所述第三条件概率密度函数和所述第四条件概率密度函数确定关于所述当前时刻转动参数的第二函数。S1226. Determine a second function related to the rotation parameter at the current moment according to the third conditional probability density function and the fourth conditional probability density function.
具体的,由于转子电位置的测量值和转子电转速的测量值转子电转速的测 量值之间相互独立,第二函数可以表示为:Specifically, since the measured value of the electrical position of the rotor and the measured value of the electrical speed of the rotor are independent of the measured value of the electrical speed of the rotor, the second function can be expressed as:
Figure PCTCN2019108222-appb-000035
Figure PCTCN2019108222-appb-000035
在其他一些实施方式中,每个电流控制周期都能够采集到反电动势、电压信息、电流信息等采样率较高的测量值信息,在部分电流控制周期还可以通过码盘、开关霍尔、线性霍尔、旋转变压器中的至少一种采集到转动参数的测量值。In some other embodiments, each current control cycle can collect back-EMF, voltage information, current information and other high-sampling measurement value information. In part of the current control cycle, it can also pass code disk, switch hall, linear At least one of the Hall and the resolver collects the measured value of the rotation parameter.
示例性的,在每个电流控制周期采集反电动势、电压信息、电流信息等信息,并查询速度位置传感器是否有新的转子电位置和/或转子电转速返回。Exemplarily, information such as back electromotive force, voltage information, current information, etc. is collected in each current control cycle, and the speed position sensor is queried whether there is a new rotor electrical position and/or rotor electrical speed return.
示例性的,若当前周期没有转子电位置和转子电转速返回,则当前时刻的测量值信息包括α轴反电动势
Figure PCTCN2019108222-appb-000036
和β轴反电动势
Figure PCTCN2019108222-appb-000037
若当前周期有转子电位置和转子电转速返回,则当前时刻的测量值信息包括α轴反电动势
Figure PCTCN2019108222-appb-000038
和β轴反电动势
Figure PCTCN2019108222-appb-000039
以及新增的转子电位置的测量值
Figure PCTCN2019108222-appb-000040
和/或转子电转速的测量值
Figure PCTCN2019108222-appb-000041
Exemplarily, if there is no return of the electrical position of the rotor and the electrical speed of the rotor in the current cycle, the measured value information at the current moment includes the α-axis back electromotive force
Figure PCTCN2019108222-appb-000036
And β-axis back EMF
Figure PCTCN2019108222-appb-000037
If the electrical position of the rotor and the electrical speed of the rotor return in the current cycle, the measured value information at the current time includes the α-axis back EMF
Figure PCTCN2019108222-appb-000038
And β-axis back EMF
Figure PCTCN2019108222-appb-000039
And the newly added measurement value of the rotor electrical position
Figure PCTCN2019108222-appb-000040
And/or the measured value of the electrical speed of the rotor
Figure PCTCN2019108222-appb-000041
示例性的,所述确定电机当前时刻的测量值信息,包括:确定转子电位置的测量值和转子电转速的测量值。Exemplarily, the determining the measured value information of the motor at the current moment includes determining the measured value of the electrical position of the rotor and the measured value of the electrical rotational speed of the rotor.
示例性的,在某一时刻n,确定所述电机当前时刻的α轴反电动势
Figure PCTCN2019108222-appb-000042
和β轴反电动势
Figure PCTCN2019108222-appb-000043
还采集到了新增的转子电位置的测量值
Figure PCTCN2019108222-appb-000044
和/或转子电转速的测量值
Figure PCTCN2019108222-appb-000045
例如,有:
Exemplarily, at a certain time n, determine the α-axis back EMF of the motor at the current time
Figure PCTCN2019108222-appb-000042
And β-axis back EMF
Figure PCTCN2019108222-appb-000043
Also collected the new measurement value of the rotor electrical position
Figure PCTCN2019108222-appb-000044
And/or the measured value of the electrical speed of the rotor
Figure PCTCN2019108222-appb-000045
For example, there are:
Figure PCTCN2019108222-appb-000046
Figure PCTCN2019108222-appb-000046
然后可以根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数,以及对所述目标函数进行优化,确定所述当前时刻的转动参数。Then, an objective function about the rotation parameter at the current moment may be determined according to the measured value information and the historical rotation parameter of the motor, and the objective function may be optimized to determine the rotation parameter at the current moment.
示例性的,在当前时刻开始时,所述测量值信息如α轴反电动势、β轴反电动势、转子电位置的测量值
Figure PCTCN2019108222-appb-000047
和转子电转速的测量值
Figure PCTCN2019108222-appb-000048
是已知量,电机的历史转动参数,如前一时刻的转子电位置、转子电转速、转子电加速度也是已知量。因此有已知信息(M,θ n-1,ω n-1,β n-1)。
Exemplarily, at the beginning of the current time, the measured value information is the measured value of the α-axis back EMF, the β-axis back EMF, and the electrical position of the rotor
Figure PCTCN2019108222-appb-000047
And the measured value of the rotor electrical speed
Figure PCTCN2019108222-appb-000048
It is a known quantity. The historical rotation parameters of the motor, such as the rotor electrical position, rotor electrical speed, and rotor electrical acceleration at the previous moment, are also known quantities. Therefore, there is known information (M, θ n-1 , ω n-1 , β n-1 ).
示例性的,所述根据所述测量值信息和所述电机的历史转动参数确定关于 当前时刻转动参数的目标函数,包括:在已知(M,θ n-1,ω n-1,β n-1)的情况下,求取当前时刻,如n时刻的转动参数的最有可能的值。例如求取n时刻电机的转子电位置θ n、转子电转速ω n。可以理解的,需要求取θ n和ω n,使得目标函数可以取得极值。 Exemplarily, the determining the objective function of the rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor includes: in the known (M, θ n-1 , ω n-1 , β n In the case of -1), the most probable value of the rotation parameter at the current moment, such as the moment n, is obtained. For example, obtain the electrical rotor position θ n and the rotor electrical speed ω n of the motor at time n. It is understandable that θ n and ω n need to be taken so that the objective function can obtain the extreme value.
具体的,目标函数可以表示为:Specifically, the objective function can be expressed as:
p(θ nn|M Tn-1n-1n-1) p(θ nn |M Tn-1n-1n-1 )
示例性的,所述根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数,包括:根据所述电机的历史转动参数确定关于当前时刻转动参数的第一函数;根据所述测量值信息确定关于所述当前时刻转动参数的第二函数;根据所述第一函数和所述第二函数确定所述关于当前时刻转动参数的目标函数。Exemplarily, the determining the objective function regarding the current moment rotation parameter according to the measured value information and the historical rotation parameter of the motor includes: determining the first function regarding the current moment rotation parameter according to the historical rotation parameter of the motor Determine the second function about the rotation parameter at the current moment according to the measured value information; determine the objective function about the rotation parameter at the current moment according to the first function and the second function.
示例性的,根据所述电机当前时刻的反电动势信息和转动参数的测量值确定关于所述当前时刻转动参数的第二函数。Exemplarily, the second function of the rotation parameter at the current moment is determined according to the back electromotive force information of the motor at the current moment and the measured value of the rotation parameter.
示例性的,第二函数包括条件概率密度函数,表示在当前时刻的测量值信息为M的条件下,转子电位置θ n、转子电转速ω n为不同数值的相应概率。 Exemplarily, the second function includes a conditional probability density function, which represents the corresponding probability that the rotor electrical position θ n and the rotor electrical speed ω n are different values under the condition that the measured value information at the current moment is M.
具体的,第二函数可以表示为:Specifically, the second function can be expressed as:
p post=p(M Tnn) p post = p(M Tnn )
示例性的,基于预设的后验概率模型,根据所述电机当前时刻的反电动势信息和转动参数的测量值确定关于所述当前时刻转动参数的第二函数。Exemplarily, based on a preset posterior probability model, the second function of the rotation parameter at the current moment is determined according to the back electromotive force information of the motor at the current moment and the measured value of the rotation parameter.
具体的,后验概率模型包括用于约束电机的当前时刻的反电动势信息、转动参数的测量值和当前时刻的转动参数之间关系的函数参数。Specifically, the posterior probability model includes functional parameters used to constrain the relationship between the back electromotive force information of the current moment of the motor, the measured value of the rotation parameter, and the current moment of rotation parameter.
可以根据电机物理模型推导该后验概率模型的函数参数和/或通过在电机实际运行过程中获取的不同时刻的反电动势信息和转动参数作为样本,然后根据样本确定后验概率模型的函数参数,得到预设的后验概率模型。The functional parameters of the posterior probability model can be derived from the physical model of the motor and/or the back-EMF information and rotation parameters obtained at different times during the actual operation of the motor can be used as samples, and then the functional parameters of the posterior probability model can be determined according to the samples. Get the preset posterior probability model.
示例性的,所述后验概率模型包括均匀分布模型。后验概率模型与所选用的位置传感器类型强相关,后验概率服从均匀分布。Exemplarily, the posterior probability model includes a uniform distribution model. The posterior probability model is strongly related to the selected position sensor type, and the posterior probability obeys a uniform distribution.
具体的,根据当前时刻的反电动势信息和转动参数的测量值确定当前时刻所述后验概率模型的参数,得到关于当前时刻转动参数的第二函数。即将反电动势信息和转动参数的测量值代入函数参数已经确定的后验概率模型,得到关于当前时刻转动参数的第二函数。Specifically, the parameters of the posterior probability model at the current time are determined according to the back-EMF information at the current time and the measured values of the rotation parameters, and the second function on the rotation parameters at the current time is obtained. That is, the back-EMF information and the measured values of the rotation parameters are substituted into the posterior probability model whose function parameters have been determined, and the second function of the rotation parameters at the current moment is obtained.
在一些实施方式中,如图5所示,所述根据所述电机当前时刻的反电动势信息和转动参数的测量值确定关于所述当前时刻转动参数的第二函数,包括步骤S1227至步骤S1229。In some embodiments, as shown in FIG. 5, the determination of the second function of the rotation parameter at the current moment according to the back-EMF information of the motor at the current moment and the measured value of the rotation parameter includes steps S1227 to S1229.
S1227、根据所述电机当前时刻的反电动势信息确定关于所述当前时刻转动参数的第五条件概率密度函数。S1227. Determine a fifth conditional probability density function of the rotation parameter at the current time according to the back electromotive force information of the motor at the current time.
示例性的,第五条件概率密度函数可以表示为:Exemplarily, the fifth conditional probability density function can be expressed as:
Figure PCTCN2019108222-appb-000049
Figure PCTCN2019108222-appb-000049
S1228、根据所述电机转动参数的测量值确定关于所述当前时刻转动参数的第六条件概率密度函数。S1228: Determine a sixth conditional probability density function related to the current rotation parameter at the current moment according to the measured value of the motor rotation parameter.
示例性的,第六条件概率密度函数可以表示为:Exemplarily, the sixth conditional probability density function can be expressed as:
Figure PCTCN2019108222-appb-000050
Figure PCTCN2019108222-appb-000050
S1229、根据所述第五条件概率密度函数和所述第六条件概率密度函数确定关于所述当前时刻转动参数的第二函数。S1229. Determine a second function related to the rotation parameter at the current moment according to the fifth conditional probability density function and the sixth conditional probability density function.
具体的,由于电机转动参数的测量值和电机当前时刻的反电动势信息之间相互独立,第二函数可以表示为:Specifically, since the measured values of the motor rotation parameters and the back-EMF information at the current moment of the motor are independent of each other, the second function can be expressed as:
Figure PCTCN2019108222-appb-000051
Figure PCTCN2019108222-appb-000051
示例性的,所述根据所述电机当前时刻的反电动势信息和转动参数的测量值确定关于所述当前时刻转动参数的第二函数,包括:根据所述电机当前时刻的α轴反电动势确定关于所述当前时刻转动参数的第一条件概率密度函数;根据所述电机当前时刻的β轴反电动势确定关于所述当前时刻转动参数的第二条件概率密度函数;根据所述转子电位置的测量值确定关于所述当前时刻转动参数的第三条件概率密度函数;根据所述转子电转速的测量值确定关于所述当前时刻转动参数的第四条件概率密度函数。由于电机的α轴反电动势、β轴反电动势、转子电位置、转子电转速之间相互独立,可以根据所述第一条件概率密度函数、所述第二条件概率密度函数、第三条件概率密度函数、第四条件概率密度函数的乘积确定关于所述当前时刻转动参数的第二函数。Exemplarily, the determining the second function about the rotation parameter at the current moment according to the back-EMF information of the motor at the current moment and the measured value of the rotation parameter includes: determining the second function about the rotation parameter at the current moment according to the α-axis back-EMF of the motor at the current moment The first conditional probability density function of the rotation parameter at the current moment; the second conditional probability density function about the rotation parameter at the current moment is determined according to the β-axis back electromotive force of the motor at the current moment; according to the measured value of the electrical position of the rotor Determine a third conditional probability density function related to the rotation parameter at the current moment; determine a fourth conditional probability density function related to the rotation parameter at the current moment according to the measured value of the rotor electrical speed. Since the α-axis back EMF, β-axis back EMF, rotor electrical position, and rotor electrical speed of the motor are mutually independent, it can be based on the first conditional probability density function, the second conditional probability density function, and the third conditional probability density. The product of the function and the fourth conditional probability density function determines the second function of the rotation parameter at the current moment.
本说明书实施例提供的检测方法,通过确定电机当前时刻的测量值信息,如反电动势,根据测量值信息和电机的历史转动参数确定关于当前时刻转动参数的目标函数,并对目标函数进行优化从而确定电机当前时刻的转动参数。可 以利用测量值信息提供的更为精确的电位置和电速度信息,使得检测的精确度更高;而且由于电机测量值的采样频率较高,使得电机转动参数可以以更高的频率更新,以确保电机响应及时。而且由于该方法能利用除速度位置传感器信息以外的信息,如测量值信息进行电机的速度位置等转动参数的解算,因而应用该检测方法的电机可以不包括传感器、或者包括较低精度的传感器,或者即使电机的速度位置传感器出现故障,该检测方法也可以继续进行转动参数的解算,进而确保电机可以正常运行。The detection method provided by the embodiment of this specification determines the measured value information of the current moment of the motor, such as back electromotive force, determines the objective function about the current moment rotation parameters according to the measured value information and the historical rotation parameters of the motor, and optimizes the objective function to thereby Determine the current rotation parameters of the motor. The more accurate electrical position and electrical speed information provided by the measured value information can be used to make the detection more accurate; and because the sampling frequency of the measured value of the motor is higher, the motor rotation parameters can be updated at a higher frequency. Ensure that the motor responds in a timely manner. And because this method can use information other than the speed and position sensor information, such as measured value information for the calculation of the rotation parameters such as the speed and position of the motor, the motor to which the detection method is applied may not include sensors or include sensors with lower accuracy. , Or even if the speed and position sensor of the motor fails, the detection method can continue to calculate the rotation parameters to ensure that the motor can operate normally.
示例性的,利用反电动势等测量值信息来确保每个电流控制周期的速度位置信息都能够得到后验更新。虽然并非每个电流控制周期都能够采集到速度位置传感器的新增信息,但α轴反电动势和β轴反电动势等测量值信息在各电流控制周期都能够搜集到,这可以确保速度和位置在这些时间点均能够得到及时更新。Exemplarily, measured value information such as back electromotive force is used to ensure that the speed and position information of each current control cycle can be updated a posteriori. Although not every current control cycle can collect the new information of the speed position sensor, the measured value information such as α-axis back EMF and β-axis back EMF can be collected in each current control cycle, which can ensure that the speed and position are in These time points can be updated in time.
示例性的,在确定电机当前时刻的测量值信息后,可以查询速度位置传感器是否有新信息返回,若获取到新的转子电位置的测量值和/或转子电转速的测量值,则根据转子电位置的测量值和/或转子电转速的测量值以及反电动势等测量信息更新电机的转动参数,从而进一步提高电机检测的准确度。Exemplarily, after determining the measured value information of the motor at the current moment, you can query whether the speed position sensor has new information returned. If the new measured value of the electrical position of the rotor and/or the measured value of the electrical speed of the rotor is obtained, the measurement value of the electrical The measured value of the electrical position and/or the measured value of the electrical rotation speed of the rotor and the measurement information such as the back electromotive force update the rotation parameters of the motor, thereby further improving the accuracy of motor detection.
示例性的,利用优化方法解决测量问题,利用优化目标函数的方式,将测量问题转化为优化问题,进而通过成熟的优化方法解决电机的检测问题。Exemplarily, the optimization method is used to solve the measurement problem, and the measurement problem is converted into an optimization problem by the method of optimizing the objective function, and then the motor detection problem is solved through a mature optimization method.
本说明书中主要选取了条件概率密度函数作为目标函数的置信度评价,可以理解的,目标函数、第一函数、第二函数等也可以用似然函数,(加权)误差绝对值和的期望函数,(加权)误差平方和的期望函数等作为置信度评价,可以方便表达或提高计算效率。In this specification, the conditional probability density function is mainly selected as the confidence evaluation of the objective function. It is understandable that the objective function, the first function, the second function, etc. can also use the likelihood function, (weighted) the expected function of the absolute value of the error , (Weighted) the expected function of the sum of squares of the error, etc., as the confidence evaluation, can be convenient to express or improve the calculation efficiency.
请结合上述实施例参阅图6,图6是本说明书一实施例提供的控制方法的流程示意图。Please refer to FIG. 6 in conjunction with the foregoing embodiment. FIG. 6 is a schematic flowchart of a control method provided by an embodiment of this specification.
如图6所示,控制方法包括步骤S210至步骤S230。As shown in FIG. 6, the control method includes step S210 to step S230.
S210、确定电机当前时刻的测量值信息。S210. Determine the measured value information of the motor at the current moment.
S220、根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数。S220: Determine an objective function for the rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor.
S230、对所述目标函数进行优化,确定所述当前时刻的转动参数,并根据所述当前时刻的转动参数控制所述电机。S230: Optimize the objective function, determine the rotation parameter at the current moment, and control the motor according to the rotation parameter at the current moment.
示例性的,所述根据所述当前时刻的转动参数控制所述电机,包括:根据所述当前时刻的转动参数,所述电机进行矢量控制等。Exemplarily, the controlling the motor according to the rotation parameter at the current moment includes: performing vector control on the motor according to the rotation parameter at the current moment.
本说明书实施例提供的控制方法的具体原理和实现方式与前述实施例的检测方法类似,此处不再赘述。The specific principle and implementation of the control method provided by the embodiment of this specification are similar to the detection method of the foregoing embodiment, and will not be repeated here.
本说明书实施例提供的控制方法,通过确定电机当前时刻的测量值信息,如反电动势,根据测量值信息和电机的历史转动参数确定关于当前时刻转动参数的目标函数,并对目标函数进行优化从而确定电机当前时刻的转动参数,并根据所述当前时刻的转动参数控制所述电机。可以利用测量值信息提供的更为精确的电位置和电速度信息,使得检测的精确度更高;而且由于电机测量值的采样频率较高,使得电机转动参数可以以更高的频率更新,以确保电机响应及时。而且由于该方法能利用除速度位置传感器信息以外的信息,如测量值信息进行电机的速度位置等转动参数的解算,因而应用该检测方法的电机可以不包括传感器、或者包括较低精度的传感器,或者即使电机的速度位置传感器出现故障,该检测方法也可以继续进行转动参数的解算,进而确保电机可以正常运行。The control method provided by the embodiment of this specification determines the measured value information of the motor at the current moment, such as back electromotive force, determines the objective function about the current moment rotation parameters according to the measured value information and the historical rotation parameters of the motor, and optimizes the objective function to The rotation parameter of the motor at the current moment is determined, and the motor is controlled according to the rotation parameter at the current moment. The more accurate electrical position and electrical speed information provided by the measured value information can be used to make the detection more accurate; and because the sampling frequency of the measured value of the motor is higher, the motor rotation parameters can be updated at a higher frequency. Ensure that the motor responds in a timely manner. And because this method can use information other than the speed and position sensor information, such as measured value information for the calculation of the rotation parameters such as the speed and position of the motor, the motor to which the detection method is applied may not include sensors or include sensors with lower accuracy. , Or even if the speed and position sensor of the motor fails, the detection method can continue to calculate the rotation parameters to ensure that the motor can operate normally.
请结合上述实施例参阅图7,图7是本说明书一实施例提供的检测装置600的示意性框图。该检测装置600包括处理器601。Please refer to FIG. 7 in conjunction with the foregoing embodiment. FIG. 7 is a schematic block diagram of a detection device 600 provided in an embodiment of this specification. The detection device 600 includes a processor 601.
示例性的,检测装置600包括一个或多个处理器601,单独地或共同地工作。Exemplarily, the detection device 600 includes one or more processors 601 that work individually or collectively.
示例性的,检测装置600还包括存储器602。Exemplarily, the detection device 600 further includes a memory 602.
示例性的,处理器601和存储器602通过总线603连接,该总线603比如为I2C(Inter-integrated Circuit)总线。Exemplarily, the processor 601 and the memory 602 are connected by a bus 603, and the bus 603 is, for example, an I2C (Inter-integrated Circuit) bus.
具体地,处理器601可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 601 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
具体地,存储器602可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 602 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
其中,所述处理器601用于运行存储在存储器602中的计算机程序,并在执行所述计算机程序时实现前述的检测方法。Wherein, the processor 601 is configured to run a computer program stored in the memory 602, and implement the aforementioned detection method when the computer program is executed.
本说明书实施例提供的检测装置的具体原理和实现方式均与前述实施例的 检测方法类似,此处不再赘述。The specific principle and implementation of the detection device provided in the embodiment of this specification are similar to the detection method of the foregoing embodiment, and will not be repeated here.
请结合上述实施例参阅图8,图8是本说明书一实施例提供的控制装置700的示意性框图。该控制装置700包括处理器701。Please refer to FIG. 8 in conjunction with the foregoing embodiment. FIG. 8 is a schematic block diagram of a control device 700 according to an embodiment of the present specification. The control device 700 includes a processor 701.
示例性的,控制装置700包括一个或多个处理器701,单独地或共同地工作。Exemplarily, the control device 700 includes one or more processors 701, which work individually or collectively.
示例性的,控制装置700还包括存储器702。Exemplarily, the control device 700 further includes a memory 702.
示例性的,处理器701和存储器702通过总线703连接,该总线703比如为I2C(Inter-integrated Circuit)总线。Exemplarily, the processor 701 and the memory 702 are connected by a bus 703, and the bus 703 is, for example, an I2C (Inter-integrated Circuit) bus.
具体地,处理器701可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 701 may be a micro-controller unit (MCU), a central processing unit (Central Processing Unit, CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
具体地,存储器702可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 702 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
其中,所述处理器701用于运行存储在存储器702中的计算机程序,并在执行所述计算机程序时实现前述的控制方法。Wherein, the processor 701 is configured to run a computer program stored in the memory 702, and implement the aforementioned control method when the computer program is executed.
本说明书实施例提供的控制装置的具体原理和实现方式均与前述实施例的控制方法类似,此处不再赘述。The specific principles and implementation manners of the control device provided in the embodiment of this specification are similar to the control method of the foregoing embodiment, and will not be repeated here.
请结合上述实施例参阅图9,图9是本说明书一实施例提供的动力组件800的示意性框图。该动力组件800包括电机810,电机810包括转子811和定子812,所述转子811能够相对于所述定子812转动;电机810包括外转子电机和/或内转子电机。Please refer to FIG. 9 in conjunction with the foregoing embodiment. FIG. 9 is a schematic block diagram of a power assembly 800 according to an embodiment of the present specification. The power assembly 800 includes a motor 810. The motor 810 includes a rotor 811 and a stator 812, and the rotor 811 can rotate relative to the stator 812; the motor 810 includes an outer rotor motor and/or an inner rotor motor.
动力组件800还包括前述的检测装置600,检测装置600用于检测所述电机。The power assembly 800 also includes the aforementioned detection device 600, and the detection device 600 is used to detect the motor.
本说明书实施例提供的动力组件的具体原理和实现方式均与前述实施例的检测方法类似,此处不再赘述。The specific principle and implementation of the power assembly provided in the embodiment of this specification are similar to the detection method of the foregoing embodiment, and will not be repeated here.
在另一些实施方式中,动力组件包括电机和前述的控制装置,控制装置用于控制所述电机。In other embodiments, the power assembly includes a motor and the aforementioned control device, and the control device is used to control the motor.
请结合上述实施例参阅图10,图10是本说明书一实施例提供的可移动平台900的示意性框图。该可移动平台900包括电机810,电机810包括转子811和定子812,所述转子811能够相对于所述定子812转动;电机810包括外转 子电机和/或内转子电机。Please refer to FIG. 10 in conjunction with the foregoing embodiment. FIG. 10 is a schematic block diagram of a movable platform 900 according to an embodiment of the present specification. The movable platform 900 includes a motor 810. The motor 810 includes a rotor 811 and a stator 812, and the rotor 811 can rotate relative to the stator 812; the motor 810 includes an outer rotor motor and/or an inner rotor motor.
可移动平台900还包括前述的检测装置600,检测装置600用于检测所述电机。The movable platform 900 also includes the aforementioned detection device 600, which is used to detect the motor.
示例性的,可移动平台包括如下至少一种:无人飞行器、手持云台、云台车、机器人、机械臂等。Exemplarily, the movable platform includes at least one of the following: an unmanned aerial vehicle, a handheld pan/tilt, a pan/tilt cart, a robot, a mechanical arm, and the like.
本说明书实施例提供的动力组件的具体原理和实现方式均与前述实施例的检测方法类似,此处不再赘述。The specific principle and implementation of the power assembly provided in the embodiment of this specification are similar to the detection method of the foregoing embodiment, and will not be repeated here.
在另一些实施方式中,可移动平台包括电机和前述的控制装置,控制装置用于控制所述电机。In other embodiments, the movable platform includes a motor and the aforementioned control device, and the control device is used to control the motor.
本说明书的实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现前述的检测方法和/或前述的控制方法。The embodiments of this specification also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes the aforementioned detection method and/or The aforementioned control method.
其中,所述计算机可读存储介质可以是前述任一实施例所述的检测装置或者控制装置的内部存储单元,例如所述检测装置或者控制装置的硬盘或内存。所述计算机可读存储介质也可以是所述检测装置或者控制装置的外部存储设备,例如所述检测装置或者控制装置上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。Wherein, the computer-readable storage medium may be the internal storage unit of the detection device or the control device described in any of the foregoing embodiments, for example, the hard disk or memory of the detection device or the control device. The computer-readable storage medium may also be an external storage device of the detection device or the control device, for example, a plug-in hard disk equipped on the detection device or the control device, a smart memory card (Smart Media Card, SMC), and a safe Digital (Secure Digital, SD) card, Flash Card (Flash Card), etc.
本说明书上述实施例提供的检测装置、控制装置、动力组件、可移动平台和计算机可读存储介质,通过利用测量值信息提供的更为精确的电位置和电速度信息,使得检测的精确度更高;而且由于电机测量值的采样频率较高,使得电机转动参数可以以更高的频率更新,以确保电机响应及时。而且由于该方法能利用除速度位置传感器信息以外的信息,如测量值信息进行电机的速度位置等转动参数的解算,因而应用该检测方法的电机可以不包括传感器、或者包括较低精度的传感器,或者即使电机的速度位置传感器出现故障,该检测方法也可以继续进行转动参数的解算,进而确保电机可以正常运行。The detection device, control device, power assembly, movable platform, and computer-readable storage medium provided by the above-mentioned embodiments of this specification use the more accurate electrical position and electrical speed information provided by the measured value information to make the detection more accurate. High; and because the sampling frequency of the measured value of the motor is higher, the motor rotation parameters can be updated at a higher frequency to ensure that the motor responds in time. And because this method can use information other than the speed and position sensor information, such as measured value information for the calculation of the rotation parameters such as the speed and position of the motor, the motor to which the detection method is applied may not include sensors or include sensors with lower accuracy. , Or even if the speed and position sensor of the motor fails, the detection method can continue to calculate the rotation parameters to ensure that the motor can operate normally.
应当理解,在此本说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本说明书。It should be understood that the terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit the specification.
还应当理解,在本说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组 合。It should also be understood that the term "and/or" used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
以上所述,仅为本说明书的具体实施方式,但本说明书的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本说明书揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本说明书的保护范围之内。因此,本说明书的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this specification, but the protection scope of this specification is not limited to this. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in this specification. Modifications or replacements, these modifications or replacements shall be covered within the protection scope of this manual. Therefore, the protection scope of this specification should be subject to the protection scope of the claims.

Claims (52)

  1. 一种检测方法,其特征在于,包括:A detection method, characterized in that it comprises:
    确定电机当前时刻的测量值信息;Determine the measured value information of the motor at the current moment;
    根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数;Determining an objective function for the current rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor;
    对所述目标函数进行优化,确定所述当前时刻的转动参数。The objective function is optimized, and the rotation parameter at the current moment is determined.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数,包括:The method according to claim 1, wherein the determining the objective function of the rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor comprises:
    根据所述电机的历史转动参数确定关于当前时刻转动参数的第一函数;Determining the first function of the rotation parameter at the current moment according to the historical rotation parameter of the motor;
    根据所述测量值信息确定关于所述当前时刻转动参数的第二函数;Determining a second function of the rotation parameter at the current moment according to the measured value information;
    根据所述第一函数和所述第二函数确定所述关于当前时刻转动参数的目标函数。The objective function of the rotation parameter at the current moment is determined according to the first function and the second function.
  3. 根据权利要求2所述的方法,其特征在于,所述电机的历史转动参数包括:所述电机在前一时刻的转子电位置、转子电转速、转子电加速度中的至少一项。The method according to claim 2, wherein the historical rotation parameters of the motor include at least one of the electrical position of the rotor, the electrical speed of the rotor, and the electrical acceleration of the rotor of the motor at the previous moment.
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述历史转动参数确定关于当前时刻转动参数的第一函数,包括:The method according to claim 3, wherein the determining the first function of the rotation parameter at the current moment according to the historical rotation parameter comprises:
    根据所述历史转动参数确定关于当前时刻的转子电位置和/或当前时刻的转子电转速的第一函数。The first function of the electrical position of the rotor at the current moment and/or the electrical speed of the rotor at the current moment is determined according to the historical rotation parameters.
  5. 根据权利要求2所述的方法,其特征在于,所述根据所述历史转动参数确定关于当前时刻转动参数的第一函数,包括:The method according to claim 2, wherein the determining the first function of the rotation parameter at the current moment according to the historical rotation parameter comprises:
    基于预设的先验概率模型,根据所述历史转动参数确定关于当前时刻转动参数的第一函数。Based on a preset prior probability model, the first function of the rotation parameter at the current moment is determined according to the historical rotation parameter.
  6. 根据权利要求5所述的方法,其特征在于,所述基于预设的先验概率模型,根据所述历史转动参数确定关于当前时刻转动参数的第一函数,包括:The method according to claim 5, wherein the determining a first function of the rotation parameter at the current moment based on the preset prior probability model according to the historical rotation parameter comprises:
    根据所述历史转动参数确定当前时刻所述先验概率模型的参数,得到关于当前时刻转动参数的第一函数。The parameters of the prior probability model at the current moment are determined according to the historical rotation parameters, and the first function of the rotation parameters at the current moment is obtained.
  7. 根据权利要求6所述的方法,其特征在于,所述先验概率模型包括正态 分布模型。The method according to claim 6, wherein the prior probability model comprises a normal distribution model.
  8. 根据权利要求5所述的方法,其特征在于,所述第一函数包括条件概率密度函数、似然函数、误差绝对值和的期望函数或者误差平方和的期望函数。The method according to claim 5, wherein the first function comprises a conditional probability density function, a likelihood function, an expected function of the sum of absolute values of errors, or an expected function of the sum of squares of errors.
  9. 根据权利要求2所述的方法,其特征在于,所述确定电机当前时刻的测量值信息,包括:The method according to claim 2, wherein the determining the measured value information of the motor at the current moment comprises:
    确定所述电机当前时刻的反电动势信息和/或确定转动参数的测量值。Determine the back-EMF information of the motor at the current moment and/or determine the measured value of the rotation parameter.
  10. 根据权利要求9所述的方法,其特征在于,所述确定所述电机当前时刻的反电动势信息,包括The method according to claim 9, wherein said determining the back-EMF information of the current moment of the motor comprises
    获取所述电机当前时刻的电压信息和电流信息,根据所述电压信息和所述电流信息确定所述电机当前时刻的反电动势信息。Acquire the voltage information and current information of the motor at the current time, and determine the back electromotive force information of the motor at the current time according to the voltage information and the current information.
  11. 根据权利要求9所述的方法,其特征在于,所述确定所述电机当前时刻的反电动势信息,包括:The method according to claim 9, wherein the determining the back-EMF information of the motor at the current moment comprises:
    确定所述电机当前时刻的α轴反电动势和β轴反电动势。Determine the α-axis back EMF and β-axis back EMF of the motor at the current moment.
  12. 根据权利要求9所述的方法,其特征在于,所述确定转动参数的测量值,包括:The method according to claim 9, wherein the determining the measured value of the rotation parameter comprises:
    通过码盘、开关霍尔、线性霍尔、旋转变压器中的至少一种确定转动参数的测量值。The measured value of the rotation parameter is determined by at least one of the encoder, the switch Hall, the linear Hall, and the resolver.
  13. 根据权利要求9-12中任一项所述的方法,其特征在于,所述根据所述测量值信息确定关于所述当前时刻转动参数的第二函数,包括:The method according to any one of claims 9-12, wherein the determining a second function of the rotation parameter at the current moment according to the measured value information comprises:
    基于预设的后验概率模型,根据所述电机当前时刻的反电动势信息和/或转动参数的测量值确定关于所述当前时刻转动参数的第二函数。Based on a preset posterior probability model, the second function of the rotation parameter at the current moment is determined according to the back-EMF information and/or the measured value of the rotation parameter of the motor at the current moment.
  14. 根据权利要求13所述的方法,其特征在于,所述后验概率模型包括均匀分布模型。The method according to claim 13, wherein the posterior probability model comprises a uniform distribution model.
  15. 根据权利要求13所述的方法,其特征在于,所述第二函数包括条件概率密度函数、似然函数、误差绝对值和的期望函数或者误差平方和的期望函数。The method according to claim 13, wherein the second function comprises a conditional probability density function, a likelihood function, an expected function of the sum of absolute values of errors, or an expected function of the sum of squares of errors.
  16. 根据权利要求15所述的方法,其特征在于,所述根据所述电机当前时刻的反电动势信息确定关于所述当前时刻转动参数的第二函数,包括:The method according to claim 15, wherein the determining the second function of the rotation parameter at the current time according to the back-EMF information of the motor at the current time comprises:
    根据所述电机当前时刻的α轴反电动势确定关于所述当前时刻转动参数的第一条件概率密度函数;Determining a first conditional probability density function related to the rotation parameter at the current time according to the α-axis back electromotive force of the motor at the current time;
    根据所述电机当前时刻的β轴反电动势确定关于所述当前时刻转动参数的 第二条件概率密度函数;Determining a second conditional probability density function related to the rotation parameter at the current time according to the β-axis back EMF of the motor at the current time;
    根据所述第一条件概率密度函数和所述第二条件概率密度函数确定关于所述当前时刻转动参数的第二函数。A second function of the rotation parameter at the current moment is determined according to the first conditional probability density function and the second conditional probability density function.
  17. 根据权利要求16所述的方法,其特征在于,所述确定转动参数的测量值,包括:The method according to claim 16, wherein the determining the measured value of the rotation parameter comprises:
    确定转子电位置的测量值和/或转子电转速的测量值。Determine the measured value of the electrical position of the rotor and/or the measured value of the electrical speed of the rotor.
  18. 根据权利要求17所述的方法,其特征在于,所述根据所述转动参数的测量值确定关于所述当前时刻转动参数的第二函数,包括:The method according to claim 17, wherein the determining the second function of the rotation parameter at the current moment according to the measured value of the rotation parameter comprises:
    根据所述转子电位置的测量值确定关于所述当前时刻转动参数的第三条件概率密度函数;Determining a third conditional probability density function related to the rotation parameter at the current moment according to the measured value of the electrical position of the rotor;
    根据所述转子电转速的测量值确定关于所述当前时刻转动参数的第四条件概率密度函数;Determining a fourth conditional probability density function with respect to the rotation parameter at the current moment according to the measured value of the electrical rotation speed of the rotor;
    根据所述第三条件概率密度函数和所述第四条件概率密度函数确定关于所述当前时刻转动参数的第二函数。A second function of the rotation parameter at the current moment is determined according to the third conditional probability density function and the fourth conditional probability density function.
  19. 根据权利要求17所述的方法,其特征在于,所述根据所述电机当前时刻的反电动势信息和转动参数的测量值确定关于所述当前时刻转动参数的第二函数,包括:The method according to claim 17, wherein the determining the second function of the rotation parameter at the current moment according to the back-EMF information of the motor at the current moment and the measured value of the rotation parameter comprises:
    根据所述电机当前时刻的反电动势信息确定关于所述当前时刻转动参数的第五条件概率密度函数;Determining a fifth conditional probability density function about the rotation parameter at the current time according to the back-EMF information of the motor at the current time;
    根据所述电机转动参数的测量值确定关于所述当前时刻转动参数的第六条件概率密度函数;Determining a sixth conditional probability density function with respect to the rotation parameter at the current moment according to the measured value of the rotation parameter of the motor;
    根据所述第五条件概率密度函数和所述第六条件概率密度函数确定关于所述当前时刻转动参数的第二函数。A second function of the rotation parameter at the current moment is determined according to the fifth conditional probability density function and the sixth conditional probability density function.
  20. 根据权利要求17所述的方法,其特征在于,所述根据所述电机当前时刻的反电动势信息和转动参数的测量值确定关于所述当前时刻转动参数的第二函数,包括:The method according to claim 17, wherein the determining the second function of the rotation parameter at the current moment according to the back-EMF information of the motor at the current moment and the measured value of the rotation parameter comprises:
    根据所述电机当前时刻的α轴反电动势确定关于所述当前时刻转动参数的第一条件概率密度函数;Determining a first conditional probability density function related to the rotation parameter at the current time according to the α-axis back electromotive force of the motor at the current time;
    根据所述电机当前时刻的β轴反电动势确定关于所述当前时刻转动参数的第二条件概率密度函数;Determining a second conditional probability density function related to the rotation parameter at the current time according to the β-axis back electromotive force of the motor at the current time;
    根据所述转子电位置的测量值确定关于所述当前时刻转动参数的第三条件概率密度函数;Determining a third conditional probability density function related to the rotation parameter at the current moment according to the measured value of the electrical position of the rotor;
    根据所述转子电转速的测量值确定关于所述当前时刻转动参数的第四条件概率密度函数;Determining a fourth conditional probability density function with respect to the rotation parameter at the current moment according to the measured value of the electrical rotation speed of the rotor;
    根据所述第一条件概率密度函数、所述第二条件概率密度函数、第三条件概率密度函数、第四条件概率密度函数的乘积确定关于所述当前时刻转动参数的第二函数。The second function of the rotation parameter at the current moment is determined according to the product of the first conditional probability density function, the second conditional probability density function, the third conditional probability density function, and the fourth conditional probability density function.
  21. 根据权利要求2所述的方法,其特征在于,所述根据所述第一函数和所述第二函数确定所述关于当前时刻转动参数的目标函数,包括:The method according to claim 2, wherein the determining the objective function of the rotation parameter at the current moment according to the first function and the second function comprises:
    根据所述第一函数和所述第二函数的乘积确定所述关于当前时刻转动参数的目标函数。The objective function of the rotation parameter at the current moment is determined according to the product of the first function and the second function.
  22. 根据权利要求1、2或21所述的方法,其特征在于,所述对所述目标函数进行优化,确定所述当前时刻的转动参数,包括:通过线性规划、二次型规划或者非线性规划对所述目标函数进行优化。The method according to claim 1, 2 or 21, wherein the optimizing the objective function to determine the rotation parameter at the current moment comprises: using linear programming, quadratic programming, or nonlinear programming The objective function is optimized.
  23. 根据权利要求1、2或21所述的方法,其特征在于,所述对所述目标函数进行优化,确定所述当前时刻的转动参数,包括:The method according to claim 1, 2 or 21, wherein the optimizing the objective function to determine the rotation parameter at the current moment comprises:
    对所述目标函数进行优化,确定当前时刻的转子电位置和/或当前时刻的转子电转速。The objective function is optimized to determine the electrical position of the rotor at the current moment and/or the electrical speed of the rotor at the current moment.
  24. 一种控制方法,其特征在于,包括:A control method, characterized in that it comprises:
    确定电机当前时刻的测量值信息;Determine the measured value information of the motor at the current moment;
    根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数;Determining an objective function for the current rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor;
    对所述目标函数进行优化,确定所述当前时刻的转动参数,并根据所述当前时刻的转动参数控制所述电机。The objective function is optimized, the rotation parameter at the current moment is determined, and the motor is controlled according to the rotation parameter at the current moment.
  25. 一种检测装置,其特征在于,包括一个或多个处理器,单独地或共同地工作,用于执行:A detection device, characterized in that it comprises one or more processors, working individually or together, for executing:
    确定电机当前时刻的测量值信息;Determine the measured value information of the motor at the current moment;
    根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数;Determining an objective function for the current rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor;
    对所述目标函数进行优化,确定所述当前时刻的转动参数。The objective function is optimized, and the rotation parameter at the current moment is determined.
  26. 根据权利要求25所述的装置,其特征在于,所述根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数,包括:The device according to claim 25, wherein the determining the objective function of the rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor comprises:
    根据所述电机的历史转动参数确定关于当前时刻转动参数的第一函数;Determining the first function of the rotation parameter at the current moment according to the historical rotation parameter of the motor;
    根据所述测量值信息确定关于所述当前时刻转动参数的第二函数;Determining a second function of the rotation parameter at the current moment according to the measured value information;
    根据所述第一函数和所述第二函数确定所述关于当前时刻转动参数的目标函数。The objective function of the rotation parameter at the current moment is determined according to the first function and the second function.
  27. 根据权利要求26所述的装置,其特征在于,所述电机的历史转动参数包括:所述电机在前一时刻的转子电位置、转子电转速、转子电加速度中的至少一项。The device according to claim 26, wherein the historical rotation parameters of the motor comprise: at least one of the electrical position of the rotor, the electrical speed of the rotor, and the electrical acceleration of the rotor of the motor at the previous moment.
  28. 根据权利要求27所述的装置,其特征在于,所述根据所述历史转动参数确定关于当前时刻转动参数的第一函数,包括:The device according to claim 27, wherein the determining the first function of the rotation parameter at the current moment according to the historical rotation parameter comprises:
    根据所述历史转动参数确定关于当前时刻的转子电位置和/或当前时刻的转子电转速的第一函数。The first function of the electrical position of the rotor at the current moment and/or the electrical speed of the rotor at the current moment is determined according to the historical rotation parameters.
  29. 根据权利要求26所述的装置,其特征在于,所述根据所述历史转动参数确定关于当前时刻转动参数的第一函数,包括:The device according to claim 26, wherein the determining the first function of the rotation parameter at the current moment according to the historical rotation parameter comprises:
    基于预设的先验概率模型,根据所述历史转动参数确定关于当前时刻转动参数的第一函数。Based on a preset prior probability model, the first function of the rotation parameter at the current moment is determined according to the historical rotation parameter.
  30. 根据权利要求29所述的装置,其特征在于,所述基于预设的先验概率模型,根据所述历史转动参数确定关于当前时刻转动参数的第一函数,包括:The device according to claim 29, wherein the determining the first function of the rotation parameter at the current moment based on the preset prior probability model according to the historical rotation parameter comprises:
    根据所述历史转动参数确定当前时刻所述先验概率模型的参数,得到关于当前时刻转动参数的第一函数。The parameters of the prior probability model at the current moment are determined according to the historical rotation parameters, and the first function of the rotation parameters at the current moment is obtained.
  31. 根据权利要求30所述的装置,其特征在于,所述先验概率模型包括正态分布模型。The device according to claim 30, wherein the prior probability model comprises a normal distribution model.
  32. 根据权利要求29所述的装置,其特征在于,所述第一函数包括条件概率密度函数、似然函数、误差绝对值和的期望函数或者误差平方和的期望函数。The apparatus according to claim 29, wherein the first function comprises a conditional probability density function, a likelihood function, an expected function of the sum of absolute values of errors, or an expected function of the sum of squares of errors.
  33. 根据权利要求26所述的装置,其特征在于,所述确定电机当前时刻的测量值信息,包括:The device according to claim 26, wherein said determining the measured value information of the motor at the current moment comprises:
    确定所述电机当前时刻的反电动势信息和/或确定转动参数的测量值。Determine the back-EMF information of the motor at the current moment and/or determine the measured value of the rotation parameter.
  34. 根据权利要求33所述的装置,其特征在于,所述确定所述电机当前时刻的反电动势信息,包括The device according to claim 33, wherein said determining the back-EMF information of the current moment of the motor comprises
    获取所述电机当前时刻的电压信息和电流信息,根据所述电压信息和所述电流信息确定所述电机当前时刻的反电动势信息。Acquire the voltage information and current information of the motor at the current time, and determine the back electromotive force information of the motor at the current time according to the voltage information and the current information.
  35. 根据权利要求33所述的装置,其特征在于,所述确定所述电机当前时刻的反电动势信息,包括:The device according to claim 33, wherein said determining the back-EMF information of the motor at the current moment comprises:
    确定所述电机当前时刻的α轴反电动势和β轴反电动势。Determine the α-axis back EMF and β-axis back EMF of the motor at the current moment.
  36. 根据权利要求33所述的装置,其特征在于,所述确定转动参数的测量值,包括:The device according to claim 33, wherein said determining the measured value of the rotation parameter comprises:
    通过码盘、开关霍尔、线性霍尔、旋转变压器中的至少一种确定转动参数的测量值。The measured value of the rotation parameter is determined by at least one of the encoder, the switch Hall, the linear Hall, and the resolver.
  37. 根据权利要求33-36中任一项所述的装置,其特征在于,所述根据所述测量值信息确定关于所述当前时刻转动参数的第二函数,包括:The device according to any one of claims 33-36, wherein the determining the second function of the rotation parameter at the current moment according to the measured value information comprises:
    基于预设的后验概率模型,根据所述电机当前时刻的反电动势信息和/或转动参数的测量值确定关于所述当前时刻转动参数的第二函数。Based on a preset posterior probability model, the second function of the rotation parameter at the current moment is determined according to the back-EMF information and/or the measured value of the rotation parameter of the motor at the current moment.
  38. 根据权利要求37所述的装置,其特征在于,所述后验概率模型包括均匀分布模型。The device of claim 37, wherein the posterior probability model comprises a uniform distribution model.
  39. 根据权利要求37所述的装置,其特征在于,所述第二函数包括条件概率密度函数、似然函数、误差绝对值和的期望函数或者误差平方和的期望函数。The device according to claim 37, wherein the second function comprises a conditional probability density function, a likelihood function, an expected function of the sum of absolute values of errors, or an expected function of the sum of squares of errors.
  40. 根据权利要求39所述的装置,其特征在于,所述根据所述电机当前时刻的反电动势信息确定关于所述当前时刻转动参数的第二函数,包括:The device according to claim 39, wherein the determining the second function of the rotation parameter at the current time according to the back-EMF information of the motor at the current time comprises:
    根据所述电机当前时刻的α轴反电动势确定关于所述当前时刻转动参数的第一条件概率密度函数;Determining a first conditional probability density function related to the rotation parameter at the current time according to the α-axis back electromotive force of the motor at the current time;
    根据所述电机当前时刻的β轴反电动势确定关于所述当前时刻转动参数的第二条件概率密度函数;Determining a second conditional probability density function related to the rotation parameter at the current time according to the β-axis back electromotive force of the motor at the current time;
    根据所述第一条件概率密度函数和所述第二条件概率密度函数确定关于所述当前时刻转动参数的第二函数。A second function of the rotation parameter at the current moment is determined according to the first conditional probability density function and the second conditional probability density function.
  41. 根据权利要求40所述的装置,其特征在于,所述确定转动参数的测量值,包括:The device according to claim 40, wherein said determining the measured value of the rotation parameter comprises:
    确定转子电位置的测量值和/或转子电转速的测量值。Determine the measured value of the electrical position of the rotor and/or the measured value of the electrical speed of the rotor.
  42. 根据权利要求41所述的装置,其特征在于,所述根据所述转动参数的测量值确定关于所述当前时刻转动参数的第二函数,包括:The device according to claim 41, wherein the determining the second function of the rotation parameter at the current moment according to the measured value of the rotation parameter comprises:
    根据所述转子电位置的测量值确定关于所述当前时刻转动参数的第三条件概率密度函数;Determining a third conditional probability density function related to the rotation parameter at the current moment according to the measured value of the electrical position of the rotor;
    根据所述转子电转速的测量值确定关于所述当前时刻转动参数的第四条件概率密度函数;Determining a fourth conditional probability density function with respect to the rotation parameter at the current moment according to the measured value of the electrical rotation speed of the rotor;
    根据所述第三条件概率密度函数和所述第四条件概率密度函数确定关于所述当前时刻转动参数的第二函数。A second function of the rotation parameter at the current moment is determined according to the third conditional probability density function and the fourth conditional probability density function.
  43. 根据权利要求41所述的装置,其特征在于,所述根据所述电机当前时刻的反电动势信息和转动参数的测量值确定关于所述当前时刻转动参数的第二函数,包括:The device according to claim 41, wherein the determining the second function of the rotation parameter at the current moment according to the back-EMF information of the motor at the current moment and the measured value of the rotation parameter comprises:
    根据所述电机当前时刻的反电动势信息确定关于所述当前时刻转动参数的第五条件概率密度函数;Determining a fifth conditional probability density function about the rotation parameter at the current time according to the back-EMF information of the motor at the current time;
    根据所述电机转动参数的测量值确定关于所述当前时刻转动参数的第六条件概率密度函数;Determining a sixth conditional probability density function with respect to the rotation parameter at the current moment according to the measured value of the rotation parameter of the motor;
    根据所述第五条件概率密度函数和所述第六条件概率密度函数确定关于所述当前时刻转动参数的第二函数。A second function of the rotation parameter at the current moment is determined according to the fifth conditional probability density function and the sixth conditional probability density function.
  44. 根据权利要求41所述的装置,其特征在于,所述根据所述电机当前时刻的反电动势信息和转动参数的测量值确定关于所述当前时刻转动参数的第二函数,包括:The device according to claim 41, wherein the determining the second function of the rotation parameter at the current moment according to the back-EMF information of the motor at the current moment and the measured value of the rotation parameter comprises:
    根据所述电机当前时刻的α轴反电动势确定关于所述当前时刻转动参数的第一条件概率密度函数;Determining a first conditional probability density function related to the rotation parameter at the current time according to the α-axis back electromotive force of the motor at the current time;
    根据所述电机当前时刻的β轴反电动势确定关于所述当前时刻转动参数的第二条件概率密度函数;Determining a second conditional probability density function related to the rotation parameter at the current time according to the β-axis back electromotive force of the motor at the current time;
    根据所述转子电位置的测量值确定关于所述当前时刻转动参数的第三条件概率密度函数;Determining a third conditional probability density function related to the rotation parameter at the current moment according to the measured value of the electrical position of the rotor;
    根据所述转子电转速的测量值确定关于所述当前时刻转动参数的第四条件概率密度函数;Determining a fourth conditional probability density function with respect to the rotation parameter at the current moment according to the measured value of the electrical rotation speed of the rotor;
    根据所述第一条件概率密度函数、所述第二条件概率密度函数、第三条件概率密度函数、第四条件概率密度函数的乘积确定关于所述当前时刻转动参数的第二函数。The second function of the rotation parameter at the current moment is determined according to the product of the first conditional probability density function, the second conditional probability density function, the third conditional probability density function, and the fourth conditional probability density function.
  45. 根据权利要求26所述的装置,其特征在于,所述根据所述第一函数和 所述第二函数确定所述关于当前时刻转动参数的目标函数,包括:The device according to claim 26, wherein the determining the objective function with respect to the rotation parameter at the current moment according to the first function and the second function comprises:
    根据所述第一函数和所述第二函数的乘积确定所述关于当前时刻转动参数的目标函数。The objective function of the rotation parameter at the current moment is determined according to the product of the first function and the second function.
  46. 根据权利要求25、26或45所述的装置,其特征在于,所述对所述目标函数进行优化,确定所述当前时刻的转动参数,包括:通过线性规划、二次型规划或者非线性规划对所述目标函数进行优化。The device according to claim 25, 26 or 45, wherein the optimizing the objective function to determine the rotation parameter at the current moment comprises: using linear programming, quadratic programming, or non-linear programming The objective function is optimized.
  47. 根据权利要求25、26或45所述的装置,其特征在于,所述对所述目标函数进行优化,确定所述当前时刻的转动参数,包括:The device according to claim 25, 26 or 45, wherein the optimizing the objective function and determining the rotation parameter at the current moment comprises:
    对所述目标函数进行优化,确定当前时刻的转子电位置和/或当前时刻的转子电转速。The objective function is optimized to determine the electrical position of the rotor at the current moment and/or the electrical speed of the rotor at the current moment.
  48. 一种控制装置,其特征在于,包括一个或多个处理器,单独地或共同地工作,用于执行如下步骤:A control device, characterized in that it comprises one or more processors, which work individually or together, and are used to execute the following steps:
    确定电机当前时刻的测量值信息;Determine the measured value information of the motor at the current moment;
    根据所述测量值信息和所述电机的历史转动参数确定关于当前时刻转动参数的目标函数;Determining an objective function for the current rotation parameter at the current moment according to the measured value information and the historical rotation parameter of the motor;
    对所述目标函数进行优化,确定所述当前时刻的转动参数,并根据所述当前时刻的转动参数控制所述电机。The objective function is optimized, the rotation parameter at the current moment is determined, and the motor is controlled according to the rotation parameter at the current moment.
  49. 一种动力组件,其特征在于,包括:A power assembly, characterized in that it comprises:
    电机,包括转子和定子,所述转子能够相对于所述定子转动;The motor includes a rotor and a stator, and the rotor can rotate relative to the stator;
    如权利要求25-47中任一项所述的检测装置,用于检测所述电机。The detection device according to any one of claims 25-47, which is used to detect the motor.
  50. 一种可移动平台,其特征在于,包括电机,所述电机包括转子和定子,所述转子能够相对于所述定子转动;A movable platform, characterized in that it includes a motor, the motor includes a rotor and a stator, and the rotor can rotate relative to the stator;
    所述可移动平台还包括一个或多个处理器,单独地或共同地工作,用于实现如权利要求1-23中任一项所述的检测方法。The movable platform also includes one or more processors, working individually or together, for implementing the detection method according to any one of claims 1-23.
  51. 根据权利要求50所述的可移动平台,其特征在于,所述可移动平台包括如下至少一种:无人飞行器、手持云台、云台车、机器人、机械臂。The movable platform according to claim 50, wherein the movable platform comprises at least one of the following: an unmanned aerial vehicle, a handheld pan/tilt, a pan/tilt cart, a robot, and a mechanical arm.
  52. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现:A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes:
    如权利要求1-23中任一项所述的检测方法;和/或The detection method according to any one of claims 1-23; and/or
    如权利要求24所述的控制方法。The control method according to claim 24.
PCT/CN2019/108222 2019-09-26 2019-09-26 Detection method and apparatus, control method and apparatus, power component, movable platform and storage medium WO2021056344A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980032899.6A CN112956125A (en) 2019-09-26 2019-09-26 Detection and control method and device, power assembly, movable platform and storage medium
PCT/CN2019/108222 WO2021056344A1 (en) 2019-09-26 2019-09-26 Detection method and apparatus, control method and apparatus, power component, movable platform and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/108222 WO2021056344A1 (en) 2019-09-26 2019-09-26 Detection method and apparatus, control method and apparatus, power component, movable platform and storage medium

Publications (1)

Publication Number Publication Date
WO2021056344A1 true WO2021056344A1 (en) 2021-04-01

Family

ID=75165054

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/108222 WO2021056344A1 (en) 2019-09-26 2019-09-26 Detection method and apparatus, control method and apparatus, power component, movable platform and storage medium

Country Status (2)

Country Link
CN (1) CN112956125A (en)
WO (1) WO2021056344A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104251977A (en) * 2013-06-26 2014-12-31 珠海格力电器股份有限公司 Motor detection method and system
CN106655909A (en) * 2016-10-20 2017-05-10 天津大学 Sliding-mode control method for motor of quadrotor unmanned aerial vehicle
CN106956282A (en) * 2017-05-18 2017-07-18 广州视源电子科技股份有限公司 Angular acceleration determination method, angular acceleration determination device, robot and storage medium
CN107070340A (en) * 2017-03-22 2017-08-18 武汉工程大学 BLDCM Drive System forecast Control Algorithm
CN109687515A (en) * 2018-12-28 2019-04-26 广东工业大学 A kind of the power generation amount control method and relevant apparatus of wind power plant

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769426B (en) * 2012-07-16 2014-07-23 电子科技大学 On-line fault-tolerance electric vehicle alternating current induction motor driving control system
CN103872962B (en) * 2014-03-07 2015-12-30 电子科技大学 A kind of online faults-tolerant control device of permagnetic synchronous motor velocity transducer
CN104393815B (en) * 2014-12-16 2017-02-22 电子科技大学 Permanent magnet synchronous motor fault-tolerant control device based on composite speed estimated rotating speed
CN108667377A (en) * 2018-05-23 2018-10-16 奇瑞汽车股份有限公司 A kind of determination method and device of the Position And Velocity of permanent-magnetic synchronous motor rotor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104251977A (en) * 2013-06-26 2014-12-31 珠海格力电器股份有限公司 Motor detection method and system
CN106655909A (en) * 2016-10-20 2017-05-10 天津大学 Sliding-mode control method for motor of quadrotor unmanned aerial vehicle
CN107070340A (en) * 2017-03-22 2017-08-18 武汉工程大学 BLDCM Drive System forecast Control Algorithm
CN106956282A (en) * 2017-05-18 2017-07-18 广州视源电子科技股份有限公司 Angular acceleration determination method, angular acceleration determination device, robot and storage medium
CN109687515A (en) * 2018-12-28 2019-04-26 广东工业大学 A kind of the power generation amount control method and relevant apparatus of wind power plant

Also Published As

Publication number Publication date
CN112956125A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
US6826499B2 (en) Method and apparatus for calibrating and initializing an electronically commutated motor
CN107919830B (en) Calibration method and device of motor position sensor
WO2021088235A1 (en) Zero point positioning method and system, servo motor, and storage medium
CN111174819B (en) Zero calibration method, device, product and medium for motor incremental encoder
WO2019167763A1 (en) Position estimation method, position estimation device, and motor module
CN102342016A (en) Method and device for the angle sensor-free position detection of the rotor shaft of a permanently excited synchronous machine based on current signals and voltage signals
CN109217758B (en) Online identification method for rotary transformer zero point, motor controller and storage medium
CN107425781A (en) A kind of SRM positions predictor method based on linear flux linkage model and linear regression analysis
CN111817615A (en) Device and method for detecting position of rotor of high-speed permanent magnet synchronous motor
CN112350626B (en) Method and device for determining the rotational speed and the rotational angle of a motor shaft of a DC motor
CN107529384B (en) Micro- flywheel speed-measuring method and device based on linear hall element
CN114172414A (en) Servo motor initial electrical angle determining method and device and readable storage medium
WO2021056344A1 (en) Detection method and apparatus, control method and apparatus, power component, movable platform and storage medium
CN107248831B (en) Permanent-magnetic synchronous motor stator Flux Observation Method, flux observer and storage medium
CN106533316A (en) Rotor angle estimating method
CN109842350B (en) Mechanical positioning method based on analysis of current change rate
CN113131818A (en) Hall sensor installation error identification method and device and motor control system
JP2005094826A (en) Speed controller and method for estimating pole position of synchronous motor
CN109150026B (en) Phase changing method for brushless motor without position sensor
CN108759644A (en) Detection method, device and the storage medium of displacement distance
CN114157186A (en) Electrical angle calibration method, evaluation method and system of permanent magnet synchronous motor
CN110086399B (en) Permanent magnet synchronous motor rotor position composite detection and starting operation method
CN110429875B (en) Driving method and system of brushless direct current motor under Hall disorder
CN116436360B (en) Magnetic declination anomaly detection method, apparatus, device and readable storage medium
CN111371369A (en) Motor pole pair number detection method and device and brushless motor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19946911

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19946911

Country of ref document: EP

Kind code of ref document: A1