Electric machine control method, control device, electric machine and storage medium

By analyzing control signals and calibrating currents, the control method of electric machinery solves the problem of power incompatibility of electric machinery under actual working conditions, and improves the adaptability and operating efficiency of electric machinery.

CN118399834BActive Publication Date: 2024-09-24ZOOMLION HEAVY INDUSTRY SCIENCE AND TECHNOLOGY CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410857574.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-24
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

The power of electric machinery cannot adapt to actual working conditions, resulting in wasted or insufficient power and affecting operating efficiency.

Method used

By analyzing the control signal, the power mode and target speed of the electric machine are determined, the target current is calculated based on the target speed and power mode, and the electric machine is driven by calibrating the current correction, selecting different power modes to adapt to the actual working conditions, and updating the current in real time to Avoid losing speed.

Benefits of technology

It achieves the adaptability of electric mechanical power, avoids power waste and shortage, and improves operating efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118399834B
    Figure CN118399834B
Patent Text Reader

Abstract

The embodiments of the present application disclose a control method, a control device, an electric machine and a storage medium for an electric machine, and belong to the field of equipment control. The control method for an electric machine includes: parsing the control signal of the electric machine, determining the power mode and target speed corresponding to the electric machine; determining the target current for driving the electric machine based on the target speed and the power mode; determining the calibration current corresponding to the electric machine according to the target speed and the actual speed detected when driving the electric machine; correcting the target current by the calibration current to drive the electric machine with the corrected target current. By selecting different power modes for the electric machine and determining the target current corresponding to each power mode to control the electric machine, the power of the electric machine can adapt to the actual working conditions of the electric machine. At the same time, the target current is updated in real time through the target speed and the actual speed, which avoids the power of the electric machine not adapting to the actual working conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of equipment control, and specifically to a control method, a control device, an electric machine and a storage medium for an electric machine. Background Art

[0002] With the development of new energy technologies, the construction machinery industry has ushered in an electrification reform. The proportion of electric machinery such as electric excavators in engineering operations has increased year by year. Most electric machinery is controlled by electronic control. Users can control the throttle opening of the electric machinery, adjust the input current value of the power equipment, and quickly adjust the speed of the electric machinery during operation.

[0003] Due to the influence of environmental factors such as soil quality in the operation scene, electric machinery is usually required to operate at extremely high power. However, in the actual operation scene, due to improper operation of the user and the error between the actual input current and the theoretical input current, the power of the electric machinery does not match the actual working load. The power of the electric machinery cannot adapt to the actual working conditions of the electric machinery, which easily leads to power waste or insufficient power, thereby affecting the operating efficiency of the electric machinery. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a control method, a control device, an electric machine and a storage medium for an electric machine. The control method for an electric machine is used to solve the problem in the prior art that the power of the electric machine cannot adapt to the actual working conditions of the electric machine.

[0005] In order to achieve the above-mentioned object, the present application provides a control method of an electric machine in a first aspect, and the control method of the electric machine includes:

[0006] Analyze the control signal of the electric machine to determine the power mode and target speed corresponding to the electric machine, wherein the power mode is used to determine the mapping relationship between the speed and torque when the electric machine is running;

[0007] determining a target current for driving the electric machine based on the target speed and the power mode;

[0008] Determine a calibration current corresponding to the electric machine according to the target speed and the actual speed detected when driving the electric machine;

[0009] The target current is corrected by the calibration current to drive the electric machine by the corrected target current.

[0010] In an embodiment of the present application, determining a target current for driving an electric machine based on a target speed and a power mode includes:

[0011] Based on the mapping relationship between the speed and torque corresponding to the power mode, the target speed is queried to determine the target torque of the electric machine;

[0012] Based on the target torque, a target current for driving the electric machine is determined.

[0013] In an embodiment of the present application, determining a target current for driving the electric machine according to the target torque includes:

[0014] When the electric machine is in operation, detecting the pressure of the electric machine;

[0015] determining a target displacement of the electric machine based on the pressure and the target torque;

[0016] Based on the mapping relationship between the displacement and the current, the target displacement is queried to determine the target current for driving the electric machine.

[0017] In the embodiment of the present application, before parsing the control signal of the electric machine and determining the power mode and target speed corresponding to the electric machine, the following steps are also included:

[0018] Obtain the current working condition of the electric machine;

[0019] According to the mapping relationship between the working condition and the power mode, the current working condition is queried, the target power mode corresponding to the current working condition is determined, and a control signal of the electric machine is generated corresponding to the target power mode.

[0020] In an embodiment of the present application, the electric machine includes a pedal and a handle, and before parsing the control signal of the electric machine and determining the power mode and target speed corresponding to the electric machine, the following is also included:

[0021] In response to the received operation mode switching instruction, the operation mode of the electric machine is switched, wherein the operation mode includes a pedal operation mode and a handle operation mode;

[0022] When the operation mode is a pedal operation mode, analyzing a first signal to generate a control signal of the electric machine, wherein the first signal is a signal generated when a user operates a pedal;

[0023] When the operation mode is the handle operation mode, the second signal is analyzed to generate a control signal of the electric machine, wherein the second signal is a signal generated when the user operates the handle.

[0024] In the embodiment of the present application, before parsing the control signal of the electric machine and determining the power mode and target speed corresponding to the electric machine, the following steps are also included:

[0025] In response to the received constant speed operation instruction, obtaining a target operating speed of the electric machine;

[0026] Based on the mapping relationship between the operating speed and the rotational speed of the electric machine, the expected rotational speed corresponding to the target operating speed is determined, and a control signal of the electric machine is generated corresponding to the expected rotational speed.

[0027] In an embodiment of the present application, determining a calibration current corresponding to the electric machine according to a target speed and an actual speed detected when driving the electric machine includes:

[0028] Obtaining a speed error between a target speed and an actual speed detected when driving an electric machine;

[0029] According to the mapping relationship between the speed and torque corresponding to the power mode, the speed error is queried to determine the correction torque corresponding to the speed error;

[0030] Based on the correction torque, a corresponding calibration current of the electric machine is determined.

[0031] A second aspect of the present application provides a control device, comprising:

[0032] a memory configured to store instructions; and

[0033] The processor is configured to call instructions from the memory and implement the control method of the electric machine according to the above when executing the instructions.

[0034] A third aspect of the present application provides an electric machine, comprising:

[0035] The control device mentioned above; and

[0036] The power device is configured to control the pumping displacement to control the operating speed of the electric machine.

[0037] A fourth aspect of the present application provides a machine-readable storage medium, on which instructions are stored, and the instructions are used to enable a machine to execute the control method of the electric machine according to the above-mentioned method.

[0038] The present application provides a control method for an electric machine, which includes: analyzing the control signal of the electric machine to determine the power mode and target speed corresponding to the electric machine; determining the target current for driving the electric machine based on the target speed and the power mode; determining the calibration current corresponding to the electric machine according to the target speed and the actual speed detected when driving the electric machine; and correcting the target current by the calibration current to drive the electric machine with the corrected target current. By selecting different power modes for the electric machine and determining the target current corresponding to each power mode to control the electric machine, the power of the electric machine can adapt to the actual working conditions of the electric machine. At the same time, the target current is updated in real time through the target speed and the actual speed to avoid the power of the electric machine not adapting to the actual working conditions due to the speed drop of the electric machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0040] Figure 1 A schematic diagram of a flow chart of a control method of an electric machine according to an embodiment of the present application is schematically shown;

[0041] Figure 2 An example diagram schematically shows a power change relationship corresponding to a power mode according to an embodiment of the present application;

[0042] Figure 3 An example diagram schematically shows an application of determining a corrected target current according to an embodiment of the present application;

[0043] Figure 4 A first structural block diagram of an electric machine according to an embodiment of the present application is schematically shown;

[0044] Figure 5 A second structural block diagram of an electric machine according to an embodiment of the present application is schematically shown.

[0045] Description of Reference Numerals

[0046] 200-electric machinery; 210-control device, 220-power device, 230-handle, 240-pedal, 250-speed sensor, 260-pressure sensor, 270-action actuator. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0048] It should be noted that if directional indication is involved in the embodiments of the present application, the directional indication is only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.

[0049] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0050] See also Figure 1 , Figure 1 The flowchart of a control method of an electric machine according to an embodiment of the present application is schematically shown. Figure 1 As shown, the control method of the electric machine includes the following steps:

[0051] S110, analyzing the control signal of the electric machine to determine the power mode and target speed corresponding to the electric machine, wherein the power mode is used to determine the mapping relationship between the speed and the torque when the electric machine is running.

[0052] In actual operation scenarios, if the power of the electric machine cannot adapt to the actual working conditions of the electric machine, it is easy to cause power waste or insufficient power, thereby affecting the operating efficiency of the electric machine. Analyze the control signal of the electric machine to determine the user's expected power mode and / or expected speed. The user's expected power mode is determined as the power mode corresponding to the electric machine, and the user's expected speed is determined as the target speed corresponding to the electric machine. The power changes corresponding to the electric machine in each power mode are different. The power mode of the electric machine can be determined according to demand, so that the power of the electric machine can be adapted to the actual working conditions to avoid power waste or insufficient power. It should be understood that the control signal can be a complete signal, and then the control signal is analyzed to determine the power mode and target speed corresponding to the electric machine. The control signal also includes a first control signal and a second control signal. The first control signal is analyzed to determine the power mode corresponding to the electric machine, and the second control signal is analyzed to determine the target speed corresponding to the electric machine.

[0053] Usually, the speed of an electric machine is proportional to the power. If the user expects the electric machine to operate at a target power, the actual speed of the electric machine can be adjusted to the target speed corresponding to the target power. It should be understood that the target speed can be determined based on the actual working conditions of the electric machine, or it can respond to the user's speed request instruction and determine the speed corresponding to the speed request instruction as the target speed. This will not be elaborated here. The operating scene can also be the electric machine walking, etc. In addition, the operating scene of the electric machine can change according to the type of the electric machine. When the type of the electric machine is an excavator, the operating scene can be an excavation operation. When the type of the electric machine is a mixer, the operating scene can be a mixing operation. This is not limited here.

[0054] S120 , determining a target current for driving the electric machine based on the target speed and the power mode.

[0055] The power mode is used to determine the mapping relationship between the speed and torque when the electric machine is running. Based on the mapping relationship between the speed and torque corresponding to the power mode, the target speed is queried to determine the torque corresponding to the target speed, and then the target current used to drive the electric machine is determined.

[0056] In an embodiment of the present application, determining a target current for driving an electric machine based on a target speed and a power mode includes:

[0057] Based on the mapping relationship between the speed and torque corresponding to the power mode, the target speed is queried to determine the target torque of the electric machine;

[0058] Based on the target torque, a target current for driving the electric machine is determined.

[0059] See also Figure 2 , Figure 2 An example diagram schematically shows a power change relationship corresponding to a power mode according to an embodiment of the present application.

[0060] As shown in the figure, the horizontal axis is the speed, and the vertical axis is the torque, and the mapping relationship between the speed and torque corresponding to each power mode is different. For ease of understanding, the power mode in the embodiment of the present application includes a light load mode, a standard mode and a heavy load mode. Assuming that the target speed is n and the target torque is T, based on the mapping relationship between the speed and torque corresponding to the power mode, the target speed is queried to determine the target torque of the electric machine. Specifically, when the value of n is 1800r / min, based on the mapping relationship between the speed and torque corresponding to the power mode, the target speed is queried to determine the target torque corresponding to 1800r / min. The target torque corresponding to the heavy load mode is greater than the target torque corresponding to the standard mode, and the target torque corresponding to the standard mode is greater than the target torque corresponding to the light load mode. Different power modes are selected, and the target torque of the electric machine is determined differently, so that the power of the electric machine can be adjusted according to the actual working conditions of the electric machine, so that the power of the electric machine can adapt to the actual working conditions of the electric machine.

[0061] Usually, the torque and current of electric machinery are in a linear relationship. The target current used to drive the electric machinery can be determined based on the target torque:

[0062] T=kI Formula (1)

[0063] Wherein, T is the torque of the electric machine, I is the current of the electric machine, and k is the proportional constant.

[0064] By selecting different power modes for the electric machine and determining the target current to drive the electric machine corresponding to the power mode, the power of the electric machine can adapt to the actual working conditions of the electric machine, thereby realizing intelligent operation of the electric machine.

[0065] In an embodiment of the present application, determining a target current for driving the electric machine according to the target torque includes:

[0066] When the electric machine is in operation, detecting the pressure of the electric machine;

[0067] determining a target displacement of the electric machine based on the pressure and the target torque;

[0068] Based on the mapping relationship between the displacement and the current, the target displacement is queried to determine the target current for driving the electric machine.

[0069] When the electric machine is in operation, the pressure of the electric machine is obtained by using a pressure sensor or other pressure detection device. The relationship between the pressure, torque and displacement of the electric machine is:

[0070] T=0.16×P×V Formula (2)

[0071] Wherein, T is the torque of the electric machine, P is the pressure of the electric machine, and V is the displacement of the electric machine.

[0072] When the pressure and target torque of the electric machine are obtained, the target displacement of the electric machine is determined based on the pressure and the target torque. Based on the mapping relationship between the displacement and the current, the target displacement is queried to determine the target current for driving the electric machine corresponding to the target displacement. The mapping relationship between the displacement and the current can be a curve relationship or a relational expression, which is not limited here.

[0073] S130, determining a calibration current corresponding to the electric machine according to the target speed and the actual speed detected when the electric machine is driven.

[0074] The target current is determined according to the target speed, and the actual speed of the electric machine is detected when the electric machine is driven with the target current. In theory, the actual speed of the electric machine is equal to the target speed. However, in actual operation scenarios, due to the speed drop of the electric machine, the actual speed of the electric machine is not equal to the target speed. The actual speed of the electric machine can be obtained by using a speed sensor or other speed detection device. According to the target speed and the actual speed detected when driving the electric machine, the calibration current corresponding to the electric machine is determined.

[0075] S140, correcting the target current by means of a calibration current, so as to drive the electric machine by means of the corrected target current.

[0076] The target current is corrected by the calibration current to update the value of the target current. The electric machine is driven by the corrected target current. The difference between the target speed and the actual speed is reduced until the difference between the target speed and the actual speed is less than the preset difference threshold, wherein the value of the preset difference threshold is set according to actual needs and is not limited here. The target current is updated in real time through the speed error between the target speed and the actual speed to avoid the power of the electric machine not being adapted to the actual working conditions due to the speed drop of the electric machine.

[0077] In the embodiment of the present application, before parsing the control signal of the electric machine and determining the power mode and target speed corresponding to the electric machine, the following steps are also included:

[0078] Obtain the current working condition of the electric machine;

[0079] According to the relationship between the working condition and the power mode, the current working condition is queried and a control signal of the electric machine is generated.

[0080] When the electric machine is in different working conditions, the power mode of the electric machine is determined according to the working condition of the electric machine, so that the power of the electric machine adapts to the actual working condition. The current working condition of the electric machine can be obtained by using an image acquisition device such as a camera. According to the relationship between the working condition and the power mode, the current working condition is queried and a control signal of the electric machine is generated. Specifically, assuming that the current working condition is that the electric machine is traveling on a flat road, according to the relationship between the working condition and the power mode, the current working condition is queried, and it is determined that the power mode of the electric machine is that the electric machine operates at a lower power, and the control signal of the electric machine is generated corresponding to the power mode. Assuming that the current working condition is that the electric machine is traveling on a steep road, according to the relationship between the working condition and the power mode, the current working condition is queried, and it is determined that the power mode of the electric machine is that the electric machine operates at a higher power, and the control signal of the electric machine is generated corresponding to the power mode.

[0081] In an embodiment of the present application, the electric machine includes a pedal and a handle, and before parsing the control signal of the electric machine and determining the power mode and target speed corresponding to the electric machine, the following is also included:

[0082] In response to the received operation mode switching instruction, the operation mode of the electric machine is switched, wherein the operation mode includes a pedal operation mode and a handle operation mode;

[0083] When the operation mode is a pedal operation mode, analyzing a first signal to generate a control signal of the electric machine, wherein the first signal is a signal generated when a user operates a pedal;

[0084] When the operation mode is the handle operation mode, the second signal is analyzed to generate a control signal of the electric machine, wherein the second signal is a signal generated when the user operates the handle.

[0085] See also Figure 3 , Figure 3 An application example diagram of determining a corrected target current according to an embodiment of the present application is schematically shown.

[0086] Analyze the control signal of the electric machine to determine the power mode and target speed corresponding to the electric machine. Based on the mapping relationship between the speed and torque corresponding to the power mode, query the target speed to determine the target torque of the electric machine. When the electric machine is in operation, detect the pressure of the electric machine. Based on the pressure and the target torque, determine the target displacement of the electric machine. Based on the mapping relationship between the displacement and the current, query the target displacement to determine the target current used to drive the electric machine.

[0087] When the electric machine is driven based on the target current, the actual speed of the electric machine is detected. The speed error between the target speed and the actual speed detected when the electric machine is driven is obtained. According to the mapping relationship between the speed and torque corresponding to the power mode, the speed error is queried to determine the correction torque corresponding to the speed error. Based on the correction torque, the calibration current corresponding to the electric machine is determined. The target current is corrected by the calibration current to drive the electric machine by the corrected target current.

[0088] In this embodiment, the electric machine also includes a pedal and a handle, so that the working mode of the electric machine includes a pedal working mode and a handle working mode, so that the user can control the electric machine according to personal habits. Specifically, the user can send a working mode switching instruction through an interactive device such as a button of the handle to switch the working mode of the electric machine. The electric machine responds to the received working mode switching instruction to switch the working mode of the electric machine. Specifically, if the working mode of the electric machine is the handle working mode, when the working mode switching instruction is received, the working mode is switched from the handle working mode to the pedal working mode. If the working mode of the electric machine is the pedal working mode, when the working mode switching instruction is received, the working mode is switched from the pedal working mode to the handle working mode.

[0089] The first signal is a signal generated when the user operates the pedal. When the operation mode is the pedal operation mode, the first signal is analyzed to determine the user's expected power mode and / or expected speed. According to the user's expected power mode and / or expected speed, a control signal of the electric machine is generated. The second signal is a signal generated when the user operates the handle. When the operation mode is the handle operation mode, the second signal is analyzed to determine the user's expected power mode and / or expected speed. According to the user's expected power mode and / or expected speed, a control signal of the electric machine is generated.

[0090] In the embodiment of the present application, before parsing the control signal of the electric machine and determining the power mode and target speed corresponding to the electric machine, the following steps are also included:

[0091] In response to the received constant speed operation instruction, obtaining a target operating speed of the electric machine;

[0092] Based on the mapping relationship between the operating speed and the rotational speed of the electric machine, the expected rotational speed corresponding to the target operating speed is determined, and a control signal of the electric machine is generated corresponding to the expected rotational speed.

[0093] When the electric machine is required to operate at a constant speed, the user can send a constant speed operation instruction to the electric machine through the interactive device. The electric machine responds to the received constant speed operation instruction and obtains the target operating speed of the electric machine, wherein the target operating speed is the operating speed expected by the user. The current operating speed of the electric machine can be determined as the expected operating speed, or the expected operating speed can be input through the interactive device, which will not be described in detail here.

[0094] Based on the mapping relationship between the operating speed and the rotational speed of the electric machine, the desired rotational speed corresponding to the target operating speed is determined, and a control signal of the electric machine is generated corresponding to the desired rotational speed. The control signal enables the electric machine to operate at a constant target operating speed, so that the electric machine can assist the user in operating through multiple modes, thereby realizing intelligent operation of the electric machine.

[0095] In an embodiment of the present application, determining a calibration current corresponding to the electric machine according to a target speed and an actual speed detected when driving the electric machine includes:

[0096] Obtaining a speed error between a target speed and an actual speed detected when driving an electric machine;

[0097] According to the mapping relationship between the speed and torque corresponding to the power mode, the speed error is queried to determine the correction torque corresponding to the speed error;

[0098] Based on the correction torque, a corresponding calibration current of the electric machine is determined.

[0099] The speed error between the target speed and the actual speed detected when driving the electric machine is obtained. The mapping relationship between the speed and torque corresponding to each power mode is different. When the speed error remains unchanged, different power modes will lead to different torques. According to the mapping relationship between the speed and torque corresponding to the power mode, the speed error is queried to determine the correction torque corresponding to the speed error.

[0100] Based on the correction torque, the calibration current corresponding to the electric machine is determined. Specifically, when the pressure of the electric machine is not detected, the correction torque is substituted into formula (1) to determine the calibration current corresponding to the electric machine. When the pressure of the electric machine is detected, the correction torque and pressure are substituted into formula (2) to determine the correction displacement corresponding to the correction torque. Based on the mapping relationship between the displacement and the current, the correction displacement is queried to determine the calibration current corresponding to the correction displacement. The target current is corrected by the calibration current to drive the electric machine with the corrected target current, so that the power of the electric machine adapts to the actual working conditions and avoids power waste or power shortage.

[0101] The present application provides a control method for an electric machine, which includes: analyzing the control signal of the electric machine to determine the power mode and target speed corresponding to the electric machine; determining the target current for driving the electric machine based on the target speed and the power mode; determining the calibration current corresponding to the electric machine according to the target speed and the actual speed detected when driving the electric machine; and correcting the target current by the calibration current to drive the electric machine with the corrected target current. By selecting different power modes for the electric machine and determining the target current corresponding to each power mode to control the electric machine, the power of the electric machine can adapt to the actual working conditions of the electric machine. At the same time, the target current is updated in real time through the target speed and the actual speed to avoid the power of the electric machine not adapting to the actual working conditions due to the speed drop of the electric machine.

[0102] The present application also provides a control device, including:

[0103] a memory configured to store instructions; and

[0104] The processor is configured to call instructions from the memory and implement the control method of the electric machine according to the above when executing the instructions.

[0105] See also Figure 4 , Figure 4 The first structural block diagram of an electric machine according to an embodiment of the present application is schematically shown. Figure 4 As shown, the embodiment of the present application provides an electric machine 200, including:

[0106] The control device 210 mentioned above; and

[0107] The power device 220 is configured to control the pumping displacement to control the operating speed of the electric machine 200 .

[0108] The control device 210 analyzes the control signal and determines the power mode and target speed corresponding to the electric machine 200. The target current corresponding to the target speed is used to control the power device 220. The value of the target current is adjusted according to the target speed and the actual speed detected when driving the electric machine 200. The electric machine 200 is driven by the target current, and the pumping displacement of the power device 220 is controlled to control the operating speed of the electric machine 200.

[0109] See also Figure 5 , Figure 5 A second structural block diagram of an electric machine according to an embodiment of the present application is schematically shown. Figure 5As shown, in this embodiment, the electric machine 200 further includes a handle 230, a pedal 240, a speed sensor 250, a pressure sensor 260, and an action execution mechanism 270. The control device 210 can determine the target speed of the power device 220 through the first signal generated when the user controls the pedal 240, and can also determine the target speed of the power device 220 through the control signal generated when the user controls the handle 230. The speed sensor 250 is used to obtain the actual speed of the power device 220 when it is running, and the pressure sensor 260 is used to obtain the actual pressure of the power device 220 when it is running.

[0110] The power device 220 includes components such as an electric displacement load-sensitive pump, an electronically controlled load-sensitive main valve, and an engine, which are not shown in the figure. The pedal 240 may include a left pedal and a right pedal, which are not shown in the figure. The action actuator 270 may be a cylinder, a rotary motor, a travel motor, and other components, which are not shown in the figure. It should be understood that the electric machine 200 may also include other devices such as a fuel tank, and other devices are set according to actual needs and are not limited here.

[0111] An embodiment of the present application further provides a machine-readable storage medium, on which instructions are stored, and the instructions are used to enable a machine to execute the control method of the electric machine according to the above-mentioned method.

[0112] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0113] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0114] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0115] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0116] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0117] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0118] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0119] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0120] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A control method for an electric machine, characterized in that: The control method of the electric machine comprises: Analyze the control signal of the electric machine to determine the power mode and target speed corresponding to the electric machine, wherein the power mode is used to determine the mapping relationship between the speed and the torque when the electric machine is running; determining a target current for driving the electric machine based on the target speed and the power mode; determining a calibration current corresponding to the electric machine according to the target speed and an actual speed detected when driving the electric machine; Correcting the target current by using the calibration current to drive the electric machine by using the corrected target current; Before analyzing the control signal of the electric machine and determining the power mode and target speed corresponding to the electric machine, the method further includes: Obtain the current working condition of the electric machine; According to the mapping relationship between the working condition and the power mode, query the current working condition, determine the target power mode corresponding to the current working condition, and generate a control signal of the electric machine corresponding to the target power mode; The determining, based on the target speed and the power mode, a target current for driving the electric machine comprises: Based on the mapping relationship between the rotation speed and the torque corresponding to the power mode, querying the target rotation speed to determine the target torque of the electric machine; Based on the target torque, a target current for driving the electric machine is determined.

2. The control method of an electric machine according to claim 1, characterized in that: The step of determining a target current for driving the electric machine according to the target torque includes: When the electric machine is in operation, detecting the pressure of the electric machine; determining a target displacement of the electric machine based on the pressure and the target torque; Based on the mapping relationship between the displacement and the current, the target displacement is queried to determine the target current for driving the electric machine.

3. The control method of an electric machine according to claim 1, characterized in that: The electric machine includes a foot pedal and a handle. Before analyzing the control signal of the electric machine and determining the power mode and target speed corresponding to the electric machine, the method further includes: In response to the received operation mode switching instruction, the operation mode of the electric machine is switched, wherein the operation mode includes a pedal operation mode and a handle operation mode; When the working mode is a pedal working mode, analyzing a first signal to generate a control signal for the electric machine, wherein the first signal is a signal generated when a user operates the pedal; When the operation mode is the handle operation mode, a second signal is analyzed to generate a control signal for the electric machine, wherein the second signal is a signal generated when a user operates the handle.

4. The control method of an electric machine according to claim 1, characterized in that: Before analyzing the control signal of the electric machine and determining the power mode and target speed corresponding to the electric machine, the method further includes: In response to the received constant speed operation instruction, obtaining a target operating speed of the electric machine; Based on the mapping relationship between the working speed of the electric machine and the rotational speed, an expected rotational speed corresponding to the target working speed is determined, and a control signal of the electric machine is generated corresponding to the expected rotational speed.

5. The control method of an electric machine according to claim 1, characterized in that: The step of determining a calibration current corresponding to the electric machine according to the target speed and an actual speed detected when driving the electric machine comprises: acquiring a speed error between the target speed and an actual speed detected when driving the electric machine; According to the mapping relationship between the speed and the torque corresponding to the power mode, the speed error is queried to determine the correction torque corresponding to the speed error; Based on the correction torque, a corresponding calibration current of the electric machine is determined.

6. A control device, characterized in that: include: a memory configured to store instructions; as well as A processor is configured to call the instructions from the memory and implement the control method of the electric machine according to any one of claims 1 to 5 when executing the instructions.

7. An electric machine, characterized in that: include: The control device of claim 6; as well as The power device is configured to control the pumping displacement to control the operating speed of the electric machine.

8. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores instructions for causing a machine to execute the control method for an electric machine according to any one of claims 1 to 5.