Motor control method, ship, equipment and storage medium
By receiving steering commands in the motor, judging the position and performing self-locking operations, and combining closed-loop control to achieve a locked state, the existing motor locking methods are solved, and the level of automation is improved.
Patent Information
- Application Number
- CN202210692655.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2042-06-17
AI Technical Summary
Existing motor locking methods require additional mechanical or electromagnetic equipment, resulting in structural complexity and increased production costs.
By receiving the steering command, it is determined whether the motor position reaches the specified position, performs self-locking operation, and uses closed-loop control to achieve a locked state when the electrical angle change value exceeds the threshold.
Improves the level of automatic operation of the motor's rear steering self-locking, reduces dependence on additional equipment, and reduces production costs.
Smart Images

Figure CN115051599B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automatic control technology, and in particular to a motor control method, a ship, an electronic device and a computer-readable storage medium. Background Art
[0002] As a trend of ship electrification, motors are increasingly used in ships. However, the conventional method for locking motors is to use mechanical locking or electromagnetic braking. The mechanical locking method generally uses a mechanical structure to brake the motor. The electromagnetic braking locking method generally uses electromagnetic parts to brake the motor. Therefore, both the mechanical locking and electromagnetic braking methods require additional equipment, resulting in a complex structure and increased production costs. Summary of the invention
[0003] The present application provides a motor control method, a ship, an electronic device and a computer-readable storage medium.
[0004] The present application provides a method for controlling a motor, the method comprising:
[0005] receiving a steering instruction, and driving the motor to rotate according to the steering instruction, wherein the steering instruction includes a designated position of the motor;
[0006] Determine whether the real-time rotation position of the motor reaches the specified position, and if so, perform a self-locking operation;
[0007] According to the self-locking operation, it is detected whether the change value of the electrical angle of the motor exceeds a preset angle threshold. If so, a closed-loop control method is adopted to control the motor to reach a locked state.
[0008] The present application also provides an electronic device, comprising:
[0009] At least one processor, at least one memory and a communication interface; wherein,
[0010] The processor, memory and communication interface communicate with each other;
[0011] The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the motor control method as described above.
[0012] The present application also provides a ship, comprising: a motor, a position sensor and the electronic device described above, wherein the position sensor is used to detect the rotor speed and rotor position of the motor and transmit the detected speed and rotor position to the electronic device.
[0013] The present application provides a storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the motor control method as described above.
[0014] The motor control method, ship, equipment and storage medium provided in the implementation of the present application perform a preliminary self-locking operation after the motor rotates to a specified position. When it is detected that the electrical angle change value of the motor exceeds a preset angle threshold during the self-locking operation, a closed-loop control method is used to control the motor to a locked state, thereby improving the level of automated operation of self-locking after the motor turns. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of the principle of an electronic device in an embodiment of the present application.
[0016] Figure 2 It is a schematic diagram of the structure of a ship in one embodiment of the present application.
[0017] Figure 3 It is a schematic diagram of the principle of a motor in one embodiment of the present application.
[0018] Figure 4 It is a schematic structural diagram of a ship in another embodiment of the present application.
[0019] Figure 5 It is a flow chart of a method for controlling a motor in one embodiment of the present application.
[0020] Description of main component symbols:
[0021] Electronic devices 100
[0022] Processor 10
[0023] Memory 20
[0024] Communication unit 30
[0025] Drive unit 40
[0026] Power conversion unit 50
[0027] Ship 200
[0028] Motor 210
[0029] Rotor 211
[0030] Stator 212
[0031] Shorting switch 213
[0032] Three-phase line tube 214
[0033] Three-phase line pipe 215
[0034] Position sensor 220
[0035] Steering wheel 230
[0036] Tiller 240
[0037] Hull 250
[0038] Steering rudder 260
[0039] Thruster 270
[0040] Outboard motor 280
[0041] Inboard engine 290
[0042] Propeller 291
[0043] Propulsion motor 292 DETAILED DESCRIPTION
[0044] The following will clearly and completely describe the technical solutions in the implementation mode of the present application in conjunction with the accompanying drawings in the implementation mode of the present application. Obviously, the described implementation mode is only a part of the implementation mode of the present application, rather than the entire implementation mode.
[0045] See also Figure 1 , Figure 1 A schematic diagram of an electronic device 100 is provided for one embodiment of the present application.
[0046] It can be understood that the electronic device 100 described in this embodiment can be installed in Figure 2 The ship 200 shown in the figure is provided with a motor 210 for driving steering and a position sensor 220, wherein the position sensor 220 is used to detect the rotor speed and rotor position of the motor 210. In this embodiment, the electronic device 100 refers to a controller of the motor 210.
[0047] For example, the position sensor 220 may be any one of an electromagnetic position sensor, a magnetic position sensor or a photoelectric position sensor. In this embodiment, the motor 210 is a three-phase motor.
[0048] It can be understood that when the electronic device 100 receives a steering instruction, the drive motor 210 rotates, and based on the detected rotor speed and rotor position of the motor 210, when the motor 210 rotates to a specified position, it is determined whether the motor 210 enters a locked state.
[0049] In one embodiment, Figure 3As shown, the motor 210 includes a short-circuiting switch 213, a rotor 211, a stator 212, a three-phase online tube 214, and a three-phase offline tube 215. The short-circuiting switch 213 is used to short-circuit the three-phase online tube 214 or the three-phase offline tube 215, so as to generate a magnetic repulsion force between the rotor 211 and the stator 212 to achieve a self-locking operation.
[0050] In this embodiment, the shorting switch 213 includes three groups of MOS switches for controlling the opening and closing of the upper tube 214 of the three-phase line and three groups of MOS switches for controlling the opening and closing of the lower tube 215 of the three-phase line.
[0051] It can be understood that when it is detected that the position of the rotor 211 of the motor 210 rotates to the specified position, the three phase lines of the motor 210 are disconnected by three groups of MOS switches in the pipeline or three groups of MOS switches in the pipeline under the three phase lines, so that the three phase lines of the motor 210 are not closed loops, and a magnetic repulsive force is generated between the rotor 211 and the stator 212. The resistance generated by the rotor 211 and the stator 212 is used to prevent the steering position of the motor 210 from changing greatly relative to each other, and combined with the gear ratio of the steering system, the small displacement of the motor 210 is greatly reduced at the final ship steering end. In this way, the direction of the ship can be locked.
[0052] In one embodiment, the ship 200 may further include a steering wheel 230, which is used to receive steering information and send the steering information to the electronic device 100. In another embodiment, the ship 200 may further include a tiller 240, which is used to receive steering information and send the steering information to the electronic device 100.
[0053] It can be understood that the ship operator generates steering information by turning the steering wheel 230 or operating the tiller 240, so that the electronic device 100 controlling the motor 210 can receive the corresponding steering instruction. The steering information includes a designated steering angle for the ship.
[0054] In one embodiment, the ship further includes a hull 250, a steering rudder 260 and a propeller 270. The steering rudder 260 is used to guide the ship 200 to turn according to the drive of the motor 210; the propeller 270 is used to provide power for the ship to turn.
[0055] In one embodiment, the ship 200 further includes an outboard motor 280, which is installed outside the hull 250, and the steering rudder 260 is provided on the outboard motor 280, and the motor 210 drives the outboard motor 280 to turn. The electronic device 100 and the position sensor 220 are installed on the outboard motor 280. In other embodiments, the position sensor 220 can also be installed at other positions such as the middle of the hull and the head.
[0056] In another embodiment, Figure 4 As shown, the ship 200 further includes an inboard engine 290, which is installed in the hull 250 and is provided with a propulsion motor 292 and a propeller 291 located at the bottom of the ship. The motor 210 and the steering rudder 260 are arranged outside the hull 250 and face the propeller 291. The electronic device 100 and the position sensor 220 are connected to the motor 210.
[0057] It is understood that the inboard motor 290 or the outboard motor 280 can realize the steering of the ship 200, and the specific setting can be made according to the actual situation. When the electronic device 100 is applied to the outboard motor 280, the electronic device 100 is often fixed on the frame of the outboard motor 280. When the electronic device 100 is applied to the inboard motor 290, the electronic device 100 is often integrated with the motor 210 in the inboard motor 290. Of course, the electronic device 100 can also be fixed on the hull of the ship 200.
[0058] In one embodiment, the electronic device 100 may include a processor 10 , a memory 20 , and a communication unit 30 .
[0059] The processor 10 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.
[0060] In one implementation, the processor 10 is fixedly mounted on the vessel 200 and connected to the position sensor 220 .
[0061] The memory 20 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, an optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage devices, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0062] The communication unit 30 is used to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), etc.
[0063] In this embodiment, the processor 10 is connected to other devices of the ship 200 for communication via the communication unit 30 .
[0064] In one embodiment, the electronic device 100 is provided with a plurality of the memories 20, wherein at least one memory 20 is communicatively connected to the processor 10, and the at least one memory 20 stores program instructions executable by the processor 10, and the processor 10 calls the program instructions to execute the application program code of the motor control method.
[0065] In one embodiment, the memory 20 may exist independently, the processor 10, the communication unit 30 and at least one of the memories 20 may be connected via a communication bus and communicate with each other, and the steering wheel 230 and / or tiller handle 240 of the ship 200 may be connected via a communication bus and communicate with at least one of the memories 20, and the processor 10 communicatively connected to the processor 10, the steering wheel 230 and / or tiller handle 240 of the ship 200 is a different processor 10.
[0066] It can be understood that the electronic device 100 can determine whether the motor 210 reaches a locked state after rotating to a specified position according to the rotor speed and rotor position of the motor 210 sensed by the position sensor 220 by running the motor control method.
[0067] In one embodiment, the electronic device 100 may further include a driving unit 40 and a power conversion unit 50 .
[0068] It can be understood that the driving unit 40 is used to convert the control signal of the processor 10 to the motor 210 into a driving signal for the power conversion unit 50, and to achieve isolation of the power signal and the control signal. The power conversion unit 50 is used to control the current and voltage of the motor 210. In this embodiment, the power conversion unit can be selected from any one of a high-power transistor, a gate turn-off thyristor, a power field effect transistor, an insulated gate bipolar transistor, etc.
[0069] Please refer to Figure 5 , Figure 5 A flowchart of a method for controlling a motor provided in an embodiment of the present application.
[0070] The motor control method of this embodiment may include the following steps:
[0071] Step S31, receiving a steering instruction, and driving the motor to rotate according to the steering instruction, wherein the steering instruction includes a designated position of the motor.
[0072] It can be understood that the designated position of the motor refers to the designated rotation angle of the rotor. When a steering command is received from a steering wheel or a tiller, the output power of the motor is determined according to the designated rotation angle of the rotor, and then the motor is powered on to drive the motor to rotate to the designated position, thereby achieving ship steering.
[0073] In some embodiments, before receiving the steering instruction, the motor control method further includes:
[0074] receiving steering information, the steering information including a specified steering angle;
[0075] A designated position for the motor is determined according to the designated steering angle.
[0076] It can be understood that the steering information refers to the specified steering angle of the ship. When the electronic device receives the steering information generated by the steering wheel or the tiller, it determines through power conversion how much kinetic energy the motor needs to output to drive the ship to the specified steering angle, thereby determining the position where the motor should stop rotating, that is, the specified position.
[0077] Step S32, determining whether the real-time rotation position of the motor reaches the specified position, and if so, performing a self-locking operation.
[0078] In some embodiments, if the real-time rotation position of the motor reaches the specified position, a switch short-circuit instruction is generated to control the motor to perform a self-locking operation.
[0079] It can be understood that during the rotation of the motor, if the real-time rotation position of the motor does not reach the specified position, the upper pipeline MOS switches and the lower pipeline MOS switches of the three phase lines of the motor are set to the on state to form a closed loop, so that a magnetic attraction is generated between the rotor and the stator to achieve normal rotation of the motor. When the position sensor detects that the real-time rotation position of the motor reaches the specified position, a switch short-circuit instruction is generated.
[0080] In some embodiments, the switch short-circuit instruction includes a three-phase online tube short-circuit instruction or a three-phase offline tube short-circuit instruction of the motor.
[0081] In this embodiment, the motor is controlled to perform a self-locking operation according to the switch short-circuit instruction, including: according to the three-phase line tube short-circuit instruction or the three-phase line tube short-circuit instruction, controlling the magnetic repulsion force between the rotor and the stator of the motor to lock the rotor and the stator.
[0082] It can be understood that the three-phase line pipe short-circuit instruction of the motor refers to disconnecting the MOS switch of the three-phase line pipe of the motor. The three-phase line pipe short-circuit instruction of the motor refers to disconnecting the MOS switch of the three-phase line pipe of the motor. The short-circuit instruction of the switch triggers the short-circuit of the three-phase line pipe of the motor or the short-circuit of the three-phase line pipe, so that a magnetic repulsion force is generated between the rotor and the stator to realize self-locking operation. By utilizing the resistance generated between the rotor and the stator to prevent the steering position of the motor from changing significantly relative to each other, and combining the gear ratio of the steering system, the small displacement of the motor is greatly reduced at the final steering end of the ship, so that the direction of the ship can be locked.
[0083] In some embodiments, before generating a switch short-circuit instruction to control the motor to perform a self-locking operation, the motor control method further includes: generating a drive stop instruction to stop driving the motor.
[0084] It can be understood that the drive stop instruction refers to powering off the motor. When it is detected that the real-time rotation position of the motor reaches the specified position, the drive stop instruction is triggered to stop the drive motor, so as to facilitate the subsequent self-locking operation.
[0085] Step S33, detecting whether the change in the electrical angle of the motor exceeds a preset angle threshold according to the self-locking operation, and if so, controlling the motor to reach a locked state by a closed-loop control method.
[0086] It can be understood that during the self-locking operation in step S32, when it is not detected that the change in the electrical angle of the motor is greater than the preset angle threshold, the self-locking operation in step S32 is continued. When it is detected that the change in the electrical angle of the motor is greater than the preset angle threshold, a closed-loop control method is used to control the motor to reach a locked state. Among them, the angle threshold is between half an electrical cycle and three quarters of an electrical cycle. In this embodiment, the angle threshold can be 180 degrees of half an electrical cycle. In other embodiments, the angle threshold can be set according to actual conditions.
[0087] In some embodiments, before the closed-loop control method is used to control the motor to reach a locked state, the motor control method further includes: generating a switch-on instruction, the switch-on instruction including a three-phase online tube-on instruction and a three-phase offline tube-on instruction of the motor.
[0088] It can be understood that when a closed-loop control method is adopted, the motor needs to be turned on for a small-amplitude operation. Therefore, the MOS switch on the three-phase line of the motor and the MOS switch on the three-phase line of the motor need to be turned on, so as to achieve normal operation of the motor.
[0089] In some embodiments, the closed-loop control method includes a speed loop control method and / or a position loop control method, wherein the speed loop control method adjusts the rotor speed of the motor to a given zero speed through feedback; and the position loop control method adjusts the rotor position of the electronic to the specified position through feedback.
[0090] In a preferred embodiment, when the self-locking operation is detected and the electrical angle change value of the motor exceeds a preset angle threshold, the speed loop control mode is firstly adopted.
[0091] It can be understood that by adopting the speed loop control method in advance, the rotor speed can be quickly reduced, and the small-amplitude operation of the motor will be greatly reduced by the gear ratio without causing the direction of the ship to change.
[0092] In some embodiments, the speed loop control method is used to control the motor to perform self-locking operation, including: obtaining the rotor speed of the motor and filtering it, and using the filtered rotor speed as a speed feedback value to close-loop adjust the rotor speed of the motor to a given zero speed.
[0093] In this embodiment, when the closed loop adjusts the rotor speed of the motor, a corresponding current signal is output according to the speed feedback value to reduce the magnetic attraction between the rotor and the stator of the motor, thereby achieving rotor deceleration to a given zero speed.
[0094] It can be understood that through the closed-loop control method of zero speed, the rotor speed of the motor is continuously adjusted, and the output power to the motor is adjusted according to the speed feedback value to reduce the magnetic attraction between the rotor and the stator, so that the rotor speed can be quickly reduced, and the small-amplitude operation of the motor will be greatly reduced by the gear ratio without causing the direction of the ship to change.
[0095] Considering that the speed loop control mode may cause serious heating of the MOS switch monomer tube due to the need to continuously adjust the output power, the operation time of the speed loop control mode is generally controlled within a preset time threshold.
[0096] In some embodiments, a speed loop control method is used to control the motor to perform a self-locking operation, and it is determined whether the rotor speed of the motor reaches a given zero speed within a preset time threshold. If so, a position loop control method is used to control the motor to reach a locked state. In this embodiment, the preset time threshold is a maximum of 20 seconds, and the specific time threshold can be 15 seconds, 16 seconds, 17 seconds, or 18 seconds.
[0097] It can be understood that when the duration of the speed loop control mode exceeds a preset time threshold, the position loop control mode is adopted to reduce the heating of the MOS switch.
[0098] In some embodiments, the position loop control method is used to control the motor to reach a locked state, including: obtaining the rotor position of the motor, determining the position deviation value between the rotor position of the motor and a specified position and using it as a position feedback value to close-loop adjust the rotor position of the motor to achieve a locked state.
[0099] In this embodiment, when the closed loop adjusts the rotor position of the motor, a corresponding current signal is output according to the position feedback value to control the magnitude and direction of the magnetic attraction between the rotor and stator of the motor to drive the rotor to rotate to a specified position.
[0100] In some embodiments, after the motor reaches a locked state, the motor control method further includes: receiving a steering update instruction, and controlling the motor to perform a self-locking operation according to the steering update instruction, wherein the steering update instruction includes an updated designated position.
[0101] It can be understood that when the direction of the ship needs to be changed, the electronic device receives a steering update instruction through the steering wheel or the tiller, and controls the motor to execute steps S31-S33 according to the steering update instruction, thereby realigning the direction of the ship and achieving locking.
[0102] Based on the same concept, an embodiment of the present application further provides a computer-readable storage medium in which computer instructions are stored, and when the instructions are executed on the electronic device 100, the electronic device 100 can execute the motor control method provided in the above embodiment.
[0103] The present application performs a preliminary self-locking operation after the motor rotates to a specified position. When it is detected that the electrical angle change value of the motor exceeds a preset angle threshold during the self-locking operation, a closed-loop control method is used to control the motor to reach a locked state, thereby improving the level of automated operation of self-locking after the motor turns.
[0104] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, no matter from which point of view, the above embodiments of the present application should be regarded as exemplary and non-restrictive, and the scope of the present application is defined by the attached claims rather than the above description, and therefore it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present application.
Claims
1. A method for controlling a motor, characterized in that: The method comprises: receiving a steering instruction, and driving the motor to rotate according to the steering instruction, wherein the steering instruction includes a designated position of the motor; Determine whether the real-time rotation position of the motor reaches the specified position, and if so, perform a self-locking operation; According to the self-locking operation, it is detected whether the change value of the electrical angle of the motor exceeds a preset angle threshold. If so, a closed-loop control method is used to control the motor to reach a locked state; wherein the closed-loop control method includes speed loop control and position loop control, and the speed loop control method adjusts the rotor speed of the motor to a given zero speed through feedback; the position loop control method adjusts the rotor position of the motor to the specified position through feedback; the closed-loop control method is used to control the motor to reach a locked state, including: using a speed loop control method to control the motor to perform a self-locking operation, and when it is detected that the rotor speed of the motor does not reach a given zero speed within a preset time threshold, a position loop control method is used to control the motor to reach a locked state.
2. The motor control method according to claim 1, characterized in that: If the real-time rotation position of the motor reaches the specified position, a switch short-circuit instruction is generated to control the motor to perform a self-locking operation.
3. The motor control method according to claim 1, characterized in that: The preset time threshold is at most 20s.
4. The motor control method according to claim 2, characterized in that: The switch short-circuit instruction includes a three-phase online tube short-circuit instruction or a three-phase offline tube short-circuit instruction of the motor.
5. The motor control method according to claim 4, characterized in that: According to the three-phase line tube short-circuit instruction or the three-phase line tube short-circuit instruction, a magnetic repulsive force is controlled to be generated between the rotor and the stator of the motor to lock the rotor and the stator.
6. The motor control method according to claim 1, characterized in that: Before adopting the closed-loop control method to control the motor to reach a locked state, the method further includes: generating a switch-on instruction, the switch-on instruction including a three-phase online tube-on instruction and a three-phase offline tube-on instruction of the motor.
7. The motor control method according to claim 1, characterized in that: The speed loop control method is used to control the motor to perform self-locking operation, including: The rotor speed of the motor is obtained and filtered, and the rotor speed after filtering is used as a speed feedback value to close-loop adjust the rotor speed of the motor to a given zero speed.
8. The motor control method according to claim 7, characterized in that: When the closed loop adjusts the rotor speed of the motor, a corresponding current signal is output according to the speed feedback value to reduce the magnetic attraction between the rotor and the stator of the motor, thereby achieving rotor deceleration to a given zero speed.
9. The motor control method according to claim 1, characterized in that: The method of using a position loop control method to control the motor to a locked state includes: The rotor position of the motor is obtained, and a position deviation value between the rotor position of the motor and a specified position is determined and used as a position feedback value to close-loop adjust the rotor position of the motor to achieve a locked state.
10. The motor control method according to claim 9, characterized in that: When the closed loop adjusts the rotor position of the motor, a corresponding current signal is output according to the position feedback value to control the magnitude and direction of the magnetic attraction between the rotor and the stator of the motor to drive the rotor to rotate to a specified position.
11. The motor control method according to any one of claims 1 to 10, characterized in that: Before receiving the steering instruction, the method further includes: receiving steering information, the steering information including a specified steering angle; A designated position for the motor is determined according to the designated steering angle.
12. The motor control method according to any one of claims 1 to 10, characterized in that: After the motor reaches a locked state, the method further includes: A steering update instruction is received, and the motor is controlled to perform a self-locking operation according to the steering update instruction, wherein the steering update instruction includes an updated designated position.
13. The motor control method according to claim 2 or 4, characterized in that: Before generating the switch short-circuit instruction to control the motor to perform a self-locking operation, the method further includes: generating a drive stop instruction to stop driving the motor.
14. The motor control method according to any one of claims 1 to 10, characterized in that: The preset angle threshold is set between half an electrical cycle and three quarters of an electrical cycle.
15. An electronic device, characterized in that: include: At least one processor, at least one memory and a communication interface; wherein, The processor, memory and communication interface communicate with each other; The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the motor control method described in any one of claims 1-14.
16. A ship, characterized in that: The ship comprises: a motor, a position sensor and the electronic device according to claim 15, wherein the position sensor is used to detect the rotor speed and rotor position of the motor and transmit the detected speed and rotor position to the electronic device.
17. The vessel according to claim 16, characterized in that The motor comprises a short-circuiting switch, a rotor and a stator. The short-circuiting switch is used to realize short-circuiting of the tubes on the three-phase line or short-circuiting of the tubes under the three-phase line, so as to generate a magnetic repulsive force between the rotor and the stator to realize a self-locking operation.
18. The vessel according to claim 16, characterized in that The ship further includes a steering wheel, which is used to receive steering information and send the steering information to the electronic device.
19. The vessel according to claim 16, characterized in that The ship further comprises a tiller, wherein the tiller is used for receiving steering information and sending the steering information to the electronic device.
20. The vessel according to claim 16, characterized in that The ship also includes a hull and a steering rudder. The motor is installed on the hull, and the steering rudder is connected to the motor.
21. The vessel according to claim 20, characterized in that The ship also includes an inboard engine installed in the hull, the inboard engine is provided with a propeller located at the bottom of the ship, and the motor and the steering rudder are arranged outside the hull and face the propeller.
22. The vessel according to claim 20, characterized in that The ship further includes an outboard motor, which is installed outside the hull, the steering rudder is arranged on the outboard motor, and the motor drives the outboard motor to steer.
23. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the motor control method according to any one of claims 1 to 14.
