WO2024140217A1 - Power tool, garden tool, and electric drill - Google Patents

Power tool, garden tool, and electric drill Download PDF

Info

Publication number
WO2024140217A1
WO2024140217A1 PCT/CN2023/138470 CN2023138470W WO2024140217A1 WO 2024140217 A1 WO2024140217 A1 WO 2024140217A1 CN 2023138470 W CN2023138470 W CN 2023138470W WO 2024140217 A1 WO2024140217 A1 WO 2024140217A1
Authority
WO
WIPO (PCT)
Prior art keywords
motor
torque
flux
control
controller
Prior art date
Application number
PCT/CN2023/138470
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 南京泉峰科技有限公司
Publication of WO2024140217A1 publication Critical patent/WO2024140217A1/en

Links

Abstract

A power tool, a garden tool, and an electric drill. The power tool (10) comprises: a housing (11) forming an accommodating space: a motor (25) arranged in the accommodating space and comprising a stator and a rotor; a functional element (12) connected to an output shaft of the motor (25) and capable of being driven by the motor (25); a power supply device (21) for supplying electric energy to the power tool (10); a driver circuit (23) which comprises a plurality of switching elements and is configured to drive the motor (25); a detection module (24) for detecting working parameters of the motor (25); and a controller (22) at least electrically coupled to the driver circuit (23) and the parameter detection module, wherein the controller (22) comprises: a flux linkage and torque setting unit (221) configured to set target values of torque and stator flux linkage of the motor; a flux linkage and torque estimation unit (222) configured to calculate actual values of the torque and the stator flux linkage of the motor according to the working parameters; a flux linkage and torque comparison unit (223) configured to compare the target values with the actual values; and a voltage vector generation unit (224) configured to output a voltage vector according to the comparison result of the flux linkage and torque comparison unit (223) so as to control ON states of the switching elements in the driver circuit (23).

Description

电动工具、园林工具及电钻Power tools, garden tools and drills
本申请要求在2022年12月29日提交中国专利局、申请号为202211703952.0的中国专利申请的优先权,以上申请的全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on December 29, 2022, with application number 202211703952.0. The entire contents of the above application are incorporated by reference into this application.
技术领域Technical Field
本申请涉及一种电动工具,例如涉及一种电动工具、园林工具及电钻。The present application relates to an electric tool, for example, an electric tool, a garden tool and an electric drill.
背景技术Background technique
电动工具通常采用传统的方波调制驱动内部的电机,或者采用电流矢量控制(Field-Oriented Control,FOC)电机的转动,或者采用两种方式的结合控制电机运转。Power tools usually use traditional square wave modulation to drive the internal motor, or use current vector control (Field-Oriented Control, FOC) to control the rotation of the motor, or use a combination of the two to control the operation of the motor.
然而,传统方波调制控制方式下,在一个电周期中,无刷电机只有六种状态,或者说定子电流有六种状态(三相桥臂有六种开关状态)。每一种电流状态都可看作合成一个方向的矢量力矩,六个矢量有规律地、一步接一步地转换,从而带动转子转动,电机转子会跟着同步旋转,传统的方波控制实现方式简便,但由于其仅有六个离散的、非连续矢量力矩,这样会使得电机效率低。而FOC控制中涉及复杂的坐标变换,不利于实现电机控制中响应的快速性。However, under the traditional square wave modulation control mode, in one electrical cycle, the brushless motor has only six states, or the stator current has six states (the three-phase bridge arm has six switching states). Each current state can be regarded as a vector torque synthesized in one direction. The six vectors are regularly converted step by step, thereby driving the rotor to rotate, and the motor rotor will rotate synchronously. The traditional square wave control is simple to implement, but because it only has six discrete, non-continuous vector torques, this will make the motor inefficient. FOC control involves complex coordinate transformations, which is not conducive to achieving rapid response in motor control.
本部分提供了与本申请相关的背景信息,这些背景信息不一定是现有技术。This section provides background information related to the present application which is not necessarily prior art.
发明内容Summary of the invention
本申请的一个目的是解决或至少减轻上述问题的一部分或者全部。为此,本申请的一个目的在于提供一种采用直接转矩控制电机的电动工具。One object of the present application is to solve or at least alleviate part or all of the above problems. To this end, one object of the present application is to provide an electric tool using a direct torque control motor.
一种电动工具,包括:壳体,设置为形成容纳空间:电机,设置在所述容纳空间内,包括定子和转子;功能元件,连接至所述电机的输出轴,能被所述电机驱动;电源装置,设置为给所述电动工具提供电能;驱动电路,与所述电机电性连接以驱动所述电机,所述驱动电路包括多个开关元件;检测模块,被配置为检测所述电机的工作参数;控制器,至少与所述驱动电路和所述参数检测模块电耦合;其中,所述控制器包括:磁链和转矩给定单元,设置为给定电机的转矩和定子磁链的目标值;磁链和转矩估算单元,被配置为根据所述工作参数计算所述电机转矩和所述定子磁链的实际值;磁链和转矩比较单元,设置为比较所述目标值和所述实际值;电压矢量生成单元,设置为根据所述磁链和转矩比较单元的比较结果输出电压矢量,以控制所述驱动电路中开关元件的导通状态。 An electric tool comprises: a shell, configured to form a accommodating space; a motor, arranged in the accommodating space, comprising a stator and a rotor; a functional element, connected to the output shaft of the motor and capable of being driven by the motor; a power supply device, configured to provide electric energy to the electric tool; a drive circuit, electrically connected to the motor to drive the motor, the drive circuit comprising a plurality of switch elements; a detection module, configured to detect the working parameters of the motor; a controller, electrically coupled to at least the drive circuit and the parameter detection module; wherein the controller comprises: a flux and torque setting unit, configured to set a target value of the torque and stator flux of the given motor; a flux and torque estimation unit, configured to calculate the actual value of the motor torque and the stator flux according to the working parameters; a flux and torque comparison unit, configured to compare the target value with the actual value; a voltage vector generation unit, configured to output a voltage vector according to the comparison result of the flux and torque comparison unit to control the conduction state of the switch elements in the drive circuit.
一种电动工具,包括:电机,包括定子和转子;电源装置,设置为给所述电动工具提供电能;操作组件,设置为获取用户输入;驱动电路,与所述电机电性连接以驱动所述电机,所述驱动电路包括多个开关元件;检测模块,被配置为检测所述电机的工作参数;控制器,至少与所述驱动电路、所述检测模块和所述操作组件电耦合;所述控制器被配置为:根据所述用户输入和所述工作参数控制所述驱动电路中的开关元件改变导通状态,以驱动所述电机运转;其中,所述控制器的转矩响应时间小于等于10毫秒。An electric tool comprises: a motor, comprising a stator and a rotor; a power supply device, configured to provide electric energy to the electric tool; an operating component, configured to obtain user input; a drive circuit, electrically connected to the motor to drive the motor, the drive circuit comprising a plurality of switch elements; a detection module, configured to detect working parameters of the motor; a controller, electrically coupled to at least the drive circuit, the detection module and the operating component; the controller is configured to: control the switch elements in the drive circuit to change the conduction state according to the user input and the working parameters to drive the motor to operate; wherein the torque response time of the controller is less than or equal to 10 milliseconds.
一种电动工具,包括:功能元件;电机,设置为驱动所述功能元件,所述电机包括定子和转子;电源装置,设置为给所述电动工具提供电能;驱动电路,与所述电机和所述电源装置电性连接,所述驱动电路包括多个开关元件;控制器,与所述驱动电路电性连接,设置为输出控制信号至所述驱动电路以控制所述多个开关元件;在所述电动工具处于第一运行阶段时,以第一控制方式控制所述驱动电路;在所述电动工具处于第二运行阶段时,以第二控制方式控制所述驱动电路;其中,所述第一控制方式不同于所述第二控制方式,且所述第一控制方式和所述第二控制方式中的一个为直接转矩控制。An electric tool comprises: a functional element; a motor configured to drive the functional element, the motor comprising a stator and a rotor; a power supply device configured to provide electrical energy to the electric tool; a drive circuit electrically connected to the motor and the power supply device, the drive circuit comprising a plurality of switch elements; a controller electrically connected to the drive circuit and configured to output a control signal to the drive circuit to control the plurality of switch elements; when the electric tool is in a first operating stage, the drive circuit is controlled in a first control manner; when the electric tool is in a second operating stage, the drive circuit is controlled in a second control manner; wherein the first control manner is different from the second control manner, and one of the first control manner and the second control manner is direct torque control.
一种园林工具,包括:功能元件;辅助元件;第一电机,设置为驱动所述功能元件;第二电机,设置为驱动所述辅助元件;电源装置,设置为给所述园林工具提供电能;第一驱动电路,与所述第一电机和所述电源装置电性连接,并设置为驱动所述第一电机;第二驱动电路,与所述第二电机和所述电源装置电性连接,并设置为驱动所述第二电机;控制组件,与所述第一驱动电路和所述第二驱动电路电性连接,设置为输出控制信号控制所述第一驱动电路和所述第二驱动电路;以第一控制方式控制所述第一驱动电路,以第二控制方式控制所述第二驱动电路,所述第二控制方式不同于所述第一控制方式;所述第一控制方式和所述第二控制方式中的至少一个是直接转矩控制。A garden tool comprises: a functional element; an auxiliary element; a first motor, configured to drive the functional element; a second motor, configured to drive the auxiliary element; a power supply device, configured to provide electrical energy to the garden tool; a first drive circuit, electrically connected to the first motor and the power supply device, and configured to drive the first motor; a second drive circuit, electrically connected to the second motor and the power supply device, and configured to drive the second motor; a control component, electrically connected to the first drive circuit and the second drive circuit, and configured to output a control signal to control the first drive circuit and the second drive circuit; controlling the first drive circuit in a first control mode, and controlling the second drive circuit in a second control mode, the second control mode being different from the first control mode; at least one of the first control mode and the second control mode is direct torque control.
一种电动工具,包括:无刷电机;驱动电路,所述驱动电路被配置为向所述无刷电机提供操作功率,所述逆变电路包括多个开关元件;检测模块,被配置为获取所述无刷电机的工作参数;和控制器,所述控制器分别与所述驱动电路和所述检测模块电耦合,所述控制器采用闭环控制;所述控制器被配置为:至少基于用户输入确定第一负载点,确定对应于所述第一负载点的第一磁链和转矩给定方式;基于所述第一磁链和转矩给定方式给定的目标值和所述工作参数的差值,输出适配的电压矢量以控制所述多个开关元件的通断;确定从所述第一负载点到第二负载点的变化;确定对应于所述第二负载点的第二磁链和转矩给定方式;基于所述第二磁链和转矩给定方式给定的目标值和所述工作参数的差值,输出适配的电压矢量以控制所述多个开关元件的通断。 An electric tool comprises: a brushless motor; a drive circuit, wherein the drive circuit is configured to provide operating power to the brushless motor, and the inverter circuit comprises a plurality of switching elements; a detection module, wherein the detection module is configured to obtain the operating parameters of the brushless motor; and a controller, wherein the controller is electrically coupled to the drive circuit and the detection module respectively, and the controller adopts closed-loop control; the controller is configured to: determine a first load point based at least on user input, determine a first flux and torque setting method corresponding to the first load point; output an adapted voltage vector to control the on-off of the plurality of switching elements based on a target value given by the first flux and torque setting method and a difference between the operating parameters; determine a change from the first load point to a second load point; determine a second flux and torque setting method corresponding to the second load point; output an adapted voltage vector to control the on-off of the plurality of switching elements based on a target value given by the second flux and torque setting method and a difference between the operating parameters.
一种电动工具,包括:无刷电机,包括转子和定子;电源装置,所述电源装置被配置为给所述无刷电机供电;驱动电路,所述驱动电路被配置为向所述无刷电机提供操作功率;检测模块,被配置为检测所述无刷电机的工作参数;和控制器,所述控制器与所述检测模块和所述逆变电路电耦合;所述控制器包括:磁链给定单元,设置为输出所述定子磁链的参考值;磁链估算单元,设置为根据所述工作参数估算所述定子磁链的实际值;所述控制器被配置为至少根据所述定子磁链的参考值和实际值的比较结果,以闭环控制的方式控制所述驱动电路驱动所述无刷电机;其中,在所述无刷电机的目标转速大于等于第一转速阈值的情况下,所述磁链给定单元还设置为减小所述定子磁链的参考值。An electric tool comprises: a brushless motor including a rotor and a stator; a power supply device, the power supply device being configured to supply power to the brushless motor; a drive circuit, the drive circuit being configured to provide operating power to the brushless motor; a detection module being configured to detect operating parameters of the brushless motor; and a controller being electrically coupled to the detection module and the inverter circuit; the controller comprising: a flux setting unit, configured to output a reference value of the stator flux; a flux estimation unit, configured to estimate an actual value of the stator flux according to the operating parameters; the controller being configured to control the drive circuit to drive the brushless motor in a closed-loop control manner at least according to a comparison result of the reference value and the actual value of the stator flux; wherein, when a target speed of the brushless motor is greater than or equal to a first speed threshold, the flux setting unit is further configured to reduce the reference value of the stator flux.
一种电动工具,包括:无刷电机,包括转子和定子;驱动电路,所述驱动电路被配置为向所述无刷电机提供操作功率;电池包,至少设置为为所述驱动电路供电;检测模块,被配置为检测所述无刷电机的工作参数;和控制器,所述控制器分别与所述电池包和所述驱动电路电连接;所述控制器包括:磁链给定单元,设置为输出所述定子磁链的参考值;磁链估算单元,设置为根据所述工作参数估算所述定子磁链的实际值;所述控制器被配置为至少根据所述定子磁链的参考值和实际值的比较结果,以闭环控制的方式控制所述驱动电路驱动所述无刷电机;其中,在所述电池包的输出电压小于等于第一电压阈值的情况下,所述磁链给定单元还设置为减小所述定子磁链的参考值。An electric tool comprises: a brushless motor including a rotor and a stator; a drive circuit, the drive circuit being configured to provide operating power to the brushless motor; a battery pack, at least configured to power the drive circuit; a detection module, configured to detect operating parameters of the brushless motor; and a controller, the controller being electrically connected to the battery pack and the drive circuit, respectively; the controller comprising: a flux setting unit, configured to output a reference value of the stator flux; a flux estimation unit, configured to estimate an actual value of the stator flux based on the operating parameters; the controller being configured to control the drive circuit to drive the brushless motor in a closed-loop control manner, at least based on a comparison result of the reference value and the actual value of the stator flux; wherein, when the output voltage of the battery pack is less than or equal to a first voltage threshold, the flux setting unit is further configured to reduce the reference value of the stator flux.
一种电动工具,包括:电机,包括转子和定子;电源装置,被配置为向所述电机提供电能;驱动电路,包括多个开关元件;检测模块,设置为检测所述电机的工作参数;控制器,与所述电源装置和所述逆变电路电连接;所述控制器包括:转矩给定单元,设置为输出所述电机的转矩的参考值;转矩估算单元,设置为根据所述电机的工作参数估算所述电机的转矩的实际值;所述控制器设置为至少根据所述电机的转矩的参考值和实际值的比较结果,以滞环控制的方式生成电压矢量控制所述驱动电路驱动所述电机;响应于制动信号,所述转矩给定单元输出的转矩的参考值小于等于零,从而控制所述驱动电路制动所述电机。An electric tool comprises: a motor, comprising a rotor and a stator; a power supply device, configured to provide electrical energy to the motor; a drive circuit, comprising a plurality of switching elements; a detection module, configured to detect the working parameters of the motor; a controller, electrically connected to the power supply device and the inverter circuit; the controller comprises: a torque setting unit, configured to output a reference value of the torque of the motor; a torque estimation unit, configured to estimate the actual value of the torque of the motor based on the working parameters of the motor; the controller is configured to generate a voltage vector control in a hysteresis control manner based on at least a comparison result between the reference value and the actual value of the torque of the motor to control the drive circuit to drive the motor; in response to a braking signal, the reference value of the torque output by the torque setting unit is less than or equal to zero, thereby controlling the drive circuit to brake the motor.
一种电动工具,包括:电机,包括转子和定子;电源装置,被配置为向所述电机提供电能;驱动电路,包括多个开关元件;检测模块,设置为检测所述电机的工作参数;控制器,与所述电源装置和所述驱动电路电耦合;其中,所述控制器被配置为:确定所述电机的目标转矩和目标定子磁链;根据所述工作参数估算所述电机的实际转矩和实际定子磁链;根据所述电机的目标转矩和所述实际转矩计算转矩差值;根据所述电机的目标定子磁链和所述实际定子磁链计算磁链差值;至少根据所述磁链差值和所述转矩差值输出控制信号;响应于所述操作组件输出的减速信号,增大所述目标定子磁链。 An electric tool comprises: a motor, comprising a rotor and a stator; a power supply device, configured to provide electric energy to the motor; a drive circuit, comprising a plurality of switching elements; a detection module, configured to detect the operating parameters of the motor; and a controller, electrically coupled to the power supply device and the drive circuit; wherein the controller is configured to: determine the target torque and target stator flux of the motor; estimate the actual torque and actual stator flux of the motor according to the operating parameters; calculate a torque difference according to the target torque and the actual torque of the motor; calculate a flux difference according to the target stator flux and the actual stator flux of the motor; output a control signal according to at least the flux difference and the torque difference; and increase the target stator flux in response to a deceleration signal output by the operating component.
一种电动工具,包括:电机,包括转子和定子;电源装置,被配置为向所述电机提供电能;驱动电路,包括多个开关元件,所述多个开关元件包括上侧开关元件和下侧开关元件;检测模块,设置为检测所述电机的工作参数;控制器,与所述电源装置和所述驱动电路电连接,并被配置为:确定所述电机的目标转矩和目标定子磁链;根据所述工作参数获取所述电机的实际转矩和实际定子磁链;比较所述目标转矩和所述实际转矩、比较所述目标定子磁链和所述实际定子磁链,并根据比较结果,生成控制信号控制所述多个开关元件的通断;响应于制动信号,采取增大所述目标定子磁链、设定所述目标转矩为负值、打开所有所述驱动电路中全部开关元件中的至少两种方式控制所述电机制动。An electric tool comprises: a motor, comprising a rotor and a stator; a power supply device, configured to provide electric energy to the motor; a drive circuit, comprising a plurality of switch elements, the plurality of switch elements comprising an upper switch element and a lower switch element; a detection module, configured to detect the working parameters of the motor; a controller, electrically connected to the power supply device and the drive circuit, and configured to: determine the target torque and target stator flux of the motor; obtain the actual torque and actual stator flux of the motor according to the working parameters; compare the target torque with the actual torque, compare the target stator flux with the actual stator flux, and generate a control signal to control the on and off of the plurality of switch elements according to the comparison result; and in response to a braking signal, control the motor braking by increasing the target stator flux, setting the target torque to a negative value, and opening all the switch elements in all the drive circuits.
一种电动工具,包括:电机,包括定子和转子;电源装置,设置为提供电能至所述电机;驱动电路,与所述电机电性连接以驱动所述电机,所述驱动电路包括多个开关元件;检测模块,被配置为获取所述电机的工作参数;和控制器,设置为控制所述驱动电路,并被配置为:设定所述定子磁链的参考值和所述电机的转矩的参考值;根据所述电机的工作参数估算所述定子磁链和所述电机的转矩的实际值;至少根据所述定子磁链和所述电机的转矩的实际值,预测下一时刻的所述定子磁链和所述电机的转矩的预测值;比较所述定子磁链的预测值和所述定子磁链的参考值,获取磁链差值;比较所述电机的转矩的预测值和所述电机的转矩的参考值,获取转矩差值;至少根据所述磁链差值和所述转矩差值生成控制信号,控制所述多个开关元件的导通状态。A power tool comprises: a motor, comprising a stator and a rotor; a power supply device, configured to provide electrical energy to the motor; a drive circuit, electrically connected to the motor to drive the motor, the drive circuit comprising a plurality of switch elements; a detection module, configured to obtain working parameters of the motor; and a controller, configured to control the drive circuit and configured to: set a reference value of the stator flux and a reference value of the torque of the motor; estimate actual values of the stator flux and the torque of the motor according to the working parameters of the motor; predict predicted values of the stator flux and the torque of the motor at the next moment at least according to the actual values of the stator flux and the torque of the motor; compare the predicted value of the stator flux with the reference value of the stator flux to obtain a flux difference; compare the predicted value of the torque of the motor with the reference value of the torque of the motor to obtain a torque difference; generate a control signal at least according to the flux difference and the torque difference to control the conduction state of the plurality of switch elements.
一种电动工具,包括:电机,包括定子和转子;电源装置,设置为提供电能至所述电机;驱动电路,与所述电机电性连接以驱动所述电机,所述驱动电路包括多个开关元件;控制器,设置为控制所述驱动电路;所述控制器包括:转矩差值计算单元,被配置为根据所述电机的目标转矩和实际转矩计算转矩差值;磁链差值计算单元,被配置为根据所述电机的目标定子磁链和实际定子磁链计算磁链差值;电压矢量生成单元,被配置为至少根据所述转矩差值、所述磁链差值和所述转子的角位置生成控制信号,所述控制信号用于控制所述多个开关元件;采用滑模控制、模糊逻辑控制、人工神经网络控制中的至少一种控制方式自适应调整所述目标转矩和所述目标定子磁链。An electric tool comprises: a motor, comprising a stator and a rotor; a power supply device, configured to provide electrical energy to the motor; a drive circuit, electrically connected to the motor to drive the motor, the drive circuit comprising a plurality of switch elements; a controller, configured to control the drive circuit; the controller comprises: a torque difference calculation unit, configured to calculate the torque difference according to the target torque and actual torque of the motor; a flux difference calculation unit, configured to calculate the flux difference according to the target stator flux and actual stator flux of the motor; a voltage vector generation unit, configured to generate a control signal according to at least the torque difference, the flux difference and the angular position of the rotor, the control signal being used to control the plurality of switch elements; and at least one control method selected from sliding mode control, fuzzy logic control and artificial neural network control is used to adaptively adjust the target torque and the target stator flux.
一种电钻,包括:功能元件;电机,设置为驱动所述功能元件转动,所述电机包括定子和转子;供电模块,设置为为所述电机供电;驱动电路,与电机和所述供电模块电性连接,所述驱动电路包括多个开关元件;检测模块,被配置为检测所述电机的工作参数;控制器,与所述驱动电路和所述检测模块电耦合,并被配置为:设定所述电机的目标转矩和目标定子磁链;根据所述工作参数估算所述电机的实际转矩和实际定子磁链;根据所述电机的目标转矩和所述实际转矩计算转矩差值;根据所述电机的目标定子磁链和所述实际定子磁链计 算磁链差值;至少根据所述磁链差值和所述转矩差值生成控制信号控制所述驱动电路;在所述电机的实际转矩大于等于所述目标转矩的情况下,控制所述电机停止转动。An electric drill comprises: a functional element; a motor, configured to drive the functional element to rotate, the motor comprising a stator and a rotor; a power supply module, configured to supply power to the motor; a drive circuit, electrically connected to the motor and the power supply module, the drive circuit comprising a plurality of switch elements; a detection module, configured to detect operating parameters of the motor; a controller, electrically coupled to the drive circuit and the detection module, and configured to: set a target torque and a target stator flux of the motor; estimate an actual torque and an actual stator flux of the motor according to the operating parameters; calculate a torque difference according to the target torque and the actual torque of the motor; and calculate a torque difference according to the target stator flux and the actual stator flux of the motor. Calculate the flux difference; generate a control signal to control the drive circuit at least according to the flux difference and the torque difference; and control the motor to stop rotating when the actual torque of the motor is greater than or equal to the target torque.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是一种实施方式的电钻的外观结构图;FIG1 is an appearance structure diagram of an electric drill in one embodiment;
图2是一种实施方式的电动工具的电路系统框图;FIG2 is a block diagram of a circuit system of an electric tool in one embodiment;
图3是图2中所示的电路系统中驱动电路的电路示意图;FIG3 is a circuit diagram of a driving circuit in the circuit system shown in FIG2 ;
图4是一种实施方式的电动工具的电路系统框图;FIG4 is a block diagram of a circuit system of an electric tool in one embodiment;
图5是一种实施方式中空间电压矢量的示意图;FIG5 is a schematic diagram of a space voltage vector in one embodiment;
图6是一种实施方式中开关状态选择表的图示;FIG6 is a diagram of a switch state selection table in one embodiment;
图7是一种实施方式中电机的定子磁链和电机转速在一种控制方式中变化关系示意图;FIG. 7 is a schematic diagram showing the relationship between the stator flux and the motor speed in a control mode in an embodiment;
图8是一种实施方式的电动工具的电路系统框图;FIG8 is a block diagram of a circuit system of an electric tool in one embodiment;
图9是一种实施方式的电动工具的电路系统框图;FIG9 is a block diagram of a circuit system of an electric tool in one embodiment;
图10是一种实施方式的电动工具的电路系统框图;FIG10 is a block diagram of a circuit system of an electric tool according to an embodiment;
图11是一种实施方式的电动工具的电路系统框图。FIG. 11 is a block diagram of a circuit system of an electric tool according to an embodiment.
具体实施方式Detailed ways
在详细解释本申请的任何实施方式之前,应当理解,本申请不限于其应用到以下描述中阐述的或以上附图中所示的结构细节和组件布置。Before any embodiments of the application are explained in detail, it is to be understood that the application is not limited in its application to the details of construction and the arrangement of components set forth in the following description or illustrated in the above drawings.
在本申请中,术语“包括”、“包含”、“具有”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。In this application, the terms "comprises", "includes", "has" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device that includes the element.
在本申请中,术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系。例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本申请中字符“/”,一般表示前后关联对象是一种“和/或”的关系。 In this application, the term "and/or" is a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character "/" in this application generally indicates that the related objects before and after are in an "and/or" relationship.
本申请中,术语“连接”、“结合”、“耦合”、“安装”可以是直接连接、结合、耦合或安装,也可以是间接连接、结合、耦合或安装。其中,进行举例示范,直接连接指的是两个零件或组件之间不需设置中间件而连接在一起,间接连接指的是两个零件或组件分别与至少一个中间件连接,这两个零件或组件通过中间件实现连接。此外,“连接”和“耦合”不限于物理或机械连接或耦合,并且可以包括电连接或耦合。In the present application, the terms "connect", "combine", "couple", and "install" may refer to direct connection, combination, coupling, or installation, or indirect connection, combination, coupling, or installation. For example, direct connection refers to two parts or components being connected together without the need for an intermediate piece, and indirect connection refers to two parts or components being connected to at least one intermediate piece respectively, and the two parts or components being connected via the intermediate piece. In addition, "connect" and "couple" are not limited to physical or mechanical connection or coupling, and may include electrical connection or coupling.
在本申请中,本领域普通技术人员将理解,结合数量或条件使用的相对术语(例如,“约”,“大约”,“基本”等)为包括所述值并且具有上下文所指示的含义。例如,该相对术语至少包括与特定值的测量相关的误差程度,与特定值相关的由制造,组装,使用造成的公差等。这种术语也应被视为公开了由两个端点的绝对值限定的范围。相对术语可指代所指示的值的一定百分比(例如1%,5%,10%或更多)的加或减。未采用相对术语的数值,也应该被揭示为具有公差的特定值。此外,“基本”在表达相对的角度位置关系时(例如,基本平行,基本垂直),可指代在所指示的角度的基础上加或减一定度数(例如1度,5度,10度或更多)。In the present application, it will be understood by those of ordinary skill in the art that relative terms (e.g., "about," "approximately," "substantially," etc.) used in conjunction with quantities or conditions include the values and have the meaning indicated by the context. For example, the relative terms include at least the degree of error associated with the measurement of a specific value, the tolerances caused by manufacturing, assembly, and use associated with a specific value, etc. Such terms should also be considered to disclose a range defined by the absolute values of the two endpoints. Relative terms may refer to plus or minus a certain percentage (e.g., 1%, 5%, 10% or more) of the indicated value. Numerical values that do not use relative terms should also be disclosed as specific values with tolerances. In addition, "substantially" may refer to plus or minus a certain degree (e.g., 1 degree, 5 degrees, 10 degrees or more) on the basis of the indicated angle when expressing a relative angular position relationship (e.g., substantially parallel, substantially perpendicular).
在本申请中,本领域普通技术人员将理解,由组件执行的功能可以为由一个组件,多个组件,一个零件,或多个零件执行。同样的,由零件执行的功能也可以由一个零件,一个组件,或多个零件组合来执行。In this application, it will be understood by those skilled in the art that the function performed by a component can be performed by one component, multiple components, one part, or multiple parts. Similarly, the function performed by a part can also be performed by one part, one component, or a combination of multiple parts.
在本申请中,术语“上”、“下”、“左”、“右”、“前”、“后”等方位词是以附图所示的方位和位置关系来进行描述的,不应理解为对本申请实施例的限定。此外,在上下文中,还需要理解的是,当提到一个元件连接在另一个元件“上”或者“下”时,其不仅能够直接连接在另一个元件“上”或者“下”,也可以通过中间元件间接连接在另一个元件“上”或者“下”。还应当理解的,上侧、下侧、左侧、右侧、前侧、后侧等方位词不仅代表正方位,也可以理解为侧方位。例如,下方可以包括正下方、左下方、右下方、前下方以及后下方等。In the present application, the terms "upper", "lower", "left", "right", "front", "back" and other directional words are described based on the orientation and positional relationship shown in the accompanying drawings, and should not be understood as limitations on the embodiments of the present application. In addition, in the context, it is also necessary to understand that when it is mentioned that an element is connected to another element "upper" or "lower", it can not only be directly connected to another element "upper" or "lower", but also indirectly connected to another element "upper" or "lower" through an intermediate element. It should also be understood that the directional words such as upper side, lower side, left side, right side, front side, back side, etc. not only represent the positive orientation, but can also be understood as the lateral orientation. For example, the bottom can include directly below, lower left, lower right, lower front, and lower back, etc.
在本申请中,术语“控制器”、“处理器”、“中央处理器”、“CPU”、“MCU”可以互换。在使用单元“控制器”、“处理器”、“中央处理器”、“CPU”、或“MCU”来执行特定功能,除非另有说明,否则这些功能则可以由单个上述单元或多个上述单元来执行。In this application, the terms "controller", "processor", "central processing unit", "CPU", and "MCU" are interchangeable. When a unit "controller", "processor", "central processing unit", "CPU", or "MCU" is used to perform a specific function, unless otherwise specified, these functions can be performed by a single unit or multiple units.
在本申请中,术语“装置”、“模块”或“单元”为了实现特定的功能,它们可以通过硬件或软件的形式来实现。In the present application, the terms “device”, “module” or “unit” may be implemented in the form of hardware or software to achieve specific functions.
在本申请中,术语“计算”、“判断”、“控制”、“确定”、“识别”等指的是计算机系统或类似电子计算设备(例如,控制器,处理器等)的操作 和过程。In this application, the terms "calculate", "judge", "control", "determine", "identify", etc. refer to the operation of a computer system or similar electronic computing device (e.g., controller, processor, etc.) and process.
本申请中的电动工具可以为手持式动力工具,例如,钻、修枝机、砂光机等。或者,动力工具还可以为台型工具,例如,台锯、斜切锯等。或者,该电动工具还可以是手推式动力工具,例如,手推式割草机、手推式扫雪机。或者,电动工具还可以是骑乘式动力工具,例如,骑乘式割草机、骑乘式车辆、全地形车等。或者,电动工具还可以是机器人工具,例如,割草机器人、扫雪机器人等。在一些实施例中,该电动工具可以为电钻、电灯、电动车等。在一些实施例中,该电动工具还可以为园林工具,例如修枝机、吹风机、割草机、链锯等。或者,电动工具还可以为装潢工具,例如螺丝批、钉枪、圆锯、砂光机等。在一些实施例中,电动工具还可以为植被护理工具,例如打草机、割草机、修枝机、链锯等。或者,电动工具还可以为清洁工具,例如吹风机、扫雪机、清洗机等。或者,电动工具还可以为钻类工具,例如钻、螺丝批、扳手、电锤等。或者,电动工具还可以为锯类工具,例如往复锯、曲线锯、圆锯等。或者,电动工具还可以为台型工具,例如台锯、斜切锯、金属切割机、电木铣等。或者,电动工具还可以为打磨类工具,例如角磨、砂光机等。或者,电动工具还可以为其它工具,例如风扇等。当然负载也可以包括其他类型的家用电设备。只要这些电动工具能够采用以下披露的技术方案的实质内容即可落在本申请的保护范围内。The power tool in the present application can be a handheld power tool, such as a drill, a pruning machine, a sander, etc. Alternatively, the power tool can also be a bench-type tool, such as a table saw, a miter saw, etc. Alternatively, the power tool can also be a hand-push power tool, such as a hand-push lawn mower, a hand-push snow blower. Alternatively, the power tool can also be a riding power tool, such as a riding lawn mower, a riding vehicle, an all-terrain vehicle, etc. Alternatively, the power tool can also be a robot tool, such as a lawn mowing robot, a snow sweeping robot, etc. In some embodiments, the power tool can be an electric drill, an electric light, an electric car, etc. In some embodiments, the power tool can also be a garden tool, such as a pruning machine, a hair dryer, a lawn mower, a chain saw, etc. Alternatively, the power tool can also be a decoration tool, such as a screwdriver, a nail gun, a circular saw, a sander, etc. In some embodiments, the power tool can also be a vegetation care tool, such as a lawn mower, a lawn mower, a pruning machine, a chain saw, etc. Alternatively, the power tool can also be a cleaning tool, such as a hair dryer, a snow blower, a cleaning machine, etc. Alternatively, the power tool may also be a drilling tool, such as a drill, a screwdriver, a wrench, an electric hammer, etc. Alternatively, the power tool may also be a sawing tool, such as a reciprocating saw, a jig saw, a circular saw, etc. Alternatively, the power tool may also be a bench tool, such as a bench saw, a miter saw, a metal cutter, an electric milling machine, etc. Alternatively, the power tool may also be a grinding tool, such as an angle grinder, a sander, etc. Alternatively, the power tool may also be other tools, such as a fan, etc. Of course, the load may also include other types of household electrical appliances. As long as these power tools can adopt the substantive content of the technical solution disclosed below, they can fall within the protection scope of this application.
参照图1,电动工具10以电钻为例进行说明。电动工具10主要包括:壳体11、功能元件12、握持部13、操作组件14、电机15、电源装置16。当然,电钻还包括传动机构、钻头、电路板等(未暴露在图1的视角中)。1 , the electric tool 10 is described by taking an electric drill as an example. The electric tool 10 mainly includes: a housing 11, a functional element 12, a grip 13, an operating assembly 14, a motor 15, and a power supply device 16. Of course, the electric drill also includes a transmission mechanism, a drill bit, a circuit board, etc. (not exposed in the perspective of FIG. 1 ).
壳体11形成有握持部13,握持部13供用户握持,当然,握持部13可以作为独立的零件。壳体11构成电动工具10主体部分,其设置为容纳电机15、传动机构以及其他诸如电路板等电子部件。壳体11的前端设置为安装功能元件12。The housing 11 is formed with a grip 13 for a user to grip. Of course, the grip 13 can be a separate part. The housing 11 constitutes the main body of the power tool 10 and is configured to accommodate a motor 15, a transmission mechanism, and other electronic components such as a circuit board. The front end of the housing 11 is configured to mount a functional element 12.
功能元件12设置为实现电动工具10的功能,功能件12由电机15驱动运行。对于不同电动工具10而言,功能元件不同。示例性的,对于打磨工具而言功能元件12可以是打磨件,如打磨盘或者砂纸等,对于切割工具而言,功能元件12可以是切割件,如链条、刀盘或刀片或打草绳等,对于清洁类工具而言功能元件12可以是清洁件或者吹吸件,如清洁刷头,吹风筒等,对于紧固类工具而言功能元件12可以是坚固件,如套筒或者批头等。在本实施例中,对电钻而言,功能元件12为钻孔件,例如钻头(未示出),设置为实现钻孔功能。钻头与电机15可操作地连接,例如,钻头通过输出轴和传动机构与电机15电连接。The functional element 12 is configured to realize the function of the electric tool 10, and the functional element 12 is driven by the motor 15. For different electric tools 10, the functional elements are different. Exemplarily, for a grinding tool, the functional element 12 can be a grinding piece, such as a grinding disc or sandpaper, etc., for a cutting tool, the functional element 12 can be a cutting piece, such as a chain, a knife disc or a blade or a mowing rope, etc., for a cleaning tool, the functional element 12 can be a cleaning piece or a blowing and suction piece, such as a cleaning brush head, a hair dryer, etc., for a fastening tool, the functional element 12 can be a solid piece, such as a sleeve or a batch head, etc. In this embodiment, for an electric drill, the functional element 12 is a drilling piece, such as a drill bit (not shown), which is configured to realize the drilling function. The drill bit is operably connected to the motor 15, for example, the drill bit is electrically connected to the motor 15 through an output shaft and a transmission mechanism.
操作组件14可以供用户操作以控制电动工具10工作。一般操作组件14可由用户直接手动操作或者间接操作。在一个实施例中,操作组件14可以是调速 机构。用户可以直接手动按压或者旋转或者滑动调速机构14中供用户操作的部位来控制电动工具10工作。调速机构14至少设置为设置电机15的目标转速,也即是说调速机构14设置为实现电机15调速,调速机构14可以是但不限于扳机、旋钮、开关、滑动变阻器等。在本实施方式中,调速机构14被配置成扳机结构。以上仅是示例性说明,并不构成对本申请的限制。在一个实施例中,操作组件14还可以包括物联网模块,该物联网模块可以与其他外部设备进行无线通信,从而用户可以通过其他外部设备间接控制电动工具10工作。示例性的,物联网模块可以采用蓝牙、无线保真(Wireless Fidelity,WiFi)等无线通信方式与智能手机等智能终端设备通信,进而用户可以基于智能手机中安装的终端应用非接触式操控电动工具10或者远程操控电动工具10。The operating component 14 can be operated by the user to control the operation of the power tool 10. Generally, the operating component 14 can be operated directly or indirectly by the user. In one embodiment, the operating component 14 can be a speed control component. Mechanism. The user can directly manually press or rotate or slide the part of the speed regulating mechanism 14 for user operation to control the operation of the power tool 10. The speed regulating mechanism 14 is at least configured to set the target speed of the motor 15, that is, the speed regulating mechanism 14 is configured to achieve speed regulation of the motor 15. The speed regulating mechanism 14 can be but not limited to a trigger, a knob, a switch, a sliding rheostat, etc. In the present embodiment, the speed regulating mechanism 14 is configured as a trigger structure. The above is only an exemplary description and does not constitute a limitation of the present application. In one embodiment, the operating component 14 may also include an Internet of Things module, which can communicate wirelessly with other external devices, so that the user can indirectly control the operation of the power tool 10 through other external devices. Exemplarily, the Internet of Things module can communicate with smart terminal devices such as smart phones using wireless communication methods such as Bluetooth and Wireless Fidelity (WiFi), so that the user can non-contactly control the power tool 10 or remotely control the power tool 10 based on the terminal application installed in the smart phone.
在本实施例中,电机15可以为无刷电机。在一个实施例中,电机15可以是内转子电机。在一个实施例中,电机15可以是外转子电机。在一个实施例中,电机15可以是无刷电机。In this embodiment, the motor 15 may be a brushless motor. In one embodiment, the motor 15 may be an inner rotor motor. In one embodiment, the motor 15 may be an outer rotor motor. In one embodiment, the motor 15 may be a brushless motor.
电源装置16设置为为电动工具10提供电能。在本实施例中,电动工具10电钻采用电池包16供电。作为可选地,电动工具10还包括电池包结合部17,设置为使电池包16连接至电钻。在其他实施方式中,电源装置16也可以是交流电源,在另一些实施例中,电动工具10使用交流电源供电,所述的交流电源可以为120V或220V的交流市电,电源装置16包括电源转换单元,其连接于交流电,设置为将交流电转换成可供所述电动工具10使用的电能。The power supply device 16 is configured to provide electrical energy to the power tool 10. In the present embodiment, the power tool 10 electric drill is powered by the battery pack 16. Optionally, the power tool 10 further includes a battery pack coupling portion 17, configured to connect the battery pack 16 to the electric drill. In other embodiments, the power supply device 16 may also be an AC power supply. In other embodiments, the power tool 10 is powered by an AC power supply, which may be 120V or 220V AC mains electricity. The power supply device 16 includes a power conversion unit, which is connected to the AC power and configured to convert the AC power into electrical energy that can be used by the power tool 10.
在本申请的另一个实施例中,一种手持式电动工具包括电机,具备定子和转子;电机驱动轴或输出轴,由所述电机转子驱动;工具附件轴,设置为支持工具附件;传动装置,设置为连接电机输出轴至工具附件轴,以将电机输出的扭矩传递至工具的功能元件。其中电机输出轴可以与功能元件的轴同轴、大致平行、大致垂直或倾斜设置,在此并非有所限制。In another embodiment of the present application, a handheld power tool includes a motor having a stator and a rotor; a motor drive shaft or output shaft driven by the motor rotor; a tool accessory shaft configured to support a tool accessory; and a transmission device configured to connect the motor output shaft to the tool accessory shaft to transmit the torque output by the motor to a functional element of the tool. The motor output shaft can be coaxial, substantially parallel, substantially perpendicular, or inclined with the axis of the functional element, without limitation.
在本申请的再一个实施例中,一种花园工具,例如车辆型割草机,包括主体,由主体支撑的至少一个驱动轮或驱动轮组;提供扭矩至该至少一个驱动轮或驱动轮组的驱动装置,如电机;以及电路系统,控制电机驱动运行,以下将述及。In another embodiment of the present application, a garden tool, such as a vehicle-type lawn mower, includes a main body, at least one drive wheel or drive wheel group supported by the main body; a drive device, such as a motor, that provides torque to the at least one drive wheel or drive wheel group; and a circuit system that controls the motor drive operation, as will be described below.
参照图2所示的电动工具10的一种实施方式的电路系统20,包括电源装置21、控制器22、驱动电路23、检测模块24、电机25。其中,控制器22可以包括磁链和转矩给定单元221,磁链和转矩估算单元222,磁链和转矩比较单元223,电压矢量生成单元224。在一些实施例中,磁链和转矩给定单元221也可以称为转矩和磁链给定单元或者可以分为两个子单元即磁链给定单元、转矩给定单元,另外,磁链和转矩估算单元222以及磁链和转矩比较单元223也可以采用上述 方式描述。本申请的不同实施方式中可能会采用不同的描述。Referring to FIG. 2 , a circuit system 20 of an embodiment of the electric tool 10 includes a power supply device 21, a controller 22, a drive circuit 23, a detection module 24, and a motor 25. The controller 22 may include a flux and torque setting unit 221, a flux and torque estimation unit 222, a flux and torque comparison unit 223, and a voltage vector generation unit 224. In some embodiments, the flux and torque setting unit 221 may also be referred to as a torque and flux setting unit or may be divided into two sub-units, namely, a flux setting unit and a torque setting unit. In addition, the flux and torque estimation unit 222 and the flux and torque comparison unit 223 may also adopt the above-mentioned Different descriptions may be used in different implementations of the present application.
为了区分不同的实施方式,本申请对不同实施方式中相同部件的标号可能不同,但可以理解为相同的部件,例如,图1中的电源装置16与图2中的电源装置21均代表电动工具10的电源装置。In order to distinguish different embodiments, the present application may use different numbers for the same components in different embodiments, but they can be understood as the same components. For example, the power supply device 16 in Figure 1 and the power supply device 21 in Figure 2 both represent the power supply device of the power tool 10.
电源装置21设置为为电动工具10供电,在一些实施方式中,电源装置21输出直流电,电源装置21包括电池包。在另一些实施例中,电源装置21输出交流电,交流电源可以为120V或220V的交流市电,交流电通过硬件电路对交流电源输出的交流信号进行整流、滤波、分压、降压等处理转换成可供电动工具10使用的电能。在本实施例中,电动工具10使用电池包供电,电源装置21包括电池包。The power supply device 21 is configured to supply power to the power tool 10. In some embodiments, the power supply device 21 outputs direct current, and the power supply device 21 includes a battery pack. In other embodiments, the power supply device 21 outputs alternating current, and the alternating current power supply can be a 120V or 220V AC mains power supply. The alternating current is converted into electric energy that can be used by the power tool 10 by rectifying, filtering, dividing, and reducing the voltage of the AC signal output by the AC power supply through a hardware circuit. In this embodiment, the power tool 10 is powered by a battery pack, and the power supply device 21 includes a battery pack.
检测模块24能够检测电机25的工作参数,例如检测电机25的相电流,相电压,转速,转矩,转动圈数,转子位置,定子电阻等参数中的至少一个。The detection module 24 can detect the working parameters of the motor 25, such as detecting at least one of the phase current, phase voltage, speed, torque, number of revolutions, rotor position, stator resistance and the like of the motor 25.
驱动电路23也可以称为逆变器。驱动电路23电连接至控制器22和电机25,其能够根据控制器22的控制信号驱动电机25运行。对于三相电机而言,驱动电路23与电机25的三相绕组电连接,设置为将来自电源装置21的电流传递至定子绕组以驱动电机25旋转。在一个实施例中,如图3所示驱动电路23包括多个开关元件Q1、Q2、Q3、Q4、Q5、Q6。其中,Q1、Q3、Q5为高侧开关元件,Q2、Q4、Q6为低侧开关元件。电机25的任意一相定子绕组连接一个高侧开关元件和一个低侧开关元件。驱动电路23中每个开关元件的栅极端与控制器22电性连接,设置为接收来自控制器22的控制信号。每个开关元件的漏极或源极与电机25的定子绕组连接。开关元件Q1-Q6接收来自控制器22的控制信号改变各自的导通状态,从而改变电源装置21加载在电机25的定子绕组上的电流。在一个实施例中,驱动电路23可以是包括六个可控半导体功率器件(例如场效应晶体管(Field Effect Transistor,FET),双极结型晶体管(Bipolar Junction Transistor,BJT),绝缘栅双极型晶体管(Insulate-Gate Bipolar Transistor,IGBT)等)的三相桥驱动器电路。可以理解的是,上述开关元件也可以是任何其他类型的固态开关,例如绝缘栅双极型晶体管(IGBT),双极结型晶体管(BJT)等。The drive circuit 23 may also be referred to as an inverter. The drive circuit 23 is electrically connected to the controller 22 and the motor 25, and can drive the motor 25 to run according to the control signal of the controller 22. For a three-phase motor, the drive circuit 23 is electrically connected to the three-phase winding of the motor 25, and is configured to transfer the current from the power supply device 21 to the stator winding to drive the motor 25 to rotate. In one embodiment, as shown in Figure 3, the drive circuit 23 includes a plurality of switch elements Q1, Q2, Q3, Q4, Q5, and Q6. Among them, Q1, Q3, and Q5 are high-side switch elements, and Q2, Q4, and Q6 are low-side switch elements. Any one-phase stator winding of the motor 25 is connected to a high-side switch element and a low-side switch element. The gate terminal of each switch element in the drive circuit 23 is electrically connected to the controller 22, and is configured to receive a control signal from the controller 22. The drain or source of each switch element is connected to the stator winding of the motor 25. The switch elements Q1-Q6 receive control signals from the controller 22 to change their respective conduction states, thereby changing the current loaded by the power supply device 21 on the stator winding of the motor 25. In one embodiment, the drive circuit 23 can be a three-phase bridge driver circuit including six controllable semiconductor power devices (such as field effect transistors (Field Effect Transistor, FET), bipolar junction transistors (Bipolar Junction Transistor, BJT), insulated gate bipolar transistors (Insulate-Gate Bipolar Transistor, IGBT), etc.). It can be understood that the above-mentioned switch elements can also be any other type of solid-state switches, such as insulated gate bipolar transistors (IGBT), bipolar junction transistors (BJT), etc.
为了驱动电机25转动,驱动电路23具有多种驱动状态,不同驱动状态下,电机25的转速或者转向可以不同。在一个实施例中,驱动电路23通常至少具有六个驱动状态,每次驱动状态的切换对应马达的一次换相动作。在一个实施例中,控制器22可以输出脉冲宽度调制信号,控制驱动电路22切换驱动状态,从而改变电机25的工作状态。In order to drive the motor 25 to rotate, the drive circuit 23 has multiple drive states, and the speed or direction of the motor 25 can be different in different drive states. In one embodiment, the drive circuit 23 usually has at least six drive states, and each switching of the drive state corresponds to a phase switching action of the motor. In one embodiment, the controller 22 can output a pulse width modulation signal to control the drive circuit 22 to switch the drive state, thereby changing the working state of the motor 25.
在本实施例中,控制器22能够输出电压矢量至驱动电路23,直接对驱动电 路23中开关元件的导通状态进行控制。其中,电压矢量可以是控制器22产生的电压的空间矢量脉宽调制(Space Vector Pulse Width Modulation,SVPWM)波形。在一个实施例中,控制器22可以在定子坐标系下计算与控制电机25的转矩。而无需将电机的电流再分解为转矩和磁链的分量,省去了旋转变换和电流控制,从而控制器22的转矩控制响应时间更短,电机控制的复杂性也降低了。在本实施例中,控制器22直接控制电机25的转矩的方式可以称为直接转矩控制(Direct Torque Control,DTC)。在本实施例中,直接转矩控制过程中转矩响应时间小于等于10ms,例如可以是10ms,9ms,8ms,7ms,6ms,5ms,4ms,3ms,2ms,1ms等。In this embodiment, the controller 22 can output a voltage vector to the drive circuit 23, directly The conduction state of the switch element in the circuit 23 is controlled. Among them, the voltage vector can be a space vector pulse width modulation (SVPWM) waveform of the voltage generated by the controller 22. In one embodiment, the controller 22 can calculate and control the torque of the motor 25 in the stator coordinate system. There is no need to decompose the current of the motor into torque and flux components, which eliminates the need for rotation transformation and current control, so that the torque control response time of the controller 22 is shorter and the complexity of motor control is reduced. In this embodiment, the mode in which the controller 22 directly controls the torque of the motor 25 can be called direct torque control (Direct Torque Control, DTC). In this embodiment, the torque response time in the direct torque control process is less than or equal to 10ms, for example, it can be 10ms, 9ms, 8ms, 7ms, 6ms, 5ms, 4ms, 3ms, 2ms, 1ms, etc.
参考图2和图4,控制器22中的磁链和转矩给定单元221可以给定电机25的转矩的目标值以及定子磁链的目标值所谓的目标值也可以称为参考值,可以是用户操作电动工具10时期望工具中的电机25能达到的输出转矩和定子磁链的值,也可以理解为用户操作操作组件14所产生的用户输入。示例性的,操作组件14为扳机时,用户输入为扳机的行程,该扳机的行程对应电机25应该输出的转矩和定子磁链的目标值,或者操作组件14为调速旋钮时,用户输入未调速旋钮的档位,电机25在不同档位下具有不同的转矩和定子磁链。在本实施例中,定子磁链的目标值是指定子磁链的幅值。在本实施例中,电机25的转矩的目标值可以由目标速度经过比例积分(Proportional-Integral,PI)运算后得到,也就是说用户输入目标速度后,磁链和转矩给定单元221经过PI运算确定电机25的转矩的目标值。在一个实施例中,用户也可以通过操作组件14直接给定电机25的转矩的目标值,例如,骑乘式电动设备中,用户通过操控踏板直接设定目标转矩。2 and 4 , the flux linkage and torque setting unit 221 in the controller 22 can set the target value of the torque of the motor 25 and the target value of the stator flux The so-called target value can also be called a reference value, which can be the output torque and stator flux that the user expects the motor 25 in the tool to achieve when operating the power tool 10, and can also be understood as the user input generated by the user operating the operating component 14. Exemplarily, when the operating component 14 is a trigger, the user input is the stroke of the trigger, and the stroke of the trigger corresponds to the target value of the torque and stator flux that the motor 25 should output, or when the operating component 14 is a speed knob, the user inputs the gear position of the unadjusted knob, and the motor 25 has different torques and stator fluxes at different gears. In this embodiment, the target value of the stator flux is the amplitude of the stator flux. In this embodiment, the target value of the torque of the motor 25 can be obtained by the proportional-integral (PI) operation of the target speed, that is, after the user inputs the target speed, the flux and torque setting unit 221 determines the target value of the torque of the motor 25 through the PI operation. In one embodiment, the user can also directly set the target value of the torque of the motor 25 through the operating component 14. For example, in a riding electric device, the user directly sets the target torque by operating the pedal.
磁链和转矩估算单元222可以根据检测模块24检测到的电机25的工作参数估算电机25的转矩的实际值Te和定子磁链的实际值其中,定子磁链的实际值也是指定子磁链实际的幅值。在本实施例中,磁链和转矩估算单元222可以根据电机25的定子电阻Rs估算定子磁链的实际值。具体实现中,定子磁链矢量可以通过反电势的积分获得:

The flux and torque estimation unit 222 can estimate the actual value Te of the torque of the motor 25 and the actual value of the stator flux according to the working parameters of the motor 25 detected by the detection module 24. The actual value of the stator flux also refers to the actual amplitude of the stator flux. In this embodiment, the flux and torque estimation unit 222 can estimate the actual value of the stator flux according to the stator resistance Rs of the motor 25. In a specific implementation, the stator flux vector can be obtained by integrating the back electromotive force:

其中,Rs为定子内阻,为定子的端电压,为定子磁链,Is为电机的定子电流,。Among them, Rs is the stator internal resistance, is the stator terminal voltage, is the stator flux, Is is the stator current of the motor.
由上述公式可知,定子绕组的反电动势可由公式算得。在电机25高速运转时,定子绕组的反电势较大,因此即使有较大偏差,也不会对反电 动势造成明显的影响,从而对定子磁链的影响也不大。反之,在电机25低速运转时,反电动势较小,若内阻Rs的偏差较大,则会对反电动势造成明显的影响,从而影响定子磁链计算的准确性。也就是说,定子磁链在低速时的计算比较关键。为了在静止和低速时获得良好的性能,可以引入截止频率为ωf的低通滤波器来消除由直流偏移和测量造成引起的积分漂移。从而定子磁链可以表示为:
From the above formula, we can know that the back electromotive force of the stator winding can be expressed by the formula When the motor 25 is running at high speed, the back electromotive force of the stator winding is large, so even if There is a large deviation, and it will not affect the reverse current. The back electromotive force has a significant impact on the stator flux, and thus the impact on the stator flux is not significant. On the contrary, when the motor 25 is running at a low speed, the back electromotive force is small. If the deviation of the internal resistance R s is large, it will have a significant impact on the back electromotive force, thereby affecting the accuracy of the stator flux calculation. In other words, the calculation of the stator flux at low speed is more critical. In order to obtain good performance at rest and low speed, a low-pass filter with a cutoff frequency of ω f can be introduced to eliminate the integral drift caused by DC offset and measurement. The stator flux can thus be expressed as:
其中,ωs定子磁链旋转的频率。由公式(3)可知,在低速时,定子内阻具有主导地位,事实上如果估计的定子内阻大于实际的电阻,则由公式(1)得到的以下微分方程(4)的时间常数为负,会导致电机25失控。
Where ω s is the frequency of stator flux rotation. It can be seen from formula (3) that at low speed, the stator internal resistance is dominant. In fact, if the estimated stator internal resistance is greater than the actual resistance, the time constant of the following differential equation (4) obtained from formula (1) is negative, which will cause the motor 25 to lose control.
其中,σ为影响因子,Ls为定子电感,Lr为转子电感,Lm为磁化电感,为转子磁链,由上述公式可知,定子内阻检测的准确性直接影响低速下电机的定子磁链实际值的确定。在一个实施例中,检测模块24可以是电阻观测器或者电感观测器,采用电阻观测器能够更加准确的观测电机25的定子电阻。在一个实施例中,电动工具10还可以设置电阻冷却装置,设置为为电机25的定子散热。Among them, σ is the influence factor, Ls is the stator inductance, Lr is the rotor inductance, Lm is the magnetizing inductance, is the rotor flux. As can be seen from the above formula, the accuracy of stator internal resistance detection directly affects the determination of the actual value of the stator flux of the motor at low speed. In one embodiment, the detection module 24 can be a resistance observer or an inductance observer. The use of a resistance observer can more accurately observe the stator resistance of the motor 25. In one embodiment, the power tool 10 can also be provided with a resistance cooling device, which is configured to dissipate heat from the stator of the motor 25.
在一个实施例中,还可以采用模糊控制器通过模糊控制实时估测定子内阻的大小,并以实时的内阻值实时更新电机25的工作参数。例如可以基于估计的定子磁链与滤波后定子磁链之间的相位和幅值误差作为模糊控制器的输入变量。模糊控制器的输出变量为通过模糊推理和去模糊化生成的变化率,通过变化量的不断迭代直至稳定后使最终的变化量为零,能够保证内阻估算的准确性。In one embodiment, a fuzzy controller can also be used to estimate the magnitude of the stator internal resistance in real time through fuzzy control, and the working parameters of the motor 25 can be updated in real time with the real-time internal resistance value. For example, the phase and amplitude errors between the estimated stator flux and the stator flux after filtering can be used as input variables of the fuzzy controller. The output variable of the fuzzy controller is the rate of change generated by fuzzy reasoning and defuzzification. The accuracy of the internal resistance estimation can be ensured by continuously iterating the change amount until it is stable and the final change amount is zero.
磁链和转矩比较单元223可以对上述目标值和实际值进行比较,以确定实际的定子磁链和目标定子磁链之间的差值,以及实际的转矩和目标转矩之间的差值。在本实施例中,磁链和转矩比较单元223可以包括至少一个滞环比较器,当实际值与目标值的误差在滞环比较器的容差范围内时,比较器的输出保持不变,一旦超过这个范围,滞环比较器便给出相应的值。具体实现中,滞环比较器可以将转矩差做滞环处理得到转矩控制信号;将磁链估计值跟给定磁链相比,经滞环比较器得到磁链控制信号。The flux and torque comparison unit 223 can compare the above target value and the actual value to determine the difference between the actual stator flux and the target stator flux, and the difference between the actual torque and the target torque. In this embodiment, the flux and torque comparison unit 223 may include at least one hysteresis comparator. When the error between the actual value and the target value is within the tolerance range of the hysteresis comparator, the output of the comparator remains unchanged. Once this range is exceeded, the hysteresis comparator gives a corresponding value. In a specific implementation, the hysteresis comparator can perform hysteresis processing on the torque difference to obtain a torque control signal; the flux estimation value is compared with the given flux, and the flux control signal is obtained through the hysteresis comparator.
电压矢量生成单元224可以根据磁链和转矩比较单元223输出的比较结果输出电压矢量,即输出SVPWM信号以控制驱动电路23改变导通状态。在一个电机调制周期即360°换相周期内,转子每转过60°电机换相一次,定义电机25一次换相至下一次换相的间隔为换相区间。每个换相区间对应图5所示的一个扇形区间。每个扇形区间对应一种开关状态,空间电压矢量可以理解为使驱 动电路23具有不同开关状态的电压信号。在本实施例中,电压矢量生成单元224实际可以包括一个如图6所示的DTC开关表即开关状态选择表,在开关表中表示定子磁链的实际值和目标值之间的差值,ΔT表示电机25的转矩的实际值和目标值之间的差值,u0-u7表示八种开关状态,其中u0和u7均为零矢量,其对应的开关状态为(0,0,0)或(1,1,1)。在本实施例中,电压矢量生成单元224确定电压矢量后可以将所选择的电压矢量通过变频器产生SVPWM波形以控制电机25运转。The voltage vector generating unit 224 can output a voltage vector according to the comparison result output by the flux linkage and torque comparing unit 223, that is, output an SVPWM signal to control the drive circuit 23 to change the conduction state. In a motor modulation cycle, that is, a 360° commutation cycle, the motor commutates once every 60° rotation of the rotor, and the interval from one commutation of the motor 25 to the next commutation is defined as the commutation interval. Each commutation interval corresponds to a sector interval shown in FIG5. Each sector interval corresponds to a switching state, and the space voltage vector can be understood as making the drive circuit 23 change its conduction state. The driving circuit 23 has voltage signals with different switch states. In this embodiment, the voltage vector generating unit 224 can actually include a DTC switch table as shown in FIG. 6, that is, a switch state selection table. represents the difference between the actual value and the target value of the stator flux, ΔT represents the difference between the actual value and the target value of the torque of the motor 25, and u0-u7 represents eight switching states, where u0 and u7 are both zero vectors, and their corresponding switching states are (0,0,0) or (1,1,1). In this embodiment, after determining the voltage vector, the voltage vector generating unit 224 can generate an SVPWM waveform through the inverter to control the operation of the motor 25.
在本实施例中,可以认为控制器22根据转矩实际值和目标值的比较结果,以及定子磁链实际值和目标值的比较结果,能以滞环控制方式生成电压矢量控制电机25运转。In this embodiment, it can be considered that the controller 22 can generate a voltage vector control motor 25 in a hysteresis control manner according to the comparison result of the actual torque value and the target value, and the comparison result of the actual stator flux value and the target value.
电动工具10工作于轻载阶段时,可以具备较高的转速,而工作于重载阶段时,可能需要较大的输出转矩。也就是说,控制器22可以根据电动工具10的负载状况控制电机25改变输出的转矩或改变转速。在永磁同步电机或直流电机的矢量控制技术中,直轴分量在运动中会形成对永磁体的增磁(Id>0)和弱磁(Id<0)两个区域,在弱磁区电机定子电流中的直流分量会形成去磁作用,可以实现电机25的弱磁高速运行。When the power tool 10 is working in the light load stage, it can have a higher speed, and when working in the heavy load stage, it may require a larger output torque. That is to say, the controller 22 can control the motor 25 to change the output torque or change the speed according to the load condition of the power tool 10. In the vector control technology of the permanent magnet synchronous motor or the DC motor, the direct axis component will form two regions of magnetization (Id>0) and weak magnetization (Id<0) of the permanent magnet during movement. In the weak magnetization area, the DC component in the stator current of the motor will form a demagnetization effect, which can realize the weak magnetization high-speed operation of the motor 25.
在电机25的直接转矩控制也可以采用弱磁方式提高电机25的转速。但不同于矢量控制方式中的弱磁,在直接转矩控制中可以通过减小定子磁链的目标值达到与适量控制中基本相同的弱磁效果。In the direct torque control of the motor 25, a field weakening method can also be used to increase the speed of the motor 25. However, unlike the field weakening in the vector control method, in the direct torque control, the field weakening effect substantially the same as that in the appropriate control can be achieved by reducing the target value of the stator flux.
在一种实现方式中,控制器22可以在电机25的目标转速大于等于第一转速阈值时,减小定子磁链的参考值或者说目标值。一般第一转速阈值可以是一个较高的转速值,可以是电动工具10在不采用弱磁提速时所能达到的最高转速,不同类型的电动工具10对应的第一转速阈值可以不同,例如电钻的第一转速阈值可以是27000RPM。在一个实施例中,电钻采用直接转矩控制并采用弱磁提速后,转速可以达到35000RPM。换句话说,电机25要达到的目标转速比较大的时候,可以采用弱磁的方式提高电机25的转速以使电机25能达到目标转速,而在目标转速较小时可以不采用弱磁提速。下面结合定子磁链和电机25的转速的规划变化关系说明DTC控制方式中采用弱磁提速的效果,参考图7假设在t1时刻之前电机25以1200rpm的转速稳定运行,在t1时刻用户操作操作组件14给定一个目标转速为2200rpm,则从t1时刻开始控制器22开始控制电机25升速,假设t2时刻电机25的转速达到了该电动工具10对应的第一转速阈值,则控制器22开始减小定子磁链的目标值,以弱磁方式控制电机25继续提速,并在t3时刻达到目标转速2200rpm。In one implementation, the controller 22 can reduce the reference value or target value of the stator flux when the target speed of the motor 25 is greater than or equal to the first speed threshold. Generally, the first speed threshold can be a higher speed value, which can be the highest speed that the power tool 10 can reach when not using weak magnetic field speed-up. The first speed thresholds corresponding to different types of power tools 10 may be different. For example, the first speed threshold of an electric drill may be 27000RPM. In one embodiment, after the electric drill adopts direct torque control and weak magnetic field speed-up, the speed can reach 35000RPM. In other words, when the target speed to be reached by the motor 25 is relatively large, the speed of the motor 25 can be increased by weak magnetic field so that the motor 25 can reach the target speed, and when the target speed is relatively small, weak magnetic field speed-up may not be used. The following describes the effect of using weak magnetic field acceleration in the DTC control method in combination with the planned change relationship between the stator flux and the speed of the motor 25. Referring to Figure 7, it is assumed that before time t1, the motor 25 runs stably at a speed of 1200 rpm. At time t1, the user operates the operating component 14 to give a target speed of 2200 rpm. Then, from time t1, the controller 22 starts to control the motor 25 to increase its speed. Assuming that at time t2, the speed of the motor 25 reaches the first speed threshold corresponding to the power tool 10, the controller 22 starts to reduce the target value of the stator flux, and controls the motor 25 to continue to accelerate in a weak magnetic field manner, and reaches the target speed of 2200 rpm at time t3.
电动工具10的操作组件14为扳机时,一般随着扳机行程的增加,需要电 机25达到的目标转速越大。因此,在操作扳机的后半行程电机25需要达到的目标转速会大于等于第一转速阈值,控制器22需要减小定子磁链的目标值,以增强定子绕组的弱磁效果,提高电机25的转速。在一些特别的工具中,可能随着扳机行程的增加,电机25需要达到的目标转速越小,则在扳机行程的前半段需要弱磁提速。When the operating component 14 of the electric tool 10 is a trigger, generally, as the trigger travel increases, the electric The larger the target speed of the motor 25 is, the greater the target speed of the motor 25 is. Therefore, in the second half of the trigger stroke, the target speed that the motor 25 needs to reach will be greater than or equal to the first speed threshold, and the controller 22 needs to reduce the target value of the stator flux to enhance the weak magnetic effect of the stator winding and increase the speed of the motor 25. In some special tools, the target speed that the motor 25 needs to reach may be smaller as the trigger stroke increases, and weak magnetic acceleration is required in the first half of the trigger stroke.
若电源装置21为电池包或者其他能量存储装置,则随着电池包不断放电,其电压会不断降低,在电池包的电压低于额定电压或者低于其他预设值后,电动工具10的输入功率会降低,在负载不变的情况下电机25的转速会降低。在这种情况下,为了提高电机25的转速,控制器22可以减小定子磁链的目标值,以增强定子绕组的弱磁效果,提高电机25的转速。在一个实施例中,电池包的输出电压小于等于第一电压阈值时,磁链和转矩给定单元221可以减小定子磁链的目标值,以提高电机25的转速。其中,第一电压阈值可以是电池包的额定电压也可是电池包的欠压阈值。If the power supply device 21 is a battery pack or other energy storage device, as the battery pack is continuously discharged, its voltage will continue to decrease. After the voltage of the battery pack is lower than the rated voltage or lower than other preset values, the input power of the power tool 10 will decrease, and the speed of the motor 25 will decrease when the load remains unchanged. In this case, in order to increase the speed of the motor 25, the controller 22 can reduce the target value of the stator flux to enhance the weak magnetic effect of the stator winding and increase the speed of the motor 25. In one embodiment, when the output voltage of the battery pack is less than or equal to the first voltage threshold, the flux and torque setting unit 221 can reduce the target value of the stator flux to increase the speed of the motor 25. Among them, the first voltage threshold can be the rated voltage of the battery pack or the undervoltage threshold of the battery pack.
在一个实施例中,控制器22可以根据工具的负载状况,合理调整电机25的定子磁链的目标值,以控制电机25实际输出的转矩或转速。例如,在轻载工况下,电机25可以高转速工作,而在重载工况下,电机25需要低转速高扭矩工作。也就是说,在轻载工况下,控制器22中的磁链和转矩给定单元221可以减小定子磁链的目标值,以提高电机25的转速。反之,若增加定子磁链的目标值,降低弱磁效果,也可以降低电机25的转速,或者提高电机25的转矩。In one embodiment, the controller 22 can reasonably adjust the target value of the stator flux of the motor 25 according to the load condition of the tool to control the torque or speed actually output by the motor 25. For example, under light load conditions, the motor 25 can work at a high speed, while under heavy load conditions, the motor 25 needs to work at a low speed and high torque. That is to say, under light load conditions, the flux and torque setting unit 221 in the controller 22 can reduce the target value of the stator flux to increase the speed of the motor 25. Conversely, if the target value of the stator flux is increased and the weak magnetic effect is reduced, the speed of the motor 25 can also be reduced, or the torque of the motor 25 can be increased.
在一个实施例中,控制器22也可以通过降低弱磁效果来提升电机25的转矩。在一个实施例中,在重载工况下,磁链和转矩给定单元221可以增大定子磁链的目标值,以提高电机25的转矩。示例性,电钻在软木上钻孔时,可以次用弱磁方式提高电机25的转速,而在钻钢板等硬材质材料时需要较大的输出转矩,可以降低弱磁效果提高电机25的转矩。In one embodiment, the controller 22 can also increase the torque of the motor 25 by reducing the weak magnetic effect. In one embodiment, under heavy load conditions, the flux linkage and torque setting unit 221 can increase the target value of the stator flux linkage to increase the torque of the motor 25. For example, when the electric drill is drilling a hole in soft wood, the weak magnetic method can be used to increase the speed of the motor 25. When drilling hard materials such as steel plates, a larger output torque is required, and the weak magnetic effect can be reduced to increase the torque of the motor 25.
在一个实施例中,电动工具10内可以设有工况识别模块,能够识别电动工具10当前的工作工况。示例性的,工况识别模块可以通过识别电机25的输出功率识别工况,或者通过用户输入识别工况,或者通过电机25实际的转速识别工况。In one embodiment, the power tool 10 may be provided with a working condition identification module that can identify the current working condition of the power tool 10. Exemplarily, the working condition identification module can identify the working condition by identifying the output power of the motor 25, or by identifying the working condition through user input, or by identifying the working condition through the actual rotation speed of the motor 25.
电机25的转速提高后也会存在一些问题比如电动工具10的工作噪音会越大,控制器22可以均衡噪音的分贝和电机25的转速后设置一个转速,电动工具10以该设定转速工作过程中,噪音分贝处于人耳可承受的范围内。磁链和转矩给定单元221可以增大定子磁链的目标值,降低电机25的转速使电机25最终的转速与设定的转速基本一致。When the speed of the motor 25 is increased, there will be some problems, such as the working noise of the power tool 10 will be greater. The controller 22 can balance the decibel of the noise and the speed of the motor 25 and set a speed. When the power tool 10 works at the set speed, the decibel of the noise is within the range that the human ear can tolerate. The flux and torque setting unit 221 can increase the target value of the stator flux and reduce the speed of the motor 25 so that the final speed of the motor 25 is basically consistent with the set speed.
在一个实施例中,控制器22降低定子磁链的目标值控制电机弱磁提速的过 程中,永磁体进入弱磁区,电机25的永磁体和硅钢片的非线性加重会导致电机25的控制精度降低,从而谐波变大。在本实施例中,控制器22可以通过增加定子磁链的目标值,减小弱磁效果,使电机25尽量工作在线性区,从而降低谐波干扰,使电机25的控制精度得到保证。在一个实施例中,控制器22可以检测电机25的永磁体和硅钢片的磁链的非线性化程度,并据此增加定子磁链目标值,避免定子磁链目标值增加较多使电机25制动,同时避免定子磁链目标值增加较少而达不到消除谐波的作用。In one embodiment, the controller 22 reduces the target value of the stator flux to control the motor flux weakening speed. During the process, the permanent magnet enters the weak magnetic field area, and the nonlinearity of the permanent magnet and silicon steel sheet of the motor 25 increases, which will cause the control accuracy of the motor 25 to decrease, thereby increasing the harmonics. In this embodiment, the controller 22 can reduce the weak magnetic field effect by increasing the target value of the stator flux, so that the motor 25 can work in the linear area as much as possible, thereby reducing harmonic interference and ensuring the control accuracy of the motor 25. In one embodiment, the controller 22 can detect the nonlinearity of the flux of the permanent magnet and silicon steel sheet of the motor 25, and increase the stator flux target value accordingly, so as to avoid the stator flux target value increasing too much to brake the motor 25, and at the same time avoid the stator flux target value increasing too little to achieve the effect of eliminating harmonics.
在一个实施例中,控制器22还可以综合电动工具10当前的工况、噪音分贝以及谐波大小等条件后,调整定子磁链的目标值的大小,以使电动工具10在任意工况下能满足噪音以及操作舒适度等关系的平衡。In one embodiment, the controller 22 can also adjust the target value of the stator flux based on the current operating conditions, noise decibels, harmonic size and other conditions of the power tool 10, so that the power tool 10 can meet the balance between noise and operating comfort under any operating conditions.
在一个实施例中,电动工具10在一些工况下需要提升转速,在一些工况下需要提高输出功率。为了适应工具的不同需求,控制器22可以切换控制方式,例如可以根据电机25的负载点的变化切换控制方式。其中,负载点可以根据用户输入的电机25的目标转矩或目标转速所确定的应用工况,例如,高转速低转矩,高转速高转矩,低转速低转矩以及低转矩高转矩等几种不同的应用工况。其中,本申请实施例中高,低是一种相对的概念而非绝对值,不同电动工具10对应的转速或转矩的高低划分方法也不同,此处不做绝对定义。In one embodiment, the power tool 10 needs to increase the speed under some conditions, and needs to increase the output power under some conditions. In order to adapt to the different needs of the tool, the controller 22 can switch the control mode, for example, the control mode can be switched according to the change of the load point of the motor 25. Among them, the load point can be determined according to the application conditions of the target torque or target speed of the motor 25 input by the user, for example, high speed and low torque, high speed and high torque, low speed and low torque, and low torque and high torque. Among them, high and low in the embodiment of the present application are relative concepts rather than absolute values. The method of dividing the high and low speeds or torques corresponding to different power tools 10 is also different, and no absolute definition is made here.
参考图8所示的电路系统30包括:电源装置31、控制器32、驱动电路33,电机34。其中,控制器32包括磁链估算单元321,转矩估算的单元322,转矩给定单元323,磁链给定单元324,转速调节器325,最大转矩磁链比控制器326,转矩比较单元327,磁链比较单元328,开关表329。Referring to the circuit system 30 shown in FIG8 , it includes: a power supply device 31, a controller 32, a drive circuit 33, and a motor 34. The controller 32 includes a flux estimation unit 321, a torque estimation unit 322, a torque setting unit 323, a flux setting unit 324, a speed regulator 325, a maximum torque flux ratio controller 326, a torque comparison unit 327, a flux comparison unit 328, and a switch table 329.
在本实施例中,磁链估算单元321和转矩估算的单元322与上述实施例中的磁链和转矩估算单元222的作用一致,均是根据电机25的工作参数确定电机25的转矩的实际值Te,以及定子磁链的实际值且上述两个估算单元可以次用与磁链和转矩估算单元222基本一致的方法估算,此处不做详述。在可选实施例中,磁链估算单元321和转矩估算的单元322也可以合并为一个估算单元。In this embodiment, the flux estimation unit 321 and the torque estimation unit 322 have the same function as the flux and torque estimation unit 222 in the above embodiment, and both determine the actual value Te of the torque of the motor 25 and the actual value of the stator flux according to the working parameters of the motor 25. The two estimation units can be estimated by the same method as the flux and torque estimation unit 222, which will not be described in detail here. In an optional embodiment, the flux estimation unit 321 and the torque estimation unit 322 can also be combined into one estimation unit.
转矩给定单元323可以根据用户输入确定电机25的转矩的目标值磁链给定单元324也可以根据用户输入确定定子磁链的目标值示例性的,用户输入可以是用户操作操作组件达到任一状态下对应的电机25的目标转速。The torque setting unit 323 can determine the target value of the torque of the motor 25 according to the user input. The flux setting unit 324 can also determine the target value of the stator flux according to the user input. Exemplarily, the user input may be that the user operates the operating component to reach the corresponding target speed of the motor 25 in any state.
转速调节器325,可以根据电机34的实际转速n和电机34的转速的给定值即目标值n*确定电机34的转矩的目标值。The speed regulator 325 can determine the target value of the torque of the motor 34 according to the actual speed n of the motor 34 and a given value of the speed of the motor 34 , ie, the target value n * .
最大转矩磁链比控制器326,可以根据电机34的转矩的目标值设定能够使电机34以该目标转矩转动工作的最小的定子磁链的值。可以理解的,在直接转 矩控制中,若为了达到一定的转矩输出,定子磁链可能不是唯一确定的值,即定子磁链在一定范围内的取值均可以使电机34具有相同的输出转矩。而最大转矩磁链比控制器326可以最小的定子磁链控制电机34输出一定的转矩,从而能够保证电机34具有最大的功率。The maximum torque flux ratio controller 326 can set the minimum stator flux ratio value that can enable the motor 34 to rotate at the target torque according to the target value of the torque of the motor 34. In torque control, in order to achieve a certain torque output, the stator flux may not be a uniquely determined value, that is, the stator flux values within a certain range can make the motor 34 have the same output torque. The maximum torque flux ratio controller 326 can control the motor 34 to output a certain torque with the minimum stator flux, thereby ensuring that the motor 34 has the maximum power.
不同于上述实施例的是,本实施例中电路系统30还包括第一开关S1和第二开关S2。控制器32可以根据用户输入确定负载点,进而可以根据负载点或者负载点的变化控制两个开关S1和S2改变开关状态。例如,控制器32在根据用户输入确定电动工具10处于第一负载点时,可以控制控制两个开关S1和S2处于第一开关状态,即开关S1接入转矩给定单元323,S2接入磁链给定单元324。在这种开关状态下控制器32能在第一转矩和磁链给定方式下由转矩给定单元323给定转矩的目标值以及由磁链给定单元324给定定子磁链的目标值且在第一转矩和磁链给定方式下,控制器32通过减少定子磁链目标值可以增加弱磁效果,提高电机34的转速。也就是说,第一转矩和磁链给定方式与上述实施例中的转矩和磁链的给定方式一致。Different from the above-mentioned embodiment, the circuit system 30 in this embodiment also includes a first switch S1 and a second switch S2. The controller 32 can determine the load point according to the user input, and then control the two switches S1 and S2 to change the switch state according to the load point or the change of the load point. For example, when the controller 32 determines that the power tool 10 is at the first load point according to the user input, the two switches S1 and S2 can be controlled to be in the first switch state, that is, switch S1 is connected to the torque setting unit 323, and S2 is connected to the flux setting unit 324. In this switch state, the controller 32 can set the target value of the torque by the torque setting unit 323 in the first torque and flux setting mode. The target value of the stator flux is given by the flux setting unit 324. In the first torque and flux setting mode, the controller 32 can increase the field weakening effect by reducing the stator flux target value, thereby increasing the speed of the motor 34. That is, the first torque and flux setting mode is consistent with the torque and flux setting mode in the above embodiment.
在控制器32确定电动工具10由第一负载点到第二负载点的变化时,可以控制两个开关S1和S2切换至第二开关状态,即S1接入转速调节器325,S2接入最大转矩磁链比控制器326,控制器32能以第二转矩和磁链给定方式给定转矩和定子磁链的目标值。具体实现中,转速调节器325可以根据电机34的实际转速和目标转矩给定电机转矩的目标值最大转矩磁链比控制器326可以根据目标转矩确定使电机34具有该目标转矩的最小定子磁链并将之作为定子磁链的目标值输出至磁链比较单元328。When the controller 32 determines that the power tool 10 changes from the first load point to the second load point, the two switches S1 and S2 can be controlled to switch to the second switch state, that is, S1 is connected to the speed regulator 325, and S2 is connected to the maximum torque flux ratio controller 326. The controller 32 can set the target value of the torque and stator flux in the second torque and flux setting method. In a specific implementation, the speed regulator 325 can set the target value of the motor torque according to the actual speed and target torque of the motor 34. The maximum torque flux ratio controller 326 can determine the minimum stator flux that enables the motor 34 to have the target torque according to the target torque and use it as the target value of the stator flux. Output to the flux comparison unit 328.
在控制器32确定电动工具10由第二负载点到第一负载点的变化时,可以控制两个开关S1和S2切换至第一开关状态,以第一转矩和磁链给定方式给定转矩和定子磁链的目标值。When the controller 32 determines that the power tool 10 changes from the second load point to the first load point, the two switches S1 and S2 can be controlled to switch to the first switch state, and the target values of the torque and stator flux are given in the first torque and flux setting method.
在本实施例中,转矩比较单元327可以对比转矩的目标值和实际值,以确定二者的差值,磁链比较单元328可以对比定子磁链的目标值和实际值以确定二者的差值。控制器32可以对应两个差值在开关表329中确定对应的电压矢量,进而生成SVPWM控制信号,以控制电机34运转。In this embodiment, the torque comparison unit 327 can compare the target value and the actual value of the torque to determine the difference between the two, and the flux comparison unit 328 can compare the target value and the actual value of the stator flux to determine the difference between the two. The controller 32 can determine the corresponding voltage vector in the switch table 329 corresponding to the two differences, and then generate an SVPWM control signal to control the operation of the motor 34.
本实施例对第一负载点和第二负载点对应的应用工况并不做具体限定。示例性的,第一负载点可以是高转速低转矩的应用工况,第二负载点可以是低转速高转矩的应用工况,第一负载点到第二负载点的变化可以是高转速低转矩的应用工况转变为低转速高转矩的应用工况,第二负载点到第一负载点的变化可以是低转速高转矩的应用工况转变为高转速低转矩的应用工况。This embodiment does not specifically limit the application conditions corresponding to the first load point and the second load point. For example, the first load point may be an application condition of high speed and low torque, the second load point may be an application condition of low speed and high torque, the change from the first load point to the second load point may be a change from a high speed and low torque application condition to a low speed and high torque application condition, and the change from the second load point to the first load point may be a change from a low speed and high torque application condition to a high speed and low torque application condition.
在第二转矩和磁链给定方式下,定子磁链的目标值小于等于定子磁链的基 准值。所谓的基准值可以理解为电动工具10出厂设置的参数中关于定子磁链的设置值。在第一转矩和磁链给定方式下,定子磁链的目标值大于等于上述基准值。In the second torque and flux setting mode, the target value of the stator flux is less than or equal to the base value of the stator flux. The so-called reference value can be understood as the setting value of the stator flux in the factory setting parameters of the power tool 10. In the first torque and flux given mode, the target value of the stator flux is greater than or equal to the above reference value.
本实施例中,第一转矩和磁链给定方式也可以称为弱磁给定当时即能给对电机进行弱磁控制的给定方式,而第二转矩和磁链给定方式可以称为最大转矩磁链比方式,即能给保证电机34具有最大输出功率的给定方式。In this embodiment, the first torque and flux setting method can also be called weak magnetic setting, that is, a setting method for weak magnetic control of the motor, and the second torque and flux setting method can be called maximum torque flux ratio method, that is, a setting method that can ensure that the motor 34 has maximum output power.
在电机控制中还包括电机34的制动控制,一般电机制动可以包括断开电源的滑行制动、驱动电路上侧开关元件全开或者下侧开关元件全开以短接电机34绕组的短接制动、以及控制电机34输出负转矩的负转矩制动。The motor control also includes braking control of the motor 34. Generally, the motor braking can include coasting braking to disconnect the power supply, short-circuiting braking in which the upper switch element of the driving circuit is fully opened or the lower switch element is fully opened to short-circuit the winding of the motor 34, and negative torque braking in which the motor 34 is controlled to output negative torque.
在图4所示的控制系统20中,控制器22可以响应于制动信号,使磁链和转矩给定单元221输出的转矩的目标值或者说参考值小于等于零,即控制电机25以负扭矩刹车。或者响应与制动信号磁链和转矩给定单元221增大定子磁链的目标值,以降低弱磁效果使电机25的转速逐渐降低直至为零。In the control system 20 shown in FIG4 , the controller 22 can respond to the braking signal to make the target value or reference value of the torque output by the flux linkage and torque setting unit 221 less than or equal to zero, that is, control the motor 25 to brake with negative torque. Alternatively, in response to the braking signal, the flux linkage and torque setting unit 221 increases the target value of the stator flux linkage to reduce the weak magnetic effect and gradually reduce the speed of the motor 25 to zero.
在图8所示的控制系统30中,控制器32可以响应于制动信号,使转矩给定单元323输出的转矩的目标值或者说参考值小于等于零,即控制电机34以负扭矩刹车。在一个实施例中,响应于制动信号,控制器32也可以使磁链给定单元324增大定子磁链的目标值,从而降低弱磁效果使电机34的转速逐渐降低直至为零。在图8所示的控制系统30中,控制器32响应制动信号的过程中,开关S1和S2处于第一开关状态,转速调节器325和最大转矩磁链比控制器326断开在控制系统30中的电连接。In the control system 30 shown in FIG8 , the controller 32 can respond to the braking signal so that the target value or reference value of the torque output by the torque setting unit 323 is less than or equal to zero, that is, the motor 34 is controlled to brake with negative torque. In one embodiment, in response to the braking signal, the controller 32 can also cause the flux setting unit 324 to increase the target value of the stator flux, thereby reducing the weak magnetic effect and gradually reducing the speed of the motor 34 to zero. In the control system 30 shown in FIG8 , when the controller 32 responds to the braking signal, switches S1 and S2 are in the first switching state, and the speed regulator 325 and the maximum torque flux ratio controller 326 are disconnected from the electrical connection in the control system 30.
在本实施例中,用户可以通过操作组件14输入制动信号,例如开关断开操作或者旋钮复位至初始位置或者扳机复位至初始位置等。In this embodiment, the user can input a braking signal through the operating component 14, such as a switch disconnection operation or a knob reset to an initial position or a trigger reset to an initial position.
在一个实施例中,可以在制动的不同阶段分别采用不同的制动方式制动,例如在制动初始阶段采用滑行制动控制方式,接着增加定子磁链的给定值快速降低电机的转速,或者将定子磁链的目标设为值小于等于零以负转矩制动。本申请对制动阶段的划分以及不同阶段所采用的制动方式不做限定。In one embodiment, different braking methods can be used in different stages of braking, for example, a sliding braking control method is used in the initial stage of braking, and then the given value of the stator flux is increased to quickly reduce the speed of the motor, or the target of the stator flux is set to a value less than or equal to zero to brake with negative torque. This application does not limit the division of braking stages and the braking methods used in different stages.
为便于陈述,在以下的电机制动控制中以图8所示的控制系统30为例进行说明。在本实施例中,响应于制动信号,转矩给定单元323输出的转矩的参考值小于等于零,从而控制电机34制动。For ease of description, the following motor braking control is described by taking the control system 30 shown in FIG8 as an example. In this embodiment, in response to the braking signal, the reference value of the torque output by the torque setting unit 323 is less than or equal to zero, thereby controlling the motor 34 to brake.
虽然负转矩可以快速制动电机34,但也存在一些问题,比如负转矩制动会导致电机34的母线电压上升,从而会导致电机34发热严重或者损坏控制系统30中长期带电的电子元件。Although negative torque can quickly brake the motor 34 , there are also some problems. For example, negative torque braking will cause the bus voltage of the motor 34 to rise, which will cause the motor 34 to heat up severely or damage the electronic components in the control system 30 that are energized for a long time.
为了避免上述问题发生,在转矩给定单元323输出的目标转矩小于等于零, 以负转矩制动电机34的过程中,控制器32可以检测电动工具10的直流母线电压值,在该电压大于等于第一电压阈值时,可以使磁链给定单元324输出的定子磁链的目标值增大,使刹车的动能在电机34内快速耗散,同时保持精确的转矩控制。其中,第一电压阈值可以是直流母线电压的阈值范围,例如可以是正负10%的电源电压内的任意数值。在本实施例中,电机34为小功率电机,电机34的阻抗与对应的额定电流有关,磁通制动对小功率电机效果比较明显,示例性的电机34的输出功率小于等于15kw,例如可以是15kw,10kw,8kw,5kw等。In order to avoid the above problem, the target torque output by the torque setting unit 323 is less than or equal to zero. In the process of braking the motor 34 with negative torque, the controller 32 can detect the DC bus voltage value of the power tool 10. When the voltage is greater than or equal to the first voltage threshold, the target value of the stator flux output by the flux setting unit 324 can be increased, so that the kinetic energy of the brake is quickly dissipated in the motor 34 while maintaining precise torque control. Among them, the first voltage threshold can be a threshold range of the DC bus voltage, for example, it can be any value within plus or minus 10% of the power supply voltage. In this embodiment, the motor 34 is a low-power motor, and the impedance of the motor 34 is related to the corresponding rated current. The flux braking effect on the low-power motor is more obvious. The output power of the exemplary motor 34 is less than or equal to 15kw, for example, it can be 15kw, 10kw, 8kw, 5kw, etc.
在一个实施例中,如图9所示,控制系统40包括电源装置41、控制器42、检测模块43,驱动电路44,电机45。在本实施例中,控制系统40还包括刹车电阻46,以及开关装置47。其中,控制器42如上述实施例中的控制器32或22一致,也可以包括转矩和磁链给定单元,转矩和磁链估算单元,转矩和磁链比较单元以及开关表。在此,对于控制器42中的单元模块不再详细介绍。检测模块43能够检测电动工具10直流母线上的电压,并输出至控制器42。In one embodiment, as shown in FIG9 , the control system 40 includes a power supply device 41, a controller 42, a detection module 43, a drive circuit 44, and a motor 45. In this embodiment, the control system 40 also includes a brake resistor 46, and a switch device 47. Among them, the controller 42 is consistent with the controller 32 or 22 in the above-mentioned embodiment, and may also include a torque and flux setting unit, a torque and flux estimation unit, a torque and flux comparison unit, and a switch table. Here, the unit modules in the controller 42 are not introduced in detail. The detection module 43 can detect the voltage on the DC bus of the power tool 10 and output it to the controller 42.
刹车电阻46可通过开关装置47断开与电机45的定子绕组的电连接。在本实施例中,控制器42响应于制动信号,转矩和磁链给定单元控制电机45的转矩的给定值小于等于零,以负转矩制动电机45。当电动工具10的母线直流电压大于等于第一电压阈值时,控制器42可以控制开关装置47导通,以使刹车电阻46与电源母线48连接,通过电阻发热消耗母线电压。在直流母线电压的至小于第一电压阈值时,控制器42可以控制开关装置47断开,以断开刹车电阻47与电源母线48的连接。在本实施例中,刹车电阻46的尺寸和功率需要足够大,才能将制动时产生的功率以热量的形式耗散。The brake resistor 46 can be electrically disconnected from the stator winding of the motor 45 through the switch device 47. In the present embodiment, the controller 42 responds to the brake signal, and the torque and flux setting unit controls the given value of the torque of the motor 45 to be less than or equal to zero, so as to brake the motor 45 with a negative torque. When the bus DC voltage of the power tool 10 is greater than or equal to the first voltage threshold, the controller 42 can control the switch device 47 to turn on, so that the brake resistor 46 is connected to the power bus 48, and the bus voltage is consumed by resistive heating. When the DC bus voltage is less than the first voltage threshold, the controller 42 can control the switch device 47 to disconnect, so as to disconnect the brake resistor 47 from the power bus 48. In the present embodiment, the size and power of the brake resistor 46 need to be large enough to dissipate the power generated during braking in the form of heat.
在一个实施例中,如图10所示,控制系统50包括电源装置51、控制器52、检测模块53,驱动电路54,电机55。在本实施例中,控制系统50还包括超级电容56以及能控制超级电容56是否接入电源母线58的控制开关57。在控制电机55的负转矩制动过程中,控制器52可以控制控制开关57处于闭合状态,超级电容56连接在电源母线58上,能够吸收刹车过程中的能量,在电机55正常运转时,控制器52可以控制控制开关57断开,使超级电容56不再接入电路。In one embodiment, as shown in FIG10 , the control system 50 includes a power supply device 51, a controller 52, a detection module 53, a drive circuit 54, and a motor 55. In this embodiment, the control system 50 also includes a supercapacitor 56 and a control switch 57 that can control whether the supercapacitor 56 is connected to the power bus 58. In the process of controlling the negative torque braking of the motor 55, the controller 52 can control the control switch 57 to be in a closed state, and the supercapacitor 56 is connected to the power bus 58 to absorb the energy during the braking process. When the motor 55 is operating normally, the controller 52 can control the control switch 57 to be disconnected so that the supercapacitor 56 is no longer connected to the circuit.
在一个实施例中,电动工具10可以是一种定扭电钻,也就是说电钻工作时的输出转矩不能超过预先设置的恒定转矩即目标转矩,超过该转矩即停机。本申请中的直接转矩控制,可以根据转矩估算单元222估算的电机55的实际转矩与设定的目标值做比较,若实际值大于等于比较值,控制器52即控制电机55停止运转。控制器52控制电机55停止转动的方式可以包括上述实施例中的滑行制动、负转矩制动或者短接制动中的至少一种,此处不再详述。 In one embodiment, the electric tool 10 can be a fixed torque electric drill, that is, the output torque of the electric drill during operation cannot exceed a preset constant torque, i.e., a target torque, and the drill will stop when the torque exceeds the preset constant torque. The direct torque control in the present application can compare the actual torque of the motor 55 estimated by the torque estimation unit 222 with the set target value. If the actual value is greater than or equal to the comparison value, the controller 52 controls the motor 55 to stop running. The way in which the controller 52 controls the motor 55 to stop rotating can include at least one of the sliding braking, negative torque braking, or short-circuit braking in the above-mentioned embodiments, which will not be described in detail here.
在一个实施例中,还提供了一种能优化直接转矩控制精度的方法,为便于陈述,在以下的电机控制中以图4所示的控制系统20为例进行说明。在本实施例中,磁链和转矩给定单元221可以根据用户输入设定定子磁链和转矩的目标值即参考值,磁链和转矩估算单元222可以根据电机25的工作参数估算定子磁链和转矩的实际值。控制器22在确定参考值和实际值后并不立即计算差值以及生成电压矢量,而是在当前实际值的基础上预测下一时刻定子磁链和电机转矩的预测值,并将预测值代替实际值与目标值做差,进而根据差值生成电压矢量。在一个实施例中,电压矢量生成单元224可以按照图5所示的空间电压矢量图或者图6所示的DTC开关状态选择表依次选择一种电压矢量或者说开关状态输入驱动电路23以控制电机25转动,检测模块24可以检测电机25的工作参数,进而磁链和转矩估算单元222根据当前的工作参数确定对应的一组转矩和定子磁链的预测值,直至开关表中所有的电压矢量均控制电机25运转并得到预测值。控制器22可以确定所有电压矢量对应的所有预测值中与参考值最接近的一组预测值,并将该组最接近的预测值与目标值比较做差,根据比较结果确定控制电机25运转的电压矢量,以控制电机25运转。在一个实施例中,控制器22确定所有电压矢量对应的所有预测值中与参考值最接近的一组预测值后,可以直接将该组预测值对应的电压矢量作为控制电机25运转的电压矢量,并控制电机25运转。In one embodiment, a method for optimizing the accuracy of direct torque control is also provided. For ease of description, the control system 20 shown in FIG. 4 is used as an example in the following motor control. In this embodiment, the flux and torque setting unit 221 can set the target value of the stator flux and torque, i.e., the reference value, according to the user input, and the flux and torque estimation unit 222 can estimate the actual value of the stator flux and torque according to the working parameters of the motor 25. After determining the reference value and the actual value, the controller 22 does not immediately calculate the difference and generate the voltage vector, but predicts the predicted value of the stator flux and the motor torque at the next moment based on the current actual value, and replaces the actual value with the target value by the predicted value, and then generates the voltage vector according to the difference. In one embodiment, the voltage vector generating unit 224 can select a voltage vector or a switch state to input the driving circuit 23 in turn according to the space voltage vector diagram shown in FIG5 or the DTC switch state selection table shown in FIG6 to control the rotation of the motor 25. The detection module 24 can detect the working parameters of the motor 25, and then the flux and torque estimation unit 222 determines a corresponding set of torque and stator flux prediction values according to the current working parameters, until all the voltage vectors in the switch table control the operation of the motor 25 and obtain the prediction value. The controller 22 can determine a set of prediction values closest to the reference value among all the prediction values corresponding to all the voltage vectors, and compare the closest prediction value with the target value to make a difference, and determine the voltage vector for controlling the operation of the motor 25 according to the comparison result to control the operation of the motor 25. In one embodiment, after the controller 22 determines a set of prediction values closest to the reference value among all the prediction values corresponding to all the voltage vectors, it can directly use the voltage vector corresponding to the set of prediction values as the voltage vector for controlling the operation of the motor 25, and control the operation of the motor 25.
在本实施例中,控制器22确定预测值的方法可以称为枚举法,即将电压矢量表中的所有电压矢量一一作为控制量控制电压运转进而得到预测值。在其他实施例中,也可以采用其他预测法来获得电机25的转矩和定子磁链的预测值,并将预测值作为实际值与电机转矩和定子磁链的目标值即参考值比较,并根据比较结果控制电机25工作。In this embodiment, the method by which the controller 22 determines the predicted value can be called an enumeration method, that is, all voltage vectors in the voltage vector table are used as control quantities to control the voltage operation and obtain the predicted value. In other embodiments, other prediction methods can also be used to obtain the predicted values of the torque and stator flux of the motor 25, and the predicted values are compared with the target values of the motor torque and stator flux, that is, the reference values, as actual values, and the motor 25 is controlled to work according to the comparison results.
在一些实施例中,控制器中的电压矢量生成单元还可以采用滑模控制、模糊逻辑控制、人工神经网络控制中的至少一种控制方式自适应调整目标转矩和目标定子磁链的值,以优化确定电压矢量的精度,提高采用直接转矩控制电机运转的控制精度。In some embodiments, the voltage vector generation unit in the controller can also use at least one control method of sliding mode control, fuzzy logic control, and artificial neural network control to adaptively adjust the target torque and target stator flux values to optimize the accuracy of determining the voltage vector and improve the control accuracy of the motor operation using direct torque control.
在一个实施例中,在电机运转的不同阶段,控制系统可以采用不同的控制方式驱动电机。示例性的,在电动工具处于第一运行阶段时,控制器以第一控制方式驱动电机,而在电动工具处于第二运行阶段时,控制器以第二控制方式控制驱动电路驱动电机运转。其中,第一控制方式或者第二控制方式中的一种方式为上述实施例中的所述的直接转矩控制,而另一种控制方式不同于直接转矩控制方式。也就是说,在电动工具的不同阶段可以采用直接转矩控制和其他控制方式结合控制电机工作,例如直接转矩控制和矢量控制结合或者。控制器可以根据电机的负载相关参数确定电动工具是处于第一运行阶段还是处于第二 运行阶段。例如,控制器可以根据电机的相电流、电压、转速、转矩或者加速度等至少一个参数确定电动工具当前所处的工作阶段。在一个实施例中,控制器还可以根据电源装置的参数确定电动工具所处的工作阶段。例如,控制器可以根据电池包的温度、电压或者电流中的至少一个确定电动工具当前的工作阶段。在一个实施例中,电动工具所处的工作阶段可以理解为电动工具的工作工况,例如可以是轻载公况或者中载工况或者重载工况或者空载工况或者额定带载工况等,此处不一一列举。In one embodiment, at different stages of the motor operation, the control system can use different control methods to drive the motor. Exemplarily, when the power tool is in the first operating stage, the controller drives the motor in a first control method, and when the power tool is in the second operating stage, the controller controls the drive circuit to drive the motor in a second control method. Among them, one of the first control method or the second control method is the direct torque control described in the above embodiment, and the other control method is different from the direct torque control method. That is to say, at different stages of the power tool, direct torque control and other control methods can be used in combination to control the operation of the motor, such as direct torque control and vector control combined or. The controller can determine whether the power tool is in the first operating stage or the second operating stage based on the load-related parameters of the motor. Operation stage. For example, the controller can determine the current working stage of the power tool based on at least one parameter such as the phase current, voltage, speed, torque or acceleration of the motor. In one embodiment, the controller can also determine the working stage of the power tool based on the parameters of the power supply device. For example, the controller can determine the current working stage of the power tool based on at least one of the temperature, voltage or current of the battery pack. In one embodiment, the working stage of the power tool can be understood as the working condition of the power tool, such as a light load condition, a medium load condition, a heavy load condition, a no-load condition, or a rated load condition, etc., which are not listed here one by one.
在一个实施例中,电动工具中可能不止一个电机,例如手推式动力工具,例如,手推式割草机、手推式扫雪机;或者骑乘式动力工具,例如,骑乘式割草机、骑乘式车辆、全地形车等;或者机器人工具,例如,割草机器人、扫雪机器人等。在一个实施例中,电动工具为一种园林工具,例如,包括自走式机器、骑乘式机器、智能机器人、手推式机器、背负式机器、手持式机器以及轮式机器中的至少一种。在一些大型电动工具中可能设置有为行走轮提供驱动力的第一电机,为功能元件提供动力的第二电机。两个电机的类型可以一致也可以不同,例如一个电机为轮毂电机一个是通过齿轮箱传动驱动力的助力电机。In one embodiment, there may be more than one motor in the power tool, such as a push power tool, such as a push lawn mower, a push snow blower; or a riding power tool, such as a riding lawn mower, a riding vehicle, an all-terrain vehicle, etc.; or a robot tool, such as a lawn mowing robot, a snow blower robot, etc. In one embodiment, the power tool is a garden tool, for example, including at least one of a self-propelled machine, a riding machine, an intelligent robot, a push machine, a backpack machine, a handheld machine, and a wheeled machine. In some large power tools, a first motor may be provided to provide driving force for the walking wheel, and a second motor may be provided to provide power for the functional element. The types of the two motors may be the same or different, for example, one motor is a hub motor and the other is a power assist motor that transmits driving force through a gearbox.
园林工具中的两个电机可以分别对应不同的驱动电路,如图11所示的控制系统60,包括:电源装置61,控制组件62,第一驱动电路63,第一电机64,第二驱动电路65,第二电机66。第一驱动电路63与第一电机64电连接设置为驱动第一电机64,第二驱动电路65与第二电机66电连接设置为驱动第二电机66。控制系统60中的控制组件62可以第一控制方式控制第一驱动电路63,以第二控制方式控制第二驱动电路65,其中两种控制方式中至少一个是直接转矩控制。在本实施例中,控制组件62可以包括两个控制器即第一控制器621和第二控制器622,两个控制器可以具有相同的硬件配置,也可以具有不同的硬件配置,例如两个控制器均可以采用专用的控制芯片(例如,微控制单元(Microcontroller Unit,MCU)),也可以集成随机存储器(Random Access Memory,ROM)或者只读存储器(Read Only Memory,RAM)等存储器或者集成定时器等。The two motors in the garden tool can correspond to different drive circuits respectively. The control system 60 shown in FIG. 11 includes: a power supply device 61, a control component 62, a first drive circuit 63, a first motor 64, a second drive circuit 65, and a second motor 66. The first drive circuit 63 is electrically connected to the first motor 64 to drive the first motor 64, and the second drive circuit 65 is electrically connected to the second motor 66 to drive the second motor 66. The control component 62 in the control system 60 can control the first drive circuit 63 in a first control mode and control the second drive circuit 65 in a second control mode, wherein at least one of the two control modes is direct torque control. In this embodiment, the control component 62 can include two controllers, namely a first controller 621 and a second controller 622. The two controllers can have the same hardware configuration or different hardware configurations. For example, both controllers can use a dedicated control chip (for example, a microcontroller unit (MCU)), or can integrate a random access memory (ROM) or a read-only memory (RAM) or other memory or an integrated timer.
以上显示和描述了本申请的基本原理、主要特征和优点。本行业的技术人员应该了解,上述实施例不以任何形式限制本申请,凡采用等同替换或等效变换的方式所获得的技术方案,均落在本申请的保护范围内。 The above shows and describes the basic principles, main features and advantages of the present application. Those skilled in the art should understand that the above embodiments do not limit the present application in any form, and any technical solution obtained by equivalent replacement or equivalent transformation falls within the protection scope of the present application.

Claims (73)

  1. 一种电动工具,包括:An electric tool, comprising:
    壳体,设置为形成容纳空间:A housing is configured to form a receiving space:
    电机,设置在所述容纳空间内,包括定子和转子;A motor, arranged in the accommodation space, comprising a stator and a rotor;
    功能元件,连接至所述电机的输出轴,能被所述电机驱动;a functional element connected to the output shaft of the motor and capable of being driven by the motor;
    电源装置,设置为给所述电动工具提供电能;a power supply device, configured to provide electrical energy to the electric tool;
    驱动电路,与所述电机电性连接以驱动所述电机,所述驱动电路包括多个开关元件;A driving circuit, electrically connected to the motor to drive the motor, the driving circuit comprising a plurality of switching elements;
    检测模块,被配置为检测所述电机的工作参数;A detection module, configured to detect operating parameters of the motor;
    控制器,至少与所述驱动电路和所述参数检测模块电耦合;A controller, electrically coupled to at least the driving circuit and the parameter detection module;
    其中,所述控制器包括:Wherein, the controller comprises:
    磁链和转矩给定单元,设置为给定电机的转矩和定子磁链的目标值;The flux and torque setting unit is set to set the target value of the torque and stator flux of the given motor;
    磁链和转矩估算单元,被配置为根据所述工作参数计算所述电机的转矩和所述定子磁链的实际值;a flux and torque estimation unit configured to calculate the torque of the motor and the actual value of the stator flux according to the operating parameters;
    磁链和转矩比较单元,设置为比较所述目标值和所述实际值;a flux and torque comparison unit, configured to compare the target value with the actual value;
    电压矢量生成单元,设置为根据所述磁链和转矩比较单元的比较结果输出电压矢量,以控制所述驱动电路中开关元件的导通状态。The voltage vector generating unit is configured to output a voltage vector according to the comparison result of the flux linkage and torque comparing unit to control the conduction state of the switch element in the driving circuit.
  2. 根据权利要求1所述的电动工具,其中,所述检测模块包括电阻观测器,所述电阻观测器设置为观测定子电阻;所述磁链和转矩估算单元是设置为基于所述定子电阻计算所述定子磁链的实际值。The electric tool according to claim 1, wherein the detection module includes a resistance observer, which is configured to observe the stator resistance; and the flux and torque estimation unit is configured to calculate the actual value of the stator flux based on the stator resistance.
  3. 根据权利要求1所述的电动工具,其中,所述电压矢量生成单元是被配置为根据所述比较结果查表获得所述电压矢量。The electric tool according to claim 1, wherein the voltage vector generating unit is configured to obtain the voltage vector by looking up a table according to the comparison result.
  4. 根据权利要求1所述的电动工具,其中,所述转矩响应时间小于或等于10ms。The power tool according to claim 1, wherein the torque response time is less than or equal to 10 ms.
  5. 根据权利要求2所述的电动工具,还包括电阻冷却装置,设置为为所述定子散热。The electric tool according to claim 2, further comprising a resistance cooling device configured to dissipate heat for the stator.
  6. 根据权利要求1所述的电动工具,还包括操作组件,设置为获取用户输入;所述磁链和转矩给定单元,是设置为根据所述用户输入给定所述电机的转矩和定子磁链的目标值。The electric tool according to claim 1 further includes an operating component configured to obtain user input; the flux and torque setting unit is configured to set target values of the torque and stator flux of the motor according to the user input.
  7. 根据权利要求6所述的电动工具,其中,所述操作组件包括调速机构。The power tool according to claim 6, wherein the operating assembly includes a speed regulating mechanism.
  8. 根据权利要求7所述的电动工具,其中,所述调速机构包括开关、扳机、 旋钮、滑动机构中的至少一个。The electric tool according to claim 7, wherein the speed regulating mechanism comprises a switch, a trigger, At least one of a knob and a sliding mechanism.
  9. 根据权利要求1所述的电动工具,其中,所述功能元件包括打磨件、钻孔件、切割件、吹吸件、清洁件、紧固件中的至少一个。The electric tool according to claim 1, wherein the functional element comprises at least one of a grinding piece, a drilling piece, a cutting piece, a blowing and suction piece, a cleaning piece, and a fastener.
  10. 根据权利要求1所述的电动工具,其中,所述电源装置包括可拆卸连接至所述电动工具的电池包。The power tool of claim 1, wherein the power supply device comprises a battery pack removably connected to the power tool.
  11. 一种电动工具,包括:An electric tool, comprising:
    电机,包括定子和转子;An electric motor, including a stator and a rotor;
    电源装置,设置为给所述电动工具提供电能;A power supply device, configured to provide electrical energy to the electric tool;
    操作组件,设置为获取用户输入;Operation component, set to obtain user input;
    驱动电路,与所述电机电性连接以驱动所述电机,所述驱动电路包括多个开关元件;A driving circuit, electrically connected to the motor to drive the motor, the driving circuit comprising a plurality of switching elements;
    检测模块,被配置为检测所述电机的工作参数;A detection module, configured to detect operating parameters of the motor;
    控制器,至少与所述驱动电路、所述检测模块和所述操作组件电耦合;a controller, electrically coupled to at least the driving circuit, the detection module and the operating component;
    所述控制器被配置为:根据所述用户输入和所述工作参数控制所述驱动电路中的开关元件改变导通状态,以驱动所述电机运转;The controller is configured to: control the switch element in the drive circuit to change the conduction state according to the user input and the operating parameter, so as to drive the motor to operate;
    其中,所述控制器的转矩响应时间小于等于10毫秒。Wherein, the torque response time of the controller is less than or equal to 10 milliseconds.
  12. 根据权利要求11所述的电动工具,其中,所述控制器采用直接转矩控制。The power tool according to claim 11, wherein the controller uses direct torque control.
  13. 根据权利要求11所述的电动工具,其中,所述操作组件包括电源开关,档位选择开关,智能检测元件中的至少一个。The electric tool according to claim 11, wherein the operating component includes at least one of a power switch, a gear selection switch, and an intelligent detection element.
  14. 根据权利要求11所述的电动工具,其中,所述控制器包括:磁链给定单元,设置为输出所述定子磁链的参考值;磁链估算单元,设置为根据所述工作参数估算所述定子磁链的实际值;所述控制器还被配置为至少根据所述定子磁链的参考值和实际值的比较结果,以闭环控制的方式控制所述驱动电路驱动所述电机。The electric tool according to claim 11, wherein the controller comprises: a flux setting unit, configured to output a reference value of the stator flux; a flux estimation unit, configured to estimate an actual value of the stator flux according to the operating parameters; the controller is also configured to control the drive circuit to drive the motor in a closed-loop control manner at least based on a comparison result between the reference value and the actual value of the stator flux.
  15. 根据权利要求11所述的电动工具,其中,所述控制器包括:转矩给定单元,设置为输出所述电机的转矩的参考值;转矩估算单元,设置为根据所述电机的工作参数估算所述电机的转矩的实际值;所述控制器还设置为至少根据所述电机的转矩的参考值和实际值的比较结果,以滞环控制的方式生成电压矢量控制所述驱动电路驱动所述电机。The electric tool according to claim 11, wherein the controller comprises: a torque setting unit, configured to output a reference value of the torque of the motor; a torque estimation unit, configured to estimate the actual value of the torque of the motor based on the working parameters of the motor; the controller is also configured to generate a voltage vector control circuit to drive the motor in a hysteresis control manner based on at least a comparison result between the reference value and the actual value of the torque of the motor.
  16. 根据权利要求11所述的电动工具,其中,所述控制器的转矩响应时间小于等于5毫秒。 The power tool according to claim 11, wherein the torque response time of the controller is less than or equal to 5 milliseconds.
  17. 一种电动工具,包括:An electric tool, comprising:
    功能元件;Functional elements;
    电机,设置为驱动所述功能元件,所述电机包括定子和转子;A motor, configured to drive the functional element, the motor comprising a stator and a rotor;
    电源装置,设置为给所述电动工具提供电能;a power supply device, configured to provide electrical energy to the electric tool;
    驱动电路,与所述电机和所述电源装置电性连接,所述驱动电路包括多个开关元件;A drive circuit, electrically connected to the motor and the power supply device, wherein the drive circuit includes a plurality of switch elements;
    控制器,与所述驱动电路电性连接,设置为输出控制信号至所述驱动电路以控制所述多个开关元件;在所述电动工具处于第一运行阶段时,以第一控制方式控制所述驱动电路;在所述电动工具处于第二运行阶段时,以第二控制方式控制所述驱动电路;a controller electrically connected to the drive circuit and configured to output a control signal to the drive circuit to control the plurality of switch elements; control the drive circuit in a first control manner when the power tool is in a first operation stage; and control the drive circuit in a second control manner when the power tool is in a second operation stage;
    其中,所述第一控制方式不同于所述第二控制方式,且所述第一控制方式和所述第二控制方式中的一个为直接转矩控制。The first control mode is different from the second control mode, and one of the first control mode and the second control mode is direct torque control.
  18. 根据权利要求17所述的电动工具,其中,所述控制器还被配置为根据所述电机的负载相关参数判断所述电动工具处于所述第一运行阶段或所述第二运行阶段。The electric tool according to claim 17, wherein the controller is further configured to determine whether the electric tool is in the first operating stage or the second operating stage according to load-related parameters of the motor.
  19. 根据权利要求18所述的电动工具,其中,所述电机的负载相关参数包括所述电机的电流、转速、转矩以及加速度中的至少一个。The electric tool according to claim 18, wherein the load-related parameters of the motor include at least one of the current, rotational speed, torque and acceleration of the motor.
  20. 根据权利要求17所述的电动工具,其中,所述控制器还被配置为根据所述电源装置的相关参数判断所述电动工具处于所述第一运行阶段或所述第二运行阶段。The electric tool according to claim 17, wherein the controller is further configured to determine whether the electric tool is in the first operating stage or the second operating stage according to relevant parameters of the power supply device.
  21. 根据权利要求20所述的电动工具,其中,所述电源装置的相关参数包括所述电源装置的温度、电压、电流中的至少一个。The electric tool according to claim 20, wherein the relevant parameters of the power supply device include at least one of temperature, voltage, and current of the power supply device.
  22. 根据权利要求17所述的电动工具,其中,所述功能元件包括打磨件、钻孔件、切割件、吹吸件、清洁件、紧固件中的至少一个。The electric tool according to claim 17, wherein the functional element comprises at least one of a grinding piece, a drilling piece, a cutting piece, a blowing and suction piece, a cleaning piece, and a fastener.
  23. 根据权利要求17所述的电动工具,其中,所述电机包括内转子电机或外转子电机。The power tool according to claim 17, wherein the motor comprises an inner rotor motor or an outer rotor motor.
  24. 一种园林工具,包括:A garden tool, comprising:
    功能元件;Functional elements;
    辅助元件;Auxiliary components;
    第一电机,设置为驱动所述功能元件;A first motor, configured to drive the functional element;
    第二电机,设置为驱动所述辅助元件; a second motor configured to drive the auxiliary element;
    电源装置,设置为给所述园林工具提供电能;A power supply device, configured to provide electrical energy to the garden tool;
    第一驱动电路,与所述第一电机和所述电源装置电性连接,并设置为驱动所述第一电机;a first drive circuit, electrically connected to the first motor and the power supply device, and configured to drive the first motor;
    第二驱动电路,与所述第二电机和所述电源装置电性连接,并设置为驱动所述第二电机;a second drive circuit, electrically connected to the second motor and the power supply device, and configured to drive the second motor;
    控制组件,与所述第一驱动电路和所述第二驱动电路电性连接,设置为输出控制信号控制所述第一驱动电路和所述第二驱动电路;以第一控制方式控制所述第一驱动电路,以第二控制方式控制所述第二驱动电路,所述第二控制方式不同于所述第一控制方式;所述第一控制方式和所述第二控制方式中的至少一个是直接转矩控制。A control component is electrically connected to the first drive circuit and the second drive circuit, and is configured to output a control signal to control the first drive circuit and the second drive circuit; control the first drive circuit in a first control mode, and control the second drive circuit in a second control mode, wherein the second control mode is different from the first control mode; and at least one of the first control mode and the second control mode is direct torque control.
  25. 根据权利要求24所述的园林工具,其中,所述辅助元件包括行走轮组。The garden tool of claim 24, wherein the auxiliary element comprises a travel wheel set.
  26. 根据权利要求25所述的园林工具,其中,所述行走轮组至少包括驱动轮;所述第一电机或所述第二电机还设置为驱动所述驱动轮转动。According to the garden tool of claim 25, wherein the walking wheel set comprises at least a driving wheel; and the first motor or the second motor is further configured to drive the driving wheel to rotate.
  27. 根据权利要求24所述的园林工具,其中,所述第二电机为轮毂电机、助力电机中的任一个。The garden tool according to claim 24, wherein the second motor is any one of a hub motor and a power-assisted motor.
  28. 根据权利要求24所述的园林工具,还包括自走式机器、骑乘式机器、智能机器人、手推式机器、背负式机器、手持式机器以及轮式机器中的至少一种。The garden tool according to claim 24 further comprises at least one of a self-propelled machine, a riding machine, an intelligent robot, a push machine, a backpack machine, a handheld machine and a wheeled machine.
  29. 根据权利要求24所述的园林工具,其中,所述控制组件包括第一控制器和第二控制器,所述第一控制器设置为控制所述第一驱动电路,所述第二控制器设置为控制所述第二驱动电路。The garden tool according to claim 24, wherein the control assembly comprises a first controller and a second controller, the first controller is configured to control the first drive circuit, and the second controller is configured to control the second drive circuit.
  30. 根据权利要求29所述的园林工具,其中,所述第一控制器和所述第二控制器的硬件配置不同。The garden tool according to claim 29, wherein the hardware configurations of the first controller and the second controller are different.
  31. 一种电动工具,包括:An electric tool, comprising:
    无刷电机;Brushless Motor;
    驱动电路,所述驱动电路被配置为向所述无刷电机提供操作功率,所述逆变电路包括多个开关元件;a drive circuit configured to provide operating power to the brushless motor, the inverter circuit comprising a plurality of switching elements;
    检测模块,被配置为获取所述无刷电机的工作参数;和A detection module, configured to obtain operating parameters of the brushless motor; and
    控制器,所述控制器分别与所述驱动电路和所述检测模块电耦合,所述控制器采用闭环控制;A controller, the controller is electrically coupled to the driving circuit and the detection module respectively, and the controller adopts closed-loop control;
    所述控制器被配置为:至少基于用户输入确定第一负载点,确定对应于所 述第一负载点的第一磁链和转矩给定方式;基于所述第一磁链和转矩给定方式给定的目标值和所述工作参数的差值,输出适配的电压矢量以控制所述多个开关元件的通断;确定从所述第一负载点到第二负载点的变化;确定对应于所述第二负载点的第二磁链和转矩给定方式;基于所述第二磁链和转矩给定方式给定的目标值和所述工作参数的差值,输出适配的电压矢量以控制所述多个开关元件的通断。The controller is configured to: determine a first load point based at least on a user input, determine a load point corresponding to the The invention relates to a method for determining a first flux and torque given mode for the first load point; outputting an adapted voltage vector to control the on-off of the plurality of switch elements based on a target value given by the first flux and torque given mode and a difference between the operating parameters; determining a change from the first load point to a second load point; determining a second flux and torque given mode corresponding to the second load point; and outputting an adapted voltage vector to control the on-off of the plurality of switch elements based on a target value given by the second flux and torque given mode and a difference between the operating parameters.
  32. 根据权利要求31所述的电动工具,其中,所述第二磁链和转矩给定方式中,所述定子磁链的目标值小于等于所述定子磁链的基准值。The electric tool according to claim 31, wherein in the second flux and torque setting mode, the target value of the stator flux is less than or equal to the reference value of the stator flux.
  33. 根据权利要求31所述的电动工具,其中,所述第二磁链和转矩给定方式依照最大转矩磁链比给定电机的转矩和定子磁链的目标值。The electric tool according to claim 31, wherein the second flux and torque setting method sets target values of the torque and stator flux of the motor according to the maximum torque flux ratio.
  34. 根据权利要求31所述的电动工具,其中,所述第一磁链和转矩给定方式中,所述定子磁链的目标值大于等于所述定子磁链的基准值。The electric tool according to claim 31, wherein in the first flux and torque setting mode, the target value of the stator flux is greater than or equal to the reference value of the stator flux.
  35. 根据权利要求31所述的电动工具,其中,所述控制器还被配置为:确定从所述第二负载点到所述第一负载点的变化;确定对应于所述第一负载点的第一磁链和转矩给定方式,并基于所述第一磁链和转矩给定方式给定的目标值和所述工作参数的差值,输出适配的电压矢量以控制所述多个开关元件的通断。The electric tool according to claim 31, wherein the controller is further configured to: determine the change from the second load point to the first load point; determine a first flux and torque given mode corresponding to the first load point, and based on the difference between the target value given by the first flux and torque given mode and the operating parameter, output an adapted voltage vector to control the on and off of the multiple switching elements.
  36. 根据权利要求31所述的电动工具,其中,所述控制器还被配置为:至少根据所述用户输入的所述无刷电机的转速和转矩中的至少之一确定所述第一负载点和所述第二负载点。The electric tool according to claim 31, wherein the controller is further configured to determine the first load point and the second load point based on at least one of the rotational speed and the torque of the brushless motor input by the user.
  37. 根据权利要求31所述的电动工具,还包括操作组件,设置为获取用户输入。The power tool according to claim 31 further includes an operating component configured to obtain user input.
  38. 根据权利要求37所述的电动工具,其中,所述操作组件包括调速机构。The power tool according to claim 37, wherein the operating assembly includes a speed regulating mechanism.
  39. 根据权利要求38所述的电动工具,其中,所述调速机构包括开关、扳机、旋钮、滑动机构中的至少一个。The power tool according to claim 38, wherein the speed regulating mechanism comprises at least one of a switch, a trigger, a knob, and a sliding mechanism.
  40. 一种电动工具,包括:An electric tool, comprising:
    无刷电机,包括转子和定子;A brushless motor, including a rotor and a stator;
    电源装置,所述电源装置被配置为给所述无刷电机供电;a power supply device, the power supply device being configured to supply power to the brushless motor;
    驱动电路,所述驱动电路被配置为向所述无刷电机提供操作功率;a drive circuit configured to provide operating power to the brushless motor;
    检测模块,被配置为检测所述无刷电机的工作参数;和A detection module, configured to detect operating parameters of the brushless motor; and
    控制器,所述控制器与所述检测模块和所述逆变电路电耦合;a controller, the controller being electrically coupled to the detection module and the inverter circuit;
    所述控制器包括: The controller comprises:
    磁链给定单元,设置为输出所述定子磁链的参考值;A flux setting unit, configured to output a reference value of the stator flux;
    磁链估算单元,设置为根据所述工作参数估算所述定子磁链的实际值;a flux estimation unit, configured to estimate an actual value of the stator flux according to the operating parameters;
    所述控制器被配置为至少根据所述定子磁链的参考值和实际值的比较结果,以闭环控制的方式控制所述驱动电路驱动所述无刷电机;The controller is configured to control the drive circuit to drive the brushless motor in a closed-loop control manner at least according to a comparison result between a reference value and an actual value of the stator flux;
    其中,在所述无刷电机的目标转速大于等于第一转速阈值的情况下,所述磁链给定单元还设置为减小所述定子磁链的参考值。Wherein, when the target speed of the brushless motor is greater than or equal to a first speed threshold, the flux setting unit is further configured to reduce a reference value of the stator flux.
  41. 根据权利要求40所述的电动工具,还包括操作组件,设置为获取用户输入;所述控制器还被配置为根据所述用户输入确定所述目标转速。The power tool according to claim 40 further includes an operating component configured to obtain user input; the controller is also configured to determine the target rotational speed based on the user input.
  42. 根据权利要求41所述的电动工具,其中,所述操作组件包括扳机;所述用户输入为所述扳机的行程。The power tool according to claim 41, wherein the operating component includes a trigger; and the user input is the travel of the trigger.
  43. 根据权利要求41所述的电动工具,其中,所述操作组件包括调速旋钮;所述用户输入为所述调速旋钮的档位。The power tool according to claim 41, wherein the operating component includes a speed control knob; and the user input is the gear position of the speed control knob.
  44. 根据权利要求41所述的电动工具,其中,所述操作组件包括物联网模块;所述用户输入为所述物联网模块获取的远程控制指令。The electric tool according to claim 41, wherein the operating component includes an Internet of Things module; and the user input is a remote control instruction obtained by the Internet of Things module.
  45. 根据权利要求40所述的电动工具,还包括噪声识别模块,设置为识别所述无刷电机的工作噪声;在所述工作噪声大于等于噪声阈值的情况下,所述磁链给定单元还设置为增大所述定子磁链的参考值。The electric tool according to claim 40 further includes a noise identification module, which is configured to identify the working noise of the brushless motor; when the working noise is greater than or equal to a noise threshold, the flux setting unit is also configured to increase the reference value of the stator flux.
  46. 根据权利要求40所述的电动工具,其中,所述无刷电机包括内转子电机或外转子电机。The power tool according to claim 40, wherein the brushless motor comprises an inner rotor motor or an outer rotor motor.
  47. 一种电动工具,包括:An electric tool, comprising:
    无刷电机,包括转子和定子;A brushless motor, including a rotor and a stator;
    驱动电路,所述驱动电路被配置为向所述无刷电机提供操作功率;a drive circuit configured to provide operating power to the brushless motor;
    电池包,至少设置为为所述驱动电路供电;a battery pack, configured at least to supply power to the drive circuit;
    检测模块,被配置为检测所述无刷电机的工作参数;和A detection module, configured to detect operating parameters of the brushless motor; and
    控制器,所述控制器分别与所述电池包和所述驱动电路电连接;A controller, the controller being electrically connected to the battery pack and the drive circuit respectively;
    所述控制器包括:The controller comprises:
    磁链给定单元,设置为输出所述定子磁链的参考值;A flux setting unit, configured to output a reference value of the stator flux;
    磁链估算单元,设置为根据所述工作参数估算所述定子磁链的实际值;a flux estimation unit, configured to estimate an actual value of the stator flux according to the operating parameters;
    所述控制器被配置为至少根据所述定子磁链的参考值和实际值的比较结果,以闭环控制的方式控制所述驱动电路驱动所述无刷电机; The controller is configured to control the drive circuit to drive the brushless motor in a closed-loop control manner at least according to a comparison result between a reference value and an actual value of the stator flux;
    其中,在所述电池包的输出电压小于等于第一电压阈值的情况下,所述磁链给定单元还设置为减小所述定子磁链的参考值。Wherein, when the output voltage of the battery pack is less than or equal to a first voltage threshold, the flux setting unit is further configured to reduce a reference value of the stator flux.
  48. 根据权利要求47所述的电动工具,其中,所述控制器还被配置为至少根据所述定子磁链的参考值和实际值的比较结果输出电压矢量,以控制所述驱动电路中开关元件的导通状态。The electric tool according to claim 47, wherein the controller is further configured to output a voltage vector based at least on a comparison result between a reference value and an actual value of the stator flux to control a conduction state of a switching element in the drive circuit.
  49. 根据权利要求47所述的电动工具,其中,所述控制器还被配置为至少根据所述定子磁链的参考值和实际值的比较结果查找开关表,以获得电压矢量并控制所述驱动电路中开关元件的导通状态。The electric tool according to claim 47, wherein the controller is further configured to look up a switching table based on at least a comparison result between a reference value and an actual value of the stator flux to obtain a voltage vector and control a conduction state of a switching element in the drive circuit.
  50. 根据权利要求47所述的电动工具,其中,所述控制器还包括:转矩给定单元,设置为输出所述电机的转矩的参考值;转矩估算单元,设置为根据所述电机的工作参数估算所述电机的转矩的实际值;所述控制器还设置为至少根据所述电机的转矩的参考值和实际值的比较结果,以滞环控制的方式生成电压矢量控制所述驱动电路驱动所述电机。According to the electric tool according to claim 47, the controller further includes: a torque setting unit, configured to output a reference value of the torque of the motor; a torque estimation unit, configured to estimate the actual value of the torque of the motor based on the working parameters of the motor; the controller is also configured to generate a voltage vector control circuit to drive the motor in a hysteresis control manner based on at least a comparison result between the reference value and the actual value of the torque of the motor.
  51. 根据权利要求50所述的电动工具,其中,所述控制器还被配置为根据所述定子磁链的参考值和实际值的比较结果,以及根据所述电机的转矩的参考值和实际值的比较结果输出所述电压矢量。The electric tool according to claim 50, wherein the controller is further configured to output the voltage vector based on a comparison result between a reference value and an actual value of the stator flux, and based on a comparison result between a reference value and an actual value of the torque of the motor.
  52. 一种电动工具,包括:An electric tool, comprising:
    电机,包括转子和定子;An electric motor, including a rotor and a stator;
    电源装置,被配置为向所述电机提供电能;a power supply device configured to provide electrical energy to the motor;
    驱动电路,包括多个开关元件;A driving circuit including a plurality of switching elements;
    检测模块,设置为检测所述电机的工作参数;A detection module, configured to detect the working parameters of the motor;
    控制器,与所述电源装置和所述逆变电路电连接;a controller, electrically connected to the power supply device and the inverter circuit;
    所述控制器包括:The controller comprises:
    转矩给定单元,设置为输出所述电机的转矩的参考值;A torque setting unit, configured to output a reference value of the torque of the motor;
    转矩估算单元,设置为根据所述电机的工作参数估算所述电机的转矩的实际值;a torque estimation unit, configured to estimate an actual value of the torque of the motor according to the working parameters of the motor;
    所述控制器设置为至少根据所述电机的转矩的参考值和实际值的比较结果,以滞环控制的方式生成电压矢量控制所述驱动电路驱动所述电机;The controller is configured to generate a voltage vector to control the drive circuit to drive the motor in a hysteresis control manner at least according to a comparison result between a reference value and an actual value of the torque of the motor;
    响应于制动信号,所述转矩给定单元输出的转矩的参考值小于等于零,从而控制所述驱动电路制动所述电机。In response to the braking signal, the reference value of the torque output by the torque setting unit is less than or equal to zero, thereby controlling the drive circuit to brake the motor.
  53. 根据权利要求52所述的电动工具,其中,所述控制器还包括:磁链给 定单元,设置为输出所述定子磁通的参考值;磁链估算单元,设置为根据所述电机的工作参数估算所述定子磁通的实际值;所述控制器还设置为根据所述定子磁通的参考值和实际值的比较结果,以滞环控制的方式控制所述驱动电路驱动所述电机。The electric tool according to claim 52, wherein the controller further comprises: a magnetic flux A stator unit is configured to output a reference value of the stator flux; a flux estimation unit is configured to estimate an actual value of the stator flux according to the working parameters of the motor; and the controller is further configured to control the drive circuit to drive the motor in a hysteresis control manner according to a comparison result between the reference value and the actual value of the stator flux.
  54. 根据权利要求53所述的电动工具,其中,所述控制器还被配置为根据所述定子磁链的参考值和实际值的比较结果,以及根据所述电机的转矩的参考值和实际值的比较结果输出电压矢量,以控制所述驱动电路制动所述电机。The electric tool according to claim 53, wherein the controller is further configured to output a voltage vector based on a comparison result between a reference value and an actual value of the stator flux and a comparison result between a reference value and an actual value of the torque of the motor to control the drive circuit to brake the motor.
  55. 根据权利要求52所述的电动工具,其中,在所述电动工具的直流母线电压大于等于第一电压阈值的情况下,所述磁通给定单元输出的参考值增大。The electric tool according to claim 52, wherein when the DC bus voltage of the electric tool is greater than or equal to a first voltage threshold, the reference value output by the flux given unit increases.
  56. 根据权利要求52所述的电动工具,还包括刹车电阻,所述刹车电阻设置为通过开关装置可断开地与所述电机的定子绕组电连接,在所述电动工具的直流母线电压大于等于第一电压阈值的情况下,所述控制器设置为接通所述开关装置以使所述刹车电阻与电源母线连接。The electric tool according to claim 52 further includes a braking resistor, which is configured to be electrically connected to the stator winding of the motor in a detachable manner via a switching device, and when the DC bus voltage of the electric tool is greater than or equal to a first voltage threshold, the controller is configured to turn on the switching device to connect the braking resistor to the power bus.
  57. 根据权利要求52所述的电动工具,还包括超级电容,在所述驱动电机制动的过程中,所述转子转动产生的电流流至所述超级电容。The electric tool according to claim 52 further includes a supercapacitor, and during the braking process of the drive motor, the current generated by the rotation of the rotor flows to the supercapacitor.
  58. 一种电动工具,包括:An electric tool, comprising:
    电机,包括转子和定子;An electric motor, including a rotor and a stator;
    电源装置,被配置为向所述电机提供电能;a power supply device configured to provide electrical energy to the motor;
    驱动电路,包括多个开关元件;A driving circuit including a plurality of switching elements;
    检测模块,设置为检测所述电机的工作参数;A detection module, configured to detect the working parameters of the motor;
    控制器,与所述电源装置和所述驱动电路电耦合;a controller electrically coupled to the power supply device and the drive circuit;
    其中,所述控制器被配置为:Wherein, the controller is configured as:
    确定所述电机的目标转矩和目标定子磁链;Determining a target torque and a target stator flux of the motor;
    根据所述工作参数估算所述电机的实际转矩和实际定子磁链;estimating the actual torque and the actual stator flux of the motor according to the operating parameters;
    根据所述电机的目标转矩和所述实际转矩计算转矩差值;Calculating a torque difference according to the target torque of the motor and the actual torque;
    根据所述电机的目标定子磁链和所述实际定子磁链计算磁链差值;Calculating a flux difference according to a target stator flux of the motor and the actual stator flux;
    至少根据所述磁链差值和所述转矩差值输出控制信号;outputting a control signal at least according to the flux difference and the torque difference;
    响应于所述操作组件输出的减速信号,增大所述目标定子磁链。In response to the deceleration signal output by the operating component, the target stator flux is increased.
  59. 根据权利要求58所述的电动工具,其中,所述电机的输出功率小于等于15kw。 The electric tool according to claim 58, wherein the output power of the motor is less than or equal to 15kw.
  60. 根据权利要求58所述的电动工具,还包括操作组件,设置为获取用户输入;磁链和转矩给定单元,设置为根据所述用户输入给定所述电机的转矩和定子磁链的目标值。The electric tool according to claim 58 further includes an operating component configured to obtain user input; and a flux and torque setting unit configured to set target values of the torque and stator flux of the motor based on the user input.
  61. 根据权利要求60所述的电动工具,其中,所述操作组件包括调速机构。The power tool according to claim 60, wherein the operating assembly includes a speed regulating mechanism.
  62. 根据权利要求61所述的电动工具,其中,所述调速机构包括开关、扳机、旋钮、滑动机构中的至少一个。The electric tool according to claim 61, wherein the speed regulating mechanism comprises at least one of a switch, a trigger, a knob, and a sliding mechanism.
  63. 一种电动工具,包括:An electric tool, comprising:
    电机,包括转子和定子;An electric motor, including a rotor and a stator;
    电源装置,被配置为向所述电机提供电能;a power supply device configured to provide electrical energy to the motor;
    驱动电路,包括多个开关元件,所述多个开关元件包括上侧开关元件和下侧开关元件;A driving circuit, comprising a plurality of switch elements, wherein the plurality of switch elements include an upper switch element and a lower switch element;
    检测模块,设置为检测所述电机的工作参数;A detection module, configured to detect the working parameters of the motor;
    控制器,与所述电源装置和所述驱动电路电连接,并被配置为:A controller is electrically connected to the power supply device and the driving circuit and is configured to:
    确定所述电机的目标转矩和目标定子磁链;Determining a target torque and a target stator flux of the motor;
    根据所述工作参数获取所述电机的实际转矩和实际定子磁链;Acquiring the actual torque and the actual stator flux of the motor according to the operating parameters;
    比较所述目标转矩和所述实际转矩、比较所述目标定子磁链和所述实际定子磁链,并根据比较结果,生成控制信号控制所述多个开关元件的通断;Comparing the target torque with the actual torque, comparing the target stator flux with the actual stator flux, and generating a control signal to control the on and off of the plurality of switch elements according to the comparison result;
    响应于制动信号,采取增大所述目标定子磁链、设定所述目标转矩为负值、打开所有所述驱动电路中全部开关元件中的至少两种方式控制所述电机制动。In response to the braking signal, the motor braking is controlled by increasing the target stator flux, setting the target torque to a negative value, and opening all the switch elements in all the drive circuits.
  64. 根据权利要求63所述的电动工具,其中,所述控制器的制动响应时间小于或等于10ms。The power tool according to claim 63, wherein the braking response time of the controller is less than or equal to 10 ms.
  65. 一种电动工具,包括:An electric tool, comprising:
    电机,包括定子和转子;An electric motor, including a stator and a rotor;
    电源装置,设置为提供电能至所述电机;a power supply device, configured to provide electrical energy to the motor;
    驱动电路,与所述电机电性连接以驱动所述电机,所述驱动电路包括多个开关元件;A driving circuit, electrically connected to the motor to drive the motor, the driving circuit comprising a plurality of switching elements;
    检测模块,被配置为获取所述电机的工作参数;和A detection module, configured to obtain operating parameters of the motor; and
    控制器,设置为控制所述驱动电路,并被配置为:A controller is provided to control the driving circuit and is configured to:
    设定所述定子磁链的参考值和所述电机的转矩的参考值;Setting a reference value of the stator flux and a reference value of the torque of the motor;
    根据所述电机的工作参数估算所述定子磁链和所述电机的转矩的实际值; estimating actual values of the stator flux and the torque of the motor according to the operating parameters of the motor;
    至少根据所述定子磁链和所述电机的转矩的实际值,预测下一时刻的所述定子磁链和所述电机的转矩的预测值;Predicting predicted values of the stator flux and the torque of the motor at a next moment based at least on actual values of the stator flux and the torque of the motor;
    比较所述定子磁链的预测值和所述定子磁链的参考值,获取磁链差值;Comparing the predicted value of the stator flux with the reference value of the stator flux to obtain a flux difference;
    比较所述电机的转矩的预测值和所述电机的转矩的参考值,获取转矩差值;Comparing the predicted value of the torque of the motor with the reference value of the torque of the motor to obtain a torque difference;
    至少根据所述磁链差值和所述转矩差值生成控制信号,控制所述多个开关元件的导通状态。A control signal is generated at least according to the flux difference and the torque difference to control the conduction state of the plurality of switch elements.
  66. 根据权利要求65所述的电动工具,其中,所述控制器还被配置为:根据所述定子磁链和所述电机的转矩的实际值和所述驱动电路的多个开关状态,计算下一时刻的所述定子磁链和所述电机的转矩的多个预测值;选择所述多个开关状态中使所述定子磁链和所述电机的转矩的预测值与所述定子磁链和所述电机的转矩的参考值的差值最小的开关状态,以控制所述多个开关元件。According to the electric tool according to claim 65, the controller is further configured to: calculate multiple predicted values of the stator flux and the torque of the motor at the next moment based on the actual values of the stator flux and the torque of the motor and the multiple switching states of the drive circuit; and select the switching state among the multiple switching states that minimizes the difference between the predicted values of the stator flux and the torque of the motor and the reference values of the stator flux and the torque of the motor to control the multiple switching elements.
  67. 根据权利要求65所述的电动工具,其中,所述控制器还被配置为:根据所述磁链差值和所述转矩差值查表获得电压矢量,以控制所述多个开关元件的导通状态。The electric tool according to claim 65, wherein the controller is further configured to obtain a voltage vector by looking up the table according to the flux difference and the torque difference to control the conduction state of the multiple switching elements.
  68. 一种电动工具,包括:An electric tool, comprising:
    电机,包括定子和转子;An electric motor, including a stator and a rotor;
    电源装置,设置为提供电能至所述电机;a power supply device, configured to provide electrical energy to the motor;
    驱动电路,与所述电机电性连接以驱动所述电机,所述驱动电路包括多个开关元件;A driving circuit, electrically connected to the motor to drive the motor, the driving circuit comprising a plurality of switching elements;
    控制器,设置为控制所述驱动电路;A controller configured to control the drive circuit;
    所述控制器包括:The controller comprises:
    转矩差值计算单元,被配置为根据所述电机的目标转矩和实际转矩计算转矩差值;a torque difference calculation unit, configured to calculate a torque difference according to a target torque and an actual torque of the motor;
    磁链差值计算单元,被配置为根据所述电机的目标定子磁链和实际定子磁链计算磁链差值;a flux difference calculation unit configured to calculate a flux difference according to a target stator flux and an actual stator flux of the motor;
    电压矢量生成单元,被配置为至少根据所述转矩差值、所述磁链差值和所述转子的角位置生成控制信号,所述控制信号用于控制所述多个开关元件;采用滑模控制、模糊逻辑控制、人工神经网络控制中的至少一种控制方式自适应调整所述目标转矩和所述目标定子磁链。A voltage vector generating unit is configured to generate a control signal based on at least the torque difference, the flux difference and the angular position of the rotor, wherein the control signal is used to control the multiple switching elements; and to adaptively adjust the target torque and the target stator flux by using at least one control method selected from sliding mode control, fuzzy logic control and artificial neural network control.
  69. 根据权利要求68所述的电动工具,其中,所述电压矢量生成单元还设置为采用滑模控制、模糊逻辑控制、人工神经网络控制中的至少一种控制方式校 正所述转矩差值或所述磁链差值后输出所述控制信号。The electric tool according to claim 68, wherein the voltage vector generating unit is further configured to calibrate the voltage vector by using at least one of sliding mode control, fuzzy logic control, and artificial neural network control. The control signal is output after the torque difference or the flux difference is corrected.
  70. 一种电钻,包括:An electric drill, comprising:
    功能元件;Functional elements;
    电机,设置为驱动所述功能元件转动,所述电机包括定子和转子;A motor, configured to drive the functional element to rotate, the motor comprising a stator and a rotor;
    供电模块,设置为为所述电机供电;A power supply module, configured to supply power to the motor;
    驱动电路,与电机和所述供电模块电性连接,所述驱动电路包括多个开关元件;A drive circuit, electrically connected to the motor and the power supply module, wherein the drive circuit includes a plurality of switch elements;
    检测模块,被配置为检测所述电机的工作参数;A detection module, configured to detect operating parameters of the motor;
    控制器,与所述驱动电路和所述检测模块电耦合,并被配置为:A controller is electrically coupled to the driving circuit and the detection module and is configured to:
    设定所述电机的目标转矩和目标定子磁链;Setting a target torque and a target stator flux of the motor;
    根据所述工作参数估算所述电机的实际转矩和实际定子磁链;estimating the actual torque and the actual stator flux of the motor according to the operating parameters;
    根据所述电机的目标转矩和所述实际转矩计算转矩差值;Calculating a torque difference according to the target torque of the motor and the actual torque;
    根据所述电机的目标定子磁链和所述实际定子磁链计算磁链差值;Calculating a flux difference according to a target stator flux of the motor and the actual stator flux;
    至少根据所述磁链差值和所述转矩差值生成控制信号控制所述驱动电路;generating a control signal to control the drive circuit at least according to the flux difference and the torque difference;
    在所述电机的实际转矩大于等于所述目标转矩的情况下,控制所述电机停止转动。When the actual torque of the motor is greater than or equal to the target torque, the motor is controlled to stop rotating.
  71. 根据权利要求70所述的电钻,还包括操作组件,设置为获取用户输入,所述控制器是设置为根据所述用户输入设定所述目标转矩或所述目标定子磁链。The electric drill according to claim 70 further includes an operating component configured to obtain user input, and the controller is configured to set the target torque or the target stator flux based on the user input.
  72. 根据权利要求71所述的电钻,其中,所述操作组件包括扭力调节装置,以供用户操作设定希望转矩;所述控制器是设置为根据所述希望转矩确定所述目标转矩。An electric drill according to claim 71, wherein the operating component includes a torque adjustment device for a user to operate to set a desired torque; and the controller is configured to determine the target torque based on the desired torque.
  73. 根据权利要求70所述的电钻,其中,所述电机的转矩响应时间小于等于2ms。 The electric drill according to claim 70, wherein the torque response time of the motor is less than or equal to 2 ms.
PCT/CN2023/138470 2022-12-29 2023-12-13 Power tool, garden tool, and electric drill WO2024140217A1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211703952.0 2022-12-29

Publications (1)

Publication Number Publication Date
WO2024140217A1 true WO2024140217A1 (en) 2024-07-04

Family

ID=

Similar Documents

Publication Publication Date Title
JP5182562B2 (en) Electric tool
CN110417330B (en) Electric tool
US11258389B2 (en) Power tool and control method thereof
US20230396199A1 (en) Power tool
CN111835248A (en) Electric tool
WO2024140217A1 (en) Power tool, garden tool, and electric drill
US11622500B2 (en) Power tool and control method for the same
US20230283220A1 (en) Power tool and control method therefor
US10770993B2 (en) Power tool
US20220286018A1 (en) Power tool and control method thereof
US20230125520A1 (en) Power tool and control method thereof
CN118282268A (en) Electric tool
CN118282270A (en) Electric tool
CN118282269A (en) Garden tool
JP2023031617A (en) electric work machine
EP4307555A1 (en) Power tool
WO2022083384A1 (en) Electric tool
WO2024060963A1 (en) Electric tool
CN114448298A (en) Electric tool
CN114448297A (en) Electric tool
CN118100696A (en) Electric tool and control method thereof
CN117733798A (en) Electric tool