Description
VIDEO RECORDING SYSTEM IN VEHICLE
Technical Field
[1] In case a car accident happens in the middle of driving, evidence material showing pre-accident process of driving that leaded to the accident would help to judge who is more responsible for the accident. The invention is about the video recording system that can record pictures of the pre-accident process of driving. Background Art
[2] There already exist several types of recording system in vehicle. Followings are some types of them and disadvantages of each type.
[3] (1) In first type of those, photographing apparatus is linked to a sensor/sensors (e.g. impact sensor) that would detect some unusual driving situation, and when unusualness is detected by the sensor, taking photograph is carried out by the apparatus. The most disadvantageous point of this is that it cannot record the pre-accident process of driving that leaded to the accident and so cannot obtain clear evidence for judging which side is more responsible for the accident.
[4] (2) In second type, video data is continuously recorded on large size recording media such as magnetic tape or HDD, regardless of happening of accident. Dis¬ advantage of this system is that mechanical elements in the recording devices are unstable in driving environment and that the recording system costs high.
[5] (3) In third type known as black box for vehicle, the system monitors various driving data such as speed of the car, braking operation, wheel steering, etc. through various sensors, and records sampled data of those. Disadvantage of this system is that it is extremely hard to install the system in a car and that the system costs high. Disclosure of Invention Technical Problem
[6] The purpose of the invention is to overcome the disadvantages of the existing systems mentioned above. That is, goals of the recording system of the invention to be achieved are the following advantageous points.
[7] (1) When an accident happens in the middle of driving, the recording system of the invention should record the video of pre-accident driving process for predetermined duration.
[8] (2) The recording system of the invention should use low cost recording apparatus that has relatively small memory size.
[9] (3) It should be easy to install the system in a car. That is, the system of the invention should have no additional sensor.
Technical Solution
[10] In the invention, the recording system is linked to the speedometer of the car. Video data from video camera installed in vehicle is written and updated into a temporary memory(RAM) in real-time manner so that the latest video of predetermined duration(T) is maintained in the said temporary memory at all times. And the data in the said temporary memory is dumped into a main memory when speed data from the said speedometer drops to zero or when user(driver) requests to record. Hereby, just after the vehicle stops or user requests to record, the latest video of predetermined duration(T) is recorded into the said main memory.
[11] If an accident happens in the middle of driving, the driver normally stops the car. Or the car would be stopped through a big accident. Because the recording system of the invention records automatically the latest video into the said main memory just after every stops of the car, the video data that has been photographed for duration T just before the stop is recorded in the said main memory. So the system of the invention can acquire the evidence material that shows the pre-accident driving process that leaded to the accident. And, if user wants to record what he has seen in the middle of driving, the system of the invention records the video data that has been photographed for duration T just before user requests to record.
Advantageous Effects
[12] Hereby the recording system of the invention has following advantageous effects.
[13] (1) When the car stops after an accident, the recording system of the invention records automatically the video of pre-accident driving process, and so it can acquire the evidence material for judging which side is more responsible for the accident. [14] (2) The system of the invention does not need large size memory device such as magnetic tape or HDD, because it records video of only predetermined duration(T).
The said predetermined duration (T) would be several tens of seconds, and that would be enough for evidence material for the accident. So memory device (with no mechanical parts) such as FLASH memory can be used as the main memory, and hereby the system costs low. [15] (3) Because the system of the invention is linked only to the speedometer of the car and does not need various sensors, it costs low and can be easily installed in a car. [16] (4) Because the system of the invention is linked to speedometer of the car, the speed of the car can be easily recorded.
Brief Description of the Drawings
[17] Fig. 1 is a block diagram of a simple mode for invention.
[18] Fig. 2 is a conceptual drawing that represents relationship between the temporary memory and the main memory of Fig. 1.
[19] Fig. 3 is a timing chart for an example of driving process of the car for the sake of explanation of operation of Fig. 1.
[20] Fig. 4 is an example of flow chart for the controller of Fig 1.
[21] Fig. 5 is a block diagram of another mode for invention.
[22] Fig. 6 is a timing chart for an example of driving process of the car for the sake of explanation of operation of Fig. 5.
[23] Fig. 7 is an example of flow chart for the controller of Fig 5.
Mode for the Invention
[24] The simple mode for the invention is depicted in Fig. 1. The whole system comprises video camera(l) installed in the car, recording system(2) that records the video data from said video camera(l), and the speedometer(3) of the car.
[25] Said recording system(2) comprises signal processor(24) that transforms the video signal from said video camera(l) into digital data and compresses the data, temporary memory(22), main memory(23), and controller(21) that controls the whole system.
[26] The said temporary memory(22) is a memory device like RAM. In the following description, the said temporary memory(22) is assumed as a memory device that has shift register structure, for the sake of brief description. But, in reality, it is just a RAM of field memory. The memory size of the said temporary memory(22) determines the duration(T) of one video file.
[27] The said main memory(23) is a non-volatile memory device like FLASH memory in that data can be written and erased electrically, and has a memory capacity of several video files.
[28] In Fig. 2, video data(Buffered Video Data, bvd) in temporary memory(22) consisted of n frames makes one video file of duration T, and the main memory(23) is assumed to have memory capacity of 5 files as an example. As the current video data(cvd) is written into the first address of the temporary memory (22), the video data occupying all the addresses of the memory(22) are shifted right and the data of the oldest frame is erased. Hereby, video file written in the said temporary memory(22) is updated to the latest video of duration T at all times. The update operation is carried out by the said controller(21) in real-time manner.
[29] When the speed data(sd) from the said speedometer (3) changes to zero, the controller(21) dumps the video file that had been written in the temporary memory (22) into the main memory(23). For the "dump" operation, the controller(21) makes space for the new video file through erasing the oldest file of those occupying the main memory.
[30] Following is an explanation of the operation of the recording system of Fig. 1, using an example depicted in Fig. 3. In Fig. 3, it is assumed that the car is stopped 7 times at
the moments of tl, t2, ... t7. At every moments (tl, t2, ...t7) when the speed changes to zero, "dump" operation is carried out. And in every dump operation, number of file is increased by one. But after f5 is dumped, the number of file is reset to one, because it is assumed in the description that the main memory(23) has the memory capacity of 5 files. Hereby, the number of files that are dumped at the moments t6 and t7 are f 1 and f2, and the files that had been dumped at the moments of tl and t2 are erased.
[31] One example of flow chart of program for the controller(21) for proper operation mentioned above is shown in Fig. 4. For preparations of the first file dump, file number (fn) is set to one at the beginning of the program (si). After si, the controller(21) waits for moving of the car (s2). In s2, speed data(sd) is compared to a reference speed (rs) that is a predetermined value near zero. By using judgement, "sd> rs ?", an error that may happen in case of minute movement of the car is prevented. If the car starts to move, the controller waits for stop of the car (s3). When sd becomes zero, file is dumped (s4). After s4, the controller(21) waits for another moving of the car (s5). When the movement of the car is perceived, file number is increased by one (s6) for preparations of next file dump. After that, routine s3 - s6 are repeated.
[32] Routine for real-time update of video into the temporary memory(22) is not shown in Fig. 4. For the operation can be processed through an interrupt routine. For example, vertical sync, signal of the video signal can be used as an interrupt signal. That is, every time vertical sync, signal is input to the controller(21), interrupt routine for writing video data of one frame into the temporary memory(22) is carried out.
[33] Another mode for the invention is depicted in Fig. 5. In the mode of Fig. 5, input means(4) through which user can request several operations to the recording system and display means(5) that displays currently photographed video or recorded video file are added to the mode of Fig. 1. In the recording system(2) of Fig. 5., register(25) in that numbers of files(pfn) that should be preserved are written, clock(26) that generates current time data(td), character generator(27) that produces character video signal(cvs) for speed and time, mixer(28) that produces mixed video signal(mvs) from cvs and video signal from the said video camera(l), and data processor(29) that produces proper video signal for display(4) from recorded video data(rvd) are added to the said recording system(2) of Fig. 1.
[34] In Fig. 5, elements 26, 27, and 28 are added in order to display current speed and time within the picture of recorded video. That will help more clear judgement in case of an accident.
[35] In the mode of Fig. 5, there are two major requests that user may do to the system through the said input means (4). One is preserve request for preserving some important video files written in the said main memory(23), and the other is record request for recording the video regardless of the speed of the car.
[36] In an example depicted in Fig. 6, it is assumed that speed of the car has changed to zero at 11 moments of tl, t2, ... ti l, preserve request is input at the moments of tl2, and record request is input at the moments of tl3. Because the number of file that is dumped at the moment t2 is f2 and the moment tl2 at which preserve request is input is between t2 and t3, the controller(21) writes the number 2 that is the number of file to be preserved into the said register(25). When the controller(21) sets the address of main memory(23) for the next dump, it refers the number written in the register(25) in order not to erase the file to be preserved. As the result, in the data dump process at the moment t7, file f3 (not f2) is erased and new video file is dumped at the location of f3. In this manner, file to be preserved is remain unerased through successive dumping process. Because record request is input at the moment tl3, the file in the temporary memory(22) is promptly dumped at the location of f4, and the number 4 is written in the register(25) so that the file f4 should be preserved. For the video file dumped through record request by user must be important data. As the result, in the successive dump after tl3, files f2 and f4 are preserved, in the example of Fig. 6.
[37] One example of flow chart of program of the said controller(21) for second mode for invention is shown in Fig. 7. In the first place, the controller(21) checks if there exists space in the main memory(23) into which new file will be dumped, by checking the register(25) (s7, s8). If all the files are to be preserved, that is, if there is no space in the main memory(23), the controller(21) informs to user that there is no memory space (s9) and the program is terminated for brief description. But in reality, in that case, the controller(21) may request user some proper action such as memory change or release of preserving. If there is memory space, the controller(21) sets file number for next dump (slO), taking into account of the latest file number and the preserved file number. After that, the controller(21) waits for speed change to zero(sl 1) and input of record request(sl3). If speed changes to zero, zero speed dump routine(sl2) is carried, and if record request is input, record request dump routine(sl4) is carried.
[38] In the zero speed dump routine(sl2), two operations are carried out. One is data dump, and the other is writing the current file number into internal register. Writing the current file number is for preparations for input of preserve request and for next file number setting. After those operations, the zero speed dump routine(sl2) would be terminated by speed change to some value above reference speed. Although routine for treating preserve request is not shown in Fig. 7, the operation can be processed through another interrupt routine. In preserve request interrupt routine, the current file number is written into the register(25). In the record request dump routine (sl4), three operations, data dump, writing current file number into the register(25), and writing current file number into internal register, are carried out.