OPENING/CLOSING CONTROL DEVICE
20180002968 · 2018-01-04
Inventors
Cpc classification
E05F15/41
FIXED CONSTRUCTIONS
E05F15/75
FIXED CONSTRUCTIONS
E05F15/40
FIXED CONSTRUCTIONS
International classification
E05F15/41
FIXED CONSTRUCTIONS
E05F15/75
FIXED CONSTRUCTIONS
Abstract
A boundary position, which determines the range of the positions of the window within which trap prevention control is disabled, is set according to the sum of a first amount of rotation and a second amount of rotation. The first amount of rotation approximates a change, in a reference amount of rotation, that corresponds to a change in a detected voltage from a reference voltage. The second amount of rotation is set to a value that is smaller than the difference between a specific amount of rotation at a stop and the reference amount of rotation and is larger than the amount of variations in the reference amount of rotation.
Claims
1. An opening/closing control device that controls an opening/closing operation of an opening/closing body by driving a motor, the device comprising: a processor and a memory having program code stored therein, wherein when the processor executes the program code, the processor is configured into: a trap detecting unit configured to detect a trap of an object, the trap being caused by the opening/closing body; a rotation amount detecting unit configured to detect an amount of rotation of the motor; a voltage detecting unit configured to detect a voltage to be supplied to the motor; a position detecting unit configured to detect a position of the opening/closing body with respect to the position of the opening/closing body with the opening/closing body in a fully closed state, according to a change in a detected amount of rotation from a reference amount of rotation, the reference amount of rotation being the amount of rotation detected by the rotation amount detecting unit in the fully closed state; a motor control unit configured to perform trap prevention control when the trap detecting unit detects the trap, a rotation of the motor being reversed in the trap prevention control, if the position, detected by the position detecting unit, of the opening/closing body is more distant from the position of the opening/closing body in the fully closed state than a preset boundary position is, and to disable the trap prevention control if the detected position of the opening/closing body is closer to the position of the opening/closing body in the fully closed state than the boundary position is; and a boundary position setting unit configured to set the boundary position; wherein the boundary position setting unit sets the boundary position according to a sum of: a first amount of rotation having a value depending on a change in the voltage detected by the voltage detecting unit from a reference voltage, the reference voltage being a voltage detected by the voltage detecting unit in the fully closed state, the first amount of rotation approximating a change in the reference amount of rotation, the change corresponding to the change in the detected voltage from the reference voltage, and a second amount of rotation having a value depending on the detected voltage, the second amount of rotation being smaller than a difference between the reference amount of rotation and a specific amount of rotation at a stop, the specific amount of rotation being the detected amount of rotation at a position, the opening/closing body being stopped at the position by the trap prevention control because the trap of the object with a predetermined thickness has been detected, and being larger than an amount of variations in the reference amount of rotation.
2. The opening/closing control device according to claim 1, wherein the boundary position setting unit sets the boundary position according to the sum of the first amount of rotation having a value obtained by multiplying the change in the detected voltage from the reference voltage by a predetermined proportionality coefficient, and the second amount of rotation having a value of a predetermined linear function, the detected voltage being used as a variable in the predetermined linear function.
3. The opening/closing control device according to claim 2, wherein if the detected amount of rotation is assumed to be reduced by an operation to close the opening/closing body and to be increased by an operation to open the opening/closing body, a minimum value of a variation range of the reference amount of rotation is approximated as a first approximation function, the first approximation function being a linear function of the detected voltage, a maximum value of the variation range of the reference amount of rotation is approximated as a second approximation function, the second approximation function being a linear function of the detected voltage, and the predetermined proportionality coefficient is an intermediate value between a coefficient in the first approximation function and a coefficient in the second approximation function.
4. The opening/closing control device according to claim 3, wherein: a minimum value of a variation range of the specific amount of rotation at a stop is approximated as a third approximation function, the third approximation function being a linear function of the detected voltage, and the predetermined linear function is equivalent to a half of a result obtained by subtracting the first approximation function from the third approximation function.
5. The opening/closing control device according to claim 4, wherein the position detecting unit detects a change in the detected amount of rotation from the reference amount of rotation in the most recent fully closed state, as the position of the opening/closing body.
6. The opening/closing control device according to claim 5, wherein the boundary position setting unit calculates a change in the detected voltage from the reference voltage in the most recent fully closed state, and sets the boundary position according to the sum of the first amount of rotation having the value depending on the change in the detected voltage, and the second amount of rotation.
7. The opening/closing control device according to claim 6, further comprising a torque detecting unit configured to detect a torque of the motor, wherein the trap detecting unit detects the trap according to the torque detected by the torque detecting unit.
8. The opening/closing control device according to claim 1, wherein the position detecting unit detects a change in the detected amount of rotation from the reference amount of rotation in the most recent fully closed state, as the position of the opening/closing body.
9. The opening/closing control device according to claim 8, wherein the boundary position setting unit calculates a change in the detected voltage from the reference voltage in the most recent fully closed state, and sets the boundary position according to the sum of the first amount of rotation having the value depending on the change in the detected voltage, and the second amount of rotation.
10. The opening/closing control device according to claim 9, further comprising a torque detecting unit configured to detect a torque of the motor, wherein the trap detecting unit detects the trap according to the torque detected by the torque detecting unit.
11. The opening/closing control device according to claim 1, wherein the boundary position setting unit calculates a change in the detected voltage from the reference voltage in the most recent fully closed state, and sets the boundary position according to the sum of the first amount of rotation having the value depending on the change in the detected voltage, and the second amount of rotation.
12. The opening/closing control device according to claim 11, further comprising a torque detecting unit configured to detect a torque of the motor, wherein the trap detecting unit detects the trap according to the torque detected by the torque detecting unit.
13. The opening/closing control device according to claim 1, further comprising a torque detecting unit configured to detect a torque of the motor, wherein the trap detecting unit detects the trap according to the torque detected by the torque detecting unit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
DESCRIPTION OF THE EXEMPLARY EMBODIMENTS
[0017]
[0018] The motor driving circuit 10 generates a voltage used to drive the motor 6, in response to a control signal created by a motor control unit 55, described later, in the processing unit 50. In the example in
[0019] The voltage detecting unit 20 detects a voltage to be supplied to the motor 6. In the example in
[0020] The current detecting unit 30 detects a current that flows in the motor 6. In the example in
[0021] The manipulating unit 40 is an apparatus manipulated by the user to input a signal to the processing unit 50, the signal being used to open or close the window 3. The manipulating unit 40 includes, for example, a switch and the like.
[0022] The processing unit 50 controls the entire operation of the opening/disclosing control device. The processing unit 50 includes, for example, a computer that executes processing in response to operation codes in a program stored in the storage unit 60. The processing unit 50 may execute all processing by using the computer or may execute at least part of processing by using a specific hardware circuit (such as a random logic circuit).
[0023] The processing unit 50 has a torque detecting unit 51, a trap detecting unit 52, a rotation amount detecting unit 53, a position detecting unit 54, a motor control unit 55, and a boundary position setting unit 56, as functional blocks.
[0024] The torque detecting unit 51 detects the torque of the motor 6. For example, according to a current Im detected by the current detecting unit 30 in the motor 6, the torque detecting unit 51 calculates a torque τ from the following equation.
τ=Kt×Im−Tm (1)
[0025] In equation (1), Kt and Tm are each a motor-specific constant.
[0026] The current Im may be calculated from the following equation.
Im=(V−2π×Ke/T)/Rm (2)
[0027] In equation (2), V represents the voltage (in V) in the motor, T represents the cycle (in s) of one rotation of the motor, and Rm and Ke are each a motor-specific constant. A pulse generator that generates a pulse according to a rotation by a predetermined angle is added to the motor. The cycle T is detected according to the pulse.
[0028] The trap detecting unit 52 detects a trap of an object, the trap being caused by the window 3. For example, the trap detecting unit 52 preferably detects a trap according to the torque of the motor 6, the torque being detected by the torque detecting unit 51. Specifically, if the torque detected by the torque detecting unit 51 exceeds a predetermined threshold, the trap detecting unit 52 decides that a trap has occurred.
[0029] The rotation amount detecting unit 53 detects the amount of rotation of the motor 6. For example, on the basis that a ripple occurs in the current in the motor 6 each time the motor 6 rotates by a certain angle, the rotation amount detecting unit 53 detects the amount of rotation. Specifically, the rotation amount detecting unit 53 extracts ripples included in the current in the motor 6 and counts the number of ripples to acquire a ripple count corresponding to the amount of rotation of the motor 6.
[0030] If a device, such as a Hall sensor, that generates a pulse each time the motor 6 rotates by a certain angle is provided, the rotation amount detecting unit 53 may counts the number of pulses to acquire a pulse count corresponding to the amount of rotation of the motor 6.
[0031] In this embodiment, it will be assumed as an example that the amount of rotation detected by the rotation amount detecting unit 53 is reduced by the closing operation and is increased by the opening operation. Therefore, as the detected amount of rotation is reduced, the position of the window 3 comes closer to a fully closed state (a state in which the window 3 has touched an edge of the door frame 4 and has stopped).
[0032] Here, the amount of rotation detected by the rotation amount detecting unit 53 with the window 3 in the fully closed state will be referred to as the reference amount Ps of rotation. The position detecting unit 54 detects the position of the window 3 with respect to its position in the fully closed state, according to a change in the detected amount of rotation from the reference amount Ps of rotation. For example, the position detecting unit 54 preferably acquires a change (P−Ps) in the amount P of rotation detected at present from the reference amount Ps of rotation in the most recent fully closed state, as the result of the detection of the position of the window 3.
[0033] When the window 3 stops in the fully closed state, the position detecting unit 54 may reset the amount P of rotation detected by the rotation amount detecting unit 53 to zero and may acquire the amount P of rotation obtained by rotation amount detecting unit 53 after the reset as the result of the detection of the position of the window 3 without alteration. Thus, there is no need to store the reference amount Ps of rotation each time the fully closed state is entered and to perform processing to subtract Ps from P, so processing is simplified.
[0034] The motor control unit 55 creates a control signal to control the motor 6 in response to a manipulation signal entered into the manipulating unit 40, and outputs the created control signal to the motor driving circuit 10. Specifically, the motor control unit 55 creates a control signal to be output to the motor driving circuit 10 so as to satisfy conditions such as the rotational direction and rotational speed of the motor 6, which are set in advance for each of the closing operation and opening operation.
[0035] When the trap detecting unit 52 detects a trap of an object, the motor control unit 55 performs trap prevention control by which the rotation of the motor 6 is reversed. However, the motor control unit 55 disables trap prevention control depending on the position, detected by the position detecting unit 54, of the window 3. Specifically, if the detected position of the window 3 is more distant from its position in the fully closed state than a boundary position X is, the motor control unit 55 performs trap prevention control. If the detected position of the window 3 is closer to its position in the fully closed state than the boundary position X is, the motor control unit 55 disables trap prevention control. The boundary position X is preset by the boundary position setting unit 56, which will be described next.
[0036] The boundary position setting unit 56 sets the boundary position X, which indicates the boundary of the positions of the window 3 at which trap prevention control is disabled, according to the voltage detected by the voltage detecting unit 20. Specifically, the boundary position setting unit 56 preferably sets the boundary position X according to the sum of a first amount R1 of rotation, the value of which depends on a change in the voltage detected by the voltage detecting unit 20 with respect to the voltage detected by the voltage detecting unit 20 in the fully closed state (the detected voltage in the fully closed state will be referred to below as the reference voltage Vs) and a second amount R2 of rotation, the value of which also depends on the voltage detected by the voltage detecting unit 20 from the reference voltage Vs.
[0037] The method of setting the boundary position X will be described below with reference to
[0038]
[0039] The above is also true for a case in which the window 3 traps the object 9 due to the closing operation. As illustrated on the right side in
[0040] If the boundary position X is included in the variation range AR1 of the reference amount Ps of rotation (P1≦Ps≦P2), trap prevention control may be performed in spite of the fact that the window 3 has reached the fully closed state. In this case, the window 3 stops at a position distant from the position in the fully closed state in the opening direction. This prevents the window 3 from being fully closed. Therefore, the boundary position X must not be included in the variation range AR1 of the reference amount Ps of rotation. Here, the length of the variation range AR1 of the reference amount Ps of rotation will be denoted “a”. Then, the boundary position X must satisfy the following condition.
a<X (3)
[0041] If the boundary position X is included in the variation range AR2 of the specific amount Pe of rotation at a stop (P3≦Pe≦P4), trap prevention control may be disabled in spite of the fact that the window 3 is trapping the object 9. Therefore, the boundary position X must not be included in the variation range AR2 of the specific amount Pe of rotation at a stop. Here, the value obtained by subtracting the maximum value P2 of the variation range AR1 of the reference amount Ps of rotation from the minimum value P3 of the variation range AR2 of the specific amount Pe of rotation at a stop (minimum difference between the specific amount Pe of rotation at a stop and the reference amount Ps of rotation) will be denoted “b”. Then, the boundary position X must satisfy the following condition.
X<b (4)
[0042] The following condition is derived from equations (3) and (4).
a<X<b (5)
[0043] It is found from equation (5) that “a” must be smaller than “b”.
[0044] To reliably satisfy the condition in equation (5) in the case in which the value of “X−a” or the value of “b−X”, whichever is smaller, is selected, the boundary position X is preferably set so that the selected value is maximized. Since the selected value is maximized when “X−a” and “b−X” are equal, the boundary position X that satisfies this condition is represented as in the equation below.
“X−a=b−X
X=(a+b)/2 (6)
[0045] In the example in
[0046]
[0047] However, the reference amount Ps of rotation and the specific amount Pe of rotation at a stop tend to change depending on voltage in the motor 6, as illustrated in
[0048] If the variation range AR1 of the reference amount Ps of rotation and the variation range AR2 of the specific amount Pe of rotation at a stop each change depending on voltage in the motor 6 as described above, the first amount R1 of rotation and the second amount R2 of rotation are stipulated as described below to prevent the boundary position X from being included in these variation ranges.
[0049] The first amount R1 of rotation is the amount of rotation of the motor 6 that approximates a change ΔPs, in the reference amount Ps of rotation, that corresponds to a detected voltage change ΔV from the reference voltage Vs. If it is approximated that the change ΔPs in the reference amount Ps of rotation is proportional to the detected voltage change ΔV from the reference voltage Vs, the first amount R1 of rotation is represented as in the equation below.
R1=αs×(V−Vs) (7)
[0050] In equation (7), αs indicates a proportionality coefficient, Vs indicates the voltage (reference voltage) detected by the voltage detecting unit 20 in the most recent fully closed state, and V indicates the voltage detected by the voltage detecting unit 20 in the calculation of the first amount R1 of rotation. “V−Vs” is equivalent to ΔV.
[0051] The minimum value P1 and maximum value P2 of the variation range AR1 of the reference amount Ps of rotation each can preferably approximate a linear function of the detected voltage V. The approximation function (first approximation function) of the minimum value P1 and the approximation function (second approximation function) of the maximum value P2 can be represented as in the following equations.
P1=α1×V+β1 (8)
P2=α2×V+β2 (9)
[0052] The proportionality coefficient αs in equation (7) is preferably set to, for example, an intermediate value between the coefficient α1 in the first approximation function and the coefficient α2 in the second approximation function. In this case, the proportionality coefficient αs is represented as in the equation below.
αs=(α1+α2)/2 (10)
[0053] The second amount R2 of rotation is the amount of rotation of the motor 6 that is smaller than the difference between the specific amount Pe of rotation at a stop and the reference amount Ps of rotation and is larger than the amount of variations in the reference amount Ps of rotation. The second amount R2 of rotation is given by, for example, applying “a” and “b”, which vary depending on voltage in the motor 6, to equation (6).
[0054] Specifically, the second amount R2 of rotation is represented as in the equation below by using, in equation (6), the minimum value P1 of the variation range AR1 and the minimum value P3 of the variation range AR2.
[0055] The minimum value P3 of the variation range AR2 can preferably approximate a linear function of the detected voltage V. This approximation function (third approximation function) can be represented as in the equation below.
P3=α3×V+β3 (12)
[0056] In equation (12), α3 and β3 are each a coefficient.
[0057] If equation (8) and equation (12) are assigned to equation (11), the second amount R2 of rotation is represented as in the equation below.
R2=[(α3−α1)×V+(β3−β1)]/2 (13)
[0058] The boundary position X, which is equivalent to the sum of the first amount R1 of rotation and the second amount R2 of rotation, is represented as in the equation below.
[0059] In equation (14), αth and βth are each a constant, which are represented as in the equations below.
αth=(α3−α1)/2 (15)
βth=(β3−β1)/2 (16)
[0060] The boundary position setting unit 56 calculates the boundary position X from equation (14), on the basis of the reference voltage Vs in the most recent fully closed state and the voltage V detected at present.
[0061]
[0062] If voltage in the motor 6 changes from Vs to V, the reference voltage in the most recent fully closed state is assumed to have been virtually increased by ΔPs, from Ps to Ps′. The first amount R1 of rotation equivalent to this ΔPs is obtained from “αs×(V−Vs)” in equation (7).
[0063] In the example in
[0064] The boundary position X (Ps′) with respect to the reference amount Ps' of rotation is set to a position distant by (R1+R2) from the reference amount Ps of rotation in the opening direction. Therefore, when the reference voltage in the most recent fully closed state is Vs and the voltage detected at present is V, the boundary position X (Ps) is represented by the sum of the first amount R1 of rotation and the second amount R2 of rotation as indicated by equation (14).
[0065] This completes the description of the processing unit 50.
[0066]
[0067] The storage unit 60 stores programs executed by the computer in the processing unit 50, constant data used in processing by the processing unit 50, variable data that is temporarily stored during a process of processing by the processing unit 50, and the like. The storage unit 60 includes a storage device such as, for example, a dynamic random access memory (DRAM), a static random access memory (SRAM), a flash memory, or a hard disk drive.
[0068] Next, the operation of the opening/disclosing control device, structured as described above, in this embodiment will be described with reference to the flowchart in
[0069] The boundary position setting unit 56 decides whether the opening/closing operation of the window 3 is currently being performed (ST100). If the opening/closing operation is being performed, the boundary position setting unit 56 uses the reference voltage Vs in the most recent fully closed state and the voltage V detected at present to calculate the boundary position X according to equation (14) (ST105).
[0070] After the boundary position X has been calculated by the boundary position setting unit 56, the motor control unit 55 decides whether the value of the current position, detected by the position detecting unit 54, of the window 3 is larger than the value of the boundary position X (ST110). If the value of the current position of the window 3 is larger than the value of the boundary position X, that is, the current position of the window 3 is more distant from the position in the fully closed state than the boundary position X is, the motor control unit 55 further decides whether the value of the torque detected by the torque detecting unit 51 is larger than a predetermined threshold (ST115). If the value of the detected torque is larger than the predetermined threshold, the motor control unit 55 performs trap prevention control, by which the rotation of the motor 6 is reversed (ST120).
[0071] If the motor control unit 55 decides in ST110 that the value of the current position of the window 3 is equal to smaller than the value of the boundary position X, that is, the current position of the window 3 is closer to the position in the fully closed state than the boundary position X is, the motor control unit 55 advances the window 3 to the position in the fully closed state and then stops the rotation of the motor 6 (ST130). For example, the motor control unit 55 rotates the motor 6 in the closing direction for a preset time and then stops the rotation. When the rotation of the motor 6 stops, the position detecting unit 54 sets the position of the window 3 in this stopped state as the position of a new reference (ST135). Specifically, the position detecting unit 54 resets the value of the amount of rotation detected by the rotation amount detecting unit 53 to zero. The boundary position setting unit 56 acquires a voltage detected by the voltage detecting unit 20 in this stopped state as the reference voltage Vs, and stores it in the storage unit 60 (ST140). The boundary position setting unit 56 uses the reference voltage Vs stored in the storage unit 60 in the calculation of the boundary position X.
[0072]
[0073] In
[0074]
[0075]
[0076] If, in the example in
[0077]
[0078] In the example in
[0079] As described above, with the opening/disclosing control device in this embodiment, the boundary position X, which determines the range of the positions of the window 3 within which trap prevention control is disabled, is set according to the sum of the first amount R1 of rotation and the second amount R2 of rotation. The first amount R1 of rotation approximates a change, in the reference amount Ps of rotation, that corresponds to a change in the detected voltage from the reference voltage Vs. Therefore, even if the reference amount Ps of rotation changes due to a change in voltage in the motor 6, the boundary position X can be appropriately set according to the change. The second amount R2 of rotation is smaller than the difference (b) between the specific amount Pe of rotation at a stop and the reference amount Ps of rotation and is larger than the amount (a) of variations in the reference amount Ps of rotation. Therefore, even if the specific amount Pe of rotation at a stop changes due to a change in voltage in the motor 6, the boundary position X can be appropriately set according to the change. Accordingly, trap prevention control can be accurately disabled when the window 3 reaches the position in the fully closed state and can be accurately executed when the object 9 with a certain thickness is trapped.
[0080] With the opening/disclosing control device in this embodiment, the first amount R1 of rotation is proportional to a change in the detected voltage from the reference voltage Vs, as represented in equation (7). Therefore, if the reference amount Ps of rotation changes in proportion to a change in voltage in the motor 6, the boundary position X can be appropriately set according to the change. The second amount R2 of rotation is calculated as a linear function of the detected voltage, as represented in equation (13). Therefore, if the specific amount Pe of rotation at a stop is approximated as a linear function of the detected voltage, the boundary position X can be appropriately set according to a change in the specific amount Pe of rotation at a stop that is caused by a change in voltage in the motor 6.
[0081] With the opening/disclosing control device in this embodiment, if the minimum value P1 and maximum value P2 in the variation range AR1 of the reference amount Ps of rotation each are approximated as a linear function of the detected voltage, an intermediate value between coefficients in the linear functions of the minimum value P1 and maximum value P2 is used as the proportionality coefficient αs to calculate the first amount R1 of rotation, as represented in equation (10). The first amount R1 of rotation can be calculated by which a change in the reference amount Ps of rotation that corresponds to a detected voltage change from the reference voltage Vs is appropriately approximated.
[0082] With the opening/disclosing control device in this embodiment, the second amount R2 of rotation is calculated by applying the amount “a” of variations, which is obtained by subtracting the minimum value P1 of the variation range AR1 of the reference amount Ps of rotation from the maximum value P2 of the variation range AR1, and the amount “b” of variations, which is obtained by subtracting the maximum value P2 of the variation range AR1 of the reference amount Ps of rotation from the minimum value P3 of the variation range AR2 of the specific amount Pe of rotation at a stop, to (a+b)/2. Therefore, as long as “a” is smaller than “b”, it is possible to satisfy the condition that the second amount R2 of rotation is smaller than “b” and is larger than “a”.
[0083] The present invention is not limited only to the embodiment described above. The present invention includes various variations.
[0084] For example, in the embodiment described above, the minimum value P1 and maximum value P2 in the variation range AR1 of the reference amount Ps of rotation and the minimum value P3 in the variation range AR2 of the specific amount Pe of rotation at a stop are each approximated as a linear function as indicated by equations (8), (9), and (12), and a function including constants in these approximation functions is used to calculate the boundary position X as indicated by equation (14). By contrast, in another embodiment of the present invention, a data table, equivalent to equation (14), for the boundary position X, may be prepared in advance and the boundary position X associated with Vs and V may be acquired from the data table.
[0085] In the above embodiment, an example in which the present invention is applied to an opening/closing control device (such as a power window) for a window of a vehicle has been described. However, the present invention is not limited to this. The present invention can be applied to other various opening/closing control devices for sun rooms and sliding doors.