Advanced angle correction method, advanced angle determining device, motor device, and on-vehicle apparatus
Patent Information
- Application Number
- JP2022009866
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2022-01-26
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-01-26
AI Technical Summary
Brushless motors experience increased operating noise and vibration due to manufacturing errors in the relative mounting positions of sensor magnets and Hall sensors, leading to inconsistent rotation control characteristics based on the rotor's direction of rotation.
A method and device for advanced angle correction in brushless motors, utilizing a stator with multi-phase coils, a rotor, position detection sensors, and a storage unit to adjust energization timing based on detected rotational positions and stored correction information, calculating and applying lead-angle corrections to minimize speed differences between forward and reverse rotations.
Precisely suppresses operation noise and vibration in brushless motors by individually adjusting energization timing for forward and reverse rotations, reducing speed differences and enhancing rotational control accuracy.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an advance angle correction method, an advance angle setting device, a motor device, and a vehicle-mounted device.
Background Art
[0002] In a forward and reverse rotation motor, in order to suppress a deviation in the reverse rotation position, a device that calculates the load of the motor and controls the rotation angle is known (for example, refer to Patent Document 1).
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
[0004] By the way, in a brushless motor, the rotation is controlled by a hall sensor detecting the switching of the magnetic poles of a sensor magnet that rotates together with the rotor at predetermined intervals in the rotation direction. However, manufacturing errors in the relative mounting positions of the sensor magnet and the hall sensor may differ for each motor, and depending on the rotation direction of the rotor, the rotation angle may not be appropriately controlled. When the rotation control characteristics differ depending on the rotation direction of the rotor in this way, there is a problem that the operating noise and vibration increase.
Summary of the Invention
Problems to be Solved by the Invention
[0005] The present invention has been made in view of the above circumstances, and an object thereof is to provide an advance angle correction method, an advance angle setting device, a motor device, and a vehicle-mounted device that can accurately suppress the generation of operating noise and vibration of a brushless motor that rotates forward and backward.
Means for Solving the Problems
[0006] One aspect of the present invention is a method for correcting the advance angle of a motor device comprising: a stator having multiple phase coils; a rotor that rotates in forward and reverse directions due to a magnetic field generated by the multiple phase coils; a position detection sensor for detecting the rotational position of the rotor; a storage unit for storing advance angle correction information indicating the degree of advance angle from the rotational position detected by the position detection sensor; a control unit for controlling the current applied to each of the multiple phase coils; and an advance angle control unit provided in the control unit, which performs advance angle control by changing the energization timing to the multiple phase coils based on the output signal of the position detection sensor and the advance angle correction information stored in the storage unit, wherein the method involves calculating in advance the difference in rotational speed between the rotational speed of the rotor when it is rotating in the forward direction and the rotational speed when it is rotating in the reverse direction, based on the rotational speed change rate, which is the change in the rotational speed of the rotor with respect to the change in the advance angle of the energization timing. The advance angle correction method comprises: a first advance angle correction information acquisition step for acquiring first advance angle correction information showing a correspondence with the advance angle correction amount; a rotation speed difference measurement step for measuring the rotor rotation speed difference, which is the difference between the rotation speed of the rotor when it is rotating in the forward direction and when it is rotating in the reverse direction, when a predetermined current is applied to the coils of the multiple phases; a first advance angle correction amount calculation step for calculating the first advance angle correction amount as a first forward rotation advance angle correction amount and a first reverse rotation advance angle correction amount for each rotation direction of the rotor, based on the acquired first advance angle correction information and the measured rotor rotation speed difference, so that the output shaft rotation speed difference, which is the difference between the rotation speed of the output shaft of the motor device when it is rotating in the forward direction and when it is rotating in the reverse direction, becomes smaller; and an advance angle correction amount storage step for storing the calculated first forward rotation advance angle correction amount and the first reverse rotation advance angle correction amount in the storage unit as advance angle correction information for each motor device.
[0007] One aspect of the present invention is an advance angle setting device for writing advance angle correction information to a motor device comprising: a stator having multiple phase coils; a rotor that rotates in forward and reverse directions by a magnetic field generated by the multiple phase coils; a position detection sensor for detecting the rotational position of the rotor; a storage unit for storing advance angle correction information indicating the degree of advance angle from the rotational position detected by the position detection sensor; a control unit for controlling the current applied to each of the multiple phase coils; and an advance angle control unit provided in the control unit, which performs advance angle control by changing the timing of energizing the multiple phase coils based on the output signal of the position detection sensor and the advance angle correction information stored in the storage unit, wherein the device writes advance angle correction information to a motor device comprising: a stator having multiple phase coils; a rotor that rotates in forward and reverse directions with respect to the change in the advance angle of the energizing timing, which is calculated in advance based on the rotational speed change rate, which is the change in the rotational speed of the rotor with respect to the change in the advance angle of the energizing timing, and the rotational speed of the rotor when rotating in forward and reverse directions. The advance angle setting device comprises: a first advance angle correction information acquisition unit that acquires first advance angle correction information showing the correspondence between the rotational speed difference and the advance angle correction amount; a rotational speed difference measurement unit that measures the rotor rotational speed difference, which is the difference between the rotational speed of the rotor when it is rotating in the forward direction and the rotational speed when it is rotating in the reverse direction when a predetermined current is applied to the coils of the multiple phases; a first advance angle correction amount calculation unit that calculates the first advance angle correction amount as a first forward rotation advance angle correction amount and a first reverse rotation advance angle correction amount for each rotation direction of the rotor, based on the acquired first advance angle correction information and the measured rotor rotational speed difference, so that the output shaft rotational speed difference, which is the difference between the rotational speed of the output shaft of the motor device when it is rotating in the forward direction and the rotational speed when it is rotating in the reverse direction, becomes smaller; and an advance angle correction information writing unit that stores the calculated first forward rotation advance angle correction amount and the first reverse rotation advance angle correction amount in the storage unit as advance angle correction information for each motor device.
[0008] One aspect of the present invention is a motor device comprising: a stator having multiple phase coils; a rotor that rotates in forward and reverse directions by a magnetic field generated by the multiple phase coils; a position detection sensor for detecting the rotational position of the rotor; a storage unit for storing advance angle correction information indicating the degree of advance angle from the rotational position detected by the position detection sensor; a control unit for controlling the current applied to each of the multiple phase coils; and an advance angle control unit provided in the control unit for performing advance angle control, which changes the timing of energizing the multiple phase coils based on the output signal of the position detection sensor and the advance angle correction information stored in the storage unit, wherein the storage unit has in advance calculated the rotational speed of the rotor when it is rotating in the forward direction, based on the rotational speed change rate, which is the change in the rotational speed of the rotor with respect to the change in the advance angle of the energizing timing. Based on the first advance angle correction information, which shows the relationship between the rotational speed difference when the rotor is rotating in the forward direction and the rotational speed when it is rotating in the reverse direction, and the advance angle correction amount, and the rotational speed difference measurement result, which is the difference between the rotational speed when the rotor is rotating in the forward direction and the rotational speed when it is rotating in the reverse direction when a predetermined current is applied to the coils of the multiple phases, the first forward rotation advance angle correction amount and the first reverse rotation advance angle correction amount, calculated for each rotation direction of the rotor, are stored as the advance angle correction information so that the output shaft rotational speed difference, which is the difference between the rotational speed when the output shaft of the motor device is rotating in the forward direction and the rotational speed when it is rotating in the reverse direction, becomes smaller. The advance angle control unit is a motor device that performs advance angle control based on the first forward rotation advance angle correction amount when the rotor is rotating in the forward direction, and performs advance angle control based on the first reverse rotation advance angle correction amount when the rotor is rotating in the reverse direction.
[0009] One aspect of the present invention is an on-board device comprising the above-described motor device and a driven unit driven in the longitudinal direction of the vehicle by the output shaft of the motor device, wherein when the rotation direction of the rotor is set to reverse rotation when the driven direction of the driven unit and the travel direction of the vehicle are opposite, the advance angle correction amount for forward rotation is greater than the advance angle correction amount for reverse rotation. [Effects of the Invention]
[0010] According to the present invention, it is possible to accurately suppress the generation of operating noise and vibration of a brushless motor that rotates in forward and reverse directions. [Brief explanation of the drawing]
[0011] [Figure 1] This figure shows an example of the configuration of the motor device of this embodiment. [Figure 2] This figure shows an example of the meshing state between the worm and the helical gear in this embodiment. [Figure 3] This figure shows an example of the functional configuration of the motor device of this embodiment. [Figure 4] This figure shows an example of the first advance angle correction information of this embodiment. [Figure 5] This figure shows an example of the flow for setting the advance angle correction value in this embodiment. [Figure 6] This figure shows an example of setting the first advance angle correction amount in this embodiment. [Figure 7] This figure shows an example of the second advance angle correction information of this embodiment. [Figure 8] This figure shows an example of the process for setting the advance angle correction value, which takes into account the forward and reverse rotational difference in transmission efficiency in this embodiment. [Figure 9] This figure shows an example of the correspondence between rotational force, rotational speed, and drive current before advance angle correction in the motor device of this embodiment. [Figure 10] This figure shows an example of the correspondence between rotational force after advance angle correction, rotational speed, and drive current in the motor device of this embodiment. [Modes for carrying out the invention]
[0012] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Figure 1 shows an example of the configuration of the motor device 1 of this embodiment. The motor device 1 comprises a motor 2, a gearbox 3, an inverter 50, and a control unit 60.
[0013] Motor device 1 is used as a drive source for an automobile wiper system and reciprocates a wiper blade positioned on the windshield surface (wiping surface). In addition, although the case where the motor device 1 is applied to the wiper device in the present embodiment will be described as an example, the motor 2 only needs to be able to rotate forward and backward, and it can be applied not only to the wiper device but also to other devices. For example, the motor device 1 may be applied to an electric window of an automobile (e.g., a sunroof or a power window), an electric seat of an automobile, an electric mirror of an automobile, etc.
[0014] The motor 2 includes a stator 21 and a rotor 22. The stator 21 has a plurality of phase armature coils. The rotor 22 is provided inside the stator 21. The rotor 22 includes a rotor shaft 24 and a sensor magnet 22b attached to the rotor shaft 24.
[0015] A plurality of permanent magnets 26 are fixed to the rotor shaft 24. The rotational state of the motor 2 (e.g., rotational speed and rotational force) is controlled by changing the drive current flowing through the armature coils wound around the stator 21. That is, the rotor 22 rotates forward and backward by the magnetic field generated by the plurality of phase coils. A worm 31 is formed at the tip of the rotor shaft 24. A helical gear 32 rotatably supported by the gear box 3 meshes with the worm 31. In the following description, the rotational speed reduction mechanism formed by the worm 31 and the helical gear 32 is also referred to as a reduction gear.
[0016] FIG. 2 is a diagram showing an example of the meshing state of the worm 31 and the helical gear 32 in the present embodiment. An output shaft 33 rotatably supported by the gear box 3 is integrally attached to the helical gear 32. The driving force of the motor 2 is output to the output shaft 33 in a state of being decelerated through the worm 31 and the helical gear 32.
[0017] A crank arm (not shown) of the wiper device is attached to the output shaft 33. When the motor 2 operates, the crank arm is driven via the output shaft 33, and the wiper arm operates via a link mechanism connected to the crank arm. A wiper blade is attached to the wiper arm, and the wiper blade performs a reciprocating wiping motion on the windshield surface as the motor 2 rotates.
[0018] [Example of inverter configuration] Figure 3 shows an example of the functional configuration of the motor device 1 of this embodiment. The inverter 50 rotates the motor 2 by generating a drive current from the DC power supplied from the battery 53 based on the drive signal generated by the control unit 60. The inverter 50 comprises six three-phase bridge-connected switching elements 51a to 51f and diodes 52a to 52f. The switching elements 51a to 51f are, for example, N-channel MOSFETs (Metal Oxide Semiconductor Field Effect Transistors) and constitute a three-phase bridge circuit. Diodes 52a to 52f are all so-called freewheeling diodes.
[0019] [Example of motor configuration] Motor 2 is, for example, a 3-phase 4-pole brushless motor. The stator 21 is fixed to the inner circumference of the motor 2 case. The stator 21 is equipped with three phase armature coils (21u, 21v, 21w). The stator 21 has three phase armature coils (21u, 21v, 21w) wound around it. These three phase armature coils (21u, 21v, 21w) are connected by a delta connection. Note that while the figure shows an example where the three phase armature coils (21u, 21v, 21w) are connected by a delta connection, the three phase armature coils may also be connected by a star connection.
[0020] The Hall sensor 23 detects the rotational position of the rotor shaft 24, which rotates together with the sensor magnet 22b, by detecting the magnetic flux of the sensor magnet 22b. In other words, the Hall sensor 23 detects the rotational position of the rotor 22. The motor device 1 is equipped with multiple Hall sensors 23 (for example, three Hall sensors 23u, 23v, and 23w). Pulse signals from the Hall sensors 23 are output to the control unit 60.
[0021] [Example of Control Unit (Motor Control Device) Configuration] The control unit 60 is a processor, such as a CPU (Central Processing Unit), which controls the current applied to each of the multiple phase coils. Specifically, the control unit 60 performs PWM (Pulse With Modulation) control, sets a duty cycle corresponding to the target rotor 22's rotational output (for example, target rotational speed), and outputs a drive signal to the inverter 50 corresponding to the set duty cycle. More specifically, the control unit 60 detects the rotational speed and direction of the rotor shaft 24 based on the pulse signal from the Hall sensor 23. Based on the detected rotational speed of the rotor shaft 24, the control unit 60 generates a drive current with a predetermined duty cycle by switching the power supply voltage ON / OFF, and supplies the generated drive current to the motor 2, thereby providing feedback control to the motor 2. The control unit 60 is also called the motor control device.
[0022] The control unit 60 includes a gate control voltage output unit 61, a PWM control unit 62, an advance angle control unit 63, and a storage unit 64.
[0023] The PWM control unit 62 generates a PWM signal (drive signal) that switches the ON / OFF state of the switching elements 51a to 51f based on the outputs of the Hall sensors 23u, 23v, and 23w. The PWM control unit 62 outputs the generated drive signal to the gate control voltage output unit 61. The gate control voltage output unit 61 drives the switching elements 51a to 51f by outputting a gate control voltage based on the drive signal generated by the PWM control unit 62 to the gate terminals of the switching elements 51a to 51f.
[0024] The advance control unit 63 performs advance control when it is necessary to advance the drive signal generated by the PWM control unit 62. Advance control is a control that advances (or delays) the phase of the drive current by controlling the timing of energization to multiple phase coils in order to suppress the deterioration of drive noise and vibration caused by changes in rotational force due to the phase delay of the drive current (phase current) caused by the inductance of the armature coil. In one example of this embodiment, the advance control unit 63 controls the advance of the drive current by advancing (or delaying) the phase of the drive current relative to the rotational position of the rotor 22 detected by the Hall sensor 23, based on an advance correction amount associated with the rotational speed of the rotor 22.
[0025] The memory unit 64 stores advance angle correction information. Advance angle correction information is information indicating the degree of advance angle from the rotational position of the rotor 22 detected by the Hall sensor 23. In other words, the memory unit 64 stores advance angle correction information indicating the degree of advance angle from the rotational position detected by the Hall sensor 23 (position detection sensor).
[0026] When predetermined conditions for performing advance angle control (for example, vehicle speed conditions when driving the wiper in a high vehicle speed range) are met, the advance angle control unit 63 calculates an advance angle correction amount based on the advance angle correction information stored in the memory unit 64 and the rotational speed of the rotor 22 detected by the PWM control unit 62. The advance angle control unit 63 performs advance angle control based on the calculated advance angle correction amount. In other words, the advance angle control unit 63 is provided in the control unit 60 and performs advance angle control by changing the timing of energizing the coils of multiple phases based on the output signal of the Hall sensor 23 (position detection sensor) and the advance angle correction information stored in the storage unit 64.
[0027] The advance angle correction information is set (written) to the memory unit 64 of the motor unit 1 by the advance angle setting device 100 during the pre-shipment process of the motor unit 1 (for example, the adjustment process or inspection process). An example of the configuration of the advance angle setting device 100 will be described below.
[0028] [Example of ignition timing setting device configuration] The advance angle setting device 100 comprises a storage unit 110 and a processor including a CPU. The advance angle setting device 100 includes a rotational speed difference measurement unit 120, a first advance angle correction information acquisition unit 131, a second advance angle correction information acquisition unit 132, a first advance angle correction amount calculation unit 141, a second advance angle correction amount calculation unit 142, and an advance angle correction information writing unit 150 as functional units of the processor.
[0029] The memory unit 110 stores first advance angle correction information and second advance angle correction information. First, we will explain how to set the advance angle using the first advance angle correction information.
[0030] [Advance angle setting using first advance angle correction information] Figure 4 shows an example of the first advance angle correction information of this embodiment. The first advance angle correction information is information that shows the correspondence between the rotational speed difference between the rotational speed of the rotor 22 when it is rotating in the forward direction and when it is rotating in the reverse direction, and the advance angle correction amount, which is calculated in advance based on the rotational speed change rate, which is the amount of change in the rotational speed of the rotor 22 with respect to the amount of change in the advance angle of the energization timing. The change in rotational speed in relation to the change in ignition timing is determined during the design phase of the motor device 1. Therefore, during the design phase of the motor device 1, the relationship between the difference in rotational speed between the rotor 22 when it is rotating in the forward direction and when it is rotating in the reverse direction, and the ignition timing correction amount is determined. In other words, the first ignition timing correction information indicates the relationship between the difference in rotational speed between the rotor 22 when it is rotating in the forward direction and when it is rotating in the reverse direction, and the ignition timing correction amount, which is determined during the design phase of the motor device 1. Furthermore, the advance angle correction amount in the first advance angle correction information does not take into account the difference in forward and reverse rotation of the reduction efficiency (transmission efficiency) of the gearbox.
[0031] The specific procedure for setting the advance angle correction value will be explained with reference to Figure 5. Figure 5 shows an example of the flow for setting the advance angle correction value in this embodiment. (Step S110) The rotational speed difference measuring unit 120 measures the rotational speed difference of the rotor 22, which is the difference between the rotational speed of the rotor 22 when it is rotating in the forward direction and the rotational speed when it is rotating in the reverse direction, when a predetermined current is applied to the coils of multiple phases. Specifically, when the motor device 1 to be set for advance timing is connected, the advance timing setting device 100 sequentially outputs a forward rotation command and a reverse rotation command to the control unit 60 of the motor device 1. The rotational speed difference measuring unit 120 obtains the rotational speed of the rotor 22 when it is rotating in the forward direction and the rotational speed of the rotor 22 when it is rotating in the reverse direction from the control unit 60 of the motor device 1. The rotational speed difference measuring unit 120 calculates the difference between the obtained rotational speed when it is rotating in the forward direction and the rotational speed when it is rotating in the reverse direction.
[0032] (Step S120) The first advance angle correction information acquisition unit 131 acquires the first advance angle correction information from the storage unit 110. The first advance angle correction amount calculation unit 141 calculates the first advance angle correction amount based on the first advance angle correction information acquired by the first advance angle correction information acquisition unit 131 and the difference in forward and reverse rotational speed of the rotor 22 calculated by the rotational speed difference measurement unit 120 in step S110. The first advance angle correction amount is a correction amount calculated to reduce the output shaft rotation speed difference, which is the difference between the rotation speed of the output shaft 33 of the motor device 1 when it is rotating in the forward direction and when it is rotating in the reverse direction. The first advance angle correction amount is calculated as the first forward rotation advance angle correction amount and the first reverse rotation advance angle correction amount for each rotation direction of the rotor 22. This first advance angle correction amount is a value calculated based on the correspondence between the forward and reverse rotational speed difference of the rotor 22 during the design of the motor device 1 and the advance angle correction amount, and is a unique value that differs for each assembled motor device 1.
[0033] Figure 6 shows an example of setting the first advance angle correction amount in this embodiment. The figure shows an example where the rotational speed during forward rotation, as obtained by the rotational speed difference measurement unit 120, is 2000 rpm, and the rotational speed during reverse rotation is 1000 rpm. Here, the difference in rotational speed between the rotor 22's forward rotation and its reverse rotation is, when the rotor 22 is rotating forward, the difference between the rotational speed in the reverse rotation and the rotational speed in the forward rotation, and when the rotor 22 is rotating reverse, the difference between the rotational speed in the forward rotation and the rotational speed in the reverse rotation. In the example shown in the figure, the rotational speed difference when the rotor 22 is rotating in the forward direction is 1000 rpm - 2000 rpm = -1000 rpm. In this case, the first advance angle correction amount calculation unit 141 calculates -9 degrees as the first forward rotation advance angle correction amount. Furthermore, the rotational speed difference when the rotor 22 is rotating in reverse is 2000 rpm - 1000 rpm = 1000 rpm. In this case, the first advance angle correction amount calculation unit 141 calculates +9 degrees as the first reverse advance angle correction amount.
[0034] The first advance angle correction amount calculation unit 141 calculates the first advance angle correction amount so that the difference in output shaft 33 rotation speed becomes smaller, by setting the midpoint between the rotation speed of the output shaft 33 when it is rotating in the forward direction and when it is rotating in the reverse direction as the target value for the rotation speed of the output shaft 33 after advance angle correction.
[0035] Returning to Figure 5, the advance angle correction information writing unit 150 determines whether the calculated first advance angle correction amount (first forward advance angle correction amount and first reverse advance angle correction amount) is less than the correction upper limit. This correction upper limit is set taking into consideration cases where the rotational force transmission system of the motor device 1 is damaged or where the relative position between the Hall sensor 23 and the sensor magnet 22b exceeds the allowable error. If the advance angle correction information writing unit 150 determines that the calculated first advance angle correction amount is less than the correction upper limit (step S120; YES), it proceeds to step S130. If the advance angle correction information writing unit 150 determines that the calculated first advance angle correction amount is not less than the correction upper limit (step S120; NO), it proceeds to step S140.
[0036] (Step S130) The advance angle correction information writing unit 150 stores the first advance angle correction amount (first forward rotation advance angle correction amount and first reverse rotation advance angle correction amount) in the storage unit 64 as advance angle correction information for each motor device 1. Furthermore, when designing the motor device 1, a basic advance angle setting value, which is an advance angle setting value based on the inductance of the armature coil, is determined in advance. The advance angle correction information writing unit 150 may store in the storage unit 64 a value obtained by adding the first advance angle correction amount (first forward advance angle correction amount and first reverse advance angle correction amount) calculated in step S120 to this basic advance angle setting value.
[0037] (Step S140) If the first advance angle correction amount is greater than or equal to the correction upper limit, the advance angle setting device 100 determines that there is an abnormality in the advance angle correction amount of the motor device 1 and terminates the process without writing the advance angle correction amount. In this case, the advance angle setting device 100 may display an indication that the motor device 1 is defective.
[0038] [Advance angle setting using second advance angle correction information] Next, we will explain how to set the advance angle using the second advance angle correction information. Figure 7 shows an example of the second advance angle correction information of this embodiment. The second advance angle correction information is information that indicates the advance angle correction amount, taking into account the difference in forward and reverse rotational speed of the transmission efficiency in the reduction gear. This second advance angle correction information is calculated in advance by determining the difference between the transmission efficiency of the rotor 22 when it is rotating in the forward direction and when it is rotating in the reverse direction, when the motor 2 and gearbox 3 are combined, through experiments and simulations during the design stage of the motor device 1. In other words, the second advance angle correction information is advance angle correction information that shows the relationship between the rotational speed difference between the rotational speed of the rotor 22 when it is rotating in the forward direction and when it is rotating in the reverse direction, and the advance angle correction amount, which is calculated in advance based on the relationship between the torque of the output shaft 33 when the rotor 22 is rotating in the forward direction and the transmission efficiency in the reduction gear, and the relationship between the torque of the output shaft 33 when the rotor 22 is rotating in the reverse direction and the transmission efficiency in the reduction gear.
[0039] As explained with reference to Figure 2, the reduction gear of the motor device 1 in this embodiment comprises a worm 31 (first reduction unit) and a helical gear 32 (second reduction unit). The worm 31 is mounted on the rotor shaft 24 (rotation shaft) and has a tooth trace along a direction intersecting the axial direction of the rotor shaft 24 (rotation shaft). The helical gear 32 (second reduction unit) meshes with the worm 31 (first reduction unit) and reduces the rotation of the rotor shaft 24 (rotation shaft) and transmits it to the output shaft 33. In other words, in the motor device 1's reduction gear, the direction of the tooth trace of the worm 31 and the direction of the tooth trace of the helical gear 32 are not parallel. As a result, the transmission efficiency of the motor device 1 differs between forward rotation and reverse rotation of the rotor 22. For example, as shown in Figure 6, when plotting the relationship between the rotational force (output shaft torque) of the output shaft 33 of the motor device 1 and the transmission efficiency (reduction efficiency), a difference arises between the transmission efficiency of the rotor 22 when it is rotating forward and when it is rotating reverse. This difference in transmission efficiency due to the difference in rotation direction is expressed as the difference between the rotational speed of rotor 22 when rotor 22 is rotating in the forward direction and the rotational speed when rotor 22 is rotating in the reverse direction. Therefore, the advance angle setting device 100 sets an advance angle correction amount for the motor device 1 based on the difference in forward and reverse rotational speed of the motor device 1 and the second advance angle correction information described above, taking into account the difference in forward and reverse rotational speed of the reduction efficiency (transmission efficiency) of the reduction gear.
[0040] The specific procedure for setting the advance angle correction value, which takes into account the forward and reverse rotational difference in the transmission efficiency of the gearbox, will be explained with reference to Figure 8. Figure 8 shows an example of the flow of setting the advance angle correction value, taking into account the forward and reverse rotational difference in transmission efficiency in this embodiment. In this example, the case in which the first advance angle correction amount and the second advance angle correction amount described above are set together in the motor device 1 will be explained. Note that the setting of the first advance angle correction amount is the same as the procedure described above, so the explanation will be omitted as appropriate. (Step S210) The rotational speed difference measuring unit 120 measures the rotational speed difference of the rotor 22, which is the difference between the rotational speed of the rotor 22 when it is rotating in the forward direction and the rotational speed when it is rotating in the reverse direction, when a predetermined current is applied to the coils of multiple phases. The specific procedure is the same as in step S110 described above, so the explanation is omitted.
[0041] (Step S220) The first advance angle correction information acquisition unit 131 and the first advance angle correction amount calculation unit 141 calculate the first advance angle correction amount in the same manner as in step S120 described above. The second advance angle correction information acquisition unit 132 acquires second advance angle correction information from the storage unit 110. The second advance angle correction amount calculation unit 142 calculates the second advance angle correction amount as a second forward advance angle correction amount and a second reverse advance angle correction amount for each rotation direction of the rotor 22, based on the acquired second advance angle correction information and the difference in rotational speed of the rotor 22 measured in step S210, so as to reduce the difference in rotational speed of the output shaft 33 due to the difference in transmission efficiency.
[0042] As an example, the rotational force (output shaft torque) of the output shaft 33 of the motor device 1 is used in the range of 0 to 10 Nm. In the example of second advance angle correction information shown in Figure 7, the transmission efficiency of the rotor 22 when it is rotating in the reverse direction is greater than the transmission efficiency when the rotor 22 is rotating in the forward direction, and the difference in transmission efficiency between forward and reverse rotation in the range of 0 to 10 Nm is about 2 to 8 points. In this case, the second advance angle correction amount calculation unit 142 increases the advance angle correction amount for the rotor 22 when it is rotating in the forward direction (for example, to +2 degrees) and decreases the advance angle correction amount for the rotor 22 when it is rotating in the reverse direction (for example, to -2 degrees) so that the difference between the rotational speed of the output shaft 33 when it is rotating in the forward direction and the rotational speed of the output shaft 33 when it is rotating in the reverse direction is reduced. In other words, in this example, the second advance angle correction amount calculation unit 142 calculates +2 degrees as the second forward rotation advance angle correction amount and -2 degrees as the second reverse rotation advance angle correction amount.
[0043] Furthermore, the second advance angle correction amount calculation unit 142 may calculate the second advance angle correction amount in such a way that the difference between the forward and reverse rotation speeds of the output shaft 33 becomes smaller, by setting the midpoint between the rotation speed of the output shaft 33 when it is rotating in the forward direction and when it is rotating in the reverse direction as the target value for the rotation speed of the output shaft 33 after advance angle correction. Here, the second advance angle correction amount is calculated taking into account the difference in transmission efficiency due to the difference in the rotation direction of the rotor 22. Therefore, if the second advance angle correction amount is calculated so that the difference between the forward and reverse rotation speeds of the output shaft 33 becomes smaller, the rotation speed of the rotor 22 when it is rotating in the forward direction and the rotation speed when it is rotating in the reverse direction will be different from each other.
[0044] The advance angle correction information writing unit 150 calculates the third forward rotation advance angle correction amount by adding the calculated first forward rotation advance angle correction amount and the second forward rotation advance angle correction amount. The advance angle correction information writing unit 150 also calculates the third reverse rotation advance angle correction amount by adding the first reverse rotation advance angle correction amount and the second reverse rotation advance angle correction amount. Specifically, if the first forward rotation advance angle correction amount is -9 degrees and the second forward rotation advance angle correction amount is +2 degrees, the advance angle correction information writing unit 150 calculates -7 degrees as the third forward rotation advance angle correction amount. If the first reverse rotation advance angle correction amount is +9 degrees and the second reverse rotation advance angle correction amount is -2 degrees, the advance angle correction information writing unit 150 calculates +7 degrees as the third reverse rotation advance angle correction amount.
[0045] The advance angle correction information writing unit 150 determines whether the calculated third advance angle correction amount (third forward advance angle correction amount and third reverse advance angle correction amount) is less than the correction upper limit. This correction upper limit is set taking into consideration cases where the rotational force transmission system of the motor device 1 is damaged or where the relative position between the Hall sensor 23 and the sensor magnet 22b exceeds the allowable error. If the advance angle correction information writing unit 150 determines that the calculated third advance angle correction amount is less than the correction upper limit (step S220; YES), it proceeds to step S230. If the advance angle correction information writing unit 150 determines that the calculated third advance angle correction amount is not less than the correction upper limit (step S220; NO), it proceeds to step S240.
[0046] (Step S230) The advance angle correction information writing unit 150 stores the calculated third advance angle correction amount (third forward advance angle correction amount and third reverse advance angle correction amount) in the storage unit 64 as advance angle correction information for each motor device 1.
[0047] (Step S240) If the third advance angle correction amount is greater than or equal to the correction upper limit, the advance angle setting device 100 determines that there is an abnormality in the advance angle correction amount of the motor device 1 and terminates the process without writing the advance angle correction amount. In this case, the advance angle setting device 100 may display an indication that the motor device 1 is defective.
[0048] Figure 9 shows an example of the correspondence between rotational force, rotational speed, and drive current before advance angle correction in the motor device 1 of this embodiment. Before advance angle correction, there is a difference in the correspondence between rotational force and drive current, and between rotational force and drive current, between forward rotation and reverse rotation. Figure 10 shows an example of the correspondence between rotational force, rotational speed, and drive current after advance angle correction in the motor device 1 of this embodiment. After advance angle correction, the difference between the correspondence between rotational force and drive current, and between rotational force and drive current, between forward rotation and reverse rotation is smaller than before advance angle correction.
[0049] As mentioned above, the motor unit 1 is used as a power source for an automobile wiper system or a sunroof system. In this case, the automobile wiper system or sunroof system can also be described as an on-board device that includes a driven part that is driven in the longitudinal direction of the vehicle by the output shaft 33 of the motor unit 1. For example, if the driven part of an on-board device is a wiper blade that wipes the vehicle's windows, it is an automotive wiper device; if the driven part of an on-board device is an electric window that slides open and closed in the direction of the vehicle's movement, it is a sunroof device. In this case, when the direction in which the driven part (e.g., a wiper blade or electric window) is driven is opposite to the direction of travel of the vehicle (i.e., when the driven part is driven against the direction of travel of the vehicle), the driven part is driven from the upwind side to the downwind side of the vehicle's airflow. In this case, the driven part can be driven with less rotational force compared to when it is driven from the downwind side to the upwind side of the vehicle's airflow. Conversely, when the driven part is driven from the downwind side to the upwind side of the vehicle's airflow, a larger rotational force is required to drive the driven part. Thus, in the case of a device in which the driven part is driven along the direction of travel of the vehicle, when the direction of rotation of the rotor 22 is set to reverse when the direction of the driven part and the direction of travel of the vehicle are opposite, the advance angle correction amount may be set so that the advance angle amount for forward rotation is larger and the advance angle amount for reverse rotation is smaller. For example, if the advance angle correction information writing unit 150 determines that the calculated first advance angle correction amount or third advance angle correction amount is less than the correction upper limit (step S120; YES or step S220; YES), it adds a fourth advance angle correction amount to the first advance angle correction amount or third advance angle correction amount before proceeding to step S130 or step S230. Here, the fourth advance angle correction amount is added in such a way that it increases the advance angle amount for forward rotation and decreases the advance angle amount for reverse rotation. For example, the fourth advance angle correction amount is set so that the advance angle amount for forward rotation is in a range of positive values and the advance angle amount for reverse rotation is in a range of negative values. The fourth advance angle correction amount may be set in advance to a predetermined value according to the specifications of the vehicle and on-board equipment (such as the size and mounting angle of the vehicle's windows, the structure of the wiper device's link mechanism), the mounting position of the on-board equipment on the vehicle, and the mounting direction of the motor device 1 on the on-board equipment, and stored in the memory unit 110.
[0050] Furthermore, in the case of a device in which the driven part is driven along the direction of travel of the vehicle, the control unit 60 may be configured to add a fourth advance angle correction amount when the vehicle speed is equal to or greater than a threshold. In this case, the control unit 60 may acquire vehicle speed information from the vehicle and calculate the advance angle correction amount of the motor 2 by adding the fourth advance angle correction amount based on the acquired vehicle speed information to the advance angle correction amount based on the advance angle correction amount information stored in the storage unit 64. Furthermore, the control unit 60 may control the advance angle amount differently depending on whether the driven unit is driven in the direction of travel of the vehicle or in the opposite direction of travel of the vehicle. For example, the control unit 60 may control the system so as not to increase (or to decrease) the advance angle amount when the driven unit is driven in the direction of travel of the vehicle, and to increase the advance angle amount when the driven unit is driven in the opposite direction of travel of the vehicle.
[0051] Furthermore, if vehicle speed information cannot be obtained, the control unit 60 may compare the duty cycle of the drive current during forward rotation with the duty cycle of the drive current during reverse rotation, and if the difference in duty cycles exceeds a predetermined threshold, it may add a fourth advance angle correction value. In other words, the control unit 60 may control the rotational force of the rotor 22 by pulse width modulation of the current applied to the multi-phase coils, and increase the advance angle amount if the difference between the duty cycle of the applied current during forward rotation and the duty cycle of the applied current during reverse rotation is greater than or equal to a predetermined threshold.
[0052] Furthermore, if vehicle speed information cannot be obtained, the control unit 60 may compare the duty cycle of the drive current during forward rotation with the duty cycle of the drive current during reverse rotation, and if the difference in duty cycles exceeds a predetermined threshold, it may add a fourth advance angle correction value. In other words, when the control unit 60 controls the rotational force of the rotor 22 by pulse width modulation of the current applied to the multi-phase coils, it may increase the amount of the fourth advance angle if the difference between the duty cycle of the applied current during forward rotation and the duty cycle of the applied current during reverse rotation is greater than or equal to a predetermined threshold. Furthermore, when the control unit 60 controls the rotational force of the rotor 22 by pulse width modulation of the current applied to the multi-phase coils, it may increase the amount of the fourth advance angle when the duty cycle of the applied current is greater than or equal to a predetermined threshold.
[0053] With the motor device 1 configured as described above, the rotational speed can be measured individually for each motor device 1, and the advance angle of the rotor 22 during forward rotation and the advance angle during reverse rotation can be set individually. Therefore, with the motor device 1 of this embodiment, even if there are manufacturing variations in the motor device 1, the energizing timing of the drive current during forward rotation and the energizing timing of the drive current during reverse rotation can both be properly controlled. As a result, with the motor device 1 of this embodiment, operating noise and vibration caused by improper energizing timing resulting from manufacturing variations in the motor device 1 can be reduced. Furthermore, according to the motor device 1 of this embodiment, the advance angle amount for forward rotation and the advance angle amount for reverse rotation of the rotor 22 can be set individually. Therefore, even if the direction of rotation is reversed for each specification due to differences in left-hand drive (for example, the difference between right-hand drive and left-hand drive vehicles), the advance angle amounts for forward and reverse rotation can be set interchangeably for each specification. For this reason, the motor device 1 of this embodiment can suppress an increase in product variations due to differences in left-hand drive.
[0054] Furthermore, according to the motor device 1 of this embodiment, the advance angle correction amount, which takes into account the forward and reverse rotational difference in the transmission efficiency of the reduction gear, can be individually set for each rotational direction of the rotor 22. For this reason, according to the motor device 1 of this embodiment, even when using a reduction gear of a type in which the transmission efficiency changes greatly depending on the rotational direction (for example, a reduction gear using a combination of a worm gear and a helical gear that generates a thrust load due to the meshing of the gears, or a reduction gear using a combination of parallel-axis arc gears), the difference in forward and reverse rotational speed of the output shaft of the reduction gear can be reduced.
[0055] Furthermore, as described above, the motor control device of this embodiment can reduce operating noise and vibration, thereby reducing the power required for driving. Therefore, the motor control device of this embodiment can contribute to achieving Goal 7 of the United Nations Sustainable Development Goals (SDGs), "Ensure access to affordable, reliable, sustainable, and modern energy for all."
[0056] In the above-described embodiment, the control unit 60 was explained as an example in which it comprises a PWM control unit 62, an advance angle control unit 63, and a storage unit 64, but it is not limited to this. The PWM control unit 62, the advance angle control unit 63, and the storage unit 64 may be provided in other devices of the motor device 1 or in devices located outside the motor device 1.
[0057] At least some of the functions of the control unit 60 may be implemented by hardware including circuitry such as LSI (Large Scale Integration), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), and GPU (Graphics Processing Unit). Alternatively, at least some of the functions of the motor control device 30 may be implemented through the cooperation of software and hardware. Furthermore, this hardware may be integrated into a single unit or separated into multiple units.
[0058] Embodiments of the present invention have been described above with reference to the drawings. However, the motor control device and motor control method are not limited to the embodiments described above, and at least one of various modifications, substitutions, combinations, and design changes can be made without departing from the spirit of the present invention.
[0059] Furthermore, the effects of the embodiments of the present invention described above are merely examples. Therefore, the embodiments of the present invention may also produce other effects that can be recognized by those skilled in the art from the description of the embodiments above. [Explanation of Symbols]
[0060] 1…Motor unit, 11…Case frame, 2…Motor, 21…Stator, 22…Rotor, 23…Hall sensor, 24…Rotor shaft, 26…Permanent magnet, 3…Gearbox, 31…Worm, 32…Helical gear, 33…Output shaft, 50…Inverter, 60…Control unit, 61…Gate control voltage output unit, 62…PWM control unit, 63…Advance angle control unit, 64…Memory unit, 100…Advance angle setting device, 110…Memory unit, 120…Rotation speed difference measurement unit, 131…First advance angle correction information acquisition unit, 132…Second advance angle correction information acquisition unit, 141…First advance angle correction amount calculation unit, 142…Second advance angle correction amount calculation unit, 150…Advance angle correction information writing unit
Claims
1. a stator having coils for multiple phases; a rotor that rotates forward and backward by a magnetic field generated by the coils of the plurality of phases; a position detection sensor that detects the rotational position of the rotor; a storage unit that stores advance angle correction information indicating the degree of advance angle from the rotational position detected by the position detection sensor; a control unit that controls the current applied to the coils of the plurality of phases for each phase; an advance angle control unit provided in the control unit, which performs advance angle control to change timings of energizing the coils of the multiple phases based on an output signal of the position detection sensor and the advance angle correction information stored in the storage unit; A method for correcting an advance angle of a motor device comprising: a first advance angle correction information acquisition step of acquiring first advance angle correction information indicating a correspondence relationship between an advance angle correction amount and a rotation speed difference between the rotation speed during forward rotation and the rotation speed during reverse rotation of the rotor, the rotation speed difference being calculated in advance based on a rotation speed change rate which is a change in the rotation speed of the rotor relative to a change in the advance angle of the energization timing; a rotation speed difference measuring step of measuring a rotor rotation speed difference, which is the difference between the rotation speed of the rotor during forward rotation and the rotation speed of the rotor during reverse rotation when a predetermined current is applied to the coils of the plurality of phases; a first advance angle correction amount calculation step of calculating a first advance angle correction amount as a first forward rotation advance angle correction amount and a first reverse rotation advance angle correction amount for each rotation direction of the rotor, based on the acquired first advance angle correction information and the measured rotor rotation speed difference, so as to reduce an output shaft rotation speed difference, which is the difference between the rotation speed during forward rotation and the rotation speed during reverse rotation of the output shaft of the motor device; an advance angle correction amount storage step of storing the calculated first forward rotation advance angle correction amount and the calculated first reverse rotation advance angle correction amount in the storage unit as advance angle correction information for each of the motor devices; A lead angle correction method comprising:
2. 2. The advance angle correction method according to claim 1, The motor device a rotation shaft provided on the rotor; a reducer including: a first reduction gear part provided on the rotary shaft and having teeth extending in a direction intersecting an axial direction of the rotary shaft; and a second reduction gear part meshing with the first reduction gear part to reduce the speed of rotation of the rotary shaft and transmit the reduced speed to the output shaft; Furthermore, a second advance angle correction information acquisition step of acquiring second advance angle correction information indicating a correspondence relationship between an advance angle correction amount and a rotation speed difference between the rotation speed during forward rotation of the rotor and the rotation speed during reverse rotation of the rotor, the correspondence relationship being calculated in advance based on a correspondence relationship between an output shaft torque during forward rotation of the rotor and a transmission efficiency of the reducer and a correspondence relationship between an output shaft torque during reverse rotation of the rotor and a transmission efficiency of the reducer; a second advance angle correction amount calculation step of calculating a second advance angle correction amount as a second forward rotation advance angle correction amount and a second reverse rotation advance angle correction amount for each rotation direction of the rotor, based on the acquired second advance angle correction information and the measured rotor rotation speed difference, so that the output shaft rotation speed difference due to the difference in transmission efficiency becomes smaller; Furthermore, In the advance angle correction amount storage step, a third forward rotation advance angle correction amount obtained by adding the second forward rotation advance angle correction amount to the first forward rotation advance angle correction amount, and a third reverse rotation advance angle correction amount obtained by adding the second reverse rotation advance angle correction amount to the first reverse rotation advance angle correction amount, and these are stored in the storage unit as advance angle correction amounts for each of the motor devices. Advance angle correction method.
3. 3. The advance angle correction method according to claim 1 or 2, In the first advance angle correction amount calculation step, an intermediate value between the rotation speed of the output shaft during forward rotation and the rotation speed of the output shaft during reverse rotation is set as a target value of the rotation speed of the output shaft after advance angle correction, thereby calculating the first advance angle correction amount so that the difference in output shaft rotation speed becomes smaller. Advance angle correction method.
4. a stator having coils for multiple phases; a rotor that rotates forward and backward by a magnetic field generated by the coils of the plurality of phases; a position detection sensor that detects the rotational position of the rotor; a storage unit that stores advance angle correction information indicating the degree of advance angle from the rotational position detected by the position detection sensor; a control unit that controls the current applied to the coils of the plurality of phases for each phase; an advance angle control unit provided in the control unit, which performs advance angle control to change timings of energizing the coils of the multiple phases based on an output signal of the position detection sensor and the advance angle correction information stored in the storage unit; A lead angle setting device that writes lead angle correction information to a motor device comprising: a first advance angle correction information acquisition unit that acquires first advance angle correction information that indicates a correspondence relationship between an advance angle correction amount and a rotation speed difference between the rotation speeds of the rotor during forward rotation and the rotation speeds of the rotor during reverse rotation, the rotation speed difference being calculated in advance based on a rotation speed change rate that is a change in the rotation speed of the rotor relative to a change in the advance angle of the energization timing; a rotation speed difference measurement unit that measures a rotor rotation speed difference, which is the difference between the rotation speed of the rotor during forward rotation and the rotation speed of the rotor during reverse rotation when a predetermined current is applied to the coils of the plurality of phases; a first advance angle correction amount calculation unit that calculates a first advance angle correction amount as a first forward rotation advance angle correction amount and a first reverse rotation advance angle correction amount for each rotation direction of the rotor, based on the acquired first advance angle correction information and the measured rotor rotation speed difference, so as to reduce an output shaft rotation speed difference, which is the difference between the rotation speed of the output shaft of the motor device during forward rotation and the rotation speed of the output shaft of the motor device. an advance angle correction information writing unit that stores the calculated first forward rotation advance angle correction amount and the first reverse rotation advance angle correction amount in the storage unit as advance angle correction information for each of the motor devices; A lead angle setting device comprising:
5. 5. The advance angle setting device according to claim 4, The motor device a rotation shaft provided on the rotor; a reducer including: a first reduction gear part provided on the rotary shaft and having teeth extending in a direction intersecting an axial direction of the rotary shaft; and a second reduction gear part meshing with the first reduction gear part to reduce the speed of rotation of the rotary shaft and transmit the reduced speed to the output shaft; Furthermore, a second advance angle correction information acquisition unit that acquires second advance angle correction information that indicates a correspondence relationship between an advance angle correction amount and a rotation speed difference between the rotation speed during forward rotation of the rotor and the rotation speed during reverse rotation of the rotor, the correspondence relationship being calculated in advance based on a correspondence relationship between an output shaft torque during forward rotation of the rotor and a transmission efficiency of the reducer, and a correspondence relationship between an output shaft torque during reverse rotation of the rotor and a transmission efficiency of the reducer; a second advance angle correction amount calculation unit that calculates a second advance angle correction amount as a second forward rotation advance angle correction amount and a second reverse rotation advance angle correction amount for each rotation direction of the rotor, based on the acquired second advance angle correction information and the measured rotor rotation speed difference, so that the output shaft rotation speed difference due to the difference in transmission efficiency becomes smaller; Furthermore, The advance angle correction information writing unit a third forward rotation advance angle correction amount obtained by adding the second forward rotation advance angle correction amount to the first forward rotation advance angle correction amount, and a third reverse rotation advance angle correction amount obtained by adding the second reverse rotation advance angle correction amount to the first reverse rotation advance angle correction amount, and these are stored in the storage unit as advance angle correction amounts for each of the motor devices. Advance angle setting device.
6. 6. The advance angle setting device according to claim 4 or 5, The first advance angle correction amount calculation unit The first advance angle correction amount is calculated so that the difference in output shaft rotation speed is reduced by setting an intermediate value between the rotation speed during forward rotation and the rotation speed during reverse rotation of the output shaft as a target value for the rotation speed of the output shaft after advance angle correction. Advance angle setting device.
7. a stator having coils for multiple phases; a rotor that rotates forward and backward by a magnetic field generated by the coils of the plurality of phases; a position detection sensor that detects the rotational position of the rotor; a storage unit that stores advance angle correction information indicating the degree of advance angle from the rotational position detected by the position detection sensor; a control unit that controls the current applied to the coils of the plurality of phases for each phase; an advance angle control unit provided in the control unit, which performs advance angle control to change timings of energizing the coils of the multiple phases based on an output signal of the position detection sensor and the advance angle correction information stored in the storage unit; A motor device comprising: The storage unit includes: first advance angle correction information indicating a correspondence relationship between a difference in rotation speed between a rotation speed during forward rotation and a rotation speed during reverse rotation of the rotor, the difference being calculated in advance based on a rotation speed change rate that is a change in the rotation speed of the rotor relative to a change in the advance angle of the energization timing; and a rotor rotation speed difference measurement result obtained by measuring a rotor rotation speed difference, which is the difference between the rotation speed of the rotor during forward rotation and the rotation speed of the rotor during reverse rotation when a predetermined current is applied to the coils of the plurality of phases; a first forward rotation advance angle correction amount and a first reverse rotation advance angle correction amount calculated as a first advance angle correction amount for each rotation direction of the rotor so as to reduce an output shaft rotation speed difference, which is the difference between the rotation speed of the output shaft of the motor device during forward rotation and the rotation speed of the output shaft of the motor device, based on the above, and the calculated first advance angle correction amount and the first reverse rotation advance angle correction amount are stored as the advance angle correction information; The advance angle control unit When the rotor is rotated forward, advance angle control is performed based on the first forward rotation advance angle correction amount, and when the rotor is rotated backward, advance angle control is performed based on the first reverse rotation advance angle correction amount. Motor device.
8. 8. The motor device according to claim 7, a rotation shaft provided on the rotor; a reducer including: a first reduction gear part provided on the rotary shaft and having teeth extending in a direction intersecting an axial direction of the rotary shaft; and a second reduction gear part meshing with the first reduction gear part to reduce the speed of rotation of the rotary shaft and transmit the reduced speed to the output shaft; Furthermore, The storage unit includes: second advance angle correction information indicating a correspondence relationship between an advance angle correction amount and a rotation speed difference between the rotation speeds of the rotor during forward rotation and the rotation speeds of the rotor during reverse rotation, the correspondence relationship being calculated in advance based on a correspondence relationship between an output shaft torque during forward rotation of the rotor and a transmission efficiency of the reducer, and a correspondence relationship between an output shaft torque during reverse rotation of the rotor and a transmission efficiency of the reducer; a rotor rotation speed difference measurement result obtained by measuring a rotor rotation speed difference, which is the difference between the rotation speed of the rotor during forward rotation and the rotation speed of the rotor during reverse rotation when a predetermined current is applied to the coils of the plurality of phases; based on the above, a second forward rotation advance angle correction amount and a second reverse rotation advance angle correction amount are calculated as the second advance angle correction amount for each rotation direction of the rotor so as to reduce the difference in output shaft rotation speed caused by the difference in transmission efficiency, a third forward rotation advance angle correction amount obtained by adding the second forward rotation advance angle correction amount to the first forward rotation advance angle correction amount, and a third reverse rotation advance angle correction amount obtained by adding the second reverse rotation advance angle correction amount to the first reverse rotation advance angle correction amount, are stored as the advance angle correction information, The advance angle control unit When the rotor is rotated forward, advance angle control is performed based on the third forward rotation advance angle correction amount, and when the rotor is rotated reverse, advance angle control is performed based on the third reverse rotation advance angle correction amount. Motor device.
9. 9. The motor device according to claim 7 or 8, The first advance angle correction amount is The intermediate value between the rotation speed of the output shaft during forward rotation and the rotation speed of the output shaft during reverse rotation is set as the target value of the rotation speed of the output shaft after advance angle correction, so that the difference in the rotation speed of the output shaft is calculated to be smaller. Motor device.
10. The motor device according to any one of claims 7 to 9; a driven part that is driven in the front-rear direction of the vehicle by the output shaft of the motor device; Equipped with When the rotation direction of the rotor is reversed when the driven direction of the driven part and the traveling direction of the vehicle are opposite to each other, the advance angle amount of the forward rotation is larger than the advance angle amount of the reverse rotation. In-vehicle device.
11. The in-vehicle device according to claim 10, The control unit Adds advance correction amount when vehicle speed is above threshold In-vehicle device.
12. 12. The in-vehicle device according to claim 10 or 11, The control unit controlling the rotational force of the rotor by pulse width modulating the current applied to the coils of the plurality of phases; When the difference between the duty ratio of the applied current during forward rotation and the duty ratio of the applied current during reverse rotation is equal to or greater than a predetermined threshold value, the advance angle is increased. In-vehicle device.
13. 12. The in-vehicle device according to claim 10 or 11, The control unit controlling the rotational force of the rotor by pulse width modulating the current applied to the coils of the plurality of phases; When the duty ratio of the applied current is equal to or greater than a predetermined threshold, the advance angle is increased. In-vehicle device.
14. The in-vehicle device according to any one of claims 10 to 13, The driven part is a wiper blade that wipes the window of a vehicle. In-vehicle device.
15. The in-vehicle device according to any one of claims 10 to 13, The driven part is an electric window that slides open and closed in the direction of travel of the vehicle. In-vehicle device.
