SIGNAL GAUGE
20200304134 ยท 2020-09-24
Inventors
Cpc classification
H02H3/105
ELECTRICITY
H01H9/00
ELECTRICITY
G06F11/3058
PHYSICS
G06F11/0736
PHYSICS
G06F11/0787
PHYSICS
International classification
H03M1/06
ELECTRICITY
Abstract
There is provided an analog signal gauge that monitors an analog signal at a node and a non-volatile memory element to store an event that occurs at the node when a certain criteria, such as exceeding a maximum safe threshold, is satisfied. This way, the analog signal gauge can help to provide an accurate picture of the operating characteristics in the analog circuit which it is monitoring, including indications of faults that occur in the analog system.
Claims
1. An analog signal gauge, comprising: a conditioning circuit, configured to monitor an analog signal at a node in an analog circuit; and at least one non-volatile memory (NVM) element configured to store analog information, wherein the conditioning circuit is configured to compare the analog signal with a first threshold and to record analog information about an event in the NVM element by charging or discharging the NVM, in response to the analog signal exceeding the first threshold.
2. An analog signal gauge according to claim 1, wherein the recorded analog information corresponds to an adjustable level of the first threshold.
3. An analog signal gauge according to claim 2, wherein the recorded analog information represents an extent to which the analog signal exceeds the first threshold.
4. An analog signal gauge according to claim 1, wherein the conditioning circuit is further configured to log an event each time the first threshold is exceeded.
5. An analog signal gauge according to claim 1, wherein the conditioning circuit is further configured to compare the analog signal with an n.sup.th threshold, and to log an event each time the analog signal exceeds or goes below the n.sup.th threshold, wherein n2, and wherein a larger value of n causes a greater rate of charging or discharging of the NVM element.
6. An analog signal gauge according to claim 4, wherein the conditioning circuit is further configured to cause the NVM element to be reset to its original state of charge or discharge when the analog signal drops below a reset threshold, the reset threshold being lower than the first threshold.
7. An analog signal gauge according to claim 6, wherein the conditioning circuit further comprises a breakdown-type device such as a Zener diode or a p-n junction diode for setting the reset threshold.
8. An analog signal gauge according to claim 1, wherein the conditioning circuit comprises a comparator for comparing the analog signal with a first threshold, n.sup.th threshold and/or reset threshold.
9. An analog signal gauge according to claim 1, wherein the conditioning circuit comprises a timer, and the conditioning circuit is configured to start the timer when the analog signal goes over the first threshold, and to stop the timer when the analog signal goes below the threshold, and to record in the NVM element the time spent over the threshold.
10. An analog signal gauge according to claim 9, wherein the conditioning circuit is further configured to compare the analog signal with the first threshold, and to log an event if the analog signal remains over the threshold for more than a predetermined amount of time.
11. An analog signal gauge according to claim 1, further comprising a control circuit, wherein the control circuit is configured to control a first aspect of the analog circuit if a first condition is met.
12. An analog signal gauge according to claim 1, further comprising a read circuit, configured to read the NVM element.
13. An analog signal gauge according to claim 12, wherein the read circuit includes a register, and the read circuit is only accessible if correct code is entered into the register.
14. An analog signal gauge according to claim 1,herein the analog signal gauge is for monitoring an analog signal in an internal power supply or an analog subsystem.
15. An analog signal gauge according to claim 1, included in an integrated circuit.
16. An analog signal gauge according to claim 15, in combination with the analog circuit configured to be monitored.
17. A method of monitoring an analog signal by an analog signal gauge, the analog signal gauge comprising a conditioning circuit and at least one non-volatile memory (NVM) element wherein the method comprises: monitoring, by the conditioning circuit, an analog signal at a node in an analog circuit; and comparing by the conditioning circuit. the analog signal with a first threshold: recording, by the conditioning circuit, analog information about an event in the NVM element including by charging or discharging the NVM element, in response to the analog signal exceeding the first threshold.
18. The method of claim 17, wherein the analog information corresponds to an adjustable level of the first threshold.
19. The method of claim 18, wherein the recorded analog information corresponds to an adjustable level of the first threshold.
20. The method of claim 18, wherein the method further comprises: comparing, by the conditioning circuit, the analog signal with an n.sup.th threshold; and logging an event each time the analog signal exceeds or goes below the n.sup.th threshold, the logging comprising charging or discharging the NVM element, wherein n2, and wherein a larger value of n causes a greater rate of charging or discharging of the NVM element.
21. The method of claim 18, the recorded analog information represents an extent to which the analog signal exceeds the first threshold.
22. The method of claim 21, wherein the recorded analog information includes information about a magnitude by which the analog signal exceeds the first threshold.
23. The method of claim 21, wherein the recorded analog information includes information about a duration for which the analog signal exceeds the first threshold.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Examples of the present disclosure will now be described, by non-limiting example only, with reference to the accompanying drawings, in which:
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
DETAILED DESCRIPTION
[0052] It has been recognised by the present inventors that there is a need for a way to improve detection of faults in analog devices.
[0053] Analog circuits include components which produce analog signals that vary continuously over time. These analog signals have qualities such as voltage or current that must stay within certain operating parameters, otherwise there is a risk that the analog circuit could be damaged.
[0054] When an analog circuit is damaged by an analog signal that has exceeded its operating parameters, it is often difficult to look at the damaged circuit and determine how or why the fault occurred. Especially in integrated circuits, it can also be difficult to determine the exact point, or node, within the analog circuit at which the fault occurred.
[0055] In the present disclosure, an analog signal gauge is used for monitoring a node of an analog system so that information about whether an analog signal of an analog circuit in the analog system has satisfied a first criteria.
[0056] A conditioning circuit in the analog signal gauge is configured to monitor the analog signal at a node in the analog circuit and it is also configured to record an event in at least one NVM element in response to the analog signal satisfying the first criteria.
[0057] Importantly, using the above technique of the present disclosure, the conditioning circuit writes to the NVM element but it does not read data off the NVM. When data is required to be read off the NVM, a separate read circuit may be employed. As such, the analog signal gauge is a simple device that records information about the way in which the analog system is performing without taking up much storage space. It is also possible for the analog signal gauge to be incorporated into the integrated circuit of the analog circuit which is being monitored.
[0058]
[0059] A read circuit 13 is also shown in
[0060] In the first example of the present disclosure, the analog signal gauge is not implemented on the same integrated circuit as the analog circuit having the node which is being monitored. In this example, the read circuit is also implemented separately. However, in other examples, the analog signal gauge and/or the read circuit may be implemented on-chip.
[0061]
[0062] Rather than each analog circuit/conditioning circuit/NVM element being implemented separately, in the second example of the present disclosure, each analog circuit 20a, 20b, 20c, 20d, each conditioning circuit 21a, 21b, 21c, 21d, each NVM element 22a, 22b, 22c, 22d and the read circuit 23 are implemented on the same integrated circuit. This provides the benefits of smaller circuit sizes and lower power consumption. Other benefits include faster response time and lower cost.
[0063]
[0064] The circuits of
[0065] In the fourth example of the present disclosure as shown in
[0066] In the fifth example of the present disclosure as shown in
[0067]
[0068] In the sixth example of the present disclosure shown in
[0069] In the seventh example of the present disclosure as shown in
[0070] In the eighth example of the present disclosure as shown in
[0071] A flag can be set to indicate that change in charge stored in the NVM element has exceeded a predetermined amount. This flag can be set off-chip through a network connection. As shown in the example of
[0072] When the conditioning circuit is configured to compare the analog signal with a first threshold, and to log an event in the NVM element when the first threshold is exceeded, the way in which this comparison takes place could be using a comparator 40, as shown in
[0073] Alternatively to the comparator, a Zener diode 50, tied between the input signal 51 and ground 52 via a first resistor 53, may be used to set the trigger voltage, as shown in
[0074] A one-shot pulse generator 67 could be added to the circuit at the output of the transistor, as shown in
[0075] In
[0076] Once the threshold voltage of the transistor is exceeded, it will turn on and this will trigger a signal 66 for the NVM element to charge or discharge.
[0077] The signal 66 causes the one-shot pulse generator 67 to produce pulses of fixed time periods for the NVM element to charge or discharge in response to the trigger signal 66. Each event that triggers a signal 66 causes charging or discharging of the NVM element by a certain known amount and the number of events is recorded but not the level of the event. In one example, the fixed time period could be 10 s for a first threshold. In another example with n thresholds, the fixed time period could increase as the level of n increases so as to create a dynamic charge or discharge of the NVM element. This could result in operation of the analog signal gauge as shown in
[0078] Alternatively to
[0079] Floating gate technology may be used to hold electrical charge in a NVM element in order to store data, as shown in
[0080] In the floating gate transistor 80, which acts as a non-volatile memory element, there is a floating gate 81 and a control gate 82. The two gates 81, 82 are separated from one another by a thin dielectric material, for example, an oxide layer 83. The floating gate 81 is isolated from the oxide layer and so any electrons placed on the floating gate are trapped. As a result, the memory element is non-volatile.
[0081] The floating gate transistor 80 works by adding (charging) or removing (discharging) electrons to and from the floating gate 81. The state of a bit, 0 or 1, depends on whether the floating gate 81 is charged or uncharged. When electrons are present on the floating gate 81, current cannot flow through the transistor and the bit state is 0. When electrons are removed from the floating gate 81, current is allowed to flow and the bit state is 1.
[0082] A tunnelling layer 84 lies between the floating gate 81 and a substrate 85 of the floating gate transistor 80. When a strong electric field is applied between a negatively charged source 86 and the positively charged control gate 82, electrons drawn into the floating gate 81 via a channel between the 87 that lies between the source 86 and the drain 88. The electrons move from the source 86 through the thin oxide layer 83 to the floating gate 81, where they are trapped. In an alternative method, a high current could be applied through the channel 87 to give electrons sufficient energy to break through the oxide layer 83. A positive charge can also be applied to the control gate 82, which attracts the electrons from the channel 87 into the floating gate 81, where they are trapped. In both methods, the amount of trapped charge changes the threshold voltage of the floating gate 81 that can be used as the first threshold to which the analog signal voltage is compared.
[0083]
[0084] To remove trapped charge from the floating gate 81, the NVM element can be exposed to ultraviolet light, which causes electrons to leak away from the floating gate 81. Alternatively, a negative charge can be applied to the control gate 82, and a positive charge can be applied to the source 86 and the drain 88, which causes electrons to flow from the floating gate 81 to the channel 87.
[0085]
[0086]
[0087]
[0088] The above description relates to particularly preferred aspects of the disclosure, but it will be appreciated that other implementations are possible. Variations and modifications will be apparent to the skilled person, such as equivalent and other features which are already known and which may be used instead of, or in addition to, features described herein. Features that are described in the context of separate aspects or examples may be provided in combination in a single aspect or example. Conversely, features which are described in the context of a single aspect or example may also be provided separately or in any suitable sub-combination.