The present invention relates to a drive recorder, a data recording method, and a non-transitory program recording medium.
In recent years, drive recorders for capturing and recording images around a vehicle have been popularly used. A drive recorder is triggered by a value detected by an acceleration sensor being in excess of a predetermined threshold value to record various data acquired for several seconds before and after the detection of a trigger as event data (see, for example, JP2019-212110A).
In the case of rear drive recorders for capturing and recording images behind a vehicle, the drive recorder is mounted on the back door of the vehicle in some cases. In this case, event data may be recorded in response to an impact occurring when the back door is opened or closed. This may result in shortage of the capacity to record event data in response to an impact such as an accident and/or in overwriting of event data recorded in the past.
The present disclosure addresses the aforementioned issue, and a purpose thereof is to provide a technology for preventing unnecessary event data from being recorded when the back door is opened or closed.
An embodiment relates to a drive recorder mounted on a back door of a vehicle, including: an abnormality detection unit that detects an abnormality related to the vehicle; an open or closed door detection unit that detects that the back door is open or closed; an event detection unit that detects an event based on a result of detection by the abnormality detection unit and a result of detection by the open or closed door detection unit; and a recording control unit that records event data in response to a detection of the event.
Another embodiment relates to a data recording method. The method includes: detecting an abnormality related to a vehicle; detecting that a back door of the vehicle is open or closed; detecting an event based on a result of detection of an abnormality and a result of detection of the back door being open or closed; and recording event data in response to a detection of the event.
Optional combinations of the aforementioned constituting elements, and mutual substitution of constituting elements and implementations of the present invention between methods, apparatuses, systems, etc. may also be practiced as additional modes of the present disclosure.
Embodiments will now be described by way of examples only, with reference to the accompanying drawings which are meant to be exemplary, not limiting and wherein like elements are numbered alike in several Figures in which:
The invention will now be described by reference to the preferred embodiments. This does not intend to limit the scope of the present invention, but to exemplify the invention.
A description will be given of embodiments of the present invention with reference to the drawings. Specific numerical values are shown in the embodiments by way of example only to facilitate the understanding of the invention and should not be construed as limiting the scope of the invention unless specifically indicated as such. Elements not directly relevant to the invention are omitted from the illustration.
The drive recorder 10 is provided with, for example, an acceleration sensor as a sensor for detecting an abnormality in the vehicle 50. When the acceleration sensor detects an impact, it is determined that a certain abnormality has occurred in the vehicle 50, and an image capturing a scene behind the vehicle is recorded as event data. The drive recorder 10 is fixed to the back door 52 and so is displaced with respect to a vehicle main body 58 along with the back door 52 when the back door 52 is open or closed. When one attempts to slam shut the back door 52, therefore, an impact occurring when the back door 52 is closed may be detected as an abnormality in the vehicle 50, and the drive recorder 10 may record event data. This is addressed by this embodiment by detecting that the back door 52 is open or closed and preventing event data from being recorded in response to an impact produced when the back door 52 is open or closed.
The drive recorder 10 comprises a camera 12, a sensor 14, and a controller 16. The controller 16 comprises an image acquisition unit 18, a detected value acquisition unit 20, an abnormality detection unit 22, an open or closed door detection unit 24, an event detection unit 26, and a recording control unit 28. The drive recorder 10 may comprises a setting storage unit 30.
The camera 12 has, for example, an imaging element such as a CCD sensor or a CMOS sensor and has an optical element such as a lens for forming an image on the imaging element. The imaging direction of the camera 12 is adjusted such that the camera 12 captures an image of a scene directly behind the vehicle when the back door 52 is in the closed state. In other words, the−y direction in
The sensor 14 includes an acceleration sensor for detecting the acceleration applied to the drive recorder 10. The acceleration sensor is configured to be able to detect the acceleration in three axes, namely, the X axis, the Y axis, and the Z axis. The axes of detection by the acceleration sensor (X axis, Y axis, and Z axis) define a coordinate system with reference to the drive recorder 10, which coordinate system differs from the coordinate system shown in
The method of defining the coordinate system of the acceleration sensor is arbitrary. For example, the coordinate system may be defined with reference to the imaging direction of the camera 12 such that the imaging direction of the camera 12 is the Y axis, the vertical direction in the angular field of the camera 12 is the Z axis, and the transversal direction in the angular field of the camera 12 is the X axis. When the coordinate system is defined as described above, the coordinate system with reference to the vehicle 50 and the coordinate system with reference to the acceleration sensor match.
The sensor 14 may include a sensor different from the acceleration sensor described above. The sensor 14 may include a gyro sensor, a door sensor, a vehicle speed sensor, a handle steering angle sensor, a fuel sensor, a temperature sensor, a microphone, a radar sensor, Light Detection and Ranging (LiDAR) sensor, a location information sensor (e.g., GNSS; Global Navigation Satellite System), etc. The drive recorder 10 may acquire information related to the vehicle 50 via a Controller Area Network (CAN), etc. as vehicle information. For example, the drive recorder 10 may acquire information such as an open or closed door, vehicle speed, steering angle, accelerator position, brake position, and location information of the vehicle 50.
The image acquisition unit 18 acquires image data captured by the camera 12. The detected value acquisition unit 20 acquires at least one of the detected values detected by the sensor 14. The detected value acquisition unit 20 acquires, for example, values of acceleration in the X axis, Y axis, and Z axis detected by the acceleration sensor included in the sensor 14.
The abnormality detection unit 22 detects an abnormality related to the vehicle 50 based on at least one detected value acquired by the detected value acquisition unit 20. The abnormality detection unit 22 detects whether an impact is applied to the drive recorder 10 based on, for example, the value of acceleration acquired by the detected value acquisition unit 20. For example, the abnormality detection unit 22 detects an impact when the peak value of acceleration is equal to or greater than a predetermined threshold value, when the time integrated value of acceleration is equal to or greater than a predetermined threshold value, when the duration of time in which the acceleration remains equal to or greater than a predetermined value is equal to or greater than a predetermined threshold value, etc.
The abnormality detection unit 22 may not be bounded by the detection of an impact based on the acceleration and may detect an abnormality of the vehicle 50 based on other information. The impact detection unit 22 may detect an approach of another vehicle or a collision based on an image from the camera 12 acquired by the image acquisition unit 18 by using an image recognition technology. The impact detection unit 22 may detect an abnormal sound or a collision sound based on the detected value acquired by the detected value acquisition unit 20 by using a sound analysis technology. The impact detection unit 22 may detect abnormal traveling of the vehicle 50 or abnormal heat dissipation in respective parts of the vehicle 50 based on the vehicle information acquired via the CAN, etc.
The open or closed door detection unit 24 detects that the back door 52, in which the drive recorder 10 is mounted, is open or closed, based on at least one detected value acquired by the detected value acquisition unit 20. The open or closed door detection unit 24 determines whether the back door 52 is in a stationary state or a dynamic state based on the detected value of the acceleration sensor and, when a stationary state is identified, detects the attitude of the back door 52. The open or closed door detection unit 24 determines whether the back door 52 is in the open state or the closed state based on the result of detection of the attitude of the back door 52.
“Stationary state” refers to a state in which the vehicle 50 is not accelerating or decelerating and the position of the back door 52 relative to the vehicle main body 58 remains unchanged. “Dynamic state” refers to a state other than the stationary state and includes a state in which the vehicle 50 is accelerating or decelerating, a state in which the vehicle 50 is at a stop and the position of the back door 52 relative to the vehicle main body 58 is changing, i.e., the back door 52 is being opened or closed, etc.
When the back door 52 is in a stationary state, the acceleration sensor included in the sensor 14 is also stationary, and so the acceleration sensor detects only the gravitational acceleration. Therefore, it can be determined that the back door 52 is in a stationary state if the detected value of acceleration is comprised only of the gravitational acceleration. The open or closed door detection unit 24 determines that the back door 52 is in a stationary state when, for example, the square-root of sum of squares of the acceleration ax, ay, and az in the three axes of the acceleration sensor (i.e., √(ax2 +ay2+az2)) matches the gravitation acceleration (i.e., 1 [G]). The open or closed door detection unit 24 may determine that the back door 52 is in a stationary state when the difference between the square-root of sum of squares of the acceleration in the three axes of the acceleration sensor and the gravitational acceleration is smaller than a predetermined value (e.g., smaller than 0.05 [G]). When the difference between the square-root of sum of squares of the acceleration in the three axes of the acceleration sensor and the gravitational acceleration is equal to or greater than the predetermined value, on the other hand, the open or closed door detection unit 24 determines that the back door 52 is in a dynamic state. The open or closed door detection unit 24 may detect a dynamic state in which the back door 52 is activated in the opening or closing (i.e., rotational) direction, based on at least one of the detected values from the sensor 14 detected in the circumferential direction (Y axis) and the radial direction (Z axis) perpendicular to the axis of rotation around which the back door 52 is opened or closed.
When the open or closed door detection unit 24 determines that the back door 52 is in a stationary state, the open or closed door detection unit 24 calculates a value (e.g., the angle θ ) indicating the attitude of the back door 52. The open or closed door detection unit 24 determines that the back door 52 is in the closed state when the angle indicating the attitude of the back door 52 is a predetermined value (e.g., the initial value of 0 degree) predefined for each vehicle or is within a predetermined range (e.g., within ±5 degrees with respect to the initial value). The open or closed door detection unit 24 determines that the back door 52 is in the open state when the angle indicating the attitude of the back door 52 is different from a predetermined value (e.g., the initial value of 0 degree) or exceeds a predetermined range (e.g., within ±5 degrees with respect to the initial value). The open or closed door detection unit 24 may determine that the back door 52 is in the open state only when the angle indicating the attitude of the back door 52 is included in the range of rotation around the hinge 56. When the angle indicating the attitude of the back door 52 is outside the range of rotation around the hinge 56, the open or closed door detection unit 24 may output an error.
The open or closed door detection unit 24 updates “an open state flag” indicating that the back door 52 is in the open state based on the result of detection of the attitude in the stationary state of the back door 52. The open state flag is set to ON when the back door 52 is in a stationary state and in the open state. The open state flag is set to OFF when the back door 52 is in a stationary state and in the closed state.
The middle graph (ii) of
The bottom graph (iii) of
Subsequently, when the back door 52 is placed in a dynamic state during time t1-t2, the attitude of the back door 52 is not detected, and the open state flag is maintained OFF. When the back door 52 is placed in a stationary state and the open state is sensed as a result of detection of the attitude of the back door 52 past time t2, the open state flag is updated to ON. Subsequently, when the back door 52 is placed in a dynamic state during time t3-t4, the attitude of the back door 52 is not detected, and the open state flag is maintained ON. Past time t4, the back door 52 is placed in a stationary state. The open state is sensed as a result of detection of the attitude of the back door 52, and the open state flag is maintained ON and is not updated.
Subsequently, the back door 52 is placed in a dynamic state during time t5-t6. Therefore, the attitude of the back door 52 is not detected, and the open state flag is maintained ON. When the back door 52 is placed in a stationary state and the closed state is sensed as a result of detection of the attitude of the back door 52 past time t6, the open state flag is updated from ON to OFF.
Referring back to
The event detection unit 26 detects an event based on the open state flag maintained by the open or closed door detection unit 24. The event detection unit 26 is configured to detect an event when an abnormality or an impact is detected while the open state flag is OFF and not to detect an event when an abnormality or an impact is detected while the open state flag is ON. For example, when an abnormality or an impact is detected when the back door 52 is closed at time t6 of
The event detection unit 26 may be configured not to detect an event during a period since a point of time when the open state flag is set to OFF, i.e., a point of time when the back door 52 is closed, until a predetermined time elapses. The event detection unit 26 may be configured not to detect an event when the open or closed door detection unit 24 determines that the back door 52 is in a dynamic state and the back door 52 is in a dynamic state in the radial direction and the circumferential direction (e.g., the Y axis and the Z axis) perpendicular to the axis of rotation around which the back door 52 is opened or closed.
When the event detection unit 26 detects an event, the recording control unit 28 records event data in a recording medium. Image data captured by the camera 12 over a predetermined period of time before and after the point of time of detection of the event is recorded as event data. Information on the abnormality or the value of acceleration that has led to the detection of the event may be recorded in the event data. Arbitrary information related to the traveling of the vehicle 50 at the point of time of detection of the event may be recorded.
The recording control unit 28 records the event data in the recording medium 32, assigning an overwrite-disabled attributed to the event data. The recording control unit 28 may record image data obtained when an event is not detected in the recording medium 32, assigning an overwrite-enabled attribute to the event data. The recording control unit 28 may record image data captured on a continuous basis in the first recording region and record the event data in the second recording region of the recording medium 32 different from the first recording region. The second recording region may be a recording region dedicated to the event data. The first recording region and the second recording region may be independent partitions provided in the recording medium in advance or regions marked by a folder or a file name on a file system.
The setting storage unit 30 stores the setting value used by the open or closed door detection unit 24 to detect that the back door 52 is open or closed. The setting storage unit 30 stores the initial value (e.g., the angle el) indicating the attitude of the back door 52 occurring when the back door 52 is in the closed state. The initial value indicating the attitude corresponding to the closed state of the back door 52 is stored in the setting storage unit 30 by mounting the drive recorder 10 on the back door 52 and then performing an initial setting operation while the back door 52 is being closed. For example, the angle θ of the back door 52 is calculated based on the detected value of the sensor 14 detected when the initial setting operation is performed, and the angle is stored in the setting storage unit 30 as the initial value. The setting storage unit 30 may store a value indicating the range of rotation of the back door 52. For example, the upper limit of the range of rotation of the back door 52 may be stored in the setting storage unit 30 by performing the initial setting operation when the back door 52 has sprung to the upper limit.
The recording medium 32 is comprised of a flash memory such as an SD card (registered trademark). The recording medium 32 is used by being inserted in a slot provided in the drive recorder 10 and is configured to be removable from the drive recorder 10. The recording medium 32 may be a non-volatile memory such as a flash memory built in the drive recorder 10. The recording medium 32 may be configured as a magnetic storage apparatus such as a hard disk drive.
The embodiment makes it possible to prevent an event from being detected when an abnormality or an impact occurs as the back door 52 is opened or closed, by detecting that the back door 52 is open or closed in the rear drive recorder 10 mounted on the back door 52. This can prevent event data from being recorded in response to the occurrence of an abnormality or an impact not related to a collision or an accident and can prevent unnecessary event data from being recorded. This can prevent the recording capacity of the recording medium 32 from becoming scarce due to recording of unnecessary event data. It is possible to prevent past event data that should be essentially saved from being overwritten by unnecessary event data. The embodiment also ensures that event data is recorded in response to the occurrence of an abnormality or an impact due to a collision or an accident, by making it possible to detect an event while the back door 52 is being in the closed state.
In this regard, it is detected that the back door 62 is open or closed by detecting a rotary motion that occurs when the back door 62 is opened or closed, based on at least one detected value of the sensor 14. When the back door 62 is opened or closed, the drive recorder 10 makes a circular motion around the hinge 66 as an axis of rotation such that the radius of rotation r is constant. In this case, the direction of movement of the drive recorder 10 is a direction along the Y axis so that the speed v(t) of the rotary motion of the drive recorder 10 is comprises of a component in the Y axis direction. Therefore, the speed v(t) can be calculated by temporally integrating the acceleration ay in the Y axis so that v(t)=∫aYdt. Further, the centrifugal force F of the circular motion is a direction along the X axis so is proportional to the acceleration ax in the X axis so that F=max, where m denotes a mass. Because the centrifugal force F of the circular motion is given by F=mv2/r, by using the speed v(t) and the radius of rotation r, the acceleration ax in the X axis is given by ax=v(t)2/r. Using the relationship v(t)=∫aYdt, the radius of rotation is given by r={∫aYdt}2/ax so that the radius of rotation r can be calculated from the acceleration ax, ay in the X axis and the Y axis. When the radius of rotation r calculated matches the radius of rotation corresponding to the position where the drive recorder 10 is mounted, it is presumed that the drive recorder 10 is making a circular motion associated with an action to open or close the back door 62. The magnitude of the radius of rotation r depends on the position where the drive recorder 10 is mounted and the size of the back door 62 and is about 0.5 m-1.5 m. For this reason, the radius of rotation r can be distinguished with significance level from the radius of rotation of the vehicle 60 running on a curve or an intersection (e.g., equal to or larger than 10 m).
In this embodiment, the open or closed door detection unit 24 detects that the back door 62, on which the drive recorder 10 is mounted, is open or closed, based on the detected value (e.g., the detected value of acceleration) acquired by the detected value acquisition unit 20. The open or closed door detection unit 24 determines whether the back door 62 is in a stationary state or a dynamic state based on the sensor detected value (e.g., the detected value of acceleration). When the back door 62 is in a dynamic state, the open or closed door detection unit 24 calculates the radius of rotation r from the acceleration ax, ay in the X axis and the Y axis. The open or closed door detection unit 24 determines that the back door 62 is in the open state when the radius of rotation r calculated is within a predetermined range. The open or closed door detection unit 24 determines that the back door 62 is not in the open state when the radius of rotation r calculated is outside the predetermined range.
The open or closed door detection unit 24 updates the open state flag based on the result of determination as to whether the back door 62 is in the open state. When the open or closed door detection unit 24 determines that the back door 62 is in the open state based on the radius of rotation r calculated, the open or closed door detection unit 24 sets the open state flag to ON. When the open or closed door detection unit 24 determines that the back door 62 is not in the open state based on the radius of rotation r calculated, the open or closed door detection unit 24 sets the open state flag to OFF. When the back door 62 is in a stationary state, the open or closed door detection unit 24 sets the open state flag to OFF.
The setting storage unit 30 stores the setting value used by the open or closed door detection unit 24 to detect that the back door 62 is open or closed. The setting storage unit 30 stores, for example, the setting value of the radius of rotation r of the drive recorder 10 mounted on the back door 62. The setting value of the radius of rotation r is stored in the setting storage unit 30 by mounting the drive recorder 10 on the back door 62 and then opening and closing the back door 62 in the initial setting operation of the drive recorder 10. For example, the radius of rotation r is calculated based on the detected value of the sensor 14 detected when the initial setting operation is performed and is stored in the setting storage unit 30. The drive recorder 10 may be configured such that the user can directly input a setting value of the radius of rotation r.
The embodiment makes it possible to prevent an event from being detected when an abnormality or an impact occurs as the back door 62 is opened or closed, by detecting that the back door 62 is open or closed in the rear drive recorder 10 mounted on the back door 62 that opens sideways. The embodiment also ensures that event data is recorded in response to the occurrence of an abnormality or an impact due to a collision or an accident, by enabling detection of an event when the back door 62 is not detected to be open or closed.
The invention has been explained with reference to the embodiments described above, but the invention is not limited to the embodiments described above, and appropriate combinations or replacements of the features shown in the examples presented are also encompassed by the present invention.
In the embodiments described above, the drive recorder 10 may be compatible only with the back door 52 that opens vertically or only with the back door 62 that opens sideways. The drive recorder 10 may be compatible with both the back door 52 that opens vertically and the back door 62 that opens sideways. In this case, the setting storage unit 30 may store setting information indicating whether the back door on which the drive recorder 10 is mounted opens vertically or sideways.
In the embodiments described above, the drive recorder 10 may be provided with a function of automatically detecting whether the back door on which the drive recorder 10 is mounted opens vertically or sideways. In other words, the drive recorder 10 may automatically detect the orientation of the axis of rotation of the back door on which the drive recorder 10 is mounted. For example, the open or closed door detection unit 24 may detect that the back door opens vertically (the axis of rotation is the X axis) when the open or closed door detection unit 24 can detect, in the stationary state, that the back door is in the open state. Further, the open or closed door detection unit 24 may detect that the back door opens sideways (the axis of rotation if the Z axis) when the open or closed door detection unit 24 can detect, in a dynamic state, that the back door is open or closed based on the radius of rotation r.
In the embodiments described above, the drive recorder 10 may be available for use as the front drive recorder. In this case, the setting information for causing the drive recorder 10 to function as a front drive recorder may be stored in the setting storage unit 30. When the drive recorder 10 is caused to function as a front drive recorder, the operation of the open or closed door detection unit 24 may be turned off, and the open state flag may be set to OFF continuously. Further, when the drive recorder 10 is mounted on the back door for use, the setting storage unit 30 may store the setting information for causing the drive recorder 10 to function as a rear drive recorder. When the drive recorder 10 is caused to function as a rear drive recorder, the operation of the open or closed door detection unit 24 may be turned on, and ON/OFF of the open state flag may be updated based on the detection of the back door being open or closed.
When the sensor 14 includes a gyro sensor in the embodiments described above, the open or closed door detection unit 24 may determine a dynamic state and a stationary state of the back door 52 or determine the open state and the closed state of the back door 52, based on the angular speed detected by the gyro sensor. When the sensor 14 includes a door sensor, the open or closed door detection unit 24 may determine the open state or the closed state of the back door 52 based on the detected value of the door sensor.
According to the present disclosure, unnecessary event data is prevented from being recorded when the back door is opened or closed.
Number | Date | Country | Kind |
---|---|---|---|
2020-045246 | Mar 2020 | JP | national |
This application is a continuation of application No. PCT/JP2021/001255, filed on Jan. 15, 2021, and claims the benefit of priority from the prior Japanese Patent Application No. 2020-045246, filed on Mar. 16, 2020, the entire content of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2021/001255 | Jan 2021 | US |
Child | 17823540 | US |