US20180143789A1 - Systems and methods for retaining data in a memory - Google Patents
Systems and methods for retaining data in a memory Download PDFInfo
- Publication number
- US20180143789A1 US20180143789A1 US15/873,064 US201815873064A US2018143789A1 US 20180143789 A1 US20180143789 A1 US 20180143789A1 US 201815873064 A US201815873064 A US 201815873064A US 2018143789 A1 US2018143789 A1 US 2018143789A1
- Authority
- US
- United States
- Prior art keywords
- data
- rate
- vehicle
- sampling
- storage location
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0619—Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
- G06F3/0665—Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/16—Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
- G11B2020/1062—Data buffering arrangements, e.g. recording or playback buffers
- G11B2020/10629—Data buffering arrangements, e.g. recording or playback buffers the buffer having a specific structure
- G11B2020/10666—Ring buffers, e.g. buffers wherein an iteratively progressing read or write pointer moves back to the beginning of the buffer when reaching the last storage cell
Definitions
- the technical field generally relates to systems and methods for recording data in a memory, and more particularly relates to systems and methods for recording data in a memory at a plurality of sampling rates.
- Data regarding operation of a vehicle is often stored to a memory device, or simply, a “memory”, for later retrieval and use.
- a memory device or simply, a “memory”, for later retrieval and use.
- One common technique for storing such data is a circular buffer where the data is recorded sequentially at a defined rate. After each recording, the address of the memory storage location is incremented, so that the memory fills up sequentially. When an upper limit of the memory is reached, the address is reset to a beginning location and data is over-written from the beginning location.
- the memory addresses to be written to can be expressed as:
- Add s is the current address that is being written to
- Add min is the minimum (or beginning) memory address
- T s is an incrementing time sample (e.g., 0, 1, 2, 3, . . . )
- n is the number of memory locations.
- the notation “x mod n” will refer to the remainder of the quantity x divided by n.
- One drawback of this technique is that all of the data is written at a single sampling rate. Therefore, a large memory device is required to record data for a large period of time while providing for a fast sampling rate close to an event, e.g., an airbag deployment event.
- a method for recording data in a memory of a vehicle having a plurality of data storage locations.
- the method includes, while the vehicle is in operation: receiving data while the vehicle is in operation; sampling the data, and recording at a first sampling rate while the vehicle is in operation, determining a current storage location address for a latest sample of the data at the first sampling rate such that older samples of data are retained at a second sampling rate less frequent than the first sampling rate; and storing the latest sample of the data at the current storage location address.
- a system for recording data for a vehicle includes a processor and a memory.
- the processor is configured to receive data from at least one data source, sample and record the data at a first rate, while the vehicle is in operation.
- the memory is in communication with the processor, and includes a plurality of storage locations each identified with a unique address.
- the processor is further configured to determine a current storage location address for a latest sample of the data at the first rate such that older samples of data are retained at the second rate less frequent than the first rate while the vehicle is in operation.
- a vehicle in various embodiments, includes a sensor, a processor, and a memory.
- the sensor is configured to sense an aspect of the vehicle.
- the processor is configured to receive data from the sensor, sample and record the data at a first rate while the vehicle is in operation.
- the memory is in communication with the processor, and includes a plurality of storage locations each identified with a unique address.
- the processor is further configured to determine a current storage location address for a latest sample of the data at the first rate such that older samples of data are retained at the second rate less frequent than the first rate while the vehicle is in operation.
- FIG. 1 is a block diagram of a system for storing data in accordance with an embodiment
- FIG. 2 is a table representing a memory in accordance with an embodiment
- FIG. 3 is flowchart showing a method of storing data in accordance with an embodiment
- FIG. 4 is a table representing a memory in accordance with an exemplary embodiment
- FIG. 5 is a graph showing data storage locations over time in accordance with the embodiment of FIG. 4 ;
- FIG. 6 is a graph showing data storage locations over time in accordance with an exemplary embodiment.
- FIG. 7 is a graph showing sampling rates over time in accordance with the embodiment of FIG. 6 .
- a system 100 and method 300 of recording data is shown and described herein.
- the method 300 is implemented with the computerized system 100 .
- the computerized system 100 may be integrated with a vehicle 102 , e.g., an automobile that is driven along roadways on land.
- the method 300 may be implemented with other devices (not shown), including non-vehicular applications.
- the system 100 of the exemplary embodiment includes a processor 104 .
- the processor 104 is a device capable of executing instructions (i.e., running a program) and/or performing calculations.
- the processor 104 may be part of an integrated circuit, i.e., a semiconductor device, as is well known to those skilled in the art.
- the processor 104 of the exemplary embodiment includes a plurality of inputs (not numbered) and outputs (not numbered) capable of sending and receiving signals, data, and/or other information.
- the processor 104 is in communication with at least one data source 105 for receiving data.
- the at least one data source 105 is a system or sensor related to operation of the vehicle 102 .
- the data source 105 may be an accelerometer.
- the accelerometer provides a signal which encodes data corresponding to an acceleration/deceleration of the vehicle 102 .
- the processor 104 may include hardware and/or software to decode the signal to obtain the data, as is well known to those skilled in the art.
- the data source 105 is not limited to an accelerometer or even to vehicular applications.
- the data source 105 may be a temperature sensor for sensing temperature of cooling water used in an engine (not shown) of the vehicle 102 .
- the data source 105 may be a wind sensor for measuring the speed of wind.
- the system 100 also includes a memory 106 capable of storing data and/or other information.
- the memory 106 may be implemented with a semiconductor device, e.g., random access memory (RAM) or flash memory.
- the memory 106 may also be implemented with a magnetic storage device, e.g., a hard drive or a floppy drive.
- the memory 106 may further be implemented as an optical storage device, e.g., a CD-ROM or a DVD. Those skilled in the art realize other media and techniques for implementing the memory 106 .
- the memory 106 is in communication with the processor 104 .
- the processor 104 may communicate data received to the memory 106 for storage.
- the memory 106 is integrated with the processor 104 , i.e., part of the same integrated circuit 108 .
- the memory 106 and the processor 104 may be separate and distinct components, as is readily appreciated by those skilled in the art.
- the vehicle 102 may also include a radio 110 in communication with the processor 104 .
- the memory 106 includes a plurality of memory locations 200 .
- the memory locations 200 are identified with unique storage location addresses 202 .
- the processor 104 is capable of storing data in specific memory locations 200 corresponding to the storage location addresses 202 .
- a plurality of memory locations 200 may be grouped together as an array 204 , wherein each of the plurality of memory locations 200 is configured to be identified via a respective unique storage location address 202 .
- the memory 106 may be sectioned into a plurality of arrays 204 .
- memory locations are mixed within a contiguous range, for example in the sense that in certain embodiments the disclosed techniques creates an addressing scheme that records non-sequentially, with a specific purpose in mind.
- one exemplary method 300 is shown.
- the order of operation within the method 300 is not limited to the sequential execution as illustrated in FIG. 3 , but may be performed in one or more varying orders as applicable and in accordance with the present disclosure.
- one or more steps of the method 300 may be added or removed without altering the spirit of the method 300 .
- the method 300 shown and described herein may run substantially continuously during usage and/or operation of the vehicle 102 and/or continuously while recording is desired. However, the method 300 may alternatively run during predefined time periods or as desired by a user.
- each of the steps of the method 300 is performed, preferably continuously during usage of the vehicle 102 and/or continuously while recording is desired.
- the method 300 includes, at 302 , receiving data.
- the processor 104 is configured to receive data from the at least one data source 105 .
- receiving data may be implemented as receiving a signal on which the data is encoded and then decoding the signal to obtain the data, as is well known to those skilled in the art.
- step 302 is performed, preferably continuously, throughout usage and/or operation of the vehicle 102 and/or continuously while recording is desired.
- the received data is continually stored at a consistent, fast rate, and an addressing scheme is utilized that results in data being retained at different rates.
- the received data may be retained at a plurality of sampling rates. For example, in certain embodiments, newer data is retained at a first sampling rate, and older data is retained at a second sampling rate, which is less frequent than the first sampling rate.
- the retaining of the data in this manner with different sampling rates for newer and older data, respectively, is performed, preferably continuously, throughout usage and/or operation of the vehicle 102 and/or continuously while recording is desired.
- the processor 104 obtains the data at the first sampling rate. That is, the processor 104 obtains data at predetermined periodic time period.
- the first sampling rate is one sample per second. However, it should be appreciated that the first sampling rate may be accomplished at any time period achievable by the processor 104 .
- the older data retained at the second sampling rate is the same data that was stored at the first sampling rate but simply maintained at the second sampling rate. Said another way, as newer data is received, one part of the older data is maintained, but another part is overwritten by the newly received data. As a result, data at multiple sampling rates is achieved. In various embodiments, this is performed, preferably continuously, throughout usage and/or operation of the vehicle 102 and/or continuously while recording is desired.
- the data may be stored at more than the two sampling rates described above.
- the received data is retained at three sampling rates: the first sampling rate, the second sampling rate, and a third sampling rate.
- the third sampling rate is less frequent than the second sampling rate, which, as previously stated, is less frequent than the first sampling rate.
- any number of sampling rates may be stored utilizing the system 100 and methods 300 described herein. In various embodiments, this is performed, preferably continuously, throughout usage and/or operation of the vehicle 102 and/or continuously while recording is desired.
- all of the data in the present disclosure is recorded at a constant rate throughout usage and/or operation of the vehicle 102 and/or continuously while recording is desired, and is retained at different rates throughout as noted above. Also in various embodiments, the data is not transferred from one location to another.
- the method 300 includes sampling the received data. More specifically, the exemplary method 300 includes, at 304 , sampling the data at a first sampling rate. The method 300 further includes, at 306 , determining a current storage location address for a latest sample of the data at the first sampling rate such that older samples of data are retained at the second sampling rate. The method 300 also includes, at 308 , storing the latest sample of the data at the current storage location address. In various embodiments, steps 304 , 306 , and 308 are performed, preferably continuously, throughout usage and/or operation of the vehicle 102 and/or continuously while recording is desired.
- Determining the current storage location address may be performed utilizing modular arithmetic. That is, at least one mathematical computation used in determining the current storage location address involves a modulo operation.
- determining the current data storage location address Add s is determined with the expression:
- Add min is a minimum address
- ModIdx is a modula index equal to the number of arrays
- T s is a consecutive integer representing the latest sample of the data
- M max n represents the size of the respective array.
- 100 samples of newer data are stored at a one sample per second (1 s/sample) sampling rate (i.e., the first sampling rate) and 400 samples of older data are stored at a one sample every five seconds (5 s/sample) sampling rate (i.e., the second sampling rate). Said another way, 100 newer data samples are stored every second and 400 older data samples are stored every five seconds.
- the memory 106 is partitioned into a plurality of arrays 204 . More specifically, the memory 106 is partitioned into four arrays 204 labeled M 0 -M 3 , each having 20 data storage locations, and one array 204 labeled M 4 having 420 data storage locations.
- the minimum address Add is zero and ModIdx is five. Therefore, the current data storage location address Add s proceeds as ⁇ 0, 20, 40, 60, 80, 1, 21, 41, 61, 81, . . . , 19, 39, 59, 79, 99, 0, 20, 40, 60, 100, 1, 21, 41, 61, 101, . . . ⁇ .
- a graphical representation of the data storage addresses over time can be seen in FIG. 5 , wherein the horizontal axis 500 reflects time (or T s ) and the vertical axis 502 reflects the data storage location addresses 202 .
- this method of selecting bins can vary, and can be expanded to more than two sample rates in various embodiments.
- a first rate may include one hundred samples at one second per sample;
- a second rate may include four hundred samples at five seconds per sample; and
- a third rate may include five hundred samples at ten seconds per sample, and so on.
- Implementing the first exemplary embodiment described above results in a memory having data at a plurality of sampling rates, while only recording data at one sampling rate, i.e., the first sampling rate. Moreover, the method of the first exemplary embodiment is fairly simple to implement in program form in the processor 104 .
- determining the current data storage location address Add s is determined with the expression:
- 1000 samples of newer data are stored at a one sample per second (1 s/sample) sampling rate (i.e., the first sampling rate), 2000 samples of older data are stored at a one sample every two seconds (2 s/sample) sampling rate (i.e., the second sampling rate), and 1000 samples of even older data are stored at a one sample per 10 seconds (10 s/sample) sampling rate (i.e., the third sampling rate
- the minimum address Add min is zero
- LCM is 10
- kmax is three. Therefore, the current data storage location address Add s proceeds as ⁇ 100, 600, 700, 1200, 1300, 1800, 1900, 2400, 2500, 0, 99, 599, . . . ⁇ .
- a graphical representation of the data storage addresses over time can be seen in FIG. 6 , wherein the horizontal axis 600 reflects time (or T s ) and the vertical axis 602 reflects the data storage location addresses.
- sampling rates and the quantity of data stored utilizing the second exemplary embodiment can be seen with reference to FIG. 7 .
- the horizontal axis 700 represents time and the vertical axis 702 represents the number of data storage locations utilized.
- Three sections 704 , 706 , 708 of a curve represent the three different sampling rates utilized in the second exemplary embodiment.
- section 704 represents 1000 samples stored at one sample every second
- section 706 represents 2000 samples stored at one sample every two seconds
- section 708 represents 1000 samples stored at one sample every ten sections.
- Implementing the second exemplary embodiment described above also results in a memory having data at a plurality of sampling rates, while only recording data at one sampling rate, i.e., the first sampling rate. Moreover, the method of the second exemplary embodiment utilizes the same write rate at all data storage locations by cycling through the various spacing between writes at all memory locations.
- the method 300 may also include, at 310 , receiving an event notification.
- the event notification may be an indication of an impact event from an accelerometer.
- Other event notifications may occur due to an engine stall and/or a diagnostic code setting.
- numerous event notifications that may be generated and received.
- the method 300 may further include, at 312 , communicating the data stored in the memory locations 200 in response to receiving the event notification.
- the data stored in the memory locations 200 may be sent to the radio 110 for transmission to a remote server 112 , in response to the event notification.
- the data stored in the memory locations 200 may simply be written to another section of the memory 106 for later retrieval.
- the data present at the time of the event may be analyzed to determine the cause of the event and/or the reaction to the event.
- the method 300 in the case of an event, maintains and provides a record with varying retention rate (e.g., referring to retention of data) going back in time prior to the event. Specifically, in various embodiments, the method 300 does not modify the current logging rate in response to a current event, but rather provides a record with varying retention rate going back in time prior to the event. This can provide more robust and useful data, for example as compared with other techniques in which the logging rate is modified (e.g., because recording may terminate abruptly in the case of an event). In certain embodiments, the techniques disclosed herein may be expanded to include multiple event capability, by increasing the memory size and modifying Add min after each event.
- this method will provide sample rates that meet the desired rates for each event. This is not possible using current methods. Also in various embodiments, an event is not used as a triggering event to record data, but rather to extract information (including information prior to the event) for transfer. In comparison with other art of record (which may how a change of rate can occur after an event), the present disclosure provides a change in rate prior to an event.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Traffic Control Systems (AREA)
Abstract
Description
- This application is a continuation-in-part of U.S. application Ser. No. 14/222,308, filed on Mar. 21, 2014, the entirety of which is incorporated by reference herein.
- The technical field generally relates to systems and methods for recording data in a memory, and more particularly relates to systems and methods for recording data in a memory at a plurality of sampling rates.
- Data regarding operation of a vehicle is often stored to a memory device, or simply, a “memory”, for later retrieval and use. One common technique for storing such data is a circular buffer where the data is recorded sequentially at a defined rate. After each recording, the address of the memory storage location is incremented, so that the memory fills up sequentially. When an upper limit of the memory is reached, the address is reset to a beginning location and data is over-written from the beginning location. The memory addresses to be written to can be expressed as:
-
Adds=Addmin +T s mod n - wherein Adds is the current address that is being written to, Addmin is the minimum (or beginning) memory address, Ts is an incrementing time sample (e.g., 0, 1, 2, 3, . . . ), and n is the number of memory locations. In this application, the notation “x mod n” will refer to the remainder of the quantity x divided by n.
- One drawback of this technique is that all of the data is written at a single sampling rate. Therefore, a large memory device is required to record data for a large period of time while providing for a fast sampling rate close to an event, e.g., an airbag deployment event.
- To save on the amount of storage locations that are required in a memory, it may be beneficial for older data to only be retained at a slower sampling rate while still maintaining the fast sampling rate near the event.
- Accordingly, it is desirable to provide systems and methods that allows for storing data at multiple sampling rates. Furthermore, other desirable features and characteristics of the present invention will become apparent from the subsequent detailed description and the appended claims, taken in conjunction with the accompanying drawings and the foregoing technical field and background.
- In various embodiments, a method is provided for recording data in a memory of a vehicle having a plurality of data storage locations. In various embodiments, the method includes, while the vehicle is in operation: receiving data while the vehicle is in operation; sampling the data, and recording at a first sampling rate while the vehicle is in operation, determining a current storage location address for a latest sample of the data at the first sampling rate such that older samples of data are retained at a second sampling rate less frequent than the first sampling rate; and storing the latest sample of the data at the current storage location address.
- In various embodiments, a system for recording data for a vehicle is provided. In various embodiments, the system includes a processor and a memory. The processor is configured to receive data from at least one data source, sample and record the data at a first rate, while the vehicle is in operation. The memory is in communication with the processor, and includes a plurality of storage locations each identified with a unique address. The processor is further configured to determine a current storage location address for a latest sample of the data at the first rate such that older samples of data are retained at the second rate less frequent than the first rate while the vehicle is in operation.
- In various embodiments, a vehicle is provided. In various embodiments, the vehicle includes a sensor, a processor, and a memory. The sensor is configured to sense an aspect of the vehicle. The processor is configured to receive data from the sensor, sample and record the data at a first rate while the vehicle is in operation. The memory is in communication with the processor, and includes a plurality of storage locations each identified with a unique address. The processor is further configured to determine a current storage location address for a latest sample of the data at the first rate such that older samples of data are retained at the second rate less frequent than the first rate while the vehicle is in operation.
- The exemplary embodiments will hereinafter be described in conjunction with the following drawing figures, wherein like numerals denote like elements, and wherein:
-
FIG. 1 is a block diagram of a system for storing data in accordance with an embodiment; -
FIG. 2 is a table representing a memory in accordance with an embodiment; -
FIG. 3 is flowchart showing a method of storing data in accordance with an embodiment; -
FIG. 4 is a table representing a memory in accordance with an exemplary embodiment; -
FIG. 5 is a graph showing data storage locations over time in accordance with the embodiment ofFIG. 4 ; -
FIG. 6 is a graph showing data storage locations over time in accordance with an exemplary embodiment; and -
FIG. 7 is a graph showing sampling rates over time in accordance with the embodiment ofFIG. 6 . - The following detailed description is merely exemplary in nature and is not intended to limit the application and uses. Furthermore, there is no intention to be bound by any expressed or implied theory presented in the preceding technical field, background, brief summary or the following detailed description.
- Referring to the Figures, wherein like numerals indicate like parts throughout the several views, a
system 100 andmethod 300 of recording data is shown and described herein. In the exemplary embodiments, themethod 300 is implemented with thecomputerized system 100. In one exemplary embodiment, thecomputerized system 100 may be integrated with avehicle 102, e.g., an automobile that is driven along roadways on land. However, it is to be appreciated that themethod 300 may be implemented with other devices (not shown), including non-vehicular applications. - Referring to
FIG. 1 , thesystem 100 of the exemplary embodiment includes aprocessor 104. Theprocessor 104 is a device capable of executing instructions (i.e., running a program) and/or performing calculations. Theprocessor 104 may be part of an integrated circuit, i.e., a semiconductor device, as is well known to those skilled in the art. Theprocessor 104 of the exemplary embodiment includes a plurality of inputs (not numbered) and outputs (not numbered) capable of sending and receiving signals, data, and/or other information. - The
processor 104 is in communication with at least onedata source 105 for receiving data. In the exemplary embodiment, the at least onedata source 105 is a system or sensor related to operation of thevehicle 102. For example, thedata source 105 may be an accelerometer. As such, the accelerometer provides a signal which encodes data corresponding to an acceleration/deceleration of thevehicle 102. Theprocessor 104 may include hardware and/or software to decode the signal to obtain the data, as is well known to those skilled in the art. - Of course, the
data source 105 is not limited to an accelerometer or even to vehicular applications. In another example, thedata source 105 may be a temperature sensor for sensing temperature of cooling water used in an engine (not shown) of thevehicle 102. In a non-vehicle example, thedata source 105 may be a wind sensor for measuring the speed of wind. - The
system 100 also includes amemory 106 capable of storing data and/or other information. Thememory 106 may be implemented with a semiconductor device, e.g., random access memory (RAM) or flash memory. Thememory 106 may also be implemented with a magnetic storage device, e.g., a hard drive or a floppy drive. Thememory 106 may further be implemented as an optical storage device, e.g., a CD-ROM or a DVD. Those skilled in the art realize other media and techniques for implementing thememory 106. - The
memory 106 is in communication with theprocessor 104. As such, theprocessor 104 may communicate data received to thememory 106 for storage. In the exemplary embodiment, thememory 106 is integrated with theprocessor 104, i.e., part of the sameintegrated circuit 108. However, thememory 106 and theprocessor 104 may be separate and distinct components, as is readily appreciated by those skilled in the art. Thevehicle 102 may also include aradio 110 in communication with theprocessor 104. - Referring now to
FIG. 2 , thememory 106 includes a plurality ofmemory locations 200. Thememory locations 200 are identified with unique storage location addresses 202. As such, theprocessor 104 is capable of storing data inspecific memory locations 200 corresponding to the storage location addresses 202. A plurality ofmemory locations 200 may be grouped together as anarray 204, wherein each of the plurality ofmemory locations 200 is configured to be identified via a respective uniquestorage location address 202. Furthermore, thememory 106 may be sectioned into a plurality ofarrays 204. In various embodiments, memory locations are mixed within a contiguous range, for example in the sense that in certain embodiments the disclosed techniques creates an addressing scheme that records non-sequentially, with a specific purpose in mind. - With reference to
FIG. 3 , and continued reference toFIGS. 1 and 2 , oneexemplary method 300 is shown. As can be appreciated in light of the disclosure, the order of operation within themethod 300 is not limited to the sequential execution as illustrated inFIG. 3 , but may be performed in one or more varying orders as applicable and in accordance with the present disclosure. As can further be appreciated, one or more steps of themethod 300 may be added or removed without altering the spirit of themethod 300. Themethod 300 shown and described herein may run substantially continuously during usage and/or operation of thevehicle 102 and/or continuously while recording is desired. However, themethod 300 may alternatively run during predefined time periods or as desired by a user. - In certain embodiments, each of the steps of the
method 300 is performed, preferably continuously during usage of thevehicle 102 and/or continuously while recording is desired. - The
method 300, includes, at 302, receiving data. When implemented with theexemplary system 100 described above, theprocessor 104 is configured to receive data from the at least onedata source 105. Of course, receiving data may be implemented as receiving a signal on which the data is encoded and then decoding the signal to obtain the data, as is well known to those skilled in the art. In various embodiments,step 302 is performed, preferably continuously, throughout usage and/or operation of thevehicle 102 and/or continuously while recording is desired. - In various embodiments, the received data is continually stored at a consistent, fast rate, and an addressing scheme is utilized that results in data being retained at different rates. The received data may be retained at a plurality of sampling rates. For example, in certain embodiments, newer data is retained at a first sampling rate, and older data is retained at a second sampling rate, which is less frequent than the first sampling rate. In various embodiments, the retaining of the data in this manner with different sampling rates for newer and older data, respectively, is performed, preferably continuously, throughout usage and/or operation of the
vehicle 102 and/or continuously while recording is desired. In theexemplary system 100, theprocessor 104 obtains the data at the first sampling rate. That is, theprocessor 104 obtains data at predetermined periodic time period. In the exemplary embodiments, the first sampling rate is one sample per second. However, it should be appreciated that the first sampling rate may be accomplished at any time period achievable by theprocessor 104. - In the exemplary embodiments, the older data retained at the second sampling rate is the same data that was stored at the first sampling rate but simply maintained at the second sampling rate. Said another way, as newer data is received, one part of the older data is maintained, but another part is overwritten by the newly received data. As a result, data at multiple sampling rates is achieved. In various embodiments, this is performed, preferably continuously, throughout usage and/or operation of the
vehicle 102 and/or continuously while recording is desired. - The data may be stored at more than the two sampling rates described above. In the exemplary embodiments described herein, the received data is retained at three sampling rates: the first sampling rate, the second sampling rate, and a third sampling rate. The third sampling rate is less frequent than the second sampling rate, which, as previously stated, is less frequent than the first sampling rate. Of course, any number of sampling rates may be stored utilizing the
system 100 andmethods 300 described herein. In various embodiments, this is performed, preferably continuously, throughout usage and/or operation of thevehicle 102 and/or continuously while recording is desired. Also in various embodiments, regardless of the sampling rates, all of the data in the present disclosure is recorded at a constant rate throughout usage and/or operation of thevehicle 102 and/or continuously while recording is desired, and is retained at different rates throughout as noted above. Also in various embodiments, the data is not transferred from one location to another. - As such, the
method 300 includes sampling the received data. More specifically, theexemplary method 300 includes, at 304, sampling the data at a first sampling rate. Themethod 300 further includes, at 306, determining a current storage location address for a latest sample of the data at the first sampling rate such that older samples of data are retained at the second sampling rate. Themethod 300 also includes, at 308, storing the latest sample of the data at the current storage location address. In various embodiments, 304, 306, and 308 are performed, preferably continuously, throughout usage and/or operation of thesteps vehicle 102 and/or continuously while recording is desired. - Determining the current storage location address may be performed utilizing modular arithmetic. That is, at least one mathematical computation used in determining the current storage location address involves a modulo operation.
- Different techniques for determining the current storage location are described herein. In a first exemplary embodiment, determining the current data storage location address Adds is determined with the expression:
-
- wherein Addmin is a minimum address, ModIdx is a modula index equal to the number of arrays, Ts is a consecutive integer representing the latest sample of the data, and Mmax n represents the size of the respective array.
NOTE: For TsmodModIdx=0, this summation will=0 as Mmax(-1) has no value. - In one implementation of the first exemplary embodiment, 100 samples of newer data are stored at a one sample per second (1 s/sample) sampling rate (i.e., the first sampling rate) and 400 samples of older data are stored at a one sample every five seconds (5 s/sample) sampling rate (i.e., the second sampling rate). Said another way, 100 newer data samples are stored every second and 400 older data samples are stored every five seconds. In this implementation of the first exemplary embodiment, as shown in
FIG. 4 , thememory 106 is partitioned into a plurality ofarrays 204. More specifically, thememory 106 is partitioned into fourarrays 204 labeled M0-M3, each having 20 data storage locations, and onearray 204 labeled M4 having 420 data storage locations. - In this implementation, the minimum address Add is zero and ModIdx is five. Therefore, the current data storage location address Adds proceeds as {0, 20, 40, 60, 80, 1, 21, 41, 61, 81, . . . , 19, 39, 59, 79, 99, 0, 20, 40, 60, 100, 1, 21, 41, 61, 101, . . . }. A graphical representation of the data storage addresses over time can be seen in
FIG. 5 , wherein thehorizontal axis 500 reflects time (or Ts) and thevertical axis 502 reflects the data storage location addresses 202. - In accordance with the first embodiment, the values were selected such that the first rate is five times the second rate, and therefore five arrays were chosen. Also in this embodiment, one fifth (⅕) of the first rate samples (100), namely twenty (i.e., ⅕*100=20) samples per array were chosen for the first 4 arrays. Also in this embodiment, the second rate samples are combined with the last array, with four hundred twenty (i.e., 20+400=420) samples in the last array.
- Also in various embodiments, this method of selecting bins can vary, and can be expanded to more than two sample rates in various embodiments. For example, in certain embodiments, (i) a first rate may include one hundred samples at one second per sample; (ii) a second rate may include four hundred samples at five seconds per sample; and (iii) a third rate may include five hundred samples at ten seconds per sample, and so on. Also in certain embodiments, in this implementation, the following array sizes can be utilized: (i) eight arrays of size ten [i.e., the first rate size (100)*the first rate (1 second)/the third rate (10 seconds)=10]; (ii) one array of size two hundred ten [i.e., the first array size, above (10)+the second rate size (400)*the second rate (5 seconds)/the third rate (10 seconds)=210]; and (iii) one array of size seven hundred ten [i.e., the second array size, above (210)+the third rate size (500)=710].
- Implementing the first exemplary embodiment described above results in a memory having data at a plurality of sampling rates, while only recording data at one sampling rate, i.e., the first sampling rate. Moreover, the method of the first exemplary embodiment is fairly simple to implement in program form in the
processor 104. - In a second exemplary embodiment, determining the current data storage location address Adds is determined with the expression:
-
- wherein Addmin is a minimum address, Ts is a consecutive integer representing the latest sample of the data, LCM is the least common multiple of the sampling Periods, Tm=(Ts mod LCM)+1, Pk is the sampling period, Nk is the number of samples at a given Pk, therefore Nk*Pk will equal to the number of samples if they were sampled at the fasted rate, and kmax is the total number of sampling rates to be stored. In order for the equation in this Paragraph to divide to an integer, the number of samples Nk should be chosen such that they are a multiple of the least common multiple (LCM).
- In one implementation of the second exemplary embodiment, 1000 samples of newer data are stored at a one sample per second (1 s/sample) sampling rate (i.e., the first sampling rate), 2000 samples of older data are stored at a one sample every two seconds (2 s/sample) sampling rate (i.e., the second sampling rate), and 1000 samples of even older data are stored at a one sample per 10 seconds (10 s/sample) sampling rate (i.e., the third sampling rate
- In this implementation, the minimum address Addmin is zero, LCM is 10, and kmax is three. Therefore, the current data storage location address Adds proceeds as {100, 600, 700, 1200, 1300, 1800, 1900, 2400, 2500, 0, 99, 599, . . . }. A graphical representation of the data storage addresses over time can be seen in
FIG. 6 , wherein thehorizontal axis 600 reflects time (or Ts) and thevertical axis 602 reflects the data storage location addresses. - The sampling rates and the quantity of data stored utilizing the second exemplary embodiment can be seen with reference to
FIG. 7 . Specifically, thehorizontal axis 700 represents time and thevertical axis 702 represents the number of data storage locations utilized. Three 704, 706, 708 of a curve (not separately numbered) represent the three different sampling rates utilized in the second exemplary embodiment. Specifically,sections section 704 represents 1000 samples stored at one sample every second,section 706 represents 2000 samples stored at one sample every two seconds, andsection 708 represents 1000 samples stored at one sample every ten sections. - Implementing the second exemplary embodiment described above also results in a memory having data at a plurality of sampling rates, while only recording data at one sampling rate, i.e., the first sampling rate. Moreover, the method of the second exemplary embodiment utilizes the same write rate at all data storage locations by cycling through the various spacing between writes at all memory locations.
- Referring again to
FIG. 3 , themethod 300 may also include, at 310, receiving an event notification. As one example, the event notification may be an indication of an impact event from an accelerometer. Other event notifications may occur due to an engine stall and/or a diagnostic code setting. Furthermore, those skilled in the art will appreciate numerous event notifications that may be generated and received. - In response to receiving the event notification, the
method 300 may further include, at 312, communicating the data stored in thememory locations 200 in response to receiving the event notification. The data stored in thememory locations 200 may be sent to theradio 110 for transmission to aremote server 112, in response to the event notification. In another exemplary embodiment (not shown), the data stored in thememory locations 200 may simply be written to another section of thememory 106 for later retrieval. By sending the data in response to an event notification, the data present at the time of the event may be analyzed to determine the cause of the event and/or the reaction to the event. - In various embodiments, in the case of an event, the
method 300 maintains and provides a record with varying retention rate (e.g., referring to retention of data) going back in time prior to the event. Specifically, in various embodiments, themethod 300 does not modify the current logging rate in response to a current event, but rather provides a record with varying retention rate going back in time prior to the event. This can provide more robust and useful data, for example as compared with other techniques in which the logging rate is modified (e.g., because recording may terminate abruptly in the case of an event). In certain embodiments, the techniques disclosed herein may be expanded to include multiple event capability, by increasing the memory size and modifying Addmin after each event. In certain embodiments, even when events overlap, this method will provide sample rates that meet the desired rates for each event. This is not possible using current methods. Also in various embodiments, an event is not used as a triggering event to record data, but rather to extract information (including information prior to the event) for transfer. In comparison with other art of record (which may how a change of rate can occur after an event), the present disclosure provides a change in rate prior to an event. - While at least one exemplary embodiment has been presented in the foregoing detailed description, it should be appreciated that a vast number of variations exist. It should also be appreciated that the exemplary embodiment or exemplary embodiments are only examples, and are not intended to limit the scope, applicability, or configuration of the disclosure in any way. Rather, the foregoing detailed description will provide those skilled in the art with a convenient road map for implementing the exemplary embodiment or exemplary embodiments. It should be understood that various changes can be made in the function and arrangement of elements without departing from the scope of the disclosure as set forth in the appended claims and the legal equivalents thereof.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/873,064 US10310773B2 (en) | 2014-03-21 | 2018-01-17 | Systems and methods for retaining data in a memory |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/222,308 US20150268877A1 (en) | 2014-03-21 | 2014-03-21 | Systems and methods for recording data in a memory |
| US15/873,064 US10310773B2 (en) | 2014-03-21 | 2018-01-17 | Systems and methods for retaining data in a memory |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/222,308 Continuation-In-Part US20150268877A1 (en) | 2014-03-21 | 2014-03-21 | Systems and methods for recording data in a memory |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20180143789A1 true US20180143789A1 (en) | 2018-05-24 |
| US10310773B2 US10310773B2 (en) | 2019-06-04 |
Family
ID=62146978
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/873,064 Active 2034-03-22 US10310773B2 (en) | 2014-03-21 | 2018-01-17 | Systems and methods for retaining data in a memory |
Country Status (1)
| Country | Link |
|---|---|
| US (1) | US10310773B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200074241A1 (en) * | 2018-09-04 | 2020-03-05 | Kindred Systems Inc. | Real-time real-world reinforcement learning systems and methods |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11615654B1 (en) * | 2019-10-24 | 2023-03-28 | Lytx, Inc. | Signature use for efficient data transfer |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5916300A (en) * | 1997-07-18 | 1999-06-29 | Trimble Navigation Limited | Automatic event recognition to trigger recording changes |
| US20040039867A1 (en) * | 2001-02-06 | 2004-02-26 | Raphael Apfeldorfer | Multirate circular buffer and method of operating the same |
| US20090113115A1 (en) * | 2007-10-30 | 2009-04-30 | Hagop Nazarian | Non-volatile memory array partitioning architecture and method to utilize single level cells and multi-level cells within the same memory |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN203192416U (en) | 2013-03-19 | 2013-09-11 | 中国科学院声学研究所 | A device based on FPGA to realize multi-chip Nandflash storage and reading |
-
2018
- 2018-01-17 US US15/873,064 patent/US10310773B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5916300A (en) * | 1997-07-18 | 1999-06-29 | Trimble Navigation Limited | Automatic event recognition to trigger recording changes |
| US20040039867A1 (en) * | 2001-02-06 | 2004-02-26 | Raphael Apfeldorfer | Multirate circular buffer and method of operating the same |
| US20090113115A1 (en) * | 2007-10-30 | 2009-04-30 | Hagop Nazarian | Non-volatile memory array partitioning architecture and method to utilize single level cells and multi-level cells within the same memory |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200074241A1 (en) * | 2018-09-04 | 2020-03-05 | Kindred Systems Inc. | Real-time real-world reinforcement learning systems and methods |
| US12005578B2 (en) * | 2018-09-04 | 2024-06-11 | Ocado Innovations Limited | Real-time real-world reinforcement learning systems and methods |
Also Published As
| Publication number | Publication date |
|---|---|
| US10310773B2 (en) | 2019-06-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3766049B1 (en) | Black box data recorder for autonomous driving vehicle | |
| CN113168403B (en) | Device Message Framework | |
| US11670124B2 (en) | Data recorders of autonomous vehicles | |
| US11410475B2 (en) | Autonomous vehicle data recorders | |
| US7873597B2 (en) | Data management system, update file generating system, and data updating method | |
| JP2004531836A5 (en) | ||
| CN109141911B (en) | The acquisition methods and device of the control amount of unmanned vehicle performance test | |
| US11675809B2 (en) | Replicating data changes using multiple storage devices and tracking records of pending data changes stored on the storage devices | |
| US10310773B2 (en) | Systems and methods for retaining data in a memory | |
| US20160070437A1 (en) | Electronic device and method for displaying desktop icons | |
| US12260111B2 (en) | Reduction of write amplification in sensor data recorders | |
| WO2019224164A1 (en) | Methods, systems, articles of manufacture and apparatus to reconstruct scenes using convolutional neural networks | |
| WO2013144458A1 (en) | Method for determining mineralogical composition | |
| US20150268877A1 (en) | Systems and methods for recording data in a memory | |
| US11125898B2 (en) | Method and system for positioning seismic source in microseism monitoring | |
| CN113961539A (en) | Data playback method, device, storage medium and electronic device | |
| US20160342284A1 (en) | Electronic device and note reminder method | |
| US20230169228A1 (en) | Traffic simulation method for creating an optimized object motion path in the simulator | |
| CN112255679A (en) | Seismic data diffraction depth migration processing method and device | |
| TW200638342A (en) | Method and device for scanning the contents of a storage medium | |
| US11693566B2 (en) | Storage device and storage system for storing sensor data in an autonomous vehicle | |
| CN110971857A (en) | Video playback method and device and computer readable storage medium | |
| US5708842A (en) | Apparatus for changing coefficients utilized to perform a convolution operation having address generator which uses initial count number and up/down count inputs received from external | |
| KR100932096B1 (en) | How to Store Data in NAND Flash Memory | |
| CN112000629A (en) | Log recording method, device and equipment of storage system and readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: GM GLOBAL TECHNOLOGY OPERATIONS LLC, MICHIGAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HUNTZICKER, FRED W.;REEL/FRAME:044637/0612 Effective date: 20180110 |
|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |