A smart vehicle is often embedded with different types of sensors (e.g., cameras, LIDAR, radar, engine sensors, brake sensors, pedal sensors, steering wheel sensors, and many others). The sensors capture data both in and around the vehicle and enable many of the smart features of the vehicle. One of the constraints with the sensing systems is that the data from the sensor is always digitized and the signal is always being analyzed in the digital domain. Analysis in the digital domain leads to an increase in the power consumed from the vehicle battery. This is especially significant for vehicles that are powered by rechargeable batteries. As such, there is a need for sensors and a sensing system that provides better intelligence while operating at low power.
Features and advantages of the example embodiments, and the manner in which the same are accomplished, will become more readily apparent with reference to the following detailed description while taken in conjunction with the accompanying drawings.
Throughout the drawings and the detailed description, unless otherwise described, the same drawing reference numerals will be understood to refer to the same elements, features, and structures. The relative size and depiction of these elements may be exaggerated or adjusted for clarity, illustration, and/or convenience.
In the following description, specific details are set forth in order to provide a thorough understanding of the various example embodiments. It should be appreciated that various modifications to the embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the disclosure. Moreover, in the following description, numerous details are set forth for the purpose of explanation. However, one of ordinary skill in the art should understand that embodiments may be practiced without the use of these specific details. In other instances, well-known structures and processes are not shown or described in order not to obscure the description with unnecessary detail. Thus, the present disclosure is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
Digital-based machine learning systems typically must convert sensor data into digital data before executing a machine learning model on the sensor data. This often results in all of the sensor data being converted, even though only a small portion of the sensor data is relevant to the particular use case. The result is an inefficient design that consumes more power than necessary and runs extra operations on the sensor data than is necessary.
The example embodiments are directed to an analog machine learning processor (also referred to herein as an analog machine learning processing system) that relies on an analog circuit instead of a digital circuit. The design of the analog machine learning processor is flexible, programmable, and consumes less power than traditional sensor-based machine learning systems. The analog machine learning processor may include one or more sensors attached to the analog circuit, a microprocessor, a storage element, hardware and software interfaces, signal processing modules, and the like. The sensors may be affixed to the analog circuit providing for efficient sensor integration and communication with a machine learning model(s) stored by the analog machine learning processor.
The analog machine learning processor may be integrated within a system (e.g., a vehicle, a structure, other type of device or system, etc.) and may detect activities that occur with respect to the system. For example, the sensors may capture sensor data of any events that occur in and around a vehicle such as a user placing their hand on a portion of the vehicle, a key scratch being drawn on the vehicle, and the like. As another example, the sensor data may capture events such as impacts that occur from other objects such as vehicles, bikes, car doors, shopping carts, and the like. The sensor data may be processed by the machine learning model to yield actionable results that can be used by the vehicle (e.g., software of the vehicle) to take additional actions with the vehicle.
The analog machine learning processor may be ultra-low power yet provide high-performance solutions. This enables the analog machine learning processor to be turned “on” continuously without using too much power. In fact, a vehicle may be embedded with multipole analog machine learning processors at different parts of the vehicle. When an event is detected, the analog machine learning processor(s) can then wake up other digital components in the system to perform operations relative to the event.
The machine learning models may be developed using PYTHON® or other programming languages. The machine learning models may be deployed on the analog machine learning processor, a vehicle, a structure, a server, and the like. Algorithms can be loaded into a memory of the analog circuit which can address different types of software applications and use cases. Furthermore, the offset and/or the mismatch of the sensors can be tuned when they are added to the analog circuit, thereby preventing such tuning from needing to be performed later on by a user. The analog machine learning processor provides the low power of an analog circuit, with the versatility, repeatability and usability similar to a digital circuit.
The analog machine learning processor 100 may include a signal decomposition module 108, a function synthesis module 110, one or more machine learning models 112, a mixed signal analysis module 114, programmable logic 116, and a digital interface 118 that is capable of receiving digital communications from other systems and software within the vehicle. The analog machine learning processor 100 also includes a digital processor 120 such as a microprocessor, with a digital storage device 121, that is capable of managing and controlling the operation of the other components within the analog machine learning processor 100. The digital processor 120 may also be attached to the analog circuit and may be coupled to the sensors and other components.
The analog machine learning processor 100 can be configured via software to perform a specific function such as detecting events and waking up other components within the system. For example, a digital processor may be kept in a low power sleep state except for when an analog signal processor detects an event and wakes the digital processor to perform an action (e.g., further analyzing the sensor data, sending a user notification, turning on camera, or any combination of actions). In this way, analog signal processing can be always running at very low power with other high power digital components only running after an event is detected from analog detectors. When the analog machine learning processor 100 detects a relevant event, the digital processor 120 can be enabled from a sleep state to run its own digital model. The digital model can process data from each analog machine learning processor 100 and analyze the data from all sensors 104, 106 to provide further analysis of the event. The configuration of the various components illustrated in
In this example, the first sensor 104 and/or the second sensor 106 may sense data in the vehicle, around the vehicle, as an object hits the vehicle, etc. The sensing may be performed while the vehicle is parked and not operating, when the vehicle is on and not operating, when the vehicle is on and moving, and the like. The analog machine learning processor 100 may draw power from the vehicle's battery, engine, and/or other sources including while the vehicle is off. The amount of power consumed is very limited (e.g., ultra-low, etc.) due to the analog design.
In the example of
In particular, user guides and support documentation 210 may inform the creation of developer code 220. For example, the developer may compose signal chain logic 222 from elements (e.g., building blocks) found in libraries 232 of an analog processor toolchain 230. The composition actions may be performed via a toolchain API 240 associated with the analog processor toolchain 230. The developer may also write test logic 224 to validate the signal chain logic 222 via a simulator 234 that may also be invoked by the toolchain API 240. In addition, the developer may write deployment logic 226 to generate a “runnable” image for an analog processor 270 target. The compilation action may be performed by a compiler 236 invoked via the toolchain API 240. The compiler 236 may compile code in a programming language, such as PYTHON®. Within the analog processing system 250, an analog processor control firmware library 262 running on a host controller 260 configures the analog processor 270 according to the image to create installed signal chain logic 272. The installed signal chain logic 272 may implement, for example, any of the algorithms described herein.
In this example, an analog machine learning processor 100a is integrated into a hood 302 of the vehicle 300, an analog machine learning processor 100b is integrated into a quarter panel 306 on the passenger side of the vehicle 300, an analog machine learning processor 100c is integrated into a door 310 on the passenger side of the vehicle 300, an analog machine learning processor 100d is integrated into another door 312 on the passenger side of the vehicle 300, and an analog machine learning processor 100e is integrated into another quarter panel 314 on the passenger side of the vehicle 300.
In addition, an analog machine learning processor 100f is integrated into a trunk 316 of the vehicle 300, an analog machine learning processor 100g is integrated into a quarter panel 318 on a driver side of the vehicle 300, an analog machine learning processor 100h is integrated into a door 322 on the driver side of the vehicle 300, an analog machine learning processor 100i is integrated into another door 324 on the driver side of the vehicle 300, and an analog machine learning processor 100j is integrated into another quarter panel 304 on the driver side of the vehicle 300.
In the example of
Although not shown in
In this example, the analog machine learning processor 100e receives the analog sensor data through the analog sensor interface. Here, the sensor data may be input through the algorithm within the analog machine learning processor which determines the type of event that occurred. For example, the touch input may be analyzed by the one or more libraries 221 shown in
In some embodiments, the analog machine learning processor 100e may communicate with a software application that is remote/external from the analog machine learning processor 100e. The software application may be installed within a computer of the vehicle 300 (not shown), a remote server, a user device of an occupant within the vehicle, another vehicle that is external from the vehicle 300, the like. For example, the remote software application may be used to reconfigure the logic of the analog machine learning processor 100e to enable the analog machine learning processor 100e to add additional functions, remove functions, and the like. Furthermore, the remote software application may receive messages from the analog machine learning processor 100c.
In this example, the analog machine learning processor 100e attempts to identify a particular touch impact. This is just merely one example. The logic within the analog machine learning processor may be customized to detect a custom sequence of action such as a touch and a voice command that are performed in sequence, etc. Here, the training of the machine learning model may cause the model to learn the logic associated with the custom sequence of events. Thus, the training can integrate the pattern into the model. As another example, a rule set could be stored and used by the system.
In this example, the analog machine learning processor 100f may compare a sound detected by the sound sensor and/or a pressure sensed by the piezoelectric sensor to detect that an impact has occurred that may cause damage to the vehicle 300. The severity of the impact may be identified from a parameter database which includes parameters (e.g., sensor value ranges, etc.) which indicate a type of event. For example, the parameters may indicate if the sound value is above a first threshold but below a second threshold, the analog machine learning processor 100f may determine that the input is an impact and should turn on a camera of the vehicle to record any possible clues as to the cause of the damage.
For example,
In this example, the vehicle 600 also includes a plurality analog machine learning processor 100-1, 100-2, . . . 100-n that are integrated into different locations on the vehicle 600 and which are communicably coupled to the hub 610. The plurality of analog machine learning processors 100-1, 100-2, . . . 100-n may be configured to perform different tasks with respect to each other. For example, one analog machine learning processor may detect a key scratch on a particular location on the vehicle while another detects whether any part of the vehicle has been in a collision/more severe impact. In this example, any of the analog machine learning processor may send a trigger or other command to the hub 610 to wake the device from a low power sleep state. The software application 612 subsequently runs in response to a detected event. The software application 612 may receive the trigger request, run its own machine learning model, compare all sensor data within the request to sensor ranges stored within the parameter database 614 to identify a type of impact that has occurred (e.g., touch, cart, vehicle, etc.) Furthermore, the software application 612 may provide communication to user devices or activate one or more systems, sub-systems, doors, engine, brakes, and the like based on commands sent from any of the analog machine learning processors.
In 720, the method may include receiving sensor data from one or more sensors of a vehicle. The vehicle sensors might be associated with, by way of example only, a camera, a LIDAR sensor, a radar sensor, an engine sensor, a brake sensor, a pedal sensor, a steering wheel sensor, an audio sensor, a piezoelectric sensor, an accelerometer, a gyroscope, an IMU sensor, etc. These sensors may connect directly to the analog machine learning processor. The sensors may be analog or digital and may transduce the sensed phenomena to a voltage, current, charge, or other electrical quantity. In any case, the analog machine learning processor may be programmed to convert the sensor signals to the required electrical forms for processing.
In 730, the method may include extracting features for the machine learning model from the received sensor data. In some embodiments, the features computed in the analog machine learning processor may include logarithmic filter bank energies, envelope modulation rates, zero-crossing rates, or features that are trained as part of the machine learning model. When multiple sensors are used, the features of all sensors may be concatenated as a single feature vector. In 740, the method may include determining an event that occurred based on execution of a machine learning model on the features of the sensor data. In some embodiments, the machine learning model may process a time sequence of feature vectors from 730. The layers of the machine learning model 740 that run in the analog machine learning processor may include common layers, such as fully-connected, convolutional, or recurrent layers. A multi-class model may be used with a dedicated output for event or multiple independent models may run for each event. In 750, the method may include storing an identifier of the event in the storage device. While the method shows the steps as being performed in an order, it should be appreciated that the method is not limited to this order and the steps may be performed in a different order. For example, the sensor data from the piezoelectric sensor may be received at the same time or after the system receives the sensor data from the audio sensor.
In some embodiments, the method may further include transmitting an identifier of the determined event to a computing system of the vehicle via an interface. In some embodiments, the method may further include transmitting a request to a software application to authenticate a user with a biometric scan based on the determined event. In some embodiments, the method may further include transmitting a message to a software application to activate an external camera based on the determined event. In some embodiments, the method may further include transmitting a message to a software application to open an automated door on a vehicle based on the determined event. In some embodiments, the method may further include determining an operation to perform with the vehicle based on the sensor data sensed by the piezoelectric sensor and the sensor data sensed by the sound sensor via the software application and executing the operation via the vehicle. For example, the system may be communicably coupled to a control unit of the vehicle such that the alarm system may be triggered by a detected event or the car lights may flash to indicate to a prowler that the vehicle is actively monitoring.
The network interface 810 may transmit and receive data over a network such as the Internet, a private network, a public network, an enterprise network, and the like. The network interface 810 may be a wireless interface, a wired interface, or a combination thereof. The processor 820 may include one or more processing devices each including one or more processing cores. In some examples, the processor 820 is a multicore processor or a plurality of multicore processors. Also, the processor 820 may be fixed or it may be reconfigurable. The input/output 830 may include an interface, a port, a cable, a bus, a board, a wire, and the like, for inputting and outputting data to and from the computing system 800. For example, data may be output to an embedded display of the computing system 800, an externally connected display, a display connected to the cloud, another device, and the like. The network interface 810, the input/output 830, the storage 840, or a combination thereof, may interact with applications executing on other devices.
The storage 840 is not limited to a particular storage device and may include any known memory device such as RAM, ROM, hard disk, and the like, and may or may not be included within a database system, a cloud environment, a web server, or the like. The storage 840 may store software modules or other instructions which can be executed by the processor 820 to perform the methods described herein. According to various embodiments, the storage 840 may include a data store having a plurality of tables, records, partitions and sub-partitions. The storage 840 may be used to store database records, documents, entries, and the like. As another example, the storage 840 may include a code repository that is configured to store source code files of computer programs including APIs.
As will be appreciated based on the foregoing specification, the above-described examples of the disclosure may be implemented using computer programming or engineering techniques including computer software, firmware, hardware or any combination or subset thereof. Any such resulting program, having computer-readable code, may be embodied or provided within one or more non-transitory computer-readable media, thereby making a computer program product, i.e., an article of manufacture, according to the discussed examples of the disclosure. For example, the non-transitory computer-readable media may be, but is not limited to, a fixed drive, diskette, optical disk, magnetic tape, flash memory, external drive, semiconductor memory such as read-only memory (ROM), random-access memory (RAM), cloud storage, and the like.
The computer programs (also referred to as programs, software, software applications, “apps”, or code) may include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms “machine-readable medium” and “computer-readable medium” refer to any computer program product, apparatus, cloud storage, and/or device (e.g., magnetic discs, optical disks, memory, programmable logic devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The “machine-readable medium” and “computer-readable medium,” however, do not include transitory signals. The term “machine-readable signal” refers to any signal that may be used to provide machine instructions and/or any other kind of data to a programmable processor.
The above descriptions and illustrations of processes herein should not be considered to imply a fixed order for performing the process steps. Rather, the process steps may be performed in any order that is practicable, including simultaneous performance of at least some steps. Although the disclosure has been described in connection with specific examples, it should be understood that various changes, substitutions, and alterations apparent to those skilled in the art can be made to the disclosed embodiments without departing from the spirit and scope of the disclosure as set forth in the appended claims.
The present application claims the benefit of U.S. Provisional Patent Application No. 63/615,513 entitled “ANALOG MACHINE LEARNING PROCESSOR” and filed on Dec. 28, 2023. The entire content of that application is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
63615513 | Dec 2023 | US |