Motor control device and motor control method

The motor control device adjusts the closed area based on undeterminable pulses to correct window position estimation, addressing rotation direction inaccuracies and ensuring effective pinch prevention control.

JP2024148081APending Publication Date: 2024-10-17DENSO CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023060995
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-04
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

Motor control devices for power windows may incorrectly determine the rotation direction of the window glass due to low motor current, leading to incorrect position estimation and potential failure of pinch prevention control.

Method used

A motor control device that adjusts the size of the closed area based on the number of undeterminable pulses during low motor current situations, using a rotation pulse signal, rotation direction determination based on motor current polarity, and a position estimation unit to correct the window position.

Benefits of technology

Reduces the likelihood of pinch prevention control failure by accurately determining the window position, even in situations with low motor current, ensuring safe and reliable operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024148081000001_ABST
    Figure 2024148081000001_ABST
Patent Text Reader

Abstract

To provide a technology capable of reducing a risk of non-operation of pinch prevention control resulting from erroneous recognition of a position of an opening / closing member.SOLUTION: A main controller receives a pulse signal, as rotation amount information, output from a rotation sensor attached to a motor. The main controller determines a rotation direction of the motor based on the polarity of a motor current. The main controller estimates a position of an opening / closing member based on the rotation amount information and the rotation direction, and determines whether or not the estimated position of the opening / closing member is in a closed region as a region in which pinching prevention control is not performed. The main controller counts the number of pulses of an input pulse signal when the motor current satisfies a specified condition as the number of undeterminable pulses, and makes the closed region smaller as the count value of the undeterminable pulse number is larger.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a motor control device that changes the position of an opening / closing member using a motor. [Background technology]

[0002] Patent Document 1 discloses a power window device in which a pinch prevention area and a closing area are set within the sliding range of the window glass. The pinch prevention area is a range in which pinch prevention control is performed. The pinch prevention control is a control that increases the window opening by a predetermined amount by reversing the rotation direction of the motor when it detects an object (e.g., a head, a hand, or a finger) being pinched while the motor is operating in the direction of raising the window glass.

[0003] The closed area is an area where the above-mentioned pinch prevention control is not performed. In other words, the closed area may be understood as an area where the motor continues to drive in the direction to close the window even if an event that suggests pinch occurs, such as an increase in motor current or a decrease in rotation speed. An area within a certain distance (for example, 12 mm to 20 mm) from the upper end position of the window can be set as the closed area. The area below the closed area is the pinch prevention area.

[0004] Patent Document 2 discloses a method for detecting the rotation direction based on the voltage difference between both ends of a motor. The rotation sensor here is a sensor that outputs a pulse signal according to the rotation of the motor, and may also be called a position sensor. The rotation sensor may be a sensor that uses magnetism such as a Hall element, or an optical sensor that detects light pulses that pass through slits provided in the rotating disk of the motor. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Japanese Patent Application Publication No. 8-218730 [Patent Document 2] International Publication No. 2019 / 082785 Summary of the Invention [Problem to be solved by the invention]

[0006] In a motor control device that performs anti-pinch control, if the current position of the window glass, in other words, the remaining distance to the upper end position, is erroneously recognized, it may happen that the anti-pinch control is not performed at a position where the anti-pinch control should be performed. The motor control device estimates the current position of the window glass by combining the amount of rotation and the direction of rotation of the motor. In many cases, the motor control device of a general power window system is configured to identify the direction of rotation of the motor by combining output signals from multiple rotation sensors.

[0007] On the other hand, the developers of the present disclosure have studied a motor control device that estimates the rotation direction based on the polarity of the current flowing through the motor, and identifies the current position of the window glass from a combination of the estimation result and the number of output pulses from one rotation sensor, from the viewpoint of reducing costs or other reasons. As a result of further studying the configuration, the developers have found that in certain situations where the motor current is very small, the rotation direction may be erroneously determined, and as a result, the estimated position of the window glass may deviate from the actual position. The specific situation corresponds to a situation in which the motor rotates slowly, such as the final stage of inertial rotation that occurs after the motor is stopped, or the reverse rotation due to the reaction thereafter. In such a specific situation, the motor current is small, and therefore the rotation direction may be erroneously determined due to noise or circuit characteristics.

[0008] As described above, if the rotation direction is erroneously determined, a discrepancy occurs between the current position of the window glass recognized by the motor control device and the actual position of the window glass, which may result in the anti-pinch control not working even if the window glass is actually in a position where it should be.

[0009] The present disclosure has been made based on the above considerations or points of view, and one of its objectives is to provide technology that can reduce the risk of anti-pinch control becoming inoperative due to misrecognition of the position of the opening / closing member. [Means for solving the problem]

[0010] One of the motor control devices disclosed herein includes a motor control unit (F8) that controls a motor for changing the position of an opening / closing member, a rotation amount acquisition unit (F1) that receives a pulse signal output from a rotation sensor attached to the motor as rotation amount information, a rotation direction determination unit (F2) that determines the rotation direction of the motor based on the polarity of the motor current, a position estimation unit (F3) that estimates the position of the opening / closing member based on the rotation amount information acquired by the rotation amount acquisition unit and the rotation direction determined by the rotation direction determination unit, an area determination unit (F71) that determines whether the position of the opening / closing member identified by the position estimation unit is in a closed area, which is an area where anti-pinch control is not implemented, a counting unit (F4) that counts the number of pulse signals received in a predetermined specific situation as the number of undeterminable pulses, and an adjustment unit (F6) that adjusts the size of the closed area depending on the number of undeterminable pulses held by the counting unit.

[0011] In the above configuration, the number of undeterminable pulses, which is the number of pulse signals received in a specific situation, functions as a parameter that indicates the degree of deviation between the estimated position of the opening / closing member and the actual position. By adjusting the size of the closed area according to the number of undeterminable pulses, it is possible to reduce the risk of the anti-pinch control becoming inoperative due to erroneous recognition of the position of the opening / closing member.

[0012] The motor control method disclosed herein is a motor control method for controlling a motor for changing the position of an opening / closing member, and includes receiving a pulse signal output from a rotation sensor attached to the motor as rotation amount information, determining the rotation direction of the motor based on the polarity of the motor current, estimating the position of the opening / closing member based on the rotation amount information and the rotation direction, determining whether the position of the opening / closing member is in a closed area, which is an area where anti-pinch control is not implemented, counting the number of pulse signals received in a predetermined specific situation as the number of undeterminable pulses, and adjusting the size of the closed area according to the number of undeterminable pulses.

[0013] In addition, the symbols in parentheses in the claims indicate a correspondence with the specific means described in the embodiments described below as one aspect, and do not limit the technical scope of the present disclosure. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is a diagram showing a configuration of a power window system. [Diagram 2] FIG. 13 is a diagram for explaining a range of movement of a window glass. [Diagram 3] 13A and 13B are diagrams for explaining the configuration near the upper frame portion and the closed area. [Figure 4] FIG. 2 is a functional block diagram of a controller. [Diagram 5] FIG. 11 is a diagram showing the relationship between the motor movement and the motor current after the motor drive is stopped. [Figure 6] 10 is a flowchart for explaining the operation of the main controller for adjusting the closed area. [Figure 7] FIG. 13 is a diagram showing the closed area after adjustment. [Figure 8] FIG. 13 is a diagram showing a modified example of the power window system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] The following describes, with reference to the drawings, a case where the motor control device of the present disclosure is applied to a power window system 100. The present disclosure is not limited to the following embodiments, and the configuration of the present disclosure may be modified and implemented within the scope of the gist. Various modified examples may be implemented in appropriate combinations within the scope of no technical contradiction. Combinations not explicitly stated may also be included in the scope of the present disclosure. Hereinafter, components having the same function are denoted by the same reference numerals, and their description may be omitted. In addition, when only a portion of the configuration is mentioned, the description given elsewhere may be applied to the other portions.

[0016] <Overall composition> The power window system 100 of this embodiment uses a motor 40 to control the position (in other words, the opening degree) of a window glass 70 provided in a vehicle door. The window glass 70 corresponds to an opening and closing member. Hereinafter, the window glass 70 may be simply referred to as a window. As shown in FIG. 1, the power window system 100 includes a main controller 10, an operation unit 20, a motor driver 30, a motor 40, a current monitor 50, and a rotation sensor 60.

[0017] The window glass 70 is configured to be slidable up and down relative to the window frame 80. That is, the power window system 100 is configured to be able to slide the window glass 70 from the upper end to the lower end of the window frame 80 provided in the door as shown in FIG. 2. The control to raise the window glass 70 corresponds to the closing control, which is the control to close the window. The control to lower the window glass 70 corresponds to the opening control, which is the control to open the window. In this disclosure, the direction to close the window is also referred to as the closing direction. The upward direction for the vehicle corresponds to the closing direction. On the other hand, in this disclosure, the direction to open the window is also referred to as the opening direction. The downward direction for the vehicle corresponds to the opening direction. Hereinafter, the upper edge of the window frame 80 is referred to as the upper frame portion 81. The upper frame portion 81 is the portion against which the glass upper end portion 71, which is the upper end of the window glass 70, abuts in the fully closed state. The lower edge of the window frame 80 is referred to as the lower frame portion 82.

[0018] As shown in FIG. 3, the upper frame portion 81 is provided with a weather strip 83. The weather strip 83 is a protective material that blocks the gap between the window glass 70 and the window frame 80 to prevent noise, rain, wind, and the like from entering the vehicle interior. The weather strip 83 may be made of rubber. The weather strip 83 may also be called a sealing member or a gasket. When the window glass 70 is in a fully closed state, the upper end 71 of the glass is sandwiched between the weather strip 83. The upper end 71 of the glass refers to the tip (in other words, the upper end) of the window glass 70. Since the weather strip 83 has a predetermined depth, the upper end 71 of the glass is sandwiched between the weather strip 83 not only when the window glass 70 is in a fully closed state, but also when the window glass 70 is in an approximately fully closed state. The approximately fully closed state is a state in which the window glass 70 has moved a small amount in the opening direction from the fully closed state.

[0019] The power window system 100 is configured to be able to perform anti-entrapment control. Anti-entrapment control is a control that stops and reverses the rotation of the motor 40 when entrapment is detected. Entrapment refers to a state in which an object such as a head, hand, or finger is trapped between the window glass 70 and the upper frame portion 81. When entrapment occurs, the load on the motor 40 increases, and the motor current may increase or the rotation may stop or slow down. Entrapment of an object may be detected based on an increase in the motor current or a decrease in the rotation speed. The decrease in the rotation speed may be detected from the output interval of a pulse signal from the rotation sensor 60, which will be described later.

[0020] However, even when the glass upper end 71 is in contact with the weatherstrip 83, the resistance to the movement of the window glass 70 increases, which may cause an increase in the motor current or a decrease in the rotation speed. Therefore, if the anti-pinch control is active when the glass upper end 71 reaches a position where it contacts the weatherstrip 83, the contact of the window glass 70 with the weatherstrip 83 may be erroneously detected as an object being pinched. If the contact with the weatherstrip 83 is erroneously detected as an object being pinched, the anti-pinch control is executed and the window does not reach the fully closed state. This may result in reduced convenience for the user.

[0021] For this reason, the power window system 100 is set with a pinch prevention region and a closed region. The pinch prevention region is a region where the pinch prevention control is effective. The closed region is a region where the pinch prevention control is not implemented. The closed region may be understood as a region where the motor drive continues in the direction of closing the window even if an event that suggests pinch occurs, such as an increase in motor current or a decrease in rotation speed. The closed region is set as a region within a certain distance (for example, 12 mm to 20 mm) from the fully closed position. The pinch prevention region is below the closed region. The lower end of the closed region corresponds to the upper end of the pinch region. The position of the boundary between the closed region and the pinch region is also referred to as the boundary position in this disclosure. The fully closed position corresponds to the window position when the glass upper end 71 is in contact with the upper frame portion 81. The window position here may be understood as the position of the glass upper end 71 in the up-down direction. The fully closed position may be referred to as the highest position / upper limit position. In the following, the fully open position refers to the position of the window pane 70 when the window is fully open. The fully open position may be referred to as the lowest position / lower limit position.

[0022] L1 in FIG. 3 represents the distance from the fully closed position to the boundary position, in other words, the length of the closed area in the vertical direction. The length of the closed area in the vertical direction may be interpreted as the size of the closed area. Furthermore, L2 is a parameter representing the depth of the weatherstrip 83. The depth (L2) of the weatherstrip 83 is generally 8 mm to 16 mm. L3 is a parameter representing the distance from the tip 84 of the weatherstrip 83 to the boundary position (hereinafter, gap length). The tip 84 is the lowest end of the weatherstrip 83 provided on the upper frame portion 81. The boundary position may be set based on the tip 84. The boundary position may be set to a position 4 mm below the tip 84. In other words, the gap length (L3) may be 4 mm. Of course, the gap length (L3) may be 3 mm, 5 mm, 6 mm, 8 mm, etc. The gap length may be set to a value smaller than the diameter of a predetermined object to be protected, such as a child's finger or wrist.

[0023] An initial size, which is an initial value of the size of the closed area, in other words, an initial position, which is an initial value of the boundary position, is registered in advance in the main controller 10. The initial position may be set to a position that is 12 mm below the fully closed position, for example. The initial position may be expressed based on the fully open position. When the distance from the fully open position to the fully closed position is 400 mm, the initial position may be set to a position that is 388 mm above the fully open position. The initial position may be defined not in terms of distance such as millimeters, but in terms of the number of pulses, which will be described later.

[0024] <About each component> The main controller 10 is a circuit module that controls the operation of the motor 40. The main controller 10 may be a computer including a processor 11, a memory 12, a storage 13, an input / output circuit 14, and the like. The processor 11 is hardware for arithmetic processing that is coupled to the memory 12. The processor 11 includes at least one arithmetic core such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit). The processor 11 executes various arithmetic processing by accessing the memory 12. The memory 12 is a volatile memory such as a RAM (Random Access Memory).

[0025] The storage 13 is a non-volatile storage medium such as a flash memory. The storage 13 may include multiple types of storage media such as a ROM (Read Only Memory) and a flash memory. The storage 13 stores a motor control program which is a program executed by the processor 11. The execution of the motor control program by the processor 11 corresponds to the execution of a motor control method which is a method corresponding to the motor control program.

[0026] The input / output circuit 14 is a circuit module including an input circuit for receiving output signals from the current monitor 50 and the rotation sensor 60, and an output circuit connected to the motor driver 30. The input / output circuit 14 may include a circuit for the processor 11 to communicate with other in-vehicle devices. The input / output circuit 14 may include a PHY chip that complies with the communication standard of the in-vehicle network. The input / output circuit 14 may receive signals from various in-vehicle devices installed in the vehicle.

[0027] In the main controller 10, the processor 11 executes a plurality of processes according to a motor control program stored in the storage 13. The main controller 10 controls the operation of the motor 40 based on a signal from the operation unit 20 or another control device (not shown). In so doing, the main controller 10 generates a control signal for controlling the motor 40 based on an output signal from a current monitor 50 and a signal from a rotation sensor 60. Details of the main controller 10 will be described separately later.

[0028] The operation unit 20 includes at least one switch for allowing the user to adjust the position of the window glass 70. The switch may be a lever. The operation unit 20 may be configured to allow a push operation and a pull-up operation. The switch included in the operation unit 20 may be movable in two directions, up and down. The operation unit 20 outputs a push signal to the main controller 10 while the switch is pressed down. The main controller 10 executes control to lower the window glass 70 while the push signal is being input from the operation unit 20. The main controller 10 may be configured to execute full-open control to lower the window glass 70 to the fully open position based on the switch being pressed deeply (strongly).

[0029] Furthermore, while the switch is being pulled up, the operation unit 20 outputs a pull signal to the main controller 10. The main controller 10 executes control to raise the window glass 70 while the pull signal is being input from the operation unit 20. The main controller 10 may be configured to execute full-close control to raise the window glass 70 to the fully closed position based on the operation unit 20 being pulled up strongly.

[0030] The motor driver 30 is a circuit module that supplies a drive current to the motor 40 in accordance with a control signal from the main controller 10. The motor driver 30 includes four switching elements 31, 32, 34, and 35, two switch controllers 33 and 36, and two output terminals 37 and 38. The switching elements 31 to 32, 34 to 35 may be MOS (Metal-Oxide-Semiconductor) transistors or IGBTs (Insulated Gate Bipolar Transistors), etc. A freewheel diode is connected in reverse parallel to each of the four switching elements 31, 32, 34, and 35. The four switching elements 31, 32, 34, and 35 form an H-bridge circuit for driving the motor 40. The switch controller 33 controls the conduction state (on / off) of the switching elements 31 and 32 in accordance with a control signal from the main controller 10. The switch controller 36 controls the conduction state of the switching elements 34 and 35 in accordance with a control signal from the main controller 10.

[0031] The output terminals 37 and 38 are terminals for supplying power to the motor 40. The output terminal 37 is connected to an electrode terminal (e.g., a positive terminal) of the motor 40. The output terminal 37 is also electrically connected to a signal line connecting the drain electrodes of the switching elements 31 and 32. For convenience, the output signal of the output terminal 37 is also referred to as a first output. The output terminal 38 is connected to another electrode terminal (e.g., a negative terminal) of the motor 40. The output terminal 38 is also electrically connected to a signal line connecting the drain electrodes of the switching elements 32 and 34. For convenience, the output signal of the output terminal 38 is also referred to as a second output.

[0032] When the motor 40 is rotated forward, the main controller 10 turns on the switching elements 31 and 35 and turns off the switching elements 32 and 34 via the switch controllers 33 and 36. That is, the first output is set to a high (Hi) level and the second output is set to a low (Lo) level. As a result, a current flows in the direction of the arrow with Im in the figure, and the motor 40 rotates in the forward direction (i.e., forward rotation). Im in the figure represents the motor current. In this embodiment, the window position rises when the motor 40 rotates forward, and falls when the motor 40 rotates in the reverse direction. Of course, in other aspects, the forward rotation direction may correspond to the downward direction of the window position.

[0033] Conversely, when the motor 40 is rotated in the reverse direction, the main controller 10 turns on the switching elements 32 and 34 and turns off the switching elements 31 and 35 via the switch controllers 33 and 36. In other words, the first output is set to a low level and the second output is set to a high level. This causes a current to flow in the opposite direction to the arrow marked Im in the figure, and the motor 40 is rotated in the reverse direction.

[0034] Furthermore, when stopping the rotation of the motor 40, the main controller 10 turns on the switching elements 32, 35 or the switching elements 31, 34 via the switch controllers 33, 36. According to this setting, the same potential is applied to both ends of the motor 40. Therefore, the power supply to the motor 40 is stopped. That is, the main controller 10 stops the drive of the motor 40 by setting both the first output and the second output to a high level or a low level. In the present disclosure, stopping the drive of the motor 40 by setting the first output and the second output to the same potential is referred to as braking operation.

[0035] The motor 40 is rotationally driven by the power window system 100. The motor 40 may be a brushed DC motor (hereinafter referred to as a DC motor). The motor 40 includes a rotor and a stator. The motor 40 rotates forward or backward when energized by the motor driver 30. The rotation of the motor 40 acts to change the window position, in other words, the opening degree of the window, via power transmission members such as gears, wires, regulators, etc.

[0036] The current monitor 50 is a circuit module that detects the current flowing through the motor 40. The current monitor 50 includes a shunt resistor 51 connected in series with the motor 40 in a power supply path to the motor 40. The current monitor 50 further includes a differential amplifier circuit 52 that amplifies the voltage across the shunt resistor 51 according to the current flowing through the motor 40. The output signal amplified by the differential amplifier circuit 52 is input to the main controller 10. The output signal of the current monitor 50 indicates the magnitude and polarity (positive / negative) of the motor current. The power window system 100 of this embodiment is configured so that the motor current during normal operation is +10 A to +12 A. The normal operation here may be the forward or reverse rotation of the motor 40 at a predetermined speed. The normal operation corresponds to the control of raising / lowering the window glass 70 in a situation where there is no obstacle.

[0037] The rotation sensor 60 is a sensor that detects the rotation of the motor 40. The rotation sensor 60 may be a magnetic or electromagnetic induction sensor. The rotation sensor 60 may be a Hall element or a Hall IC. The rotation sensor 60 outputs a pulse signal in response to a change in a magnetic field generated by a permanent magnet provided on the rotor of the motor 40. The rotation sensor 60 is configured to output a pulse signal so that the motor 40 rotates a predetermined amount. For example, the rotation sensor 60 and the motor 40 are configured to output 10 pulses per rotation. This configuration corresponds to a configuration in which one pulse signal is output every time the motor 40 rotates 36°. The pulse signal output by the rotation sensor 60 is a signal indicating the amount of rotation, and therefore corresponds to rotation amount information.

[0038] The rotation sensor 60 may be an optical sensor. The optical rotation sensor 60 may be a type of sensor that detects rotation by detecting light passing through a slit provided in the rotor or the code wheel (i.e., transmitted light). The optical rotation sensor 60 may be a type of sensor that detects rotation by detecting light reflected by a reflective member provided on the rotor or the code wheel. The power window system 100 of this embodiment includes only one rotation sensor 60. In another aspect, the power window system 100 may include multiple (e.g., three) rotation sensors 60.

[0039] <Main controller> The main controller 10 realizes a number of functions shown in Fig. 4 by executing a motor control program by the processor 11. That is, the main controller 10 includes, as functional blocks, a rotation amount acquisition unit F1, a rotation direction determination unit F2, a position estimation unit F3, a counting unit F4, a deviation amount estimation unit F5, an area adjustment unit F6, a basic control unit F7, and a motor control unit F8. The basic control unit F7 includes an area determination unit F71 and an entrapment detection unit F72.

[0040] In the following description, the rotation amount acquisition unit F1, the rotation direction determination unit F2, the count unit F4, the deviation amount estimation unit F5, the area adjustment unit F6, the position estimation unit F3, the basic control unit F7, and the motor control unit F8 may be appropriately rephrased as the processor 11 / main controller 10. The position estimation unit F3 and the motor control unit F8 may be integrated with the basic control unit F7. The functional layout may be appropriately changed.

[0041] The rotation amount acquisition unit F1 is configured to detect the rotation amount of the motor 40 based on the output signal of the rotation sensor 60. The rotation amount acquisition unit F1 determines that one pulse signal has been received when the level of the output signal of the rotation sensor 60 rises from low to high. In another embodiment, the rotation amount acquisition unit F1 may determine that one pulse has been received when the level of the output signal of the rotation sensor 60 falls from high to low. The pulse signal may be rephrased as the rising / falling edge of the output signal of the rotation sensor 60. The rotation amount acquisition unit F1 may have a function of specifying the rotation amount based on the number of received pulse signals. The rotation amount acquisition unit F1 outputs a pulse detection signal, which is a signal indicating that a pulse signal has been received, to the position estimation unit F3 and the counting unit F4.

[0042] The rotation direction determination unit F2 is configured to determine the rotation direction of the motor 40 based on the polarity (positive / negative) of the motor current input from the current monitor 50. The rotation direction determination unit F2 may determine that the rotation direction is positive when the motor current is a positive value, and may determine that the rotation direction is negative when the motor current is negative. Determining the rotation direction corresponds to determining the window movement direction, which is the movement direction of the window glass 70.

[0043] Furthermore, when the magnitude of the motor current is smaller than a predetermined undeterminable value after a predetermined offset time has elapsed since the start of braking operation, the rotation direction determination unit F2 outputs an undeterminable signal to the count unit F4 and the position estimation unit F3. The offset time may be set to a length sufficient for the motor current to fall. The offset time may be set to several tens to several hundreds of milliseconds.

[0044] Due to the characteristics of the circuit, when the motor current is too small, the current monitor 50 may output a current value having a polarity different from the actual direction of rotation of the motor 40 as information on the motor current. Alternatively, when the motor current is very small, the output value of the current monitor 50 may have a polarity opposite to that of the actual motor current due to the superposition of noise. For example, when a motor current of -10 mA is superimposed with a noise of +30 mA, the output value of the current monitor 50 becomes +20 mA. The undeterminable value is a parameter introduced in consideration of the above phenomenon. The undeterminable value is set to 50 mA, 80 mA, 100 mA, 120 mA, etc. The undeterminable value may be set to a value according to the circuit characteristics of the current monitor 50 and the expected value of the noise level. The rotation direction determination unit F2 may also output an undeterminable signal to the position estimation unit F3. A current range whose magnitude is smaller than the undeterminable value may be called an undeterminable region or an undeterminable level.

[0045] The position estimation unit F3 is configured to estimate the window position from information on the amount of rotation and the direction of rotation of the motor 40. If the window movement distance per one rotation of the motor is 1 mm and the pulse signal is output 10 times during one rotation of the motor, the window movement distance per one pulse is 0.1 mm. The position estimation unit F3 calculates the movement distance of the window from the fully open position / fully closed position based on the number of pulses acquired by the rotation amount acquisition unit F1. The movement direction at that time may be specified from the rotation direction. The window position may be expressed in a specific dimension of distance or may be expressed by the number of pulses. The window position may be expressed based on either the fully open position or the fully closed position. The window position directly or indirectly indicates the remaining distance to the fully closed position. Note that the position estimation unit F3 may stop updating the window position when a determination impossible signal is input from the rotation direction determination unit F2.

[0046] The counting unit F4 is configured to count the number of pulses for which the motor current was too small to determine the direction of rotation. The counting unit F4 counts the number of times a pulse detection signal is input from the rotation amount acquisition unit F1 when an undeterminable signal is input from the rotation direction determination unit F2 as the number of undeterminable pulses. In the present disclosure, a pulse signal received in a situation in which the absolute value of the current (so-called amplitude) is smaller than the undeterminable value is also referred to as an undeterminable pulse. An undeterminable pulse may be referred to as an error pulse or an exception pulse. The counting unit F4 may be called an undeterminable pulse counting unit.

[0047] The deviation amount estimation unit F5 is configured to estimate the amount of deviation between the window position estimated by the position estimation unit F3 and the actual window position based on the data of the number of undeterminable pulses. The deviation amount estimation unit F5 may calculate the deviation amount by multiplying the number of undeterminable pulses by a predetermined conversion coefficient. The conversion coefficient is a parameter that converts the number of pulses into a distance (mm). As described above, if the movement amount of the window glass 70 per pulse is 0.1 mm and the number of undeterminable pulses is 5, the deviation amount estimation unit F5 estimates the deviation amount to be 0.5 mm (0.1 mm x 5).

[0048] When a predetermined initialization operation is performed, the deviation amount estimation unit F5 resets the deviation amount to 0. The initialization operation may be understood as an operation for registering the distance (number of pulses) from the fully closed state to the fully open state. The initialization operation includes at least continuously moving the window glass 70 from the fully closed state to the fully open state, or continuously moving the window glass 70 from the fully open state to the fully closed state.

[0049] The initialization operation may be, for example, an operation of raising the window glass 70 to the fully closed position after confirming that the window position is the fully open position. The distance (number of pulses) from the fully open position until it is determined that the window is in the fully closed state represents the fully closed position. The initialization operation may also be an operation of lowering the window glass 70 to the fully open position after confirming that the window position is in the fully closed position. The initialization operation may be an operation of continuously moving the window glass 70 from one limit position (for example, the fully closed position) to the other limit position a predetermined number of times.

[0050] The area adjustment unit F6 adjusts the size of the closed area, in other words, the boundary position, based on the information on the amount of deviation estimated by the deviation estimation unit F5. For example, if the amount of deviation is 0.3 mm, the area adjustment unit F6 raises the boundary position by 0.3 mm from the initial position. In other words, the size of the closed area is reduced by 0.3 mm from the initial size. Raising the boundary position corresponds to reducing the closed area. The adjustment amount of the boundary position may be interpreted as the reduction amount of the closed area. Furthermore, reducing the closed area corresponds to expanding the pinch prevention area. Therefore, raising the boundary position corresponds to expanding the pinch prevention area. The adjustment amount of the boundary position may be rephrased as the expansion amount of the pinch prevention area. The initial position is a boundary position that can be applied when the amount of deviation is 0. The initial size is also a design value that represents the size of the closed area that is applied when the amount of deviation is 0.

[0051] The adjustment amount of the boundary position may be the same as the deviation amount, or may be a value obtained by multiplying the deviation amount by a predetermined coefficient. The larger the deviation amount, the higher the boundary position is raised by the area adjustment unit F6. However, an upper limit may be set for the adjustment amount. The maximum adjustment amount, which is the maximum value of the adjustment amount, may be set to 2 mm, 3 mm, or the like. The maximum adjustment amount may be set to a value according to the gap length. The maximum adjustment amount may be 0.5 times, 0.8 times, 0.9 times, or the like of the gap length (L3). Note that, if the boundary position is set above the tip portion 84 of the weather strip 83, the basic control unit F7 may execute the pinch prevention control in response to the contact between the weather strip 83 and the upper end portion 71 of the glass. Therefore, the maximum adjustment amount may be set to a value smaller than the gap length.

[0052] When the adjustment amount calculated according to the deviation amount exceeds the maximum adjustment amount, the region adjustment unit F6 sets the adjustment amount to the maximum adjustment amount. In other words, when the deviation amount or the number of undeterminable pulses is equal to or greater than a predetermined value, the region adjustment unit F6 sets the adjustment amount to the maximum adjustment amount.

[0053] The basic control unit F7 is configured to perform basic control of the power window. The basic control includes outputting to the motor control unit F8 an instruction signal corresponding to raising / lowering / stopping the window position according to an input signal from the operation unit 20 and the recognized window position. The basic control also includes detection of reaching the fully open position, detection of reaching the fully closed position, detection of entrapment, etc. Furthermore, the basic control also includes outputting an instruction for entrapment prevention control.

[0054] The area determination unit F71 is configured to determine whether the window position is within the closed area or the pinch prevention area based on a comparison between the window position estimated by the position estimation unit F3 and the boundary position. If the estimated window position is located above the boundary position, the area determination unit F71 determines that the window position is within the closed area. If the estimated window position is equal to or lower than the boundary position, the area determination unit F71 may determine that the window position is within the pinch prevention area.

[0055] The basic control unit F7 may determine that the window position has reached the fully closed position when the motor current value becomes equal to or greater than a predetermined value in a situation where the basic control unit F7 has determined that the window position is within the closed region and has output an instruction to raise the window position to the motor control unit F8. The basic control unit F7 may determine that the window position has reached the fully closed position when a state where no pulse signal is received from the rotation sensor 60 continues for a certain period of time in a situation where the basic control unit F7 has determined that the window position is within the closed region and has output an instruction to raise the window position to the motor control unit F8. When the basic control unit F7 determines that the window position has reached the fully closed position, it outputs a stop instruction to the motor control unit F8. The window position may also be determined to have reached the fully open position based on a predetermined motor current value becoming equal to or greater than a predetermined value, or based on a state where no pulse signal is received continuing for a certain period of time.

[0056] When the basic control unit F7 determines that the window position is within the closed area, it stops (in other words, disables) the entrapment prevention control. This allows the motor 40 to continue to be driven and the window to be closed even if the window glass 70 comes into contact with the weather strip 83 and friction increases.

[0057] The basic control unit F7 may determine that entrapment has occurred if it detects a load increase event while determining that the window position is within the entrapment prevention area and outputting an instruction to raise the motor 40 to the motor control unit F8. The load increase event may be when the motor current value becomes equal to or exceeds a predetermined value, when the pulse output interval becomes equal to or exceeds a predetermined value, or when a state in which no pulses are detected continues for a certain period of time. A functional unit that detects entrapment based on the motor current and the output signal of the rotation sensor 60 corresponds to the entrapment detection unit F72.

[0058] In addition, the basic control unit F7 may automatically execute a motor control sequence corresponding to an initialization operation when a specific signal is input from the operation unit 20. The control corresponding to the initialization operation is called initialization control. The initialization control may be a series of controls including moving the window to the fully open or fully closed position and then moving the window to the opposite limit position. The basic control unit F7 may update data indicating the distance from the fully open or fully closed position when the window reaches the opposite limit position from the fully open or fully closed position without stopping midway.

[0059] The motor control unit F8 is configured to generate a signal for rotating / stopping the motor 40 according to the instruction / decision of the basic control unit F7, and output the signal to the motor driver 30. When an upward instruction is input from the basic control unit F7, the motor control unit F8 outputs a control signal for rotating the motor 40 in the forward direction (hereinafter, forward rotation signal) to the motor driver 30. The forward rotation signal may be a signal for setting the first output to a high level and the second output to a low level. When a downward instruction is input from the basic control unit F7, the motor control unit F8 outputs a control signal for rotating the motor 40 in the reverse direction (hereinafter, reverse rotation signal) to the motor driver 30. The reverse rotation signal may be a signal for setting the first output to a low level and the second output to a high level. Furthermore, when a downward instruction is input from the basic control unit F7, the motor control unit F8 outputs a control signal for rotating the motor 40 in the reverse direction (hereinafter, reverse rotation signal) to the motor driver 30. The reverse rotation signal may be a signal for setting the first output to a low level and the second output to a high level.

[0060] When the motor control unit F8 stops the rotation of the motor 40 according to an instruction from the basic control unit F7, it outputs a stop signal to the motor driver 30. The stop signal may be a signal that sets both the first output and the second output to a high level or a low level. In the following, the description "during braking operation" may be interpreted as a state in which the first output and the second output are at the same potential. Also, the description "during normal operation" may be interpreted as a state in which either the first output or the second output is set to a high level and the other is set to a low level.

[0061] Incidentally, when the drive of the motor 40 is stopped when the window position is in the intermediate position, the motor 40 goes through inertial rotation and reactionary rotation and then stops completely, as shown in FIG. 5. The intermediate position refers to a position between the fully open position and the fully closed position. The case where the drive of the motor 40 is stopped in the intermediate position corresponds to the case where the motor 40 is stopped while the window is being closed / opened. In FIG. 5, "V1" represents the potential of the output terminal 37 (i.e., the first output). "V2" represents the potential of the output terminal 38 (i.e., the second output). "Im" represents the motor current. The horizontal axis of each graph represents time. The vertical axis represents the potential / current.

[0062] Time T1 in Fig. 5 indicates the timing when braking operation starts, i.e., the timing when driving of the motor 40 is stopped. Until time T1, the motor 40 is in a state of constant speed rotation (normal operation). Furthermore, from time T1 to T2, the motor 40 is in a state of rotating by inertia. The speed of the inertial rotation gradually decreases due to friction, etc., and at time T2, the motor 40 pauses.

[0063] During coasting, the motor 40 functions as a generator (i.e., a power source), and the polarity of the motor current is reversed. However, the direction of rotation itself is the same as during the previous constant-speed rotation. During the period when the drive of the motor 40 is stopped, the rotation direction determination unit F2 may determine that the rotation direction based on the polarity of the motor current is opposite to that during normal operation. In other words, during braking operation, the rotation direction determination unit F2 may determine that the motor 40 is rotating forward when the motor current is a negative value, and may determine that the motor 40 is rotating reversely when the motor current is a positive value.

[0064] The magnitude of the motor current during coasting rotation depends on the rotation speed. As the rotation speed of coasting rotation slows, the motor current decreases. At the timing of temporary suspension at time T2, the motor current becomes zero. Times T2 to T3 represent the period during which reversal due to reaction occurs. Even during reaction reversal, a motor current according to the rotation speed of motor 40 can flow. Note that the polarity of the motor current is reversed again during reaction reversal.

[0065] When the rotation speed is very slow, such as immediately before stopping (hereinafter also referred to as the quasi-stop state), the motor current is below the undeterminable value. Therefore, when a pulse is generated in the quasi-stop state, it is difficult for the rotation direction determination unit F2 to determine the rotation direction from the motor current because the motor current is too small. In addition, there is a concern that the rotation direction may be erroneously determined due to the influence of noise superposition, etc.

[0066] As a result, the window position estimated by the position estimation unit F3 (hereinafter also referred to as the estimated position) may deviate from the actual window position (hereinafter also referred to as the actual position). Note that deviation between the estimated position and the actual position may occur not only immediately after the window is stopped at the intermediate position, but also thereafter. When the window position is stopped at the intermediate position, the window position may change due to vibrations caused by driving or the action of load on the upper end portion 71 of the glass. Since the motor current at that time is very small, a deviation between the estimated position and the actual position may occur / increase.

[0067] If the estimated position is shifted upward from the actual position, the anti-pinch control may be disabled at a position lower than the initial position, i.e., the anti-pinch control may be stopped earlier than it should be.

[0068] To address this issue, the main controller 10 of this embodiment enables the counting unit F4 when the motor current is smaller than the undeterminable value, and narrows the closed region according to the number of pulses whose rotation direction cannot be determined. A specific operation of the main controller 10 will be described with reference to FIG. 6.

[0069] The flowchart shown in Fig. 6 may be executed in response to a pulse signal being input from the rotation sensor 60. The input (reception) of a pulse signal may be rephrased as detection of a rising edge / falling edge. Each step is executed by the processor 11. The processor 11 as the executing entity of the following processes may be rephrased as main controller 10 / rotation amount acquisition unit F1 / rotation direction determination unit F2 / position estimation unit F3 / counting unit F4 / deviation amount estimation unit F5 / area adjustment unit F6 / basic control unit F7 / motor control unit F8.

[0070] When the rotation amount acquisition unit F1 receives a pulse signal, the processor 11 refers to the motor current information acquired by the rotation direction determination unit F2 in step S101. When step S101 is completed, the process proceeds to step S102. Note that the flowchart shown in FIG. 6 may include a step of receiving a pulse signal from the rotation sensor 60 above step S101.

[0071] Step S102 is a step in which the processor 11 determines whether the absolute value (i.e., magnitude) of the motor current detected by the current monitor 50 when a pulse is received is smaller than an undeterminable value. In FIG. 6, "|Im|" represents the absolute value of the detected motor current. Also, "Th" represents the undeterminable value. If the absolute value of the motor current is equal to or greater than the undeterminable value, the process proceeds to step S103. If it is smaller than the undeterminable value, the process proceeds to step S105.

[0072] Step S103 is a step in which the processor 11 identifies the rotation direction of the motor 40 based on the polarity of the detected motor current. Identifying the rotation direction corresponds to identifying the window movement direction. Step S103 may be interpreted as a step of determining the window movement direction. As described above, the interpretation of the movement direction of the window position relative to the polarity of the motor current may be reversed depending on whether the vehicle is in normal driving or braking driving. In a configuration in which the window movement direction is determined to be upward because the motor current is a positive value during normal driving, the window movement direction may be determined to be downward because the motor current is a positive value during braking driving. When step S103 is completed, the process proceeds to step S104.

[0073] Step S104 is a step of updating the estimated position of the window using the window movement direction determined based on the result of step S103. Step S104 may be a step of raising / lowering the estimated position of the window by one pulse. When step S104 is completed, this flow ends.

[0074] Step S105 is a step in which processor 11 increases the number of undetermined pulses by one. When step S105 is completed, the process proceeds to step S106. Step S106 is a step in which an adjustment amount is calculated based on the number of undetermined pulses. Processor 11 may first convert the number of undetermined pulses into a deviation amount and then determine the adjustment amount. Since the deviation amount per pulse is constant, the amount of increase in the adjustment amount in step S106 may also be constant. Step S106 may be a step in which the adjustment amount is increased by a predetermined amount. Processor 11 may also calculate the adjustment amount from the number of undetermined pulses without calculating the deviation amount.

[0075] Step S107 is a step for determining whether the adjustment amount (dL) of the boundary position calculated in step S106 is less than the maximum adjustment amount (Lmx). In the drawing, "dL" represents the adjustment amount of the boundary position calculated in step S106, in other words, the current value of the adjustment amount. "Lmx" represents the maximum adjustment amount.

[0076] If the current value of the adjustment amount is less than the maximum adjustment amount (S107 YES), proceed to step S108 and update the boundary position. That is, if the current value of the adjustment amount is less than the maximum adjustment amount, the boundary position is set to a position that is the adjustment amount above the initial position as shown in FIG. 7. In other words, the size of the closed area is made smaller than the initial value by the adjustment amount. L1a in FIG. 7 represents the initial position, and L1b represents the adjusted boundary position.

[0077] If the adjustment amount calculated in step S106 is equal to or greater than the maximum adjustment amount (NO in S107), the process proceeds to step S109, where the adjustment amount is set to the maximum adjustment amount. The boundary position is then set to a position that is the maximum adjustment amount above the initial position. In other words, the size of the closed area is made smaller than the initial value by the maximum adjustment amount.

[0078] According to the above configuration, when there is a deviation between the estimated position and the actual window position, the boundary position is shifted upward according to the amount of deviation, thereby reducing the risk of the pinch control becoming inoperative due to an erroneous recognition of the window position.

[0079] In addition, according to a configuration in which multiple rotation sensors 60 are added to the motor 40, the rotation direction can be determined from the combination of outputs from the multiple rotation sensors 60, reducing the risk of significantly misrecognizing the current position of the window glass. On the other hand, in a configuration in which multiple rotation sensors 60 are provided, the cost can increase by the number of rotation sensors. From the viewpoint of cost reduction or other points of view, the present disclosure is suitable for a configuration in which there is only one rotation sensor 60. Of course, the present disclosure may also be applied to a configuration in which multiple rotation sensors 60 are provided.

[0080] <Supplementary Information> If the adjustment amount is equal to or greater than the maximum adjustment amount, the processor 11 may be configured to execute the initialization control. At that time, the processor 11 may display an image on the display 90 to notify the user that the initialization control will be executed.

[0081] Furthermore, if the adjustment amount is equal to or greater than the maximum adjustment amount, the processor 11 may display on the display 90 a guide image for encouraging the user to perform an initialization operation. The guide image may include information indicating the procedure for the initialization operation. FIG. 8 is a block diagram showing a configuration of a power window system 100 corresponding to this technical idea. The main controller 10 may include, as a functional block, a notification unit F9 that displays the guide image. Note that FIG. 8 omits the illustration of some components such as a count unit F4.

[0082] Display 90 may be a device capable of displaying color images, such as a liquid crystal display or an organic electroluminescence display. Display 90 may be disposed on an instrument panel, a door trim, or the like. When the number of undeterminable pulses is equal to or greater than a predetermined value, processor 11 may display on display 90 a guide image that prompts the user to perform an initialization operation, not only when the adjustment amount is equal to or greater than the maximum adjustment amount, but also when the number of undeterminable pulses is equal to or greater than a predetermined value.

[0083] If the adjustment amount is equal to or greater than the maximum adjustment amount, the processor 11 may be configured to reduce the window movement speed by a predetermined amount. This configuration makes it possible to reduce damage in the unlikely event of pinching. The processor 11 may be configured to reduce the window movement speed by a predetermined amount if the number of undeterminable pulses is equal to or greater than a predetermined value, not limited to when the adjustment amount is equal to or greater than the maximum adjustment amount.

[0084] The reduction in the moving speed (in other words, the rotation speed) may be achieved by PWM (Pulse Width Modulation) control. For example, the moving speed may be reduced by reducing the ratio (so-called duty ratio) at which the first output or the second output is set to a high level. The moving speed may also be reduced by lowering the voltage applied to the motor 40. The range in which the speed is reduced may be the entire region from the fully open position to the fully closed position, or may be a limited region within a predetermined distance (for example, 20 mm) from the fully closed position.

[0085] The expression "when the adjustment amount is equal to or greater than the maximum adjustment amount" may be rephrased as "when the number of undeterminable pulses is equal to or greater than a predetermined value." The shift amount and adjustment amount are parameters determined according to the number of undeterminable pulses. Therefore, the above embodiment may be understood as a configuration in which the boundary position is adjusted according to the number of undeterminable pulses. Calculation of the shift amount and adjustment amount is an optional element and may be omitted. The processor 11 may be configured to shift the boundary position upward from the initial position by a predetermined amount when the number of undeterminable pulses is equal to or greater than a predetermined value.

[0086] In addition, the processor 11 may disable the pinch prevention control when the pinch prevention control is repeatedly executed a predetermined number of times near the boundary position in a situation where the boundary position is shifted upward from the initial position. The fact that the pinch prevention control is repeatedly executed near the boundary position suggests the possibility that contact with the weather strip 83 is erroneously detected as pinch. It also means that the user is repeatedly operating to close the window. In a situation where the boundary position is shifted upward from the initial position, if the pinch prevention control is repeatedly executed a predetermined number of times near the boundary position, the risk of impairing user convenience can be reduced by disabling the pinch prevention control. The predetermined number of times here may be two, three, or the like.

[0087] In the above, a mode has been described in which a pulse signal received in a situation in which the absolute value (so-called amplitude) of the motor current is smaller than the undeterminable value is regarded as an undeterminable pulse. In other words, a case in which a situation in which the absolute value of the current is the undeterminable value is set as the specific situation has been described. However, the specific situation is not limited to this. The counting unit F4 may be configured to count the number of pulse signals received in a state in which the elapsed time since the motor drive was stopped is equal to or longer than a predetermined count start time as the number of undeterminable pulses. The count start time may be set to a time at which the coasting operation is expected to be converged. The count start time may be determined by a test or the like. The specific situation may be a situation in which the elapsed time since the start of braking operation in a state in which the window is in the intermediate position is equal to or longer than the count start time.

[0088] The present disclosure may be applied to a power sliding door system, a power back door (power rear gate) system, and the like, in addition to a power window system. In other words, the opening and closing member may be a door or a trunk door of a vehicle. Furthermore, the present disclosure may be applied to a system other than an opening and closing member equipped in a vehicle. The present disclosure may be applied to a device that controls the opening and closing of windows, doors, shutters, and gates of a building.

[0089] <Additional remarks (1)> The present disclosure also includes the following technical ideas. In addition, the scope of the present disclosure also includes a motor control method corresponding to the following motor control device. [Technical thought 1] a motor control unit (F8) for controlling a motor for changing the position of the opening / closing member; a rotation amount acquiring unit (F1) that receives a pulse signal output from a rotation sensor attached to the motor as rotation amount information; a rotation direction determination unit (F2) that determines a rotation direction of the motor based on a polarity of a motor current; a position estimation unit (F3) that estimates a position of the opening / closing member based on the rotation amount information acquired by the rotation amount acquisition unit and the rotation direction determined by the rotation direction determination unit; an area determination unit (F71) that determines whether or not the position of the opening / closing member identified by the position estimation unit is in a closed area that is an area in which anti-pinch control is not performed; a counting unit (F4) that counts the number of the pulse signals received in a specific situation in which it is difficult to determine the rotation direction from the polarity of the motor current as an indeterminable pulse number; and an adjustment unit (F6) that adjusts a size of the closed area according to the number of undeterminable pulses held by the counting unit. [Technical thought 2] The motor control device according to Technical Idea 1, wherein the adjustment unit is configured to make the closed area smaller as the number of undeterminable pulses counted by the counting unit increases. [Technical thought 3] The motor control device according to Technical Idea 1 or 2, further comprising a notification unit (F9) that issues a notification to prompt execution of a predetermined initialization operation when the number of undeterminable pulses becomes equal to or greater than a predetermined value. [Technical thought 4] The motor control device described in any one of technical ideas 1 to 3, wherein the motor control unit is configured to reduce the movement speed of the opening / closing member based on the number of undeterminable pulses being greater than or equal to a predetermined value. [Technical thought 5] A motor control device described in any one of technical ideas 1 to 4, wherein the counting unit is configured to count the number of pulse signals received when the magnitude of the motor current is less than a predetermined value as the number of undeterminable pulses. [Technical Thought 6] The opening / closing member is a window glass provided in a vehicle, A motor control device according to any one of Technical Ideas 1 to 5 for a power window system that controls opening and closing of the window glass. [Technical Thought 7] A motor control device according to Technical Idea 6 for the power window system in which a weather strip is provided on a portion where the window glass abuts in a fully closed state, A motor control device, wherein a maximum adjustment amount that defines the range within which the adjustment unit can adjust the size of the closed-off area is set to a value corresponding to the distance from an initial position of the boundary line of the closed-off area to the tip of the weather strip. <Additional remarks (2)> The various flowcharts shown in this disclosure are merely examples, and the number of steps constituting the flowcharts and the order of execution of the processes can be changed as appropriate. The controls shown in each flowchart may be combined / executed in parallel to the extent that there is no contradiction. Expressions such as acquisition, determination, detection, generation, reception, and calculation may be interchangeable. The acquisition of certain data by the processor 11 also includes the generation of the data by the processor 11 based on a signal input from another device / sensor.

[0090] The apparatus, system, and methods described herein may be implemented by a dedicated computer having a processor programmed to execute one or more functions embodied in a computer program. The apparatus and methods described herein may be implemented by a dedicated hardware logic circuit. The apparatus and methods described herein may be implemented by one or more dedicated computers configured by a combination of a processor that executes a computer program and one or more hardware logic circuits. The processor may be any computing core, such as a CPU, an MPU, a GPU, or a DFP (Data Flow Processor). Some or all of the functions of the main controller 10 may be implemented by any of a system-on-chip (SoC), an integrated circuit (IC), and a field-programmable gate array (FPGA).

[0091] The computer program includes instructions to be executed by a computer. The computer program may be stored in a computer-readable non-transitive tangible storage medium. The storage medium for the computer program may be a variety of media, such as a hard-disk drive (HDD), a solid-state drive (SSD), or a flash memory. [Explanation of symbols]

[0092] 10 main controller, 11 processor, 30 motor driver, 40 motor, 50 current monitor, 60 rotation sensor, 70 window glass (opening / closing member), 83 weather strip, F1 rotation amount acquisition unit, F2 rotation direction determination unit, F3 position estimation unit, F4 count unit, F5 deviation amount estimation unit, F6 area adjustment unit (adjustment unit), F7 basic control unit, F8 motor control unit, F9 notification unit, F71 area determination unit

Claims

1. A motor control unit (F8) for controlling a motor for changing the position of the opening / closing member; a rotation amount acquiring unit (F1) that receives a pulse signal output from a rotation sensor attached to the motor as rotation amount information; a rotation direction determination unit (F2) that determines a rotation direction of the motor based on a polarity of a motor current; a position estimation unit (F3) that estimates a position of the opening / closing member based on the rotation amount information acquired by the rotation amount acquisition unit and the rotation direction determined by the rotation direction determination unit; an area determination unit (F71) that determines whether or not the position of the opening / closing member identified by the position estimation unit is in a closed area that is an area where anti-pinch control is not performed; A counting unit (F4) that counts the number of the pulse signals received in a predetermined specific situation as an undeterminable pulse number; and an adjustment unit (F6) that adjusts the size of the closed area according to the number of undeterminable pulses held by the counting unit.

2. The motor control device according to claim 1 , wherein the adjustment unit is configured to make the closed region smaller as the number of undeterminable pulses counted by the counter increases.

3. 2. The motor control device according to claim 1, further comprising a notification unit (F9) that issues a notification to prompt execution of a predetermined initialization operation when the number of undeterminable pulses becomes equal to or greater than a predetermined value.

4. The motor control device according to claim 1 , wherein the motor control unit is configured to reduce a moving speed of the opening / closing member when the number of undeterminable pulses is equal to or greater than a predetermined value.

5. 2 . The motor control device according to claim 1 , wherein the counter is configured to count the number of the pulse signals received in a situation where the magnitude of the motor current is less than a predetermined value as the number of undeterminable pulses.

6. The opening / closing member is a window glass provided in a vehicle, The motor control device according to any one of claims 1 to 5, which is used for a power window system for controlling opening and closing of the window glass.

7. 7. The motor control device according to claim 6, for the power window system, in which a weather strip is provided at a portion where the window glass abuts in a fully closed state, A motor control device, wherein a maximum adjustment amount that defines the range within which the adjustment unit can adjust the size of the closed-off area is set to a value corresponding to the distance from an initial position of the boundary line of the closed-off area to the tip of the weather strip.

8. A motor control method for controlling a motor for changing a position of an opening / closing member, comprising: receiving a pulse signal output from a rotation sensor attached to the motor as rotation amount information; determining a direction of rotation of the motor based on a polarity of a motor current; estimating a position of the opening / closing member based on the rotation amount information and the rotation direction; Determining whether the position of the opening / closing member is in a closed area, which is an area where anti-pinch control is not performed; Counting the number of the pulse signals received in a predetermined specific situation as an indeterminable pulse number; and adjusting a size of the closed area in accordance with the number of undeterminable pulses.

9. 9. The motor control method according to claim 8, further comprising: making the closed region smaller as the number of counted undeterminable pulses increases.

10. 9. The motor control method according to claim 8, further comprising the step of: issuing a notification prompting execution of a predetermined initialization operation when the number of undeterminable pulses becomes equal to or greater than a predetermined value.

11. 9. The motor control method according to claim 8, further comprising: reducing a moving speed of the opening / closing member based on the fact that the number of undeterminable pulses is equal to or greater than a predetermined value.

12. The motor control method of claim 8 , wherein the particular situation is a situation in which the magnitude of the motor current is less than a predetermined value.

13. The opening / closing member is a window glass provided in a vehicle, The motor control method according to any one of claims 8 to 12, for a power window system for controlling opening and closing of the window glass.

14. 14. The motor control method according to claim 13, for the power window system in which a weather strip is provided at a portion against which the window glass abuts in a fully closed state, comprising: A motor control method in which a maximum adjustment amount that defines a range within which the size of the closed area can be adjusted is set to a value corresponding to the distance from an initial position of the boundary line of the closed area to the tip of the weather strip.

Citation Information

Patent Citations

  • Control device of power window regulator for vehicle

    JP1997158610A

  • Opening / closing body driving device

    JP2018162624A

  • Window control device and method for vehicle

    US20180301891A1

  • Device for detecting rotation direction and method for detecting rotation direction of motor, and motor control device

    WO2019082785A1

  • Controller for power window and control method thereof

    JP1996218730A