Open/close body control device, vehicle, open/close body control method, and recording medium

文档序号:1181564 发布日期:2020-09-22 浏览:30次 中文

阅读说明:本技术 开/闭体控制装置、车辆、开/闭体控制方法及记录介质 (Open/close body control device, vehicle, open/close body control method, and recording medium ) 是由 原田雅史 角野英世 小泽晃史 于 2020-03-11 设计创作,主要内容包括:开/闭体控制装置、车辆、开/闭体控制方法及记录介质。为了防止在开/闭体打开的情况下未通知用户开/闭体是打开的并且改进犯罪预防性。PW控制装置(1)设置有:确定单元(26),其执行用于确定车窗玻璃(73)是打开还是关闭的处理;以及校正单元(25),其执行用于通过将由位置检测单元(22)检测到的开/闭位置在车窗玻璃(73)打开的方向上校正预定量来计算确定单元(26)进行确定所使用的校正后开/闭位置的处理。(An opening/closing body control device, a vehicle, an opening/closing body control method, and a recording medium. To prevent a user from not being notified that an opening/closing body is open in a case where the opening/closing body is open and improve crime prevention. A PW control device (1) is provided with: a determination unit (26) that performs processing for determining whether a window glass (73) is open or closed; and a correction unit (25) that performs processing for calculating a corrected open/close position used by the determination unit (26) for determination by correcting the open/close position detected by the position detection unit (22) by a predetermined amount in the direction in which the window glass (73) is opened.)

1. An opening/closing body control apparatus for opening and closing an opening/closing body by driving a motor, the opening/closing body control apparatus comprising:

a position detection unit configured to perform processing for detecting an open/close position of the open/close body;

a determination unit configured to perform processing for determining whether the opening/closing body is opened or closed;

a notification unit configured to execute processing for notifying a user that the opening/closing body is open in a case where the determination unit determines that the opening/closing body is open; and

a correction unit configured to execute processing for calculating a corrected open/close position used for determination by the determination unit by correcting the open/close position detected by the position detection unit by a predetermined amount in a direction in which the open/close body opens.

2. The opening/closing body control device according to claim 1, further comprising:

a calculation unit configured to execute processing for calculating an amount of overrun, which is a movement amount from output of a drive stop command for the motor by the opening/closing body control means until the opening/closing body stops, and which is also a movement amount of the opening/closing body in a movement direction immediately before the drive of the motor is stopped, by referring to a rotation speed of the motor immediately before the drive of the motor is stopped; and

a reflection unit configured to execute processing for preparing a value for reflecting the amount of overrun calculated by the calculation unit in the open/close position detected by the position detection unit as the open/close position used for correction by the correction unit.

3. The opening/closing body control device according to claim 2,

wherein the calculation unit further executes processing for calculating a return amount, which is a movement amount from when the opening/closing body control means outputs a drive stop command for the motor until the opening/closing body stops, and which is also a movement amount of the opening/closing body in a direction opposite to the movement direction immediately before the drive of the motor is stopped, by referring to an electromotive force of the motor immediately after the drive of the motor is stopped, and

wherein the reflecting unit further performs processing for preparing a value reflecting the return amount calculated by the calculating unit in the open/close position detected by the position detecting unit as the open/close position used for correction by the correcting unit.

4. The opening/closing body control device according to any one of claims 1 to 3,

wherein the determination unit performs processing for determining whether the opening/closing body is open or closed by comparing the post-correction opening/closing position calculated by the correction unit with a determination threshold value as a reference for determining whether the opening/closing body is open or closed.

5. A vehicle, comprising:

the opening/closing body control device according to any one of claims 1 to 4;

the motor; and

the opening/closing body.

6. An opening/closing body control method for opening and closing an opening/closing body by driving a motor, the opening/closing body control method comprising the steps of:

a position detection step of performing a process for detecting an open/close position of the open/close body;

a determination step of performing a process for determining whether the opening/closing body is opened or closed;

a notification step of executing processing for notifying a user that the opening/closing body is open in a case where it is determined in the determination step that the opening/closing body is open; and

a correction step of performing processing for calculating a corrected open/close position used for determination in the determination step by correcting the open/close position detected in the position detection step by a predetermined amount in a direction in which the open/close body opens.

7. A recording medium storing an opening/closing body control program for causing a computer to function as the opening/closing body control apparatus according to claim 1, the opening/closing body control program, when executed by the computer, causing the computer to function as the position detection unit, the determination unit, the notification unit, and the correction unit.

Technical Field

The invention relates to an opening/closing body control device, a vehicle, an opening/closing body control method, and a recording medium.

Background

As an example of the opening/closing body control device, a power window (hereinafter, referred to as "PW") control device is known. The PW control device opens/closes an opening/closing body such as a window glass of a vehicle by operating a PW opening/closing mechanism (hereinafter, simply referred to as an opening/closing mechanism). Specifically, the PW control device operates the opening/closing mechanism by driving the motor. For example, patent document 1 discloses a warning device capable of warning of forgetting to close a window even in a case where a dedicated sensor for detecting whether the window is open or closed is not provided.

Patent document 1: JP-A-H07-305559

Disclosure of Invention

The warning device disclosed in patent document 1 is provided with a determination circuit that determines whether a window is opened or closed based on operation information of a switch and detection information of an excitation fluctuation detection circuit for detecting an excitation fluctuation of a drive motor to stop the drive motor. However, in this warning device, there may be a case where: an error occurs in the detection information that activates the fluctuation detection circuit, and then a determination is made that the window is closed in a state where the window is open, thereby causing a problem in crime prevention.

An object of an aspect of the present invention is to prevent a user from not being notified of opening of an opening/closing body in a case where the opening/closing body is opened and to improve crime prevention.

In order to solve the above-mentioned problems, an opening/closing body control apparatus according to an aspect of the present invention is an opening/closing body control apparatus for opening and closing an opening/closing body by driving a motor, and includes: a position detection unit configured to perform processing for detecting an open/close position of the open/close body; a determination unit configured to execute processing for determining whether the opening/closing body is opened or closed; a notification unit configured to execute processing for notifying a user that the opening/closing body is open, in a case where the determination unit determines that the opening/closing body is open; and a correction unit configured to execute processing for calculating a corrected open/close position used by the determination unit for determination by correcting the open/close position detected by the position detection unit by a predetermined amount in a direction in which the open/close body is opened.

According to the above configuration, whether the opening/closing body is opened or closed is determined by means of the post-correction opening/closing position calculated by correcting the opening/closing position by the predetermined amount in the direction in which the opening/closing body is opened. Therefore, it is possible to prevent the user from not being notified that the opening/closing body is open in the case where the opening/closing body is open. As a result, crime prevention can be improved.

The switch body control apparatus may further include a calculation unit configured to execute processing for calculating an amount of overrun, which is a movement amount from output of a drive stop command for the motor by the opening/closing body control apparatus until the opening/closing body stops, and which is also a movement amount of the opening/closing body in a movement direction immediately before the drive of the motor is stopped, by referring to a rotation speed of the motor immediately before the drive of the motor is stopped; and a reflecting unit configured to execute processing for preparing a value reflecting the amount of overrun calculated by the calculating unit in the open/close position detected by the position detecting unit as the open/close position used for correction by the correcting unit. According to the above configuration, even in the case where the overtravel has occurred when the driving of the motor is stopped, it can be appropriately determined whether the opening/closing body is in the opened state or the closed state.

The calculation unit may further perform processing for calculating a return amount, which is a movement amount from when the open/close body control device outputs a drive stop command for the motor until the open/close body stops, and which is also a movement amount of the open/close body in a direction opposite to a movement direction immediately before the drive of the motor is stopped, by referring to an electromotive force of the motor immediately after the drive of the motor is stopped, and the reflection unit may further perform processing for correcting the open/close position used by the correction unit by preparing a value for reflecting the return amount calculated by the calculation unit in the open/close position detected by the position detection unit. According to the above configuration, even in a case where the return amount has been generated for the open/close position when the driving of the motor is stopped, it is possible to appropriately determine whether the open/close body is in the open state or the closed state.

The determination unit may perform processing for determining whether the opening/closing body is open or closed by comparing the post-correction opening/closing position calculated by the correction unit with a determination threshold value as a reference for determining whether the opening/closing body is open or closed.

According to the above-described configuration, the post-correction open/close position calculated by correcting the open/close position by the predetermined amount in the direction in which the open/close body opens is compared with the determination threshold value that is the reference for determining whether the open/close body is in the open state or the closed state. Therefore, it is possible to prevent the user from not being notified that the opening/closing body is open in the case where the opening/closing body is open.

A vehicle according to an aspect of the present invention may include an opening/closing body control device, a motor, and an opening/closing body.

An opening/closing body control method according to an aspect of the present invention is an opening/closing body control method for opening and closing an opening/closing body by driving a motor, and includes the steps of: a position detection step of performing a process for detecting an open/close position of the open/close body; a determination step of performing a process for determining whether the opening/closing body is opened or closed; a notification step of executing processing for notifying a user that the opening/closing body is open in a case where it is determined in the determination step that the opening/closing body is open; and a correction step of performing processing for calculating a corrected open/close position used for determination in the determination step by correcting the open/close position detected in the position detection step by a predetermined amount in a direction in which the open/close body is opened.

The recording medium storing an opening/closing body control program according to an aspect of the present invention, the opening/closing body control program being an opening/closing body control program for causing a computer to function as an opening/closing body control means, the opening/closing body control program may be an opening/closing body control program for causing a computer to function as a position detection unit, a determination unit, a notification unit, and a correction unit when executed by the computer.

According to an aspect of the present invention, it may be prevented that the user is not notified that the opening/closing body is opened in a case where the opening/closing body is opened, and crime prevention may be improved.

Drawings

Fig. 1 is a block diagram illustrating the configuration of a vehicle according to a first embodiment of the invention.

Fig. 2 is a view illustrating a window glass of the vehicle shown in fig. 1.

Fig. 3 is a diagram illustrating an open/close position of a window glass of the vehicle shown in fig. 1.

Fig. 4 is a diagram illustrating a positional deviation of the open/close position of the window glass of the vehicle shown in fig. 1.

Fig. 5 is a flowchart illustrating a processing procedure of the PW control apparatus of the vehicle shown in fig. 1.

Detailed Description

[ first embodiment ]

(construction of vehicle 100)

The configuration of the vehicle 100 will be described with reference to fig. 1 to 3. Fig. 1 is a block diagram illustrating the configuration of a vehicle 100 according to a first embodiment of the invention. Fig. 2 is a diagram illustrating the window glass 73 of the vehicle 100 shown in fig. 1. Fig. 3 is a diagram illustrating the open/close position of the window glass 73 of the vehicle 100 shown in fig. 1.

As shown in fig. 1, the vehicle 100 is provided with a PW control device 1, operation switches 60, 61, a motor 70, an opening/closing mechanism 71, and a window glass 73. The PW control device 1 is an example of an "opening/closing body control device" according to an aspect of the present invention. The window glass 73 is an example of an "opening/closing body" according to an aspect of the present invention. In the example of fig. 1, a window 72 of a vehicle 100 is provided with a window glass 73.

The PW control device 1 operates the opening/closing mechanism 71 by driving the motor 70. The open/close position of the window glass 73 can be changed by the operation of the open/close mechanism 71. In this way, the PW control device 1 can open and close the opening/closing body by driving the motor 70. The motor 70 may be of a known type. Hereinafter, the current flowing through the motor 70 is referred to as a motor current (I). The PW control device 1 is provided with a switch input circuit 10, a control unit 20, a motor drive unit 30, a motor current detection unit 40, and a communication unit 50.

The operation switch 60 is an example of an input device that receives a user operation for opening and closing the window 72. In other words, the operation switch 60 is an example of an input device that receives a user operation for moving the window glass 73 up and down. The operation switch 60 generates an operation signal in accordance with an operation by a user, and supplies the operation signal to the switch input circuit 10. For example, the operation switch 60 is provided near a driver seat of the vehicle 100.

The switch input circuit 10 is provided so as to correspond one-to-one to the operation switches 60. The switch input circuit 10 and the operation switch 60 may each be single or plural. The switch input circuit 10 supplies the operation signal supplied from the operation switch 60 to the control unit 20. In this case, the window 72 may be opened/closed by a manual operation. In the case of opening/closing the window 72 by an automatic operation, the control unit 20 may generate an operation signal.

The operation switches provided in the vehicle 100 and not the operation switch 60 are collectively referred to as operation switches 61. For example, the operation switches 61 include (i) an operation switch provided near a passenger seat of the vehicle 100; and (ii) an operation switch provided near a rear seat of the vehicle 100. The operation switch 61 supplies an operation signal corresponding to a user operation to the control unit 20 via a switch input circuit (not shown) corresponding one-to-one to the operation switch 61.

The communication unit 50 transmits information indicating that the window glass 73 is opened to the external device 80 based on the notification instruction from the control unit 20. The external device 80 notifies the user that the window glass 73 is opened based on the communication from the communication unit 50. Although the external device 80 is a portable information terminal such as a smartphone, the external device 80 is not particularly limited as long as the external device 80 can communicate with the PW control device 1 and notify the user that the window glass 73 is open. Although communication between the communication unit 50 and the external device 80 is performed by, for example, bluetooth (registered trademark), the communication may be performed by wireless communication via the internet such as Wi-Fi (registered trademark).

A control unit 20 including a Central Processing Unit (CPU), a Random Access Memory (RAM), a Read Only Memory (ROM), and the like controls each component according to information processing. The control unit 20 functions as a motor control unit that controls the motor 70. Specifically, the control unit 20 supplies a control signal corresponding to the operation signal to the motor drive unit 30. The control signal is a signal for controlling the motor 70 via the motor drive unit 30. Each part of the control unit 20 will be described later.

The motor driving unit 30 receives the control signal provided from the control unit 20 and generates a driving signal for driving the motor 70. The driving signal is also referred to as an operation instruction signal. The motor drive unit 30 drives the motor 70 by supplying a drive signal to the motor 70. The motor drive unit 30 includes a circuit (drive circuit) that rotates the motor 70 in a desired rotational direction.

The motor current detection unit 40 detects a motor current (I). The motor current detection unit 40 may be a known current sensor. The control unit 20 is capable of performing feedback control (current feedback control) of the motor 70 based on the motor current (I) detected by the motor current detection unit 40.

The opening/closing mechanism 71 is a mechanical element interposed between the motor 70 and the window glass 73. The opening/closing mechanism 71 is, for example, an adjuster that changes the opening/closing position of the window glass 73. In the case where the motor 70 is rotated forward (e.g., clockwise), the opening/closing mechanism 71 may be driven so that the window glass 73 is raised.

In the case where the motor 70 rotates backward (e.g., counterclockwise), the opening/closing mechanism 71 may be driven so that the window glass 73 is lowered. The opening/closing mechanism 71 may be incorporated in the motor 70. In addition, the opening/closing mechanism 71 may be omitted depending on the mechanical configuration of the vehicle. In this case, the motor 70 may be mechanically connected to the window glass 73.

(configuration of control Unit 20)

The control unit 20 is provided with a drive control unit 21, a position detection unit 22, a calculation unit 23, a reflection unit 24, a correction unit 25, a determination unit 26, and a notification unit 27. The drive control unit 21 supplies a control signal corresponding to the operation signal to the motor drive unit 30. The position detection unit 22 detects the position of the window glass 73 in an opening/closing direction (such as an up/down direction). For convenience, the position of the window glass 73 in the opening/closing direction will also be referred to as the opening/closing position of the window glass 73 (or simply, the opening/closing position).

The position detection unit 22 extracts a ripple component from the motor current (I) detected by the motor current detection unit 40 and replaces the extracted ripple component with a pulse signal. The position detection unit 22 changes the numerical value indicating the open/close position of the window glass 73 for each pulse signal with reference to the fully-closed position of "100" shown in fig. 2. For example, the numeral "100" at the fully-closed position is a numerical value indicating the open/close position of the window glass 73.

The fully closed position of "100" represents a state in which the window glass 73 is fully closed, that is, a state in which the upper end of the window glass 73 is located at the upper end of the window 72. The fully open position of "1000" represents a state in which the window glass 73 is fully opened, that is, a state in which the upper end of the window glass 73 is at the lower end of the window 72. Here, the downward direction is defined as a positive direction and the upward direction is defined as a negative direction.

The position detection unit 22 performs subtraction on the numerical value indicating the open/close position of the window glass 73 for each pulse signal in the case where the window glass 73 moves upward, and performs addition on the numerical value indicating the open/close position of the window glass 73 for each pulse signal in the case where the window glass 73 moves downward. In this way, the position detection unit 22 performs processing for detecting the open/close position of the window glass 73.

In the case where the ripple component cannot be extracted by the method of obtaining the open/close position of the window glass 73 by extracting the ripple component, the open/close position of the window glass 73 cannot be accurately obtained, and a positional deviation may occur. Specifically, a positional deviation (hereinafter, referred to as a first positional deviation) is generated between the open/close position at the time point when the drive control unit 21 outputs the drive stop command for the motor 70 and the open/close position at the time point when the window glass 73 is actually stopped. The first positional deviation occurs when a situation in which the ripple component cannot be extracted has occurred. At the timing at which the motor current (I) cannot be observed, a case occurs in which the ripple component cannot be extracted.

When the first positional deviation is accumulated, the vehicle 100 may not accurately recognize the open/close position of the window glass 73. Therefore, the amount of the first position deviation caused by each operation for moving the window glass 73 upward/downward is statistically calculated, and the reflection processing by the reflection unit 24 is performed, so that the vehicle 100 can accurately recognize the open/close position of the window glass 73. This will be described in detail below.

The calculation unit 23 refers to the rotation speed of the motor 70 immediately before the drive of the motor 70 is stopped. The rotation speed is the rotation speed of the motor 70 immediately before the drive control unit 21 outputs the drive stop command for the motor 70 to the motor drive unit 30 and the rotation speed of the motor 70 supplied to the motor drive unit 30 by the drive control unit 21.

The calculation unit 23 performs processing for calculating an over travel amount (over travel amount) by referring to the rotation speed of the motor 70 immediately before the drive of the motor 70 is stopped. As shown in fig. 3, the amount of overrun is a moving amount from when the drive control unit 21 outputs a drive stop command for the motor 70 until the window glass 73 is stopped, and is a moving amount of the window glass 73 in a moving direction immediately before the drive of the motor 70 is stopped. In the case of fig. 3, the moving direction of the window glass 73 immediately before the drive of the motor 70 is stopped is the upward direction.

In addition, the calculation unit 23 performs processing for calculating the return amount by referring to the electromotive force of the motor 70 immediately after the drive of the motor 70 is stopped. The return amount is a movement amount from when the drive control unit 21 outputs a drive stop command for the motor 70 until the window glass 73 is stopped, and is a movement amount of the window glass 73 in a direction opposite to the movement direction immediately before the drive of the motor 70 is stopped. The return amount is generated by the motor 70 rotating in the reverse direction due to the rigidity of the door of the vehicle 100 provided with the window 72 in the case where the operation switches 60 and 61 are closed and the upper end of the window glass 73 is located at the upper end or the lower end of the window 72.

Here, the parameter is statistically calculated in advance from the result of detecting the open/close position of the window glass 73 in advance by means of the sensor for detecting the open/close position of the window glass 73, so that the overrun amount and the return amount can be calculated by the calculation unit 23. The sensor is used to detect the open/close position of the window glass 73 in advance, and is not provided for the vehicle 100.

Examples of the parameters calculated in advance include an amount of overrun for the rotational speed of the motor 70 immediately before the drive of the motor 70 is stopped and an amount of return for the electromotive force of the motor 70 immediately after the drive of the motor 70 is stopped. What is represented by means of the parameters are an approximation line indicating an amount of overrun with respect to the rotational speed of the motor 70 immediately before the drive stop of the motor 70 and an approximation line indicating an amount of return with respect to the electromotive force of the motor 70 immediately after the drive stop of the motor 70. The calculation unit 23 calculates the amount of overrun and the amount of return by referring to the approximate line.

In addition, the calculation unit 23 calculates the amount of overrun and the amount of return by referring to the approximate line, for example, as described below. (i) The amount of overrun in the case where the window glass 73 is stopped during upward movement of the window glass 73 is "15"; and (ii) the amount of overrun in the case where the window glass 73 is stopped during the downward movement of the window glass 73 is "20". In addition, (iii) the return amount in the case where the window glass 73 is moved upward with the upper end of the window glass 73 at the upper end of the window 72 is "25"; and (iv) the return amount is "30" in the case where the window glass 73 moves downward and the upper end of the window glass 73 is at the lower end of the window 72.

The amount of overrun in the case where the window glass 73 is stopped during the downward movement of the window glass 73 is larger than the amount of overrun in the case where the window glass 73 is stopped during the upward movement of the window glass 73. In addition, the amount of return in the case where the window glass 73 moves downward with the upper end of the window glass 73 at the lower end of the window 72 is larger than the amount of return in the case where the window glass 73 moves upward with the upper end of the window glass 73 at the upper end of the window 72.

The calculation unit 23 calculates the maximum positional deviation amount as the accumulation result of the over travel amount and the return amount according to the opening/closing operation of the window glass 73. Here, when the window glass 73 has reached the upper end of the window 72, the calculation unit 23 sets the maximum positional deviation amount to "0". The maximum positional deviation amount is an absolute value. An example of calculation of the maximum positional deviation amount will be described below.

For example, it is conceivable that the window glass 73 has been stopped when the window glass 73 has reached the upper end of the window 72, that the process for stopping the window glass 73 during the downward movement of the window glass 73 has been performed twice, and that the process for stopping the window glass 73 during the upward movement of the window glass 73 has been performed once. In this case, the maximum positional deviation amount is 80(═ 0+25+20 × 2+ 15).

The reflection unit 24 performs such processing: a value in which the maximum positional deviation amount calculated by the calculation unit 23 is reflected in the open/close position detected by the position detection unit 22 is prepared as the open/close position used for correction by the correction unit 25. The maximum position offset includes at least one of an amount of over travel and an amount of return. As a result, even in the case where at least one of the overrun amount and the return amount has been generated when the driving of the motor 70 is stopped, it is possible to appropriately determine whether the opening/closing body is in the opened state or the closed state.

For example, the reflection unit 24 reflects the maximum positional deviation amount of "80" in the open/close position of "150" detected by the position detection unit 22. In this case, the value in which the maximum position deviation amount of "80" is reflected in the open/close position of "150" by the reflection unit 24 is 230(═ 150+ 80).

In addition, as shown in fig. 3, the open/close position at the time point when the drive control unit 21 outputs the drive stop command for the motor 70 is "300". When the drive stop command is output while advancing from the fully open position of "1000" to the fully closed position of "100", the window glass 73 is moved upward by the motor 70 that is inertially rotated due to the over travel. Assume that the actual amount of over travel (first position deviation) is "150", and the actual open/close position after the occurrence of over travel is "150". In other words, the actual open/close position a of the window glass 73 is "150".

However, even after the reflection processing by the reflection unit 24 is performed, a positional deviation (hereinafter referred to as a second positional deviation) may occur between the actual open/close position of the window glass 73 and the open/close position of the window glass 73 recognized by the vehicle 100. The second positional deviation is caused by the reflection processing by the reflection unit 24.

The maximum positional deviation amount calculated by the calculation unit 23 is estimated according to the condition at the time of occurrence of each event, and therefore, the maximum positional deviation amount calculated by the calculation unit 23 does not completely match the actual positional deviation amount. An erroneous determination may be made when determining whether the window glass 73 is opened or closed in a state where the second positional deviation is likely to occur.

When the result of the maximum positional deviation amount calculation by the calculation unit 23 is "160", the reflection unit 24 reflects the maximum positional deviation amount of "160" in the open/close position of "300". As a result, the open/close position B of the window glass 73 recognized by the vehicle 100 is "140". A second positional deviation of "10" occurs between the actual open/close position of "150" of the window glass 73 and the open/close position B of "140" of the window glass 73 recognized by the vehicle 100. Therefore, the decrement for the open/close position of "300" is excessively large.

In addition, when the result of the maximum positional deviation amount calculation by the calculation means 23 is "145", the reflection means 24 reflects the maximum positional deviation amount of "145" in the open/close position of "300". As a result, the open/close position C of the window glass 73 recognized by the vehicle 100 is "155". A second positional deviation of "5" occurs between the actual open/close position of "150" of the window glass 73 and the open/close position C of "155" of the window glass 73 recognized by the vehicle 100. Therefore, the decrement for the open/close position of "300" is too small.

At this point, the correction unit 25 performs the processing of: a post-correction open/close position used for determination by the calculation determination unit 26 by correcting the open/close position detected by the position detection unit 22 by a predetermined amount in the direction in which the window glass 73 is opened. This will be described in detail below. Although the open/close position detected by the position detection unit 22 is preferably a value in which the maximum positional deviation amount is reflected by the reflection unit 24, the open/close position detected by the position detection unit 22 may be a value in which the maximum positional deviation amount is not reflected by the reflection unit 24.

In addition, the determination unit 26 performs such processing: for determining whether the window glass 73 is in the open state or the closed state by comparing the post-correction open/close position calculated by the correction unit 25 with a determination threshold value as a reference for determining whether the window glass 73 is in the open state or the closed state. Therefore, it is possible to prevent the user from not being notified that the window glass 73 is open in the case where the window glass 73 is open. Here, it is assumed that the determination threshold is 200. The determination threshold is a value calculated from, for example, the size of a seal groove (run channel) that the window 72 of the vehicle 100 has. The processing of the determination unit 26 will be described in detail below.

The determination unit 26 performs processing for determining that the window glass 73 is open in a case where the post-correction open/close position exceeds the determination threshold value of "200", and performs processing for determining that the window glass 73 is closed in a case where the post-correction open/close position does not exceed the determination threshold value of "200". Fig. 4 is a diagram illustrating a positional deviation of the open/close position of the window glass 73 of the vehicle 100 shown in fig. 1. In the description of fig. 4, the positional deviation is the second positional deviation. Here, the open/close position of the window glass 73 after the reflection processing by the reflection unit 24 is executed is referred to as a post-reflection open/close position.

As shown in fig. 4, in the case where the actual opening/closing position of the window glass 73 is the opening/closing position D, the actual opening/closing position D of the window glass 73 is equal to or less than the determination threshold value of "200", and therefore the determination that the window glass 73 is closed is a correct determination. Here, it is assumed that a positional deviation (+ positional deviation) in the direction in which the window glass 73 is opened has occurred.

At this time, the reflected rear opening/closing position D1 exceeds the determination threshold value of "200". Therefore, in a case where it is determined whether the window glass 73 is opened or closed based on the determination threshold value of "200" without performing the processing of the correction unit 25, it is determined that the window glass 73 is opened. As a result, the determination is an erroneous determination, which is, however, in this case, a determination that the window glass 73 is open, and thus there is no problem in crime prevention.

It is assumed that a positional deviation (-positional deviation) in the direction in which the window glass 73 is closed has occurred in the case where the actual opening/closing position of the window glass 73 is the opening/closing position D. At this time, the post-reflection open/close position D2 is equal to or less than the determination threshold value of "200". Therefore, in the case where it is determined whether the window glass 73 is opened or closed based on the determination threshold value of "200" without performing the processing of the correction unit 25, it is determined that the window glass 73 is closed. As a result, the determination is correct.

In the case where the actual opening/closing position of the window glass 73 is the opening/closing position E, the actual opening/closing position E of the window glass 73 exceeds the determination threshold value of "200", and therefore, the determination that the window glass 73 is opened is a correct determination. Here, it is assumed that a positional deviation (+ positional deviation) in the direction in which the window glass 73 is opened has occurred.

At this time, the reflected rear open/close position E1 exceeds the determination threshold of "200". Therefore, in a case where it is determined whether the window glass 73 is opened or closed based on the determination threshold value of "200" without performing the processing of the correction unit 25, it is determined that the window glass 73 is opened. As a result, the determination is correct.

It is assumed that a positional deviation (-positional deviation) in the direction in which the window glass 73 is closed has occurred in the case where the actual opening/closing position of the window glass 73 is the opening/closing position E. At this time, the post-reflection open/close position E2 is equal to or less than the determination threshold value of "200". Therefore, in the case where it is determined whether the window glass 73 is opened or closed based on the determination threshold value of "200" without performing the processing of the correction unit 25, it is determined that the window glass 73 is closed. As a result, the determination is an erroneous determination that the window glass 73 is closed, and therefore a problem arises in crime prevention.

In the case where the actual opening/closing position of the window glass 73 is the opening/closing position F, the actual opening/closing position F of the window glass 73 exceeds the determination threshold value of "200", and therefore the determination that the window glass 73 is opened is a correct determination. Here, when the positional deviation (+ positional deviation) in the direction in which the window glass 73 is opened has occurred, the reflected rear opening/closing position F1 exceeds the determination threshold value of "200".

In addition, when the positional deviation (-positional deviation) in the direction in which the window glass 73 is closed has occurred, the reflected rear opening/closing position F2 exceeds the determination threshold value of "200". Therefore, in the case where it is determined whether the window glass 73 is opened or closed based on the determination threshold value of "200" without performing the processing of the correction unit 25, it is determined that the window glass 73 is opened at both the reflected rear opening/closing position F1 and the reflected rear opening/closing position F2. As a result, these determinations are correct.

In the case where the actual opening/closing position of the window glass 73 is the opening/closing position G, the actual opening/closing position G of the window glass 73 is equal to or less than the determination threshold value of "200", and therefore the determination that the window glass 73 is closed is a correct determination. Here, when the positional deviation (+ positional deviation) in the direction in which the window glass 73 is opened has occurred, the reflected rear opening/closing position G1 is equal to or less than the determination threshold value of "200".

In addition, when a positional deviation (-positional deviation) in the direction in which the window glass 73 is closed has occurred, the reflected rear opening/closing position G2 is equal to or less than a determination threshold value of "200". Therefore, in the case where it is determined whether the window glass 73 is opened or closed based on the determination threshold value of "200" without performing the processing of the correction unit 25, it is determined that the window glass 73 is closed at both the post-reflection open/close position G1 and the post-reflection open/close position G2. As a result, these determinations are correct.

At this point, in the case where the actual opening/closing position of the window glass 73 is the opening/closing position E, the processing of the correction unit 25 is performed to prevent a problem related to crime prevention, such as a problem when a positional deviation (-positional deviation) in the direction in which the window glass 73 is closed occurs. Specifically, in the case where the rear opening/closing position E2 is reflected, it is determined that the window glass 73 is closed and the determination is an erroneous determination. In addition, the erroneous determination is a determination as to whether the window glass 73 is closed, and therefore a problem arises in crime prevention.

The correction unit 25 performs processing for calculating a corrected open/close position used for determination by the determination unit 26 by correcting the reflected open/close position E2 by a predetermined amount in the direction in which the window glass 73 is opened. As a result, the corrected open/close position exceeds the determination threshold value of "200", and the determination unit 26 determines that the window glass 73 is open. Therefore, it is possible to prevent erroneous determination from being caused, a correct determination can be made, and therefore, it is possible to prevent problems relating to crime prevention.

In this way, the determination unit 26 determines that the window glass 73 is closed only in the case where the window glass 73 is reliably closed. As a result, it is possible to prevent the determination that the window glass 73 is closed from being made, and the user is not notified that the window glass 73 is open at least in the case where the window glass 73 is open.

In the case where the determination unit 26 determines that the window glass 73 is open, the notification unit 27 performs processing for notifying the user that the window glass 73 is open. Specifically, the notification unit 27 receives the determination result that the window glass 73 is opened from the determination unit 26, and transmits the received determination result to the external device 80 via the communication unit 50. The external device 80 notifies the user that the window glass 73 is open according to the received determination result.

(treatment of the PW control device 1)

Next, the process (open/close body control method) of the PW control device 1 will be described with reference to fig. 5. Fig. 5 is a flowchart illustrating a processing procedure of the PW control device 1 of the vehicle 100 shown in fig. 1. First, the position detection unit 22 performs processing for detecting the open/close position of the window glass 73 (S1: position detection step). The position detection unit 22 supplies the detected open/close position to the reflection unit 24.

After S1, the calculation unit 23 performs processing for calculating the amount of overrun by referring to the rotation speed of the motor 70 immediately before the drive stop of the motor 70, and performs processing for calculating the amount of return by referring to the electromotive force of the motor 70 immediately after the drive stop of the motor 70 (S2).

In addition, the calculation unit 23 calculates the maximum position deviation amount as the accumulation result by accumulating the overrun amount and the return amount according to the opening/closing operation of the window glass 73 (S3). The calculation unit 23 supplies the calculated maximum positional deviation amount to the reflection unit 24. The reflection unit 24 executes processing for preparing a value reflecting the maximum position deviation amount calculated by the calculation unit 23 in the open/close position detected by the position detection unit 22 as the open/close position used for correction by the correction unit 25 (S4).

The reflection unit 24 supplies the prepared value to the correction unit 25. The correction unit 25 performs processing for calculating a corrected open/close position used for the determination by the determination unit 26 by correcting the value prepared by the reflection unit 24 by a predetermined amount in the direction in which the window glass 73 is opened (S5: correction step). The correction unit 25 supplies the calculated corrected open/close position to the determination unit 26.

The determination unit 26 performs processing for determining whether the window glass 73 is open or closed by comparing the post-correction open/close position calculated by the correction unit 25 with a determination threshold value that is a reference for determining whether the window glass 73 is open or closed (S6: determination step). When the window glass 73 is closed (no in S6), the processing of the PW control device 1 is completed.

In the case where the window glass 73 is opened (yes in S6), the notification unit 27 performs a process for notifying the user that the window glass 73 is opened (S7: notification step). After S7, the processing of the PW control device 1 is completed.

As described above, whether the window glass 73 is opened or closed is determined by the post-correction open/close position calculated by correcting the open/close position by a predetermined amount in the direction in which the window glass 73 is opened. Therefore, it is possible to prevent the user from not being notified that the window glass 73 is open in the case where the window glass 73 is open.

As a result, crime prevention can be improved.

[ second embodiment ]

The second embodiment will be described below. The members that are functionally the same as those described in the first embodiment are denoted by the same reference numerals, and the description thereof will not be repeated below. The "opening/closing body" according to an aspect of the present invention is not limited to the "window glass". Therefore, the "opening/closing body control device" according to an aspect of the present invention is not limited to the "PW control device". The opening/closing body may be any object that can be opened/closed by a driven motor. For example, the opening/closing body may be a sunroof or a sliding door of the vehicle 100. Therefore, the "opening/closing direction" according to an aspect of the present invention is not limited to the upward/downward direction, and may be, for example, a horizontal direction.

Further, the features described in the first embodiment may be applied to structures other than the vehicle 100. The structure may be any structure in which the inner space and the outer space are separable by, for example, an opening/closing body. Examples of such structures include buildings such as houses and buildings. Therefore, the opening/closing body is not limited to the member in the vehicle 100. For example, the opening/closing body may be a window glass or an automatic door (such as a glass door) provided in a building. Thus, the opening/closing body control device may be a PW control device provided in a building.

[ implementation example based on software ]

The control block of the vehicle 100, particularly the control unit 20, may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like or by software.

In the latter case, the vehicle 100 is equipped with a computer that executes commands of a program as software that realizes each function. The computer is provided with, for example, one or more processors and a computer-readable recording medium storing the program. The object of the present invention is achieved by a processor reading a program from a recording medium and executing the program in a computer. A Central Processing Unit (CPU) or the like may be used as the processor. In addition to "non-transitory tangible media" such as Read Only Memory (ROM), magnetic tape, magnetic disks, cards, semiconductor memories, programmable logic circuits, and the like can also be used as the recording medium. In addition, a Random Access Memory (RAM) for deploying the program may be further provided. In addition, the program may be provided to the computer via any transmission medium capable of transmitting the program (such as a communication network and a broadcast wave). An aspect of the present invention can also be implemented in the form of a data signal embedded in a carrier wave in the case where the program is embodied by electronic transmission.

[ appendix ]

The present invention is not limited to the above-described embodiments, various modifications are possible within the scope of the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments respectively are also included in the technical scope of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种尾门光影总成控制方法与装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!