Offline detector

By combining the main processor and the neuromorphic co-processor in the integrated circuit, using the microcontroller interface and the weight file generated by training, low-power, offline signal detection is achieved, solving the problem of low-power consumption of traditional CPUs. It solves the problem of insufficient processing power and enhances the detection capabilities of applications such as mobile devices.

CN111936884BActive Publication Date: 2024-09-27SYNTIANT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980025831.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-02-14
Filing Date
2019-02-13
Publication Date
2024-09-27
Estimated Expiration
2039-02-13

AI Technical Summary

Technical Problem

Traditional CPUs are difficult to provide sufficient processing power at low power consumption, especially in machine learning and deep learning applications, especially the processing needs of deep neural networks, and it is difficult to implement low-power offline detectors with existing technology to support Applications such as mobile devices.

Method used

An integrated circuit is designed, including a main processor and a neuromorphic coprocessor, which communicates through a microcontroller interface, uses artificial neural networks for signal detection, and detects target signals offline through weight files generated by training, supporting Continuous detection without the need for external communication networks.

Benefits of technology

It achieves low-power consumption and continuous-on detection capabilities, improves the processing capabilities and detection efficiency of applications such as mobile devices, supports target signal detection in offline states, enhances dedicated processing capabilities, and is suitable for hands-free operation, speaker recognition and Image recognition and other applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111936884B_ABST
    Figure CN111936884B_ABST
Patent Text Reader

Abstract

This document provides an integrated circuit that, in some embodiments, includes: a dedicated main processor, a neuromorphic coprocessor, and a communication interface between the main processor and the coprocessor configured to transfer information between them. The dedicated main processor may be operable as a standalone processor. The neuromorphic coprocessor may include an artificial neural network. The coprocessor is configured to enhance the dedicated processing of the main processor via the artificial neural network. In such embodiments, the main processor is a pattern identifier processor configured to send one or more detected patterns to the coprocessor via the communication interface. The coprocessor is configured to send identified patterns to the main processor.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] priority

[0002] This application claims priority to U.S. Patent Application No. 16 / 275,032, filed on February 13, 2019, which claims priority to U.S. Provisional Patent Application No. 62 / 630,729, filed on February 14, 2018, both of which are entitled "Offline Detector," which are incorporated herein by reference in their entirety. Technical Field

[0003] The field of the present disclosure generally relates to neuromorphic computing. More specifically, the field of the present disclosure relates to apparatus and methods for low-power, always-on mode detectors. Background Art

[0004] Traditional central processing units ("CPUs") process instructions based on "clocked time." Specifically, the CPU operates so that information is sent at regular intervals. Based on complementary metal oxide semiconductor ("CMOS") technology, silicon-based chips can be manufactured with over five billion transistors per die, with features as small as 10 nm. Advances in CMOS technology have led to advances in parallel computing, which is commonly used in cell phones and personal computers that contain multiple processors.

[0005] However, as machine learning becomes prevalent for many applications including bioinformatics, computer vision, video games, marketing, medical diagnostics, online search engines, etc., conventional CPUs are often unable to provide a sufficient amount of processing power while maintaining low power consumption. In particular, machine learning is a branch of computer science that targets software with the ability to learn from and make predictions about data. In addition, a branch of machine learning includes deep learning, which involves utilizing deep (multi-layer) neural networks.

[0006] Currently, research is being conducted to develop direct hardware implementations of deep neural networks, which may include systems that attempt to emulate "silicon" neurons (e.g., "neuromorphic computing"). Neuromorphic chips (e.g., silicon computing chips designed for neuromorphic computing) operate by processing instructions in parallel (e.g., compared to traditional sequential computers) using bursts of electrical current sent at non-uniform intervals. As a result, neuromorphic chips require much less power to process information, particularly artificial intelligence ("AI") algorithms. To achieve this, a neuromorphic chip may contain as many as five times as many transistors as a traditional processor while consuming as much as 1 / 2000 of the power. Thus, the development of neuromorphic chips is directed toward providing a chip with massive processing power that consumes much less power than conventional processors. Furthermore, neuromorphic chips are designed to support dynamic learning in the context of complex and unstructured data.

[0007] There is a continuing need to develop and enhance specialized processing capabilities such as found in keyword detectors for hands-free operation, speaker recognition, and image recognition for mobile devices. Systems and methods are provided herein for utilizing a microcontroller interface to enhance the specialized processing capabilities of a specialized processor operable as a standalone processor. Summary of the invention

[0008] Disclosed herein is an integrated circuit for signal detection in an offline state, comprising: a main processor configured to receive a signal stream; a neuromorphic coprocessor including an artificial neural network configured to identify one or more target signals among one or more signals received from the main processor; and a communication interface between the main processor and the coprocessor configured to transmit information therebetween.

[0009] In another embodiment, the signal stream includes a signal received through any one of sensors, including any one of an infrared sensor, a pressure sensor, a temperature sensor, a proximity sensor, a motion sensor, a fingerprint scanner, a photo eye sensor, a wireless signal antenna, etc.

[0010] In another embodiment, the signal stream includes any one of speech or non-speech acoustic signals received through a microphone, and image types or classes received through a smart camera, etc.

[0011] In yet another embodiment, the one or more target signals include any one of spoken keywords, specific sounds, desired image types or classes, and signal patterns in sensor data, among others.

[0012] In yet another embodiment, the one or more target signals may be detected by a set of weights stored in a memory storage device accessible to the integrated circuit.

[0013] In further embodiments, the set of weights comprises a programming file formed by training an external software model of an artificial neural network to recognize the one or more target signals.

[0014] In yet another embodiment, the offline state comprises the absence of a connection between the integrated circuit and an external communication network such as the Internet, the cloud, or the like.

[0015] Further disclosed is a method for generating a weight file that enables an integrated circuit to detect a desired user-specified signal, comprising: listing desired target signals detectable by a signal detector; retrieving one or more signal databases, the signal databases including standard target signals detectable by the signal detector; combining the desired target signal with one or more signal databases to construct a modified database; using the modified database to train a neural network implementation to identify the target signal and the standard signal; generating a set of weights by training the neural network implementation; and transforming the set of weights into the weight file suitable for storage in a memory storage device accessible to the integrated circuit.

[0016] In further embodiments, listing comprises inputting the target signal into a web-based application configured to generate the weight file.

[0017] In further embodiments, listing comprises inputting the target signal into a cloud-based application configured to generate the weight file.

[0018] In still further embodiments, listing comprises inputting the target signal into independent software configured to generate the weight file.

[0019] In some embodiments, the target signal includes a signal pattern within an input signal received by one or more sensors, the sensors including any one of an infrared sensor, a pressure sensor, a temperature sensor, a proximity sensor, a motion sensor, a fingerprint scanner, a photoelectric eye sensor, a wireless signal antenna, etc.

[0020] In various embodiments, the target signal may be any type of signal that an end user wants to detect.

[0021] In various embodiments, the target signal may be a spoken keyword, a non-verbal acoustic signal such as a specific sound, a type or class of image to be detected by a smart camera, and the like.

[0022] In yet further embodiments, combining comprises marking the target signal with a corresponding label and marking all other signals with a common label.

[0023] In still further embodiments, the neural network implementation is a software model of a neural network implemented in an integrated circuit comprising the signal detector.

[0024] In yet additional embodiments, the weight file may be provided to the end user upon purchase of the mobile device.

[0025] In yet other embodiments, the weights file may be programmed into one or more chips that may be purchased by an end user for use in a mobile device.

[0026] In yet further embodiments, after an end user installs the weight file to the mobile device, the signal detector may detect the target signal by using the set of weights.

[0027] In yet another embodiment disclosed herein, the signal detector continues to detect the target signal in an offline state, wherein the offline state includes the absence of a connection between the signal detector and an external communication network such as the Internet, the cloud, or the like. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings relate to embodiments of the present disclosure, in which:

[0029] Figure 1 Provides a schematic diagram illustrating an exemplary embodiment of a system for designing and updating a neuromorphic integrated circuit ("IC") in accordance with some embodiments;

[0030] Figure 2 providing a schematic diagram illustrating an exemplary embodiment of an analog multiplier array according to some embodiments;

[0031] Figure 3 providing a schematic diagram illustrating an exemplary embodiment of an analog multiplier array according to some embodiments;

[0032] Figure 4A provides a schematic diagram illustrating an exemplary embodiment of a microcontroller interface between a coprocessor of a neuromorphic IC and a main processor of an application specific IC in accordance with some embodiments;

[0033] Figure 4B is a schematic diagram illustrating an exemplary embodiment of an image detection system including an image detection host processor and a co-processor of a neuromorphic IC in accordance with some embodiments;

[0034] Figure 4Cis a schematic diagram illustrating an exemplary embodiment of a generalized detection system including a pattern detection host processor and a co-processor of a neuromorphic IC in accordance with some embodiments;

[0035] Figure 5 Provides a schematic diagram illustrating an exemplary method of a neuromorphic IC for detecting signal patterns received through various sensors in accordance with some embodiments;

[0036] Figure 6 providing a block diagram illustrating components including an exemplary mobile device including a signal detector according to some embodiments; and

[0037] Figure 7 is a schematic diagram illustrating a method of generating a weight file according to the present disclosure, which weight file can be used by a user for the purpose of performing a desired user-specific function in an offline state.

[0038] Although the present disclosure is subject to various modifications and alternative forms, specific embodiments thereof have been shown by way of example in the drawings and will be described in detail herein. The present invention should be understood not to be limited to the particular forms disclosed, but rather, the present invention is intended to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the present disclosure. DETAILED DESCRIPTION

[0039] In the following description, certain terms are used to describe features of the present invention. For example, in some cases, the term "logic" may refer to hardware, firmware, and / or software configured to perform one or more functions. As hardware, logic may include circuits with data processing or storage functions. Examples of such circuits may include, but are not limited to, or may be limited to, a microprocessor, one or more processor cores, a programmable gate array, a microcontroller, a controller, an application specific integrated circuit, a wireless receiver, a transmitter and / or a transceiver circuit, a semiconductor memory, or a combinational logic.

[0040] The term "process" may include an instance of a computer program (eg, a set of instructions, also referred to herein as an application). In one embodiment, the process may include one or more threads that execute concurrently (eg, each thread may execute the same or different instructions concurrently).

[0041] The term "processing" may include executing a binary or script or launching an application in which an object is processed, where launching should be interpreted as placing an application in an open state and, in some implementations, performing a simulation of an action (typically a human interaction with the application).

[0042] The term "object" generally refers to a collection of data, either in transmission (e.g., over a network) or at rest (e.g., storage), typically having a logical structure or organization that enables it to be categorized or classified. Herein, the terms "binary file" and "binary" will be used interchangeably.

[0043] The term "file" is used in a broad sense to refer to a set or collection of data, information or other content used with a computer program. A file can be accessed, opened, stored, manipulated or otherwise processed as a single entity, object or unit. A file can contain other files, and can contain related or unrelated content or no content at all. A file can also have a logical format, and / or be part of a file system with a logical structure or organization of multiple files. A file can have a name, sometimes referred to as a "file name", and usually has additional attributes or other metadata. There are many types of files, such as data files, text files, program files, and directory files. A file can be generated by a user of a computing device or by a computing device. Access to and / or operations on a file can be mediated by one or more applications and / or operating systems of a computing device. A file system can organize files of a computing device storing a device. A file system can enable tracking of files and enable access to those files. A file system can also enable operations on files. In some embodiments, operations on files can include file creation, file modification, file opening, file reading, file writing, file closing, and file deletion.

[0044] The term "host processor" includes the main processor, such as the CPU or digital signal processor (DSP) of an IC in a system. A host processor is one that can be independent but benefit from the inclusion of neuromorphic computing provided by a neuromorphic IC or its processor through a microcontroller interface.

[0045] The term "coprocessor" includes an additional processor that interfaces with a main processor through a microcontroller interface. The additional processor can be configured to perform functions that are impossible for the main processor alone to perform, or functions that the coprocessor can perform faster or with lower power.

[0046] The term "enhanced filter" includes filters configured to suppress unwanted noise in a signal by selectively attenuating or boosting certain components of the signal on a time-varying basis. Likewise, "enhanced filtering" includes filtering to suppress unwanted noise in a signal by selectively attenuating or boosting certain components of the signal on a time-varying basis.

[0047] Finally, the terms "or" and "and / or" as used herein should be interpreted as inclusive or meaning any one or any combination. Thus, "A, B, or C" or "A, B, and / or C" means "any one of: A; B; C; A and B; A and C; B and C; A, B, and C". An exception to this definition would only occur if a combination of elements, functions, steps, or actions are inherently mutually exclusive in some way.

[0048] Reference now Figure 1 According to some embodiments, a schematic diagram showing a system 100 for designing and updating a neuromorphic IC is provided. As shown, the system 100 may include a simulator 110, a neuromorphic synthesizer 120, and a cloud 130 configured to design and update a neuromorphic IC such as a neuromorphic IC 102. As further shown, designing and updating a neuromorphic IC may include creating a machine learning architecture based on a specific problem using the simulator 110. As can be appreciated by those skilled in the art, a cloud-based computer system may include, but is not limited to, a system that can provide software as a service ("SaaS"), platform as a service ("PaaS"), and / or infrastructure as a service ("IaaS") resources. The neuromorphic synthesizer 120 may then transform the machine learning architecture into a netlist of electronic components of the neuromorphic IC 102 and nodes to which the electronic components are connected. In addition, the neuromorphic synthesizer 120 may transform the machine learning architecture into a graphical database system ("GDS") file that details the IC layout of the neuromorphic IC 102. Based on the netlist and GDS file of the neuromorphic IC 102, the neuromorphic IC 102 itself can be manufactured according to current IC manufacturing technology. Once the neuromorphic IC 102 is manufactured, it can be deployed to address the specific problem for which it was designed. Although the initially manufactured neuromorphic IC 102 may include initial firmware with customized synaptic weights between nodes, the initial firmware can be updated by the cloud 130 as needed to adjust the weights. Since the cloud 130 is configured to update the firmware of the neuromorphic IC 102, the cloud 130 is not required for daily use.

[0049] Neuromorphic ICs such as neuromorphic IC 102 can have up to 100x or greater energy efficiency than graphics processing unit ("GPU") solutions and up to 280x or greater energy efficiency than digital CMOS solutions, with accuracy meeting or exceeding comparable software solutions. This makes such neuromorphic ICs suitable for battery-powered applications.

[0050] Neuromorphic ICs such as neuromorphic IC 102 may be configured for application specific standard products ("ASSPs") including, but not limited to, keyword detection, speech recognition, sound recognition, one or more audio filters, gesture recognition, image recognition, video object classification and segmentation, or autonomous vehicles including drones. For example, if the particular problem is one of detecting keywords, simulator 110 may create a machine learning architecture for one or more aspects of spoken word identification. Neuromorphic synthesizer 120 may then transform the machine learning architecture into a netlist and GDS file corresponding to a neuromorphic IC for word identification, which may be manufactured according to current IC manufacturing techniques. Once the neuromorphic IC for word identification is manufactured, it may be deployed to engage in instances of locating keywords, such as in or using, for example, a mobile device, as further described herein.

[0051] A neuromorphic IC such as neuromorphic IC 102 may be deployed in a toy, a sensor, a wearable device, an augmented reality ("AR") system or device, a virtual reality ("VR") system or device, a mobile system or device, an appliance, an Internet of Things ("IoT") device, or a hearing system or device.

[0052] Reference now Figure 2 , according to some embodiments, a schematic diagram showing an analog multiplier array 200 is provided. Such an analog multiplier array can be based on a digital NOR flash memory array, because the core of the analog multiplier array can be similar to or the same as the core of the digital NOR flash memory array. That is, at least the selection and readout circuits of the analog multiplier array are different from the digital NOR array. For example, the output current is routed to the next layer as an analog signal instead of reaching the sense amplifier / comparator through the bit line to be converted into a bit. The word line analog is driven by an analog input signal instead of a digital address decoder. In addition, the analog multiplier array 200 can be used in a neuromorphic IC such as the neuromorphic IC 102. For example, a neural network can be arranged in the analog multiplier array 200 in a memory sector of the neuromorphic IC.

[0053] Because the analog multiplier array 200 is an analog circuit, the input and output current values ​​(or signal values) can vary over a continuous range rather than simply being on or off. This is useful for storing weights or coefficients of a neural network rather than digital bits. In operation, in some embodiments, the weights are multiplied in the core with the input current values ​​231, 232, 233, 234 to provide output current values, which are combined to obtain the decision of the neural network. In addition, the analog multiplier array 200 can utilize standard programming and erasing circuits to generate tunneling and erase voltages. In many embodiments, the input current values ​​231, 232, 233, 234 are provided by the input generator 230. Those skilled in the art will recognize that such input current values ​​can be generated or obtained from various devices or other components within the system. In addition, the charge stored within the multiplier 210 can cause the voltage on the floating gate to shift and through the weight w i,j to scale the drain current.

[0054] Reference now Figure 3 , a schematic diagram illustrating an analog multiplier array 300 is provided, according to some embodiments. The analog multiplier array 300 may use two transistors (e.g., a positive transistor and a negative transistor) such as, but not limited to, a metal oxide semiconductor field effect transistor ("MOSFET") or a field effect transistor ("FET") to perform a two-quadrant multiplication of a signed weight (e.g., a positive weight or a negative weight) with a non-negative input current value. In many embodiments, the input current value may be provided by a separate input generator 330. In some embodiments, the input generator 330 may be similar to Figure 2 If the input current value provided by the input generator 330 is multiplied by a positive weight or a negative weight, the product or output current value may be positive or negative, respectively. The positive weighted product may be stored in the first column (e.g., corresponding to I in the analog multiplier array 300). Out0+ The negative weighted products may be stored in a second column (eg, corresponding to I in analog multiplier array 300). Out0- By way of example and not limitation, I Out0+ and I Out0- Can be considered as a differential current output 310, which is then provided to a plurality of current sensing circuits, including but not limited to a current mirror, a charge integrator and / or a transimpedance amplifier. The aforementioned differential output 310, 320 can provide a product of positive weighting and negative weighting, or the output signal value can be taken as a differential current value to provide useful information for making a decision.

[0055] Since each output current from the positive or negative transistor is wired to ground and is proportional to the product of the input current value and the positive or negative weight, respectively, the power consumption of the positive or negative transistor is at zero or near zero when the input current value or weight is at zero or near zero. That is, if the input signal value is '0', or if the weight is '0', the corresponding transistor of the analog multiplier array 300 will not consume power. This is important because in many neural networks, most of the values ​​or weights are often '0', especially after training. Therefore, energy is saved when nothing is being done or going on. This is different from differential pair based multipliers, which consume a constant current (e.g., through a tail bias current) regardless of the input signal.

[0056] Reference now Figure 4A , provides a schematic diagram illustrating a microcontroller interface 405A between a main processor of a neuromorphic IC 402A and an application specific IC 404A according to some embodiments. Figure 4A 402A and the main processor of the dedicated IC 404A should also be taken as describing the microcontroller interface 405A between the neuromorphic coprocessor within the neuromorphic IC and the dedicated main processor of the single monolithic IC; that is, unless the context clearly indicates otherwise.

[0057] like Figure 4A As shown, the dedicated IC 404A may include, but is not limited to, an IC for a speech recognition system or device, including a keyword spotter, a speaker recognition system, or an image detection system. In one embodiment, the IC for the keyword spotter 430A may include a keyword identifier main processor 440A (see Figure 4A 406A), which includes a dedicated main processor 404A, as well as a microphone 410A, a filter bank 420A, and a signal output to a speaker 406A. Figure 4BIn the illustrated embodiment, an IC for an image detection system 400B may include an image detection host processor 408B as a dedicated host processor, an image generation device and / or data source 410B, a filter bank 420B, and a signal output to a computing device 426B, which may include both personal and mobile computing devices. However, it should be understood that the neuromorphic coprocessor may interface with any one or more of a plurality of dedicated host processors. The foregoing embodiments of a neuromorphic coprocessor interfaced with a keyword identifier host processor or an image detection host processor are provided for illustration only. It should be understood that expansion to other ASSPs may require certain modifications to conform to the specific functionality of the other ASSPs.

[0058] like Figure 4A As shown, in the case of speech recognition, the neuromorphic IC 402A or a portion of the above-mentioned single monolithic IC corresponding to the neuromorphic IC 402A may include, but is not limited to, interface circuits, a deep speech enhancement network with cloud-updatable synaptic weights, and a database of desired keywords. In some embodiments, the synaptic weights may be stored on a non-volatile memory accessible to the neuromorphic IC 402A, such as flash memory or other suitable media. In addition, the dedicated IC 404A or a portion of the above-mentioned single monolithic IC corresponding to the dedicated IC 404A may include, but is not limited to, a keyword identifier main processor 440A, a microphone 410A, a filter bank 420A, and a signal output to a speaker 406A or other suitable analog and / or digital outputs. The neuromorphic IC 402A and the dedicated IC 404A may be configured to communicate with each other via a bus such as a serial peripheral interface ("SPI") or an inter-integrated circuit ("I 2 C") bus or the like to communicate with a digital chip-to-chip interface 405A.

[0059] The keyword identifier main processor 440A can be configured to send frequency elements or signal spectrum information in the form of Fourier transform or similar frequency decomposition to the neuromorphic coprocessor for audio signal processing tasks such as audio enhancement or denoising via the SPI bus 405A. The neuromorphic IC 402A can receive these tasks via the interface circuit 470A. The neuromorphic coprocessor can be configured to subsequently perform word recognition tasks via the recognition network 480A and send the results back to the keyword identifier main processor 440A via the SPI bus 405A. The word recognition task can generate weighted data for the desired signal 490A, which can also be utilized and / or stored for future use. In some embodiments, the neuromorphic coprocessor can access a database including a keyword list, thereby identifying the spoken keyword. In some embodiments, the result sent back to the keyword identifier main processor 440A may include a weighted signal for the detected desired word. The keyword identifier main processor 440A may be configured to subsequently send one or more signals indicating that the desired keyword is detected. In some embodiments, the one or more signals may include a signal sent to other dedicated ICs that are configured to perform specific tasks when the desired keyword is detected. In various embodiments, the synaptic weights of the identification network 480A may be updated periodically or in response to a manual update process. In other embodiments, the synaptic weights may be dynamically modified based on feedback given by a user and / or the system.

[0060] As mentioned above, in Figure 4B In one embodiment shown, the IC for the image detection system 400B may include an image detection host processor 408B as a dedicated host processor, an image generation device and / or data source 410B, and a signal output to a computing device 426B, such as, but not limited to, a personal computer and / or a mobile device. In many embodiments, the IC for the image locator 430B may include a keyword identifier host processor 440B (see Figure 4BThe image detection main processor 408B may be configured to send frequency elements or signal spectrum information in the form of Fourier transforms or similar frequency decompositions to the neuromorphic IC 412B via the SPI bus 405B for image processing tasks, such as detecting image classes. The neuromorphic IC 412B may receive these tasks via the interface circuit 470B. The neuromorphic IC 412B may be configured to subsequently perform image recognition tasks via the recognition network 480B and send the results back to the image detection main processor 408B via the SPI bus 405B. The word recognition task may generate weighted data for the desired signal 490B, which may also be utilized and / or stored for future use. In some embodiments, the neuromorphic IC 412B may access a database including a list of desired images, thereby identifying images detected by the image generation device and / or data source 410B. In some embodiments, the results sent back to the image detection main processor 408B may include weighted signals for the detected desired images. The image detection main processor 408B may be configured to subsequently send one or more signals indicating that the desired image has been detected. As Figure 4B As shown, the signal may be sent to computing device 426B. In other embodiments, the signal output may be routed to another device or input for further processing. Computing device 426B may be, but is not limited to, a desktop, tablet computer, server, mobile phone, media player, personal digital assistant (PDA), personal communicator, gaming device, network router or hub, wireless access point (AP) or repeater, set-top box, or any of a combination thereof. In some embodiments, one or more signals may include a signal sent to other dedicated ICs that are configured to perform specific tasks when camera 416 captures a desired image.

[0061] However, it should be understood that the IC described above is not limited to the Figure 4A and 4B The detection of sound and image is discussed. For example, Figure 4C A schematic diagram is provided showing an exemplary embodiment of a generalized detection system 400C including a pattern detection main processor 444C as a dedicated IC and a neuromorphic IC 448C according to some embodiments. The pattern to be detected may be in an input signal received from a variety of different sensors 452C. In many embodiments, the pattern detection main processor 444C may include a filter bank 420C, a signal identifier main processor 440C (see Figure 4C 456C) and signal output to multiple devices 456C. Figure 4CAs shown, sensor 452C may include any of an infrared sensor, a pressure sensor, a temperature sensor, a proximity sensor, a motion sensor, a fingerprint scanner, a photoelectric eye sensor, a wireless signal antenna, etc. Those skilled in the art will recognize that the type of input is not limited to the foregoing list, but may include any type of signal that may contain a detectable pattern.

[0062] Similar to the main processor discussed above, the pattern detection main processor 444C can send frequency elements or signal spectrum information in the form of Fourier transform or similar frequency decomposition to the neuromorphic IC 448C via the SPI bus 405C for processing tasks, such as detecting desired patterns in input signals. The neuromorphic IC 448C can receive these tasks via the interface circuit 470C. The neuromorphic IC 448C can be configured to perform pattern recognition tasks via the recognition network 480C and send the results back to the pattern detection main processor 444C via the SPI bus 405C. The word recognition task can generate weighted data for the desired signal 490C, which can also be utilized and / or stored for future use. It is conceivable that the neuromorphic IC 448C can access a database including a list of known patterns, thereby detecting the desired pattern in the input signal received from the pattern detection main processor 444C. In some embodiments, the results of the pattern recognition tasks sent back to the pattern detection main processor 444C can include weighted signals of the desired patterns detected by the sensor 452C.

[0063] Once the desired pattern is detected, the pattern detection main processor 444C may then send one or more output signals indicating that the desired pattern has been detected. The output signals may be sent to a device 456C, including any one of a desktop, tablet computer, server, mobile phone, media player, personal digital assistant (PDA), personal communicator, gaming device, network router or hub, wireless access point (AP) or repeater, set-top box, or any combination thereof. In addition, in some embodiments, the device 456C may include other dedicated ICs that are configured to perform specific tasks when the sensor 452C captures the desired pattern.

[0064] It is contemplated that the application specific ICs 404A, 408B, 444C and the neuromorphic ICs 402A, 412B, 448C may be implemented in a single system or system on a chip ("SoC") configuration. It is also contemplated that certain embodiments may have the application specific ICs 404A, 408B, 444C and / or the neuromorphic ICs 402A, 412B, 448C implemented remotely via a network connection to the digital inter-chip interface 405A, 405B, 405C.

[0065] Reference now Figure 5, a schematic diagram is provided showing a method 500 of a neuromorphic IC for detecting a signal pattern received, for example, by a sensor 452C, according to some embodiments. As shown, the method includes 1) a first step 510, in which a pattern detection main processor calculates a frequency component; 2) a second step 520, in which the pattern detection main processor sends the frequency component to a neuromorphic coprocessor; 3) a step 530, in which the neuromorphic coprocessor performs inference and identifies a desired pattern in the frequency component; 4) a step 540, in which the neuromorphic coprocessor sends the identified pattern to the pattern detection main processor; and 5) a step 550, in which the neuromorphic coprocessor waits until the next time step.

[0066] It should be understood that method 500 may be implemented to detect signals from a plurality of different sensors (eg, by way of example and not limitation, Figure 4C The sensor 452C shown in FIG. Figure 4C As discussed, the sensor 452C may include any of the signal sources, including but not limited to infrared sensors, pressure sensors, temperature sensors, proximity sensors, motion sensors, fingerprint scanners, photoelectric eye sensors, wireless signal antennas, any combination thereof, and the like. For example, in some embodiments, the method 500 may be implemented in a security capacity. In such an embodiment, the first step 510 may include the pattern detection main processor identifying an adverse sound, such as an undesired intrusion into a restricted area. In step 530, the coprocessor may perform a sound recognition task and then send the recognized sound to the pattern detection main processor in step 540. Thus, upon detecting an adverse sound, the pattern detection main processor may output a signal to other ICs, which causes an alarm to sound.

[0067] Additionally, in some embodiments, the method 500 may be implemented in an image recognition capacity, whereby the first step 510 includes an image detection host processor detecting the type of image captured by a camera or other imaging device and / or data source, such as in conjunction with Figure 4B In step 530, the coprocessor may perform tasks related to image recognition and then send a signal to the image detection main processor in step 540 as to whether the expected image has been detected. In a security implementation such as a facial recognition system, for example, upon detecting an expected image or an image including expected attributes, the image detection main processor may output a signal to other ICs that unlock or disarm the alarm system.

[0068] Figure 6 is a block diagram illustrating components of an exemplary mobile device 600 that may include a signal pattern detector including, but not limited to, a signal pattern detector as described herein. Figures 4A-4CThe disclosed keyword locator and / or image detector. In the illustrated embodiment, the mobile device 600 may include one or more microphones 604, at least one processor 608, a signal detector 612, a memory storage device 616, and one or more communication devices 620. In some embodiments, the mobile device 600 may also include additional or other components necessary for the operation of the mobile device 600. In some embodiments, the mobile device 600 may include fewer components that perform similar or equivalent functions to those described herein.

[0069] In some embodiments, according to some embodiments, once the acoustic signal is received (e.g., as captured by the microphone(s) 604), it may be converted into an electrical signal, which in turn may be converted into a digital signal by the signal detector 612 for processing. The processed signal may be sent to the processor 608 for further processing. In some embodiments, some of the microphones 604 may be digital microphone(s) operable to capture the acoustic signal and output a digital signal. Some of the digital microphone(s) may provide voice activity detection or utterance detection, and may buffer the audio data prior to utterance detection, apparently.

[0070] The signal detector 612 is operable to process acoustic signals. In some embodiments, the acoustic signals are captured by the microphone(s) 604. In some embodiments, the acoustic signals detected by the microphone(s) 604 can be used by the signal detector 612 to separate desired speech (e.g., keywords) from ambient noise, thereby providing more robust automatic speech recognition (ASR).

[0071] In some embodiments, signal detector 612 may include a neuromorphic IC and a dedicated IC, such as Figure 4A . The signal detector 612 may be configured to send one or more signals indicating identification of an expected keyword or other sound. In some embodiments, one or more signals may be sent to the processor 608 or other dedicated IC, which is configured to perform a specific task when an expected keyword or other sound is identified. Thus, the signal detector 612 may be configured to provide hands-free operation of the mobile device 600.

[0072] In some embodiments, signal detector 612 can be configured to remain in low power, always open state, thus signal detector 612 remains continuously ready to detect target information, such as specific keywords, specific speakers or image classes. As will be appreciated, conventional DSP detectors such as keyword locators are usually in low consciousness, low power states until something such as voice appears in the environment, and then the entire DSP is powered on to full power. When the entire DSP is powered on, conventional DSP keyword locators are then placed in a fully conscious state, so that keywords can be detected. However, in the case of word detection, the time required for switching the DSP from low power to full power can cause the keyword locator to miss the initial one or more words. In some implementations, the waiting time may cause adverse results. For example, in the case of a DSP detector configured for safety, the time wasted due to the waiting time may cause the loss of key evidence about the crime that has been implemented.

[0073] Unlike conventional DSP detectors, signal detector 612 remains fully conscious when mobile device 600 is placed in a low power state. Signal detector 612 is able to detect changes in the environment, such as voice, without taking time to power on other components before detection may occur. Therefore, signal detector 612 is configured to detect keywords or other sounds with essentially zero latency. It is expected that a fully conscious state of signal detector 612 can be achieved by operating the signal detector within a power envelope that is not important to the remaining components including mobile device 600. In some embodiments, for example, signal detector 612 can be implemented as a minimal component including mobile device 600, so that the signal detector can be powered by current leakage from a battery. In this way, when components including mobile device 600 are placed in a low power sleep mode, signal detector 612 can continue to operate in a fully conscious state maintained by normal leakage current from a battery.

[0074] The processor 608 may include hardware and / or software operable to execute computer programs stored in the memory storage device 616. The processor 608 may use floating point operations, complex operations, and other operations required to implement the embodiments of the present disclosure. In some embodiments, the processor 608 of the mobile device 600 may include, for example, at least one of a DSP, an image processor, an audio processor, a general purpose processor, etc.

[0075] In various embodiments, the exemplary mobile device 600 is operable to communicate over one or more wired or wireless communication networks, for example, via the communication device 620. In some embodiments, the mobile device 600 can send at least an audio signal (voice) over a wired or wireless communication network. In some embodiments, the mobile device 600 can encapsulate and / or encode at least one digital signal for transmission over a wireless network (e.g., a cellular network).

[0076] In addition, it should be understood that the general mobile device 600 and the signal detector 612 in particular are not limited to detecting keywords for hands-free operation of the mobile device. For example, in some embodiments, the mobile device 600 can be configured for security-related implementations. In this way, the mobile device 600 can be configured to detect previously defined adverse sounds within a restricted area, such as glass breaking. Upon detecting an adverse sound, the signal detector 612 can be configured to output one or more signals indicating to other components that an adverse sound has been detected. In some embodiments, for example, the signal detector 612 can trigger an alarm system upon detecting an adverse sound.

[0077] In some embodiments, the mobile device 600 can be configured to recognize an image. For example, the signal detector 612 can be configured to process an image captured by a camera including the mobile device 600. In a security implementation such as a facial recognition system, the signal detector 612 can process the image to search for an image with predefined desired attributes. Upon detecting an image with the desired attributes, the signal detector 612 can output a signal to other ICs that unlock or disarm the alarm system. It is contemplated that in some embodiments, such a security implementation can be facial recognition, whereby upon detecting an image of the desired user's face, the signal detector 612 can send one or more signals to unlock or disarm the security system.

[0078] In one embodiment, signal detector 612 is configured to operate in the absence of an active connection to a communication network such as the Internet or cloud 130. Figure 1 As discussed, although the cloud 130 is configured to update the firmware of the signal detector 612, the cloud 130 may not be required for daily use of the signal detector 612. It will be appreciated by those skilled in the art that operating the signal detector 612 in an offline state, in the absence of a connection to the cloud 130, is advantageously more secure than having an always-online connection to the cloud 130 or the Internet. For example, when the signal detector 612 is implemented in a secure capacity, operating in an offline state prevents unwanted intrusions through a connection from the cloud 130. In addition, the ability to operate in an offline state facilitates implementing the signal detector 612 in situations where a connection to the cloud 130 is not always available, such as when the signal detector is implemented in a hearing aid.

[0079] Preferably, machine learning can be accomplished through a connection with the cloud 130, as shown in FIG. Figure 1 In one embodiment, the synaptic weights may be downloaded and stored to a non-volatile memory, such as flash memory or memory storage device 616. The signal detector 612 may access the stored synaptic weights to be able to distinguish between signals received by the signal detector 612 in the absence of a connection to the cloud 130. As should be appreciated, the distinction between signals may enable the signal detector 612 to identify keywords, specific speakers, or image classes as desired.

[0080] In one embodiment, user-specific target information such as specific keywords, specific speakers or image classes, etc. can be combined with an existing database to form a user-specific training set, which can be used to train an existing neural network type model on the combined data to generate synaptic weights. A weight file can be generated and written into a chip, which can perform the user-specific function associated with the target information.

[0081] Figure 7 700 is a schematic diagram showing a method for generating a weight file, which can be used by a user for the purpose of performing a desired user-specific function. In one embodiment, method 700 is performed by a web-based application or other suitable software application. It is conceivable that the application can be a cloud-based application, or the application can be distributed as a stand-alone software, as required. Method 700 can start from step 704, which enables a user or customer to input a desired target signal into the application. The target signal specified by the user can be any type of signal that the user wants to detect. For example, the target signal specified by the user can be a spoken keyword, a non-verbal acoustic signal such as a specific sound, an image type or class to be detected by a smart camera, etc.

[0082] In an exemplary embodiment, where the signal detector 612 is a keyword locator, the user may enter a desired keyword in step 704. For example, the user may want the signal detector 612 to identify personalized words, such as "on," "off," "hotter," and "colder," as non-limiting examples, in addition to other standard keywords already included in the keyword database.

[0083] In step 708, the application retrieves one or more signal databases that include target signals detectable by signal detector 612. Continuing with the keyword locator example, the signal databases may include standard keywords detectable by signal detector 612, as described herein. In step 712, the user-specified target signal is combined with the one or more signal databases to construct a modified database. In one embodiment, for example, the user-specified target signal may be labeled with an appropriate corresponding tag, while all other signals may be identified by a general tag, such as "Other".

[0084] Then, in step 716, the modified database can be used to train a neural network implementation to recognize the signals included in the modified database. It is contemplated that the neural network implementation can be a software model of a neural network implemented in hardware including the mobile device 600. Training the neural network implementation generates a set of weights that can be used by the signal detector 612 to detect target signals in the modified database. In step 720, the set of weights generated by step 716 is transformed into a file format suitable for storage in the memory storage device 616 or flash memory of the mobile device 600. In some embodiments, a programming file including the set of weights can be provided to the end user when the mobile device 600 is purchased. In some embodiments, the file can be programmed into one or more chips that can be purchased by the end user.

[0085] After the end user installs the file including the weights into the mobile device 600 via the programming file or chip described above, the signal detector 612 can detect the target signal specified in the modified database. Therefore, as should be understood, since the training of the neural network including the signal detector 612 is performed outside the mobile device 600 and the resulting weights are stored in the memory storage device 616, the signal detector 612 can continue to detect the target signal in an offline state in the absence of the cloud 130 or other network connection.

[0086] Although the present invention has been described with respect to specific variations and illustrative drawings, it will be recognized by those of ordinary skill in the art that the present invention is not limited to the variations or drawings described. In addition, where the above-described methods and steps indicate specific events occurring in a particular order, it will be recognized by those of ordinary skill in the art that the order of specific steps may be modified, and such modifications are variations in accordance with the present invention. In addition, certain steps may be performed simultaneously (when possible) in a parallel process, as well as sequentially as described above. To the extent that variations of the present invention that are within the spirit of the present disclosure or equivalent to the invention found in the claims exist, it is intended that the present patent will also cover those variations. Therefore, the present disclosure should be understood to be not limited to the specific embodiments described herein, but only to the scope of the appended claims.

Claims

1. An integrated circuit for signal detection in an offline state, comprising: a main processor coupled to the coprocessor and configured to receive the signal stream; wherein the signal stream includes signals received through at least one of: an infrared sensor, a pressure sensor, a temperature sensor, a proximity sensor, a motion sensor, a fingerprint scanner, a photoelectric eye sensor, a microphone, and a wireless signal antenna; The coprocessor is configured to perform one or more recognition tasks via the recognition network and send one or more results to the main processor; wherein the coprocessor comprises a neural network configured to identify one or more target signals from the received signal stream, The one or more target signals can be detected using a set of weights without connecting to an external communication network, wherein the main processor is configured to receive weighted signals from the coprocessor and send one or more target signals indicating detection of the desired user-specified signals.

2. The integrated circuit according to claim 1, wherein: The one or more target signals include any of spoken keywords, non-verbal acoustic signals, desired image types, and signal patterns in sensor data.

3. The integrated circuit according to claim 1, wherein: The set of weights is stored in a memory storage device accessible to the integrated circuit.

4. The integrated circuit according to claim 1, wherein: The set of weights comprises a programming file formed by training an external software model of an artificial neural network to recognize the one or more target signals.

5. The integrated circuit according to claim 1, wherein: The offline state includes the absence of a connection between the integrated circuit and an external communication network.

6. A method for generating a weight file for enabling an integrated circuit to detect a desired user-specified signal, comprising: List the desired target signals that can be detected by the signal detector; searching one or more signal databases, the signal databases comprising standard target signals detectable by the signal detector; combining the desired target signal with the one or more signal databases to construct a modified database; Using the modified database to train a neural network implementation to recognize target signals and standard signals; Producing a set of weights by training a neural network implementation; as well as transforming said set of weights into said weight file suitable for storage in a memory storage device accessible to said integrated circuit; The main processor receives the set of weights from the coprocessor and sends one or more signals indicating detection of an expected user-specified signal, wherein the coprocessor is configured to perform one or more recognition tasks for the main processor; wherein the weight file is used to detect the expected user-specified signal received from at least one of the following: an infrared sensor, a microphone, a pressure sensor, a temperature sensor, a proximity sensor, a motion sensor, a fingerprint scanner, a photoelectric eye sensor, and a wireless signal antenna.

7. The method according to claim 6, wherein: Listing includes inputting the target signal into a web-based application configured to generate the weight file.

8. The method according to claim 6, wherein: Listing includes inputting the target signal into a cloud-based application configured to generate the weight file.

9. The method according to claim 6, wherein: Listing includes inputting the target signal into independent software configured to generate the weight file.

10. The method according to claim 6, wherein: The target signal is a signal of the type that the end user wants to detect.

11. The method according to claim 10, wherein: The target signal is a spoken keyword, a non-verbal acoustic signal, or an image type to be detected by a smart camera.

12. The method according to claim 6, wherein: Combining includes marking the target signal with the corresponding label and marking all other signals by a common label.

13. The method according to claim 6, wherein: The neural network implementation is a software model of a neural network implemented in an integrated circuit including a signal detector.

14. The method according to claim 6, wherein: The weight file is provided to the end user upon purchase of the mobile device.

15. The method according to claim 6, wherein: The weights file is programmed into one or more chips purchased by the end user for use in a mobile device.

16. The method according to claim 6, wherein: After the end user installs the weight file into the mobile device, the signal detector detects the target signal by using the set of weights.

17. The method according to claim 16, wherein: The signal detector continues to detect the target signal in an offline state, the offline state including the absence of a connection between the signal detector and an external communication network.

18. A system for signal detection in an offline state, comprising: a main processor coupled to the coprocessor and configured to receive the signal stream; wherein the one or more signals are received via at least one of: an infrared sensor, a microphone, a pressure sensor, a temperature sensor, a proximity sensor, a motion sensor, a fingerprint scanner, a photoelectric eye sensor, and a wireless signal antenna; The coprocessor is configured to perform one or more recognition tasks and send one or more results to the main processor, the coprocessor includes an artificial neural network configured to identify one or more target signals in one or more signals; wherein the one or more recognition tasks are performed using the artificial neural network; A communication interface between the main processor and the coprocessor is configured to transmit information therebetween, and wherein the one or more target signals can be identified using a set of weights, and wherein the main processor is configured to receive weighted signals from the coprocessor and to send one or more target signals indicating detection of a desired user-specified signal.