Loudspeaker to power supply and ground short circuit diagnosis
By designing a short-circuit detection system for amplifier circuits, using short-circuit detection lines and multiplexers, the problem of difficulty in diagnosing short circuits between speakers and power supplies or grounding in the existing technology is solved, and real-time short-circuit detection of switching amplifier outputs is achieved. The risk of equipment damage is reduced.
Patent Information
- Application Number
- CN202410213215.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-06-26
- Filing Date
- 2024-02-27
- Publication Date
- 2024-09-03
AI Technical Summary
Existing technology makes it difficult to effectively diagnose and prevent short circuits to power or ground in switching amplifiers and speakers in audio systems, resulting in equipment damage and potential safety issues.
A system including a short-circuit detection circuit is designed that senses the current output from the amplifier, filters it to measure the DC offset, indicates a short-circuit condition based on the DC offset, and utilizes multiplexers and filters to achieve low cost , low-power circuit design to detect and diagnose short circuit conditions in real time.
Real-time short-circuit detection of the switching amplifier output is achieved, reducing the risk of equipment damage and improving system reliability and efficiency.
Smart Images

Figure CN118590809A_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of and priority to U.S. Provisional Patent Application No. 63 / 449,840, filed on March 3, 2023. U.S. Provisional Patent Application No. 63 / 449,840 is hereby incorporated by reference herein in its entirety. Technical Field
[0003] The present disclosure relates generally to amplifier circuits, and more particularly to speaker short-to-power and ground diagnostics for amplifier circuits. Background Art
[0004] Switching amplifiers (also known as Class D amplifiers) are often used to drive speakers in audio systems. For example, switching amplifiers are used to drive speakers in automotive audio systems, mobile devices (e.g., such as smartphones, tablets, etc.), home theater systems, hearing aids, etc. Over time, such audio systems may be subject to wear and / or damage, which may result in a short circuit (e.g., a direct short circuit or a weak short circuit corresponding to a low resistance connection) from one or more amplifier outputs to power or ground. Such a short circuit may damage the switching amplifier and / or other components of the audio system. Summary of the invention
[0005] For implementing methods and apparatus for diagnosing speaker shorts to power and ground for an amplifier circuit, an example circuit includes a short circuit detection circuit having an input adapted to be coupled to an output of the amplifier and an output for sensing an output current from the output of the amplifier and filtering a signal corresponding to the output current from the output of the amplifier to measure a direct current (DC) offset associated with the output current, wherein the short circuit detection circuit output indicates a short circuit at the output of the amplifier based on the DC offset.
[0006] For implementing methods and apparatus for speaker short-circuit diagnostics to power and ground for an amplifier circuit, an example switching amplifier includes a positive amplifier output, a negative amplifier output, and a short-circuit detection circuit, the short-circuit detection circuit including a current sensing circuit having a first current sensing input, a first current sensing output, a second current sensing input, and a second current sensing output. The short-circuit detection circuit also includes a multiplexer circuit having a first multiplexer input coupled to the first current sensing output, a second multiplexer input coupled to the second current sensing output, and a multiplexer output. The short-circuit detection circuit further includes a filter circuit and a fault detection circuit, the filter circuit being used to filter a signal generated on the multiplexer output to measure a direct current (DC) offset associated with the multiplexer output, and the fault detection circuit having a fault output to indicate a short circuit on at least one of the positive amplifier output or the negative amplifier output, wherein the fault detection circuit determines the fault output based on the DC offset.
[0007] For implementing a method and apparatus for speaker short-circuit diagnostics to power and ground for an amplifier circuit, an example switching amplifier includes a short-circuit detection circuit, the short-circuit detection circuit including a first current sensing circuit having a first current sensing input and a first current sensing output, the first current sensing input coupled to a positive amplifier output, the first current sensing output for outputting a first sensed current associated with the positive amplifier output. The short-circuit detection circuit also includes a second current sensing circuit having a second current sensing input and a second current sensing output, the second current sensing input coupled to a negative amplifier output, the second current sensing output for outputting a second sensed current associated with the negative amplifier output. The short-circuit detection circuit further includes a first filter circuit for filtering a first signal generated on the first current sensing output to measure a first direct current (DC) offset associated with the first sensed current, and a second filter circuit for filtering a second signal generated on the second current sensing output to measure a second DC offset associated with the second sensed current. The short circuit detection circuit also includes a fault detection circuit having a fault output to indicate detection of a short circuit on at least one of the positive amplifier output or the negative amplifier output, wherein the fault detection circuit determines the fault output based on the first DC offset and the second DC offset. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 is a block diagram of an example environment in which an example short circuit detection circuit operates to provide short circuit diagnostics to power and ground in accordance with the teachings of the present disclosure.
[0009] Figure 2 yes Figure 1 00140 001415 001425 0014340 ...
[0010] Figure 3 yes Figure 1 A block diagram of a second example implementation of a short circuit detection circuit.
[0011] Figure 4 Yes means you can use Figure 2 A flowchart of first example machine readable instructions and / or example operations to execute, instantiate and / or practice an example programmable circuit implementation of a short circuit detection circuit.
[0012] Figure 5 Yes means you can use Figure 3 A flowchart of second example machine readable instructions and / or example operations to be executed, instantiated and / or performed by an example programmable circuit implementation of a short circuit detection circuit.
[0013] Figure 6 is a block diagram of an example processing platform including a processor configured to execute, instantiate and / or implement example machine-readable instructions and / or implement Figure 4 and / or Figure 5 Example operations to implement Figure 2 and / or Figure 3 A programmable circuit for the short-circuit detection circuit.
[0014] Figure 7 yes Figure 6 A block diagram of an example implementation of a programmable circuit.
[0015] Figure 8 yes Figure 6 A block diagram of another example implementation of a programmable circuit of FIG.
[0016] Fig. 9 is software, instructions and / or firmware (e.g., corresponding to Figure 4 and / or Figure 5 A block diagram of an example software / firmware / instruction distribution platform (e.g., one or more servers) for distributing example machine-readable instructions (e.g., machine-readable instructions) to client devices associated with end users and / or consumers (e.g., for licensing, sale, and / or use), retailers (e.g., for sale, resale, licensing, and / or sublicensing), and / or original equipment manufacturers (OEMs) (e.g., for inclusion in products to be distributed to, for example, retailers and / or other end users such as direct purchasing customers).
[0017] In general, the same reference numbers will be used throughout the drawings and accompanying written description to refer to the same or like parts, elements, etc. The drawings are not necessarily drawn to scale. DETAILED DESCRIPTION
[0018] Example systems, devices, articles, and methods for implementing short-circuit diagnostics for speakers (or more generally outputs) to power and ground for amplifier circuits are disclosed. As described above, switching amplifiers (e.g., Class D amplifiers) are commonly used to drive speakers of audio systems, such as car audio systems, mobile devices (e.g., such as smartphones, tablets, etc.), home theater systems, hearing aids, etc. Over time, such audio systems may experience short circuit conditions from one or more amplifier outputs to power or ground. Such short circuit conditions include a full or complete short circuit corresponding to a direct connection from the amplifier output to the power supply or ground, a weak short circuit corresponding to a low resistance connection from the amplifier output to the power supply or ground, etc., which are collectively referred to herein as a short circuit circuit condition, a short circuit, a short circuit condition, or a short circuit.
[0019] As described above, a short circuit from the amplifier output to power or ground may damage the switching amplifier and / or other components of the audio system. In some examples, if left unchecked, such damage may be severe due to the power output from the switching amplifier. Furthermore, depending on the type of audio system and / or the application in which the audio system is used, such damage may be expensive and / or raise safety issues, both of which may be unacceptable to manufacturers and users.
[0020] The example systems, devices, articles, and methods disclosed herein implement and utilize short circuit detection circuits to provide power and ground short circuit diagnostics for amplifier circuits. The example short circuit detection circuit implemented according to the teachings of the present disclosure monitors the output of a switching amplifier to detect a short circuit condition during system operation (e.g., in real time). The example short circuit detection circuit implemented according to the teachings of the present disclosure also outputs one or more fault diagnostics to enable identification of a short circuit condition and / or shut down the amplifier and / or other system components to prevent, reduce, or otherwise mitigate damage to the amplifier and / or other system components. The example short circuit detection circuit disclosed herein can also detect a complete or complete short circuit corresponding to a direct connection from the amplifier output to a power supply or ground, as well as a weak short circuit corresponding to a low resistance connection from the amplifier output to a power supply or ground.
[0021] In examples where the amplifier includes both a positive output and a negative output, the example short circuit detection circuits disclosed herein monitor the positive output for a short circuit condition to power or ground, and monitor the negative output for a short circuit condition to power or ground. In some examples, the short circuit detection circuit includes a multiplexer function to switch between monitoring the positive amplifier output and monitoring the negative amplifier output to reuse circuit components, thereby implementing a low-cost, low-power, and small footprint circuit design. Additionally or alternatively, in some examples, the short circuit detection circuit includes one or more adjustable thresholds that can customize short circuit detection for a specific type of amplifier monitored by the short circuit detection circuit.
[0022] These and other example methods, apparatus, systems, and articles of manufacture (eg, physical storage media) implementing speaker (or more generally output) to power and ground short diagnostics for amplifier circuits are disclosed in further detail below.
[0023] Figure 1 1 is a block diagram of an example environment 100 in which an example short circuit detection circuit 105 operates in accordance with the teachings of the present disclosure to implement short circuit diagnostics for a speaker (or more generally, output) to power and ground for an example amplifier 110. The example environment 100 corresponds to an example audio system 100 that includes an example speaker 115 driven by the amplifier 110. In the example shown, the amplifier 110 is a switching amplifier, also known as a class D amplifier, having an example positive output 120 and an example negative output 125. Typically, a switching amplifier is designed to generate a rectangular pulse train that is modulated based on an input audio signal applied to the amplifier to produce an amplified output signal. The amplified output signal is applied to a low pass filter to generate an amplified output audio signal for driving a speaker (such as the speaker 115). In the example shown, the switching amplifier 110 includes an example circuit 130 for generating a rectangular pulse train that is modulated based on an input audio signal applied to the amplifier, as previously described. The example circuit 130 of the switching amplifier 110 is also configured to generate a positive output current at the positive output 120 and a negative output current at the negative output 125, the two currents being opposite to each other. For example, the circuit 130 of the switching amplifier 110 may be implemented by circuits of any of a number of switching amplifiers or Class D amplifiers, such as those manufactured by Texas Instruments Incorporated. Figure 1 In the example audio system 100 , the positive output 120 of the switching amplifier 110 and the negative output 125 of the switching amplifier 110 are coupled to respective example low pass filters 140 and 145 , which are coupled to respective inputs of the speaker 115 .
[0024] Figure 1The example short circuit detection circuit 105 has an example positive input 150 for coupling or otherwise connecting to the positive output 120 of the amplifier 110 , and an example negative input 155 for coupling or otherwise connecting to the negative output 125 of the amplifier 110 . Figure 1 The example short circuit detection circuit 105 also has an example fault output 160 to output a fault diagnosis associated with the detected short circuit condition. Figure 1 In the example shown, the short circuit detection circuit 105 is included in the amplifier 110 (e.g., included in the same package as the amplifier 110). In other examples, the short circuit detection circuit 105 can be implemented as a circuit separate from the amplifier 110 but configured to be coupled or otherwise connected to the amplifier 110 (e.g., in a package separate from the package of the amplifier 110).
[0025] Figure 1 The example short circuit detection circuit 105 monitors the positive output current at the positive output 120 and the negative output current at the negative output 125 to detect a short circuit condition at either or both of the positive output 120 and / or the negative output 125 of the switching amplifier 110. Figure 1 In the example shown, to detect a short circuit condition, the short circuit detection circuit 105 determines a direct current (DC) offset of the positive output current at the positive output 120, referred to herein as the positive output DC offset of the amplifier 110, and determines a DC offset of the negative output current at the negative output 125, referred to herein as the negative output DC offset of the amplifier 110. The short circuit detection circuit 105 of the example shown then uses the positive output DC offset to detect a short circuit condition at the positive output 120, and uses the negative output DC offset to detect a short circuit condition at the negative output 125.
[0026] For example, the short circuit detection circuit 105 can compare the positive output DC offset with one or more thresholds to detect a short circuit to ground at the positive output 120 or a short circuit to power at the positive output 120. In some examples, the short circuit detection circuit 105 can compare the negative output DC offset with one or more thresholds to detect a short circuit to ground at the negative output 125 or a short circuit to power at the negative output 125. In some examples, different thresholds can be used to detect a short circuit to ground and a short circuit to power. In some examples, the same threshold can be used to detect a short circuit to ground and a short circuit to power. In some examples, different thresholds can be compared to the positive output DC offset and the negative output DC offset. In some examples, the same threshold can be compared to the positive output DC offset and the negative output DC offset.
[0027] In some examples, the threshold is set (e.g., adjusted, preconfigured, programmable, etc.) based on the type of amplifier 110. For example, different types of switching amplifiers may be utilized to generate rectangular pulse trains with different duty cycles. In some such examples, the threshold(s) used by the short circuit detection circuit 105 may be set (e.g., adjusted, preconfigured, etc.) based on the duty cycle used by the amplifier 110. In some examples, additional or alternative characteristics of the type of amplifier 110 may be used to set (e.g., adjusted, preconfigured, programmable, etc.) the threshold(s) used by the short circuit detection circuit 105. Figure 2 and Figure 3 An example implementation of the short circuit detection circuit 105 is shown in FIG.
[0028] Figure 2 yes Figure 1 1 is a block diagram of a first example implementation 200 of a short circuit detection circuit 105 . Figure 2 The short circuit detection circuit 200 can be instantiated (e.g., create an instance of it, make it exist for any length of time, materialize, implement, etc.) by a programmable circuit (such as a central processing unit (CPU)) executing a first instruction. Additionally or alternatively, Figure 2 The short circuit detection circuit 105 can be instantiated (e.g., an instance of it is created, exists for any length of time, is embodied, implemented, etc.) by (i) an application specific integrated circuit (ASIC) and / or (ii) a field programmable gate array (FPGA), which is constructed and / or configured to perform an operation corresponding to the first instruction in response to executing the second instruction. Therefore, it should be understood that Figure 2 Some or all of the circuits may be instantiated at the same or different times. Figure 2 Some or all of the lines of may be instantiated, for example, in one or more threads that execute simultaneously on hardware and / or serially on hardware. Furthermore, in some examples, Figure 2 Some or all of the circuitry may be implemented by microprocessor circuitry executing instructions and / or FPGA circuitry performing operations to implement one or more virtual machines and / or containers.
[0029] Go to Figure 2 , where the short circuit detection circuit 200 shown includes an example analog circuit 205, which includes an example current sensing circuit 210, an example multiplexer circuit 215, an example anti-aliasing filter 220 and an example analog-to-digital converter (ADC) 225. Figure 2The example short circuit detection circuit 200 also includes an example digital circuit 230, which includes an example de-glitch circuit 235, an example extraction circuit 240, an example low pass filter 245, an example fault detection circuit 250, and an example timing circuit 255. The example current sensing circuit 210 has an example positive current sensing input 260 coupled to the positive amplifier output 120 of the amplifier 110 and an example negative current sensing input 262 coupled to the negative amplifier output 125 of the amplifier 110. Likewise, in the example shown, the current sensing input 260 corresponds to the positive input 150 of the short circuit detection circuit 105, and the negative current sensing input 262 corresponds to the negative input 155 of the short circuit detection circuit 105. The current sensing circuit 210 of the example shown is configured to sense a current applied to the positive current sensing input 260 (which current corresponds to the positive output current at the positive output 120 of the amplifier 110), and to sense a current applied to the negative current sensing input 262 (which current corresponds to the negative output current at the negative output 125 of the amplifier 110). The current sensing circuit 210 further has an example positive current sensing output 264 for outputting a sensed current associated with the positive current sensing input 260 (which corresponds to a positive output current at the positive output 120 of the amplifier 110), and an example negative current sensing output 266 for outputting a sensed current associated with the negative current sensing input 262 (which corresponds to a negative output current at the negative output 125 of the amplifier 110).
[0030] Figure 2 The example multiplexer circuit 215 has an example positive multiplexer input 268 to couple to the positive current sense output 264 of the current sense circuit 210. The multiplexer circuit 215 also has an example negative multiplexer input 270 to couple to the negative current sense output 266 of the current sense circuit 210. The multiplexer circuit 215 further has an example multiplexer output 272. The multiplexer circuit 215 of the illustrated example is constructed to switch (e.g., repeatedly, periodically, etc.) between a connection of the multiplexer output 272 to the positive multiplexer input 268 and a connection of the multiplexer output 272 to the negative multiplexer input 270. In the illustrated example, the switching performed by the multiplexer circuit 215 is controlled via an example multiplexer timing input 273 of the multiplexer circuit 215. Figure 2Including a multiplexer circuit 215 in the example short circuit detection circuit 200 enables downstream circuit elements of the short circuit detection circuit 200 (e.g., such as anti-aliasing filter 220, ADC 225, de-glitch circuit 235, extraction circuit 240, low pass filter 245, etc.) to be reused to evaluate both the sensed current associated with the positive output 120 of the amplifier 110 and the sensed current associated with the negative output 125 of the amplifier 110, thereby reducing the footprint (e.g., size, power consumption, cost, etc.) of the short circuit detection circuit 200. For example, the multiplexer circuit 215 repeatedly switches between providing the sensed current at the positive output 120 of the amplifier 110 to a single downstream ADC 225 and providing the sensed current at the negative output 125 of the amplifier 110 to the single ADC 225.
[0031] Figure 2 The example anti-aliasing filter 220 of the illustrated example has an example filter input 274 to couple to the multiplexer output 272 of the multiplexer line 215. The anti-aliasing filter 220 also has an example filter output 276. The anti-aliasing filter 220 of the illustrated example is configured to limit the bandwidth of the sensed current signal output from the multiplexer line 215 based on the sampling rate employed by the ADC 225, thereby reducing or eliminating aliasing effects in the digital data produced by the ADC 225.
[0032] Figure 2 The example ADC 225 of the illustrated example has an example ADC input 278 to couple to a filter output 276 of the anti-aliasing filter 220. The ADC 225 also has an example ADC output 280. The ADC 225 of the illustrated example is configured to convert an analog signal applied to the ADC input 278 into a digital signal produced at the ADC output 280. For example, the ADC 225 may implement a sigma-delta ADC, a successive approximation register (SAR) ADC, or the like. In the illustrated example, the analog signal applied to the ADC input 278 corresponds to a sensed current signal provided by the multiplexer output 272 of the multiplexer circuit 215, and the digital signal produced at the ADC output 280 corresponds to a digital signal representative of the sensed current signal provided by the multiplexer output 272 of the multiplexer circuit 215.
[0033] Figure 2The example de-glitch circuit 235 of has an example de-glitch input 282 to couple to the ADC output 280 of the ADC 225. The de-glitch circuit 235 also has an example de-glitch output 284. In the example shown, the de-glitch circuit 235 is configured to reduce potential glitches in the digital signal generated at the ADC output 280. Such glitches may be generated by the multiplexer circuit 215 switching between outputting the sensed current associated with the positive output 120 of the amplifier 110 and outputting the sensed current associated with the negative output 125 of the amplifier 110. For example, the de-glitch circuit 235 may be configured to perform delay compensation and sample-and-hold operations on the digital signal generated at the ADC output 280 to generate a de-glitched digital signal at the de-glitch output 284, the de-glitched digital signal corresponding to the de-glitched digital signal representing the sensed current signal provided by the multiplexer output 272 of the multiplexer circuit 215. In the example shown, operation of the deglitch circuit 235 is synchronized with operation of the multiplexer circuit 215 via an example deglitch timing input 285 of the deglitch circuit 235 .
[0034] Figure 2 The example decimation circuit 240 has an example decimation input 286 to couple to the deglitch output 284 of the deglitch circuit 235. The decimation circuit 240 also has an example decimation output 288. In the example shown, the decimation circuit 240 is configured to perform decimation or downsampling on an input digital signal applied to the decimation input 286 to produce a downsampled digital signal at the decimation output 288 having a reduced sampling rate relative to the sampling rate of the input digital signal. Likewise, the downsampled digital signal at the decimation output 288 corresponds to a downsampled digital signal representative of the sensed current signal provided by the multiplexer output 272. Figure 2 In some examples, the extraction circuit 240 is included in the short circuit detection circuit 200 so that the downstream circuit elements of the short circuit detection circuit 200 (e.g., such as the low pass filter 245, etc.) can operate at a reduced sampling rate, thereby reducing the power consumption of those circuit elements. However, in some examples, the extraction circuit 240 is not included in the short circuit detection circuit 200.
[0035] Figure 2The example low pass filter 245 of has an example filter input 290 to couple to the extraction output 288 of the extraction circuit 240. The low pass filter 245 also has an example filter output 292. In the example shown, the low pass filter 245 is configured to filter the digital signal applied to the filter input 290 to generate an output value representing the DC offset of the input digital signal at the filter output 292. Likewise, the low pass filter 245 can have a relatively low cutoff frequency, such as less than or equal to 10 Hertz (Hz) or some other suitable cutoff frequency. Since the digital signal applied to the filter input 290 corresponds to the sensed current signal provided by the multiplexer output 272 of the multiplexer circuit 215, the output value at the filter output 292 corresponds to the DC offset of the sensed current signal provided by the multiplexer output 272 of the multiplexer circuit 215. Thus, when multiplexer line 215 is switched to output the sensed current associated with positive output 120 of amplifier 110, the output value at filter output 292 corresponds to a DC offset of the sensed current associated with positive output 120 of amplifier 110. Likewise, when multiplexer line 215 is switched to output the sensed current associated with negative output 125 of amplifier 110, the output value at filter output 292 corresponds to a DC offset of the sensed current associated with negative output 125 of amplifier 110.
[0036] Figure 2 The example fault detection circuit 250 has an example detection input 294 coupled to the filter output 292 of the low pass filter 245. The fault detection circuit 250 also has an example fault output 295 corresponding to Figure 1The fault detection circuit 250 is configured to set the fault output 160 to a signal detection of a short circuit associated with at least one of the positive amplifier output 120 or the negative amplifier output 125. The fault detection circuit 250 is also configured to detect such a short circuit condition based on a DC offset determined by the low pass filter 245. For example, the fault detection circuit 250 can be configured to detect a short circuit condition based on a comparison of the DC offset with one or more example thresholds 296. As described above, when the multiplexer circuit 215 is switched to output the sensed current associated with the positive output 120 of the amplifier 110, the DC offset determined by the low pass filter 245 corresponds to the DC offset of the sensed current associated with the positive output 120 of the amplifier 110, referred to herein as the positive output DC offset of the amplifier 110. Likewise, when the multiplexer line 215 is switched to output the sensed current associated with the negative output 125 of the amplifier 110, the DC offset determined by the low pass filter 245 corresponds to the DC offset of the sensed current associated with the negative output 125 of the amplifier 110, referred to herein as the negative output DC offset of the amplifier 110. Thus, when the multiplexer line 215 is switched to output the sensed current associated with the positive output 120 of the amplifier 110, the fault output 295 signals whether a short circuit condition of the positive amplifier output 120 has been detected based on the positive output DC offset of the amplifier 110. Likewise, when the multiplexer line 215 is switched to output the sensed current associated with the negative output 125 of the amplifier 110, the fault output 295 signals whether a short circuit condition of the negative amplifier output 125 has been detected based on the negative output DC offset of the amplifier 110. In the example shown, operation of the fault detection circuit 250 is synchronized with operation of the multiplexer circuit 215 via an example detector timing input 297 of the fault detection circuit 250 .
[0037] As described above, the fault detection circuit 250 can compare the input DC offset with one or more example threshold values 296 to detect a short circuit condition associated with the positive amplifier output 120 and / or the negative amplifier output 125 of the amplifier 110. Also as described above, in some examples, the same threshold value 296 can be used to detect a short circuit condition to ground and a short circuit condition to power supply. However, in some examples, different threshold values 296 can be used to detect a short circuit condition to ground and a short circuit condition to power supply. Also as described above, in some examples, the same threshold value 296 can be compared to the positive output DC offset and the negative output DC offset to detect a short circuit condition associated with the positive amplifier output 120 and / or the negative amplifier output 125. However, in some examples, different threshold values 296 can be compared to the positive output DC offset and the negative output DC offset to detect a short circuit condition associated with the positive amplifier output 120 and / or the negative amplifier output 125. As further described above, in some examples, the threshold value 296 is set (e.g., adjusted, preconfigured, programmable, etc.) based on the type of the amplifier 110.
[0038] For example, the threshold(s) 296 may be calculated based on Formula 1, which is:
[0039]
[0040] In Formula 1, PVDD is a power supply voltage for powering the amplifier 110, DutyCycle is a duty cycle of the rectangular pulse train generated by the amplifier 110, and R short is the value of the resistor associated with the short circuit condition, and Offset Isense If the measured DC offset is Isense The corresponding amplifier output has a resistor R short The resulting DC offset will be observed if R short is set to the resistance value corresponding to the weakest short circuit condition to be detected, then the Offset value determined by Equation 1 Isense The value of corresponds to a threshold value that can be used to detect the short circuit condition.
[0041] In an example implementation where amplifier 110 is a switching amplifier 110 characterized by a 50% duty cycle for its rectangular pulse train, fault detection circuitry 250 uses a single threshold 296 (e.g., 1.5 amps (A) or some other value) to set fault output 295 as follows:
[0042] (1) if the positive output DC offset has a negative polarity and a magnitude that satisfies (e.g., is equal to or greater than) threshold 296, then the fault output 295 is set to indicate that a short-to-power-supply condition exists at the positive amplifier output 120;
[0043] (2) if the positive output DC offset has a positive polarity and a magnitude that satisfies (e.g., is equal to or greater than) threshold 296, then setting fault output 295 to indicate that a short-to-ground condition exists at positive amplifier output 120;
[0044] (3) if the negative output DC offset has a positive polarity and a magnitude that satisfies (e.g., is equal to or greater than) threshold 296, then setting fault output 295 to indicate that a short-to-power-supply condition exists at negative amplifier output 125;
[0045] (4) if the negative output DC offset has a negative polarity and a magnitude that satisfies (e.g., is equal to or greater than) threshold 296, setting fault output 295 to indicate that a short-to-ground condition exists at negative amplifier output 125; and
[0046] (5) Otherwise, the fault output 295 is set to indicate that no short circuit condition is detected.
[0047] In another example implementation where the amplifier 110 is a switching amplifier 110 characterized by a 15% duty cycle for its rectangular pulse train, a plurality of thresholds 296 including a first threshold (e.g., 2.5A or some other value) and a second threshold (e.g., 0.5A or some other value) are used by the fault detection circuit 250 to set the fault output 295 as follows:
[0048] (1) if the positive output DC offset has a negative polarity and a magnitude that satisfies (e.g., is equal to or greater than) the first threshold 296, then the fault output 295 is set to indicate that a short-to-power-supply condition exists at the positive amplifier output 120;
[0049] (2) if the positive output DC offset has a positive polarity and a magnitude that satisfies (e.g., is equal to or greater than) a second threshold 296, then setting the fault output 295 to indicate that a short to ground condition exists at the positive amplifier output 120;
[0050] (3) if the negative output DC offset has a positive polarity and a magnitude that satisfies (e.g., is equal to or greater than) the first threshold 296, then setting the fault output 295 to indicate that a short-to-power-supply condition exists at the negative amplifier output 125;
[0051] (4) if the negative output DC offset has a negative polarity and a magnitude that satisfies (e.g., is equal to or greater than) the second threshold 296, setting the fault output 295 to indicate that a short-to-ground condition exists at the negative amplifier output 125; and
[0052] (5) Otherwise, the fault output 295 is set to indicate that no short circuit condition is detected.
[0053] In the example shown, the fault output 295 of the fault detection circuit 250 includes an example fault terminal 298 and an example register 299. However, in some examples, the fault output 295 may include multiple terminals (instead of or in addition to the fault terminal 298) and the example register 299. In the example shown, the fault detection circuit 250 sets the fault terminal 298 to a first logic value to indicate that a short circuit condition has been detected, sets the fault terminal 299 to a second logic value to indicate that a short circuit condition has not been detected, and sets the register 299 to a register value to indicate the type of short circuit condition detected. For example, the fault detection circuit 250 may operate as follows to set the register 299:
[0054] (1) setting register 299 to a first value to indicate that a short circuit condition to the power supply exists at positive amplifier output 120;
[0055] (2) setting register 299 to a second value to indicate that a short circuit condition to ground exists at positive amplifier output 120;
[0056] (3) setting register 299 to a third value to indicate that a short circuit condition to the power supply exists at negative amplifier output 125; and
[0057] (4) Register 299 is set to a fourth value to indicate that a short circuit condition to ground exists at negative amplifier output 125.
[0058] Figure 2 The example timing circuit 255 is configured to provide a timing output to a multiplexer timing input 273 of the multiplexer circuit 215, a deglitch timing input 285 of the deglitch circuit 235, and a detector timing input 297 of the fault detection circuit 250 to synchronize the operation of the multiplexer circuit 215, the deglitch circuit 235, and the fault detection circuit 250. For example, the timing circuit 255 may include one or more counters, timers, etc. and / or other digital logic to generate control signals to cause the multiplexer circuit 215, the deglitch circuit 235, and the fault detection circuit 250 to periodically switch between processing of a sensed current associated with the positive output 120 of the amplifier 110 and a sensed current associated with the negative output 125 of the amplifier 110 based on a measurement cycle.
[0059] In some examples, the short circuit detection circuit 200 includes a device for sensing current. For example, the device for sensing current can be implemented by a current sensing circuit 210. In some examples, the current sensing circuit 210 can be implemented by a programmable circuit (such as Figure 6 For example, the current sensing circuit 210 can be instantiated by Figure 7, which executes machine-executable instructions such as those given by Figure 4 In some examples, the current sensing circuit 210 can be instantiated by hardware logic circuits, which can be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8 ASIC, XPU or FPGA circuit 800 is implemented. Additionally or alternatively, the current sensing circuit 210 can be instantiated by any other combination of hardware, software and / or firmware. For example, the current sensing circuit 210 can be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.), which are configured and / or constructed to execute some or all machine-readable instructions and / or perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0060] In some examples, the short circuit detection circuit 200 includes a means for multiplexing. For example, the means for multiplexing can be implemented by a multiplexer circuit 215. In some examples, the multiplexer circuit 215 can be implemented by a programmable circuit (such as Figure 6 For example, the multiplexer circuit 215 can be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 4 In some examples, multiplexer circuit 215 may be instantiated by hardware logic circuitry that may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8 The multiplexer circuit 215 may be implemented by an ASIC, XPU, or FPGA circuit 800. Additionally or alternatively, the multiplexer circuit 215 may be instantiated by any other combination of hardware, software, and / or firmware. For example, the multiplexer circuit 215 may be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured and / or constructed to execute some or all of the machine-readable instructions and / or to perform some or all of the operations corresponding to the machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0061] In some examples, the short circuit detection circuit 200 includes a device for anti-aliasing. For example, the device for anti-aliasing can be implemented by an anti-aliasing filter 220. In some examples, the anti-aliasing filter 220 can be implemented by a programmable circuit (such as Figure 6 For example, the anti-aliasing filter 220 may be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 4 In some examples, the anti-aliasing filter 220 may be instantiated by hardware logic circuitry, which may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8 ASIC, XPU or FPGA circuit 800. Additionally or alternatively, the anti-aliasing filter 220 can be instantiated by any other combination of hardware, software and / or firmware. For example, the anti-aliasing filter 220 can be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured and / or constructed to execute some or all machine-readable instructions and / or perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0062] In some examples, the short circuit detection circuit 200 includes a device for analog-to-digital conversion. For example, the device for analog-to-digital conversion can be implemented by ADC 225. In some examples, ADC 225 can be implemented by a programmable circuit (such as Figure 6 For example, ADC 225 may be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 4 In some examples, ADC 225 may be instantiated by hardware logic circuitry that may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8ASIC, XPU or FPGA circuit 800. Additionally or alternatively, ADC 225 may be instantiated by any other combination of hardware, software and / or firmware. For example, ADC 225 may be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured and / or constructed to execute some or all machine-readable instructions and / or to perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0063] In some examples, the short circuit detection circuit 200 includes a device for deburring. For example, the device for analog-to-digital deburring can be implemented by a deburring circuit 235. In some examples, the deburring circuit 235 can be implemented by a programmable circuit (such as Figure 6 For example, the deburring circuit 235 can be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 4 In some examples, the deburring circuit 235 may be instantiated by hardware logic circuitry, which may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8 ASIC, XPU or FPGA circuit 800. Additionally or alternatively, the de-burring circuit 235 can be instantiated by any other combination of hardware, software and / or firmware. For example, the de-burring circuit 235 can be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured and / or constructed to execute some or all machine-readable instructions and / or to perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0064] In some examples, the short circuit detection circuit 200 includes a means for down sampling. For example, the means for down sampling can be implemented by the extraction circuit 240. In some examples, the extraction circuit 240 can be implemented by a programmable circuit (such as Figure 6 For example, the extraction circuit 240 can be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 4In some examples, extraction circuit 240 may be instantiated by hardware logic circuitry that may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8 ASIC, XPU or FPGA circuit 800. Additionally or alternatively, the extraction circuit 240 can be instantiated by any other combination of hardware, software and / or firmware. For example, the extraction circuit 240 can be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured and / or constructed to execute some or all machine-readable instructions and / or perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0065] In some examples, the short circuit detection circuit 200 includes a means for low pass filtering. For example, the means for low pass filtering can be implemented by a low pass filter 245. In some examples, the low pass filter 245 can be implemented by a programmable circuit (such as Figure 6 For example, the low pass filter 245 can be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 4 In some examples, low pass filter 245 may be instantiated by hardware logic circuitry that may be configured and / or constructed to perform operations corresponding to machine readable instructions. Figure 8 ASIC, XPU or FPGA circuit 800. Additionally or alternatively, low pass filter 245 can be instantiated by any other combination of hardware, software and / or firmware. For example, low pass filter 245 can be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured and / or constructed to execute some or all machine-readable instructions and / or perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0066] In some examples, short circuit detection circuit 200 includes means for fault detection. For example, means for fault detection can be implemented by fault detection circuit 250. In some examples, fault detection circuit 250 can be implemented by programmable circuits (such as Figure 6For example, the fault detection circuit 250 can be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 4 In some examples, the fault detection circuit 250 may be instantiated by hardware logic circuitry that may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8 ASIC, XPU or FPGA circuit 800. Additionally or alternatively, the fault detection circuit 250 can be instantiated by any other combination of hardware, software and / or firmware. For example, the fault detection circuit 250 can be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured and / or constructed to execute some or all machine-readable instructions and / or perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0067] In some examples, the short circuit detection circuit 200 includes a means for fault control. For example, the means for control can be implemented by a timing circuit 255. In some examples, the timing circuit 255 can be implemented by a programmable circuit (such as Figure 6 For example, the timing circuit 255 can be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 4 In some examples, the timing circuit 255 may be instantiated by hardware logic circuitry, which may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8 The timing circuit 255 may be implemented by an ASIC, XPU, or FPGA circuit 800. Additionally or alternatively, the timing circuit 255 may be instantiated by any other combination of hardware, software, and / or firmware. For example, the timing circuit 255 may be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured and / or constructed to execute some or all of the machine-readable instructions and / or to perform some or all of the operations corresponding to the machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0068] In the foregoing description, the short circuit detection circuit 200 has been described in the context of detecting a short circuit condition associated with the output of a switching amplifier, such as amplifier 110. However, the short circuit detection circuit 200 is not limited to use with a switching amplifier. Instead, the short circuit detection circuit 200 can be used to detect a short circuit condition associated with other types of amplifier circuits.
[0069] Although in Figure 2 The implementation is shown in Figure 1 The first example of the short circuit detection circuit 105, but Figure 2 One or more of the elements, processes, and / or devices shown in the examples may be combined, split, rearranged, omitted, eliminated, and / or implemented in any other manner. In addition, the example analog circuit 205, the example current sensing circuit 210, the example multiplexer circuit 215, the example anti-aliasing filter 220, the example ADC 225, the example digital circuit 230, the example de-burring circuit 235, the example extraction circuit 240, the example low-pass filter 245, the example fault detection circuit 250, the example timing circuit 255, and / or more generally, Figure 2 The example short circuit detection circuit 200 can be implemented by hardware alone or by hardware in combination with software and / or firmware. Thus, for example, any of the example analog circuit 205, the example current sensing circuit 210, the example multiplexer circuit 215, the example anti-aliasing filter 220, the example ADC 225, the example digital circuit 230, the example de-glitch circuit 235, the example extraction circuit 240, the example low-pass filter 245, the example fault detection circuit 250, the example timing circuit 255 and / or more generally, the example short circuit detection circuit 200 can be implemented by programmable circuits, processor circuits, (one or more) analog circuits, (one or more) digital circuits, (one or more) logic circuits, (one or more) programmable processors, (one or more) programmable microcontrollers, (one or more) graphics processing units (GPUs), (one or more) digital signal processors (DSPs), (one or more) ASICs, (one or more) programmable logic devices (PLDs) and / or (one or more) field programmable logic devices (FPLDs) (such as FPGAs) in combination with machine-readable instructions (e.g., firmware or software). In addition, in addition to Figure 2 In addition to or in place of the components, processes, and / or equipment shown in Figure 2 The components, processes and / or equipment shown in Figure 2 The example short circuit detection circuit 200 may also include one or more elements, processes, and / or devices, and / or may include more than one of any or all of the illustrated elements, processes, and / or devices.
[0070] Figure 3 yes Figure 1 1 is a block diagram of a second example implementation 300 of a short circuit detection circuit 105 . Figure 3 The short circuit detection circuit 300 may be instantiated (e.g., create an instance of it, make it exist for any length of time, materialize, implement, etc.) by programmable circuitry such as a central processing unit (CPU) executing a first instruction. Additionally or alternatively, Figure 3 The short circuit detection circuit 105 can be instantiated (e.g., an instance of it is created, exists for any length of time, is embodied, implemented, etc.) by (i) an application specific integrated circuit (ASIC) and / or (ii) a field programmable gate array (FPGA), which is constructed and / or configured to perform an operation corresponding to the first instruction in response to executing the second instruction. Therefore, it should be understood that Figure 3 Some or all of the circuits may be instantiated at the same or different times. Figure 3 Some or all of the lines of may be instantiated, for example, in one or more threads that execute simultaneously on hardware and / or serially on hardware. Furthermore, in some examples, Figure 3 Some or all of the circuitry may be implemented by microprocessor circuitry executing instructions and / or FPGA circuitry performing operations to implement one or more virtual machines and / or containers.
[0071] and Figure 2 The short circuit detection circuit 200 is different, Figure 3 The short circuit detection system 300 omits the multiplexer circuit 215 and the associated de-glitch circuit 235 and timing circuit 255, and instead implements two processing paths to continuously and in parallel sense and evaluate the output current at the positive output 120 and the negative output 125 of the amplifier 110. For example, the short circuit detection circuit 300 includes a first example current sensing circuit 302, a first example anti-aliasing filter 304, a first example ADC 306, a first example extraction circuit 308, and a first example low pass filter 310 to sense and process the output current at the positive output 120 of the amplifier 110 to determine the positive output DC bias associated with the positive amplifier output 120. The short circuit detection circuit 300 also includes a second example current sensing circuit 312, a second example anti-aliasing filter 314, a second example ADC 316, a second example extraction circuit 318, and a second example low pass filter 320 to sense and process the output current at the negative output 125 of the amplifier 110 to determine the negative output DC bias associated with the negative amplifier output 125. The short circuit detection circuit 300 also includes an example fault detection circuit 321 that detects a short circuit condition associated with the positive amplifier output 120 based on the positive output DC bias and detects a short circuit condition associated with the negative amplifier output 125 associated with the negative output DC bias.
[0072] Figure 3 The first current sense circuit 302 of the example has an example current sense input 322 to couple to the positive amplifier output 120 of the amplifier 110. Likewise, in the example shown, the current sense input 322 corresponds to the positive input 150 of the short circuit detection circuit 105. The first current sense circuit 302 of the example shown is configured to sense a current applied to the current sense input 322, which corresponds to a positive output current at the positive output 120 of the amplifier 110. The first current sense circuit 302 further has an example current sense output 324 to output a sensed current associated with the current sense input 322, which corresponds to a positive output current at the positive output 120 of the amplifier 110.
[0073] Figure 3 The first anti-aliasing filter 304 of the illustrated example has an example filter input 326 to couple to the current sense output 324 of the first current sense line 302. The first anti-aliasing filter 304 also has an example filter output 328. The first anti-aliasing filter 304 of the illustrated example is configured to limit the bandwidth of the sensed current signal output from the first current sense line 302 based on the sampling rate employed by the first ADC 306, thereby reducing or eliminating aliasing effects in the digital data generated by the first ADC 306.
[0074] Figure 3 The first ADC 306 of the illustrated example has an example ADC input 330 to couple to the filter output 328 of the first anti-aliasing filter 304. The first ADC 306 also has an example ADC output 332. The first ADC 306 of the illustrated example is configured to convert an analog signal applied to the ADC input 330 into a digital signal generated at the ADC output 332. For example, the first ADC 306 may implement a sigma-delta ADC, a SAR ADC, etc. In the illustrated example, the analog signal applied to the ADC input 330 corresponds to the current sense output 324 of the first current sense line 302, and the digital signal generated at the ADC output 332 corresponds to a digital signal representing the current sense output 324 of the first current sense line 302.
[0075] Figure 3The first extraction circuit 308 has an example extraction input 334 to couple to the ADC output 332 of the first ADC 306. The first extraction circuit 308 also has an example extraction output 336. In the example shown, the first extraction circuit 308 is configured to perform extraction or downsampling on the input digital signal applied to the extraction input 334 to produce a downsampled digital signal at the extraction output 336 having a reduced sampling rate relative to the sampling rate of the input digital signal. Likewise, the downsampled digital signal at the extraction output 336 corresponds to the downsampled digital signal representing the current sense output 324 of the first current sense circuit 302. Figure 3 In the example of the short circuit detection circuit 300, the first extraction circuit 308 is included so that the downstream circuit elements of the short circuit detection circuit 300 (e.g., such as the low pass filter 310, etc.) can operate at a reduced sampling rate, thereby reducing the power consumption of those circuit elements. However, in some examples, the first extraction circuit 308 is not included in the short circuit detection circuit 300.
[0076] Figure 3 The first low pass filter 310 has an example filter input 338 to couple to the extraction output 336 of the first extraction circuit 308. The first low pass filter 310 also has an example filter output 340. In the illustrated example, the first low pass filter 310 is configured to filter the digital signal applied to the filter input 338 to generate an output value representing the DC offset of the input digital signal at the filter output 340. Likewise, the first low pass filter 310 can have a relatively low cutoff frequency, such as less than or equal to 10 Hertz (Hz) or some other suitable cutoff frequency. Since the digital signal applied to the filter input 338 corresponds to the current sense output 324 of the current sense circuit 302, the output value at the filter output 340 corresponds to the DC offset of the sensed current associated with the positive output 120 of the amplifier 110, which is referred to herein as the positive output DC offset.
[0077] Figure 3 The second current sense circuit 312 of the example has an example current sense input 342 to couple to the negative amplifier output 125 of the amplifier 110. Likewise, in the example shown, the current sense input 342 corresponds to the negative input 155 of the short circuit detection circuit 105. The second current sense circuit 312 of the example shown is configured to sense a current applied to the current sense input 342, which corresponds to a negative output current at the negative output 125 of the amplifier 110. The second current sense circuit 312 further has an example current sense output 344 to output a sensed current associated with the current sense input 342, which corresponds to a negative output current at the negative output 125 of the amplifier 110.
[0078] Figure 3 The second anti-aliasing filter 314 of the illustrated example has an example filter input 346 to couple to the current sense output 344 of the second current sense line 312. The second anti-aliasing filter 314 also has an example filter output 348. The second anti-aliasing filter 314 of the illustrated example is configured to limit the bandwidth of the sensed current signal output from the second current sense line 312 based on the sampling rate employed by the second ADC 316, thereby reducing or eliminating aliasing effects in the digital data generated by the second ADC 316.
[0079] Figure 3 The second ADC 316 of the illustrated example has an example ADC input 350 to couple to the filter output 348 of the second anti-aliasing filter 314. The second ADC 316 also has an example ADC output 352. The second ADC 316 of the illustrated example is configured to convert an analog signal applied to the ADC input 350 into a digital signal generated at the ADC output 352. For example, the second ADC 316 may implement a sigma-delta ADC, a SAR ADC, etc. In the illustrated example, the analog signal applied to the ADC input 350 corresponds to the current sense output 344 of the second current sense line 312, and the digital signal generated at the ADC output 332 corresponds to a digital signal representing the current sense output 344 of the second current sense line 312.
[0080] Figure 3 The second extraction circuit 318 has an example extraction input 354 to couple to the ADC output 352 of the second ADC 316. The second extraction circuit 318 also has an example extraction output 356. In the example shown, the second extraction circuit 318 is configured to perform extraction or downsampling on the input digital signal applied to the extraction input 354 to produce a downsampled digital signal at the extraction output 356 having a sampling rate that is reduced relative to the sampling rate of the input digital signal. Likewise, the downsampled digital signal at the extraction output 356 corresponds to the downsampled digital signal representing the current sense output 344 of the second current sense circuit 312. Figure 3 Including the second extraction circuit 318 in the example short circuit detection circuit 300 enables downstream circuit elements of the short circuit detection circuit 300 (e.g., such as low-pass filter 320, etc.) to operate at a reduced sampling rate, thereby reducing the power consumption of those circuit elements. However, in some examples, the second extraction circuit 318 is not included in the short circuit detection circuit 300.
[0081] Figure 3The second low pass filter 320 has an example filter input 358 to couple to the extraction output 356 of the second extraction circuit 318. The second low pass filter 320 also has an example filter output 360. In the example shown, the second low pass filter 320 is configured to filter the digital signal applied to the filter input 358 to generate an output value representing the DC offset of the input digital signal at the filter output 360. Similarly, the second low pass filter 320 can have a relatively low cut-off frequency, such as less than or equal to 10 Hertz (Hz) or some other suitable cut-off frequency. Since the digital signal applied to the filter input 358 corresponds to the current sense output 344 of the second current sense circuit 312, the output value at the filter output 360 corresponds to the DC offset of the sensed current associated with the negative output 125 of the amplifier 110, which is referred to as the negative output DC offset in this article.
[0082] Figure 3 The example fault detection circuit 321 has a first example detection input 362 to couple to the filter output 340 of the first low pass filter 310. The example fault detection circuit 321 also has a second example detection input 364 to couple to the filter output 360 of the second low pass filter 320. The fault detection circuit 321 further has an example fault output 366 corresponding to Figure 1 In the example shown, the fault detection circuit 321 is configured to set the fault output 366 to a signal detection of a short circuit associated with at least one of the positive amplifier output 120 or the negative amplifier output 125 of the amplifier 110. The fault detection circuit 250 is also configured to detect such a short circuit condition associated with the positive amplifier output 120 based on the positive output DC offset determined by the first low-pass filter 310, and to detect such a short circuit condition associated with the negative amplifier output 125 based on the negative output DC offset determined by the second low-pass filter 320.
[0083] Similar to Figure 2 The fault detection circuit 250, Figure 3 The fault detection circuit 321 of can compare the input DC offset to one or more example thresholds 368 to detect a short circuit condition associated with the positive amplifier output 120 and / or the negative amplifier output 125 of the amplifier 110. Similarly, Figure 2 The fault detection circuit 250, Figure 3The fault output 366 of the fault detection circuit 321 also includes an example fault terminal 370 and an example register 371. However, in some examples, the fault output 366 may include multiple terminals (instead of or in addition to the fault terminal 370) and an example register 372. In the example shown, the fault detection circuit 321 sets the fault terminal 370 to a first logic value to indicate that a short circuit condition has been detected, sets the fault terminal 370 to a second logic value to indicate that a short circuit condition has not been detected, and sets the register 372 to a certain value to indicate the type of short circuit condition detected. For example, the fault detection circuit 321 may operate as follows to set the register 372:
[0084] (1) setting register 372 to a first value to indicate that a short circuit condition to the power supply exists at positive amplifier output 120;
[0085] (2) setting register 372 to a second value to indicate that a short circuit condition to ground exists at positive amplifier output 120;
[0086] (3) setting register 372 to a third value to indicate that a short circuit condition to the power supply exists at negative amplifier output 125; and
[0087] (4) Register 372 is set to a fourth value to indicate that a short circuit condition to ground exists at negative amplifier output 125 .
[0088] Other implementations and operational details of the fault detection circuit 321 are similar to Figure 2 The fault detection circuit 250 is similar or identical to those of the above. Figure 2 These details are described.
[0089] In some examples, the short circuit detection circuit 300 includes a device for sensing current. For example, the device for sensing current can be implemented by the first current sensing circuit 302 and / or the second current sensing circuit 312. In some examples, the first current sensing circuit 302 and / or the second current sensing circuit 312 can be implemented by a programmable circuit (such as Figure 6 For example, the first current sensing line 302 and / or the second current sensing line 312 can be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 5 In some examples, the first current sensing circuit 302 and / or the second current sensing circuit 312 may be instantiated by hardware logic circuitry, which may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8ASIC, XPU or FPGA circuit 800. Additionally or alternatively, the first current sensing circuit 302 and / or the second current sensing circuit 312 can be instantiated by any other combination of hardware, software and / or firmware. For example, the first current sensing circuit 302 and / or the second current sensing circuit 312 can be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.), which are configured and / or constructed to execute some or all machine-readable instructions and / or perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0090] In some examples, the short circuit detection circuit 300 includes a device for anti-aliasing. For example, the device for anti-aliasing can be implemented by the first anti-aliasing filter 304 and / or the second anti-aliasing filter 314. In some examples, the first anti-aliasing filter 304 and / or the second anti-aliasing filter 314 can be implemented by a programmable circuit (such as Figure 6 For example, the first anti-aliasing filter 304 and / or the second anti-aliasing filter 314 may be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 5 In some examples, the first anti-aliasing filter 304 and / or the second anti-aliasing filter 314 may be instantiated by hardware logic circuitry, which may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8 ASIC, XPU or FPGA circuit 800. Additionally or alternatively, the first anti-aliasing filter 304 and / or the second anti-aliasing filter 314 can be instantiated by any other combination of hardware, software and / or firmware. For example, the first anti-aliasing filter 304 and / or the second anti-aliasing filter 314 can be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.), which are configured and / or constructed to execute some or all machine-readable instructions and / or perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0091] In some examples, the short circuit detection circuit 300 includes a device for analog-to-digital conversion. For example, the device for analog-to-digital conversion can be implemented by the first ADC 306 and / or the second ADC 316. In some examples, the first ADC 306 and / or the second ADC 316 can be implemented by a programmable circuit (such as Figure 6 For example, the first ADC 306 and / or the second ADC 316 may be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 5 In some examples, the first ADC 306 and / or the second ADC 316 may be instantiated by hardware logic circuitry that may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8 ASIC, XPU or FPGA circuit 800. Additionally or alternatively, the first ADC 306 and / or the second ADC 316 may be instantiated by any other combination of hardware, software and / or firmware. For example, the first ADC 306 and / or the second ADC 316 may be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured and / or constructed to execute some or all machine-readable instructions and / or to perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0092] In some examples, the short circuit detection circuit 300 includes a means for down sampling. For example, the means for down sampling can be implemented by the first extraction circuit 308 and / or the second extraction circuit 318. In some examples, the first extraction circuit 308 and / or the second extraction circuit 318 can be implemented by a programmable circuit (such as Figure 6 For example, the first extraction circuit 308 and / or the second extraction circuit 318 can be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 5 In some examples, the first extraction circuit 308 and / or the second extraction circuit 318 may be instantiated by hardware logic circuitry, which may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8ASIC, XPU or FPGA circuit 800. Additionally or alternatively, the first extraction circuit 308 and / or the second extraction circuit 318 can be instantiated by any other combination of hardware, software and / or firmware. For example, the first extraction circuit 308 and / or the second extraction circuit 318 can be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured and / or constructed to execute some or all machine-readable instructions and / or perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0093] In some examples, the short circuit detection circuit 300 includes a device for low-pass filtering. For example, the device for low-pass filtering can be implemented by a first low-pass filter 310 and / or a second low-pass filter 320. In some examples, the first low-pass filter 310 and / or the second low-pass filter 320 can be implemented by a programmable circuit (such as Figure 6 For example, the first low pass filter 310 and / or the second low pass filter 320 may be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 5 In some examples, the first low-pass filter 310 and / or the second low-pass filter 320 may be instantiated by hardware logic circuits, which may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8 ASIC, XPU or FPGA circuit 800. Additionally or alternatively, the first low-pass filter 310 and / or the second low-pass filter 320 can be instantiated by any other combination of hardware, software and / or firmware. For example, the first low-pass filter 310 and / or the second low-pass filter 320 can be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.), which are configured and / or constructed to execute some or all machine-readable instructions and / or perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0094] In some examples, short circuit detection circuit 300 includes means for fault detection. For example, means for fault detection can be implemented by fault detection circuit 321. In some examples, fault detection circuit 321 can be implemented by programmable circuits (such as Figure 6 For example, the fault detection circuit 321 can be instantiated by Figure 7 , which executes machine-executable instructions such as those given by Figure 5 In some examples, the fault detection circuit 321 may be instantiated by hardware logic circuitry, which may be configured and / or constructed to perform operations corresponding to machine-readable instructions. Figure 8 ASIC, XPU or FPGA circuit 800. Additionally or alternatively, the fault detection circuit 321 can be instantiated by any other combination of hardware, software and / or firmware. For example, the fault detection circuit 321 can be implemented by at least one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, XPUs, comparators, operational amplifiers (op-amps), logic circuits, etc.), which are configured and / or constructed to execute some or all machine-readable instructions and / or perform some or all operations corresponding to machine-readable instructions without executing software or firmware, but other structures are equally suitable.
[0095] In the foregoing description, short circuit detection circuit 300 has been described in the context of detecting a short circuit condition associated with the output of a switching amplifier, such as amplifier 110. However, short circuit detection circuit 300 is not limited to use with switching amplifiers. Instead, short circuit detection circuit 300 can be used to detect short circuit conditions associated with other types of amplifier circuits.
[0096] Although in Figure 3 The implementation is shown in Figure 1 The second example of the short circuit detection circuit 105, but Figure 3 One or more of the elements, processes and / or devices shown in the drawings may be combined, split, rearranged, omitted, eliminated and / or implemented in any other manner. In addition, the first example current sensing circuit 302, the first example anti-aliasing filter 304, the first example ADC 306, the first example extraction circuit 308, the first example low-pass filter 310, the second example current sensing circuit 312, the second example anti-aliasing filter 314, the second example ADC 316, the second example extraction circuit 318, the second example low-pass filter 320, the example fault detection circuit 321 and / or more generally, Figure 3The example short circuit detection circuit 300 may be implemented by hardware alone or by a combination of hardware and software and / or firmware. Thus, for example, the first example current sensing circuit 302, the first example anti-aliasing filter 304, the first example ADC 306, the first example extraction circuit 308, the first example low pass filter 310, the second example current sensing circuit 312, the second example anti-aliasing filter 314, the second example ADC 316, the second example extraction circuit 318, the second example low pass filter 320, the example fault detection circuit 321 and / or more generally, the example short circuit detection circuit 300 can be implemented by programmable circuitry, processor circuitry, analog circuit(s), digital circuit(s), logic circuit(s), programmable processor(s), programmable microcontroller(s), graphics processing unit(s) (GPU), digital signal processor(s) (DSP), ASIC(s), programmable logic device(s) (PLD) and / or field programmable logic device(s) (FPLD) (such as FPGA) in combination with machine-readable instructions (e.g., firmware or software). In addition, in addition to Figure 3 In addition to or in place of the components, processes, and / or equipment shown in Figure 3 The components, processes and / or equipment shown in Figure 3 The example short circuit detection circuit 300 may also include one or more elements, processes, and / or devices, and / or may include more than one of any or all of the illustrated elements, processes, and / or devices.
[0097] exist Figure 4 A flowchart is shown in FIG. 1 , which represents example machine readable instructions that may be executed by programmable circuitry to implement and / or instantiate Figure 2 The short circuit detection circuit 200 and / or the flowchart may be executed by a programmable circuit to implement and / or instantiate Figure 2 The machine-readable instructions may be one or more executable programs or portions of one or more executable programs executed by programmable circuits, such as the following in combination with Figure 6 The programmable circuit 612 shown in the example processor platform 600 discussed above and / or may be a combination of the following: Figure 7 and / or Figure 8 One or more functions or (one or more) parts of functions performed by the example programmable circuit (e.g., FPGA) discussed. In some examples, machine-readable instructions enable operations, tasks, etc. to be implemented and / or performed in an automated manner in the real world. As used herein, "automated" means without human involvement.
[0098] exist Figure 5 A flowchart is shown in which example machine readable instructions are represented and which may be executed by programmable circuitry to implement and / or instantiate Figure 3 The short circuit detection circuit 300, and / or the flowchart represents a short circuit detection circuit 300 that can be executed by a programmable circuit to implement and / or instantiate Figure 3 The machine-readable instructions may be one or more executable programs or portions of one or more executable programs executed by programmable circuits, such as the following in combination with Figure 6 The programmable circuit 612 shown in the example processor platform 600 discussed above and / or may be a combination of the following: Figure 7 and / or Figure 8 One or more functions or (one or more) parts of functions performed by the example programmable circuit (e.g., FPGA) discussed. In some examples, machine-readable instructions enable operations, tasks, etc. to be implemented and / or performed in an automated manner in the real world. As used herein, "automated" means without human involvement.
[0099] The program may be embodied in instructions (e.g., software and / or firmware) stored on one or more non-transitory computer-readable and / or machine-readable storage media, such as cache memory, magnetic storage devices or disks (e.g., floppy disks, hard disk drives (HDDs), etc.), optical storage devices or optical disks (e.g., Blu-ray disks, compact disks (CDs), digital versatile disks (DVDs), etc.), redundant arrays of independent disks (RAIDs), registers, ROMs, solid-state drives (SSDs), SSD memories, non-volatile memories (e.g., electrically erasable programmable read-only memories (EEPROMs), flash memory, etc.), volatile memories (e.g., any type of random access memory (RAM), etc.), and / or any other storage devices or storage disks. The instructions of the non-transitory computer-readable and / or machine-readable media may be programmed and / or executed by programmable circuits located in one or more hardware devices, but the entire program and / or portions thereof may alternatively be executed and / or instantiated and / or embodied in specialized hardware by one or more hardware devices other than programmable circuits. The machine-readable instructions may be distributed across multiple hardware devices and / or executed by two or more hardware devices (e.g., a server and a client hardware device). For example, the client hardware device may be implemented by an endpoint client hardware device (e.g., a hardware device associated with a human and / or machine user) or an intermediate client hardware device gateway (e.g., a radio access network (RAN)) that may facilitate communications between a server and an endpoint client hardware device. Similarly, a non-transitory computer-readable storage medium may include one or more media. Furthermore, although reference is made to Figure 4-Figure 5 The (one or more) flowcharts shown in describe example procedures, but many other methods of implementing the example short circuit detection circuit 200 and / or the example short circuit detection circuit 300 may be used instead. For example, the execution order of the blocks of the (one or more) flowcharts may be changed, and / or some of the blocks described may be changed, eliminated, or combined. Additionally or alternatively, any or all of the blocks of the flowcharts may be implemented by one or more hardware circuits (e.g., processor circuits, discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured to perform corresponding operations without executing software or firmware. The programmable circuits may be distributed at different network locations and / or locally at one or more hardware devices (e.g., single-core processors (e.g., single-core CPUs), multi-core processors (e.g., multi-core CPUs, XPUs, etc.)). For example, the programmable circuitry may be a CPU and / or FPGA located in the same package (e.g., the same integrated circuit (IC) package or in two or more separate housings), one or more processors in a single machine, multiple processors distributed across multiple servers in a server rack, multiple processors distributed across one or more server racks, etc., and / or any combination (one or more) thereof.
[0100] The machine-readable instructions described herein may be stored in one or more of a compressed format, an encrypted format, a segmented format, a compiled format, an executable format, a packaged format, etc. The machine-readable instructions as described herein may be stored as data (e.g., computer-readable data, machine-readable data, one or more bits (e.g., one or more computer-readable bits, one or more machine-readable bits, etc.), a bitstream (e.g., a computer-readable bitstream, a machine-readable bitstream, etc.), etc.) or a data structure that can be used to create, manufacture and / or generate machine-executable instructions (e.g., stored as instructions, code, (one or more) portions of a representation of code, etc.). For example, the machine-readable instructions may be segmented and stored on one or more storage devices, disks, and / or computing devices (e.g., servers) located in the same or different locations of a network or a collection of networks (e.g., in the cloud, in an edge device, etc.). The machine-readable instructions may require one or more of installation, modification, adaptation, updating, combination, supplementation, configuration, decryption, decompression, unpacking, distribution, reassignment, compilation, etc., so that they are directly readable, interpretable, and / or executable by a computing device and / or other machine. For example, machine-readable instructions may be stored in multiple portions that are individually compressed, encrypted, and / or stored on separate computing devices, where the portions, when decrypted, decompressed, and / or combined, form a set of computer-executable and / or machine-executable instructions that implement one or more functions and / or operations that together may form a program such as described herein.
[0101] In another example, the machine-readable instructions may be stored in a state where they can be read by programmable circuitry but require the addition of a library (e.g., a dynamic link library (DLL)), a software development kit (SDK), an application programming interface (API), etc., in order to execute the machine-readable instructions on a particular computing device or other device. In another example, the machine-readable instructions may need to be configured (e.g., stored settings, data inputs, recorded network addresses, etc.) before the machine-readable instructions and / or corresponding program(s) can be executed in whole or in part. Thus, as used herein, a machine-readable, computer-readable, and / or machine-readable medium may include instructions and / or program(s) regardless of the specific format or state of the machine-readable instructions and / or program(s).
[0102] The machine-readable instructions described herein may be represented in any past, present or future instruction language, scripting language, programming language, etc. For example, the machine-readable instructions may be represented in any of the following languages: C, C++, Java, C#, Perl, Python, JavaScript, Hypertext Markup Language (HTML), Structured Query Language (SQL), Swift, etc.
[0103] As mentioned above, Figure 4-Figure 5 The example operations of may be implemented using executable instructions (e.g., computer-readable and / or machine-readable instructions) stored on one or more non-transitory computer-readable and / or machine-readable media. As used herein, the terms non-transitory computer-readable medium, non-transitory computer-readable storage medium, non-transitory machine-readable medium, and / or non-transitory machine-readable storage medium are expressly defined to include any type of computer-readable storage device and / or storage disk, and exclude propagation signals and exclude transmission media. Examples of such non-transitory computer-readable medium, non-transitory computer-readable storage medium, non-transitory machine-readable medium, and / or non-transitory machine-readable storage medium include optical storage devices, magnetic storage devices, HDDs, flash memory, read-only memory (ROM), CDs, DVDs, caches, any type of RAM, registers, and / or any other storage device or storage disk, wherein information is stored in the storage device or storage disk for any duration (e.g., an extended period of time, permanent, a short-lived instance, a temporary buffer and / or cache information). As used herein, the terms "non-transitory computer-readable storage device" and "non-transitory machine-readable storage device" are defined to include any physical (mechanical, magnetic and / or electrical) hardware to retain information for a period of time, but exclude propagating signals and exclude transmission media. Examples of non-transitory computer-readable storage devices and / or non-transitory machine-readable storage devices include any type of random access memory, any type of read-only memory, solid-state memory, flash memory, optical disks, magnetic disks, disk drives, and / or redundant arrays of independent disks (RAID) systems. As used herein, the term "device" refers to a physical structure such as mechanical and / or electrical equipment, hardware and / or wiring that may or may not be configured and / or manufactured to execute computer-readable instructions, machine-readable instructions, etc.
[0104] As used herein, "include" and "comprising" (and all forms and tenses thereof) are open-ended terms. Thus, whenever a claim employs any form of "include" or "comprising" (e.g., includes, comprises, includes, including, having, etc.) as a preamble or in any kind of claim statement, it should be understood that additional elements, terms, etc. may be present without exceeding the scope of the corresponding claim or statement. As used herein, when the phrase "at least" is used as a transitional term, such as in the preamble of a claim, it is open-ended in the same manner as the terms "include" and "comprising" are open-ended. When the term "and / or" is used, such as in a form such as A, B, and / or C, it refers to any combination or subset of A, B, and C, such as (1) only A, (2) only B, (3) only C, (4) A and B, (5) A and C, (6) B and C, or (7) A and B and C. As used herein in the context of describing structures, components, items, objects, and / or things, the phrase “at least one of A and B” is intended to refer to embodiments that include: (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing structures, components, items, objects, and / or things, the phrase “at least one of A or B” is intended to refer to embodiments that include: (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. As used herein in the context of describing the performance or execution of processes, instructions, actions, activities, and / or steps, the phrase “at least one of A and B” is intended to refer to embodiments that include: (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing the performance or execution of a process, instruction, action, activity, and / or step, the phrase "at least one of A or B" is intended to refer to embodiments that include: (1) at least one A, (2) at least one B, or (3) at least one A and at least one B.
[0105] As used herein, singular references (e.g., "a," "an," "first," "second," etc.) do not exclude a plurality. As used herein, the term "a" or "an" object refers to one or more of the object. The terms "a" (or "an"), "one or more," and "at least one" are used interchangeably herein. In addition, although listed separately, multiple devices, elements, or actions may be implemented by, for example, the same entity or object. In addition, although individual features may be included in different examples or claims, these features may be combined, and inclusion in different examples or claims does not mean that a combination of features is not feasible and / or advantageous.
[0106] Figure 4is a representation that can be executed, instantiated and / or performed by a programmable circuit to implement Figure 2 4. Referring to the foregoing drawings and corresponding written descriptions, Figure 4 The example machine readable instructions and / or example operations 400 of begin at block 405, where the current sense circuit 210 senses the current at the positive output 120 of the amplifier 110 and senses the current at the negative output 125 of the amplifier 110, as described above. At block 410, the timing circuit 255 repeatedly switches the multiplexer circuit 215 to alternate between selecting the sensed current at the positive amplifier output 120 and selecting the sensed current at the negative amplifier output 125, as described above. At block 415, the ADC 225, in conjunction with the anti-aliasing filter 220 and the de-glitch circuit 235, converts the sensed output current selected at block 410 into a first digital signal, as described above. At block 420, the decimation circuit 240 downsamples the sampling rate of the first digital signal, or in other words, decimates to obtain a second digital signal, as described above. In some examples, the processing at block 420 is optional and can be omitted.
[0107] At block 425, the low pass filter 245 filters the second digital signal to obtain a DC offset associated with the sensed output current selected at block 410, as described above. At block 430, the fault detection circuit 250 compares the DC offset to one or more thresholds to detect whether the amplifier output associated with the sensed output current selected at block 410 is shorted to power or shorted to ground as described above. At block 435, the fault detection circuit 250 sets the fault output 295 to indicate whether a short circuit condition has been detected, as described above. At block 440, if short circuit detection is to continue, processing returns to block 405 and subsequent blocks. Otherwise, the example machine readable instructions and / or example operations 400 end.
[0108] Figure 5 is a representation that can be executed, instantiated and / or performed by a programmable circuit to implement Figure 3 1. Referring to the foregoing drawings and corresponding written descriptions, Figure 5 The example machine readable instructions and / or example operations 500 begin in parallel at blocks 505 and 510. At block 505, the first current sense line 302 senses the current at the positive output 120 of the amplifier 110, as described above. In parallel, at block 510, the second current sense line 312 senses the current at the negative output 125 of the amplifier 110, as described above.
[0109] Next, at block 515, the first ADC 306, in combination with the first anti-aliasing filter 304, converts the sensed current at the positive amplifier output 120 into a first digital signal, as described above. In parallel, at block 520, the second ADC 316, in combination with the second anti-aliasing filter 314, converts the sensed current at the negative amplifier output 125 into a second digital signal, as described above.
[0110] Next, at block 525, the first decimation circuit 308 downsamples the sampling rate of the first digital signal to obtain a third digital signal, as described above. In parallel, at block 530, the second decimation circuit 318 downsamples the sampling rate of the second digital signal to obtain a fourth digital signal, as described above. In some examples, the processing at blocks 525 and 530 is optional and can be omitted.
[0111] Next, at block 535, the first low-pass filter 310 filters the third digital signal to obtain a DC offset associated with the positive amplifier output 120 as described above, which is referred to as the positive output DC offset. In parallel, at block 540, the second low-pass filter 320 filters the fourth digital signal to obtain a DC offset associated with the negative amplifier output 125 as described above, which is referred to as the negative output DC offset.
[0112] At block 545, the fault detection circuit 321 compares the positive output DC offset and the negative output DC offset to one or more thresholds to detect whether the positive amplifier output 120 and / or the negative amplifier output 125 is shorted to power or shorted to ground as described above. At block 550, the fault detection circuit 321 sets the fault output 366 to indicate whether a short circuit condition has been detected, as described above. At block 555, if short circuit detection is to continue, processing returns to blocks 505 and 510 and subsequent blocks. Otherwise, the example machine readable instructions and / or example operations 500 end.
[0113] Figure 6 is constructed to execute and / or instantiate Figure 4 and / or Figure 5 Example machine readable instructions and / or example operations to implement Figure 2 and / or Figure 3 The programmable circuit platform 600 is a block diagram of an example programmable circuit platform 600 of the short circuit detection circuit 200 and / or the short circuit detection circuit 300. The programmable circuit platform 600 can be, for example, a server, a personal computer, a workstation, a self-learning machine (e.g., a neural network), a mobile device (e.g., a cellular phone, a smart phone, an iPad, etc.). TMtablet computer), personal digital assistant (PDA), Internet home appliance, DVD player, CD player, digital video recorder, Blu-ray player, game console, personal video recorder, set-top box, headset (e.g., augmented reality (AR) headset, virtual reality (VR) headset, etc.) or other wearable device, or any other type of computing and / or electronic device.
[0114] The programmable circuit platform 600 of the illustrated example includes a programmable circuit 612. The programmable circuit 612 of the illustrated example is hardware. For example, the programmable circuit 612 can be implemented by one or more integrated circuits, logic circuits, FPGAs, microprocessors, CPUs, GPUs, DSPs, and / or microcontrollers from any desired series or manufacturer. The programmable circuit 612 can be implemented by one or more semiconductor-based (e.g., silicon-based) devices. In some examples, the programmable circuit 612 implements the example deburring circuit 235, the example extraction circuit 240, the example low-pass filter 245, the example fault detection circuit 250, and the example timing circuit 255 of the short circuit detection circuit 200. In some examples, the programmable circuit 612 implements the first example extraction circuit 308, the first example low-pass filter 310, the second example extraction circuit 318, the second example low-pass filter 320, and the example fault detection circuit 321 of the short circuit detection circuit 300.
[0115] The programmable circuit 612 of the illustrated example includes a local memory 613 (e.g., cache, registers, etc.). The programmable circuit 612 of the illustrated example communicates with a main memory 614, 616 including a volatile memory 614 and a non-volatile memory 616 via a bus 618. The volatile memory 614 may be comprised of a synchronous dynamic random access memory (SDRAM), a dynamic random access memory (DRAM), Dynamic Random Access Memory The non-volatile memory 616 may be implemented by flash memory and / or any other desired type of memory device. Access to the main memory 614, 616 of the illustrated example is controlled by a memory controller 617. In some examples, the memory controller 617 may be implemented by one or more integrated circuits, logic circuits, microcontrollers from any desired family or manufacturer, or any other type of circuit to manage the flow of data to and from the main memory 614, 616.
[0116] The programmable circuit platform 600 of the illustrated example also includes an interface circuit 620. The interface circuit 620 can be implemented by hardware according to any type of interface standard, such as an Ethernet interface, a universal serial bus (USB) interface, The interface circuit 620 may be implemented by a NFC interface, a PCI interface, a PCIe interface, and / or a PCIe interface. In some examples, the interface circuit 620 implements the example current sensing circuit 210, the example multiplexer circuit 215, the example anti-aliasing filter 220, and the example ADC 225 of the short circuit detection circuit 200. In some examples, the interface circuit 620 implements the first example current sensing circuit 302, the first example anti-aliasing filter 304, the first example ADC 306, the second example current sensing circuit 312, the second example anti-aliasing filter 314, and the second example ADC 316 of the short circuit detection circuit 300.
[0117] In the example shown, one or more input devices 622 are connected to the interface circuit 620. The input device(s) 622 allow a user (e.g., a human user, a machine user, etc.) to input data and / or commands into the programmable circuit 612. The input device(s) 622 may be implemented by, for example, an audio sensor, a microphone, a camera (still or video), a keyboard, buttons, a mouse, a touch screen, a trackpad, a trackball, an isopoint device, and / or a voice recognition system.
[0118] One or more output devices 624 are also connected to the interface circuit 620 of the illustrated example. The output device(s) 624 may be implemented, for example, by a display device (e.g., a light emitting diode (LED), an organic light emitting diode (OLED), a liquid crystal display (LCD), a cathode ray tube (CRT) display, an in-place switch (IPS) display, a touch screen, etc.), a tactile output device, a printer, and / or a speaker. Therefore, the interface circuit 620 of the illustrated example typically includes a graphics driver card, a graphics driver chip, and / or a graphics processor circuit such as a GPU.
[0119] The interface circuitry 620 of the illustrated example also includes communication devices, such as transmitters, receivers, transceivers, modems, residential gateways, wireless access points, and / or network interfaces to facilitate data exchange with external machines (e.g., any kind of computing device) over the network 626. Communications may be implemented through, for example, an Ethernet connection, a digital subscriber line (DSL) connection, a telephone line connection, a coaxial cable system, a satellite system, a line-of-sight wireless system, a line-of-sight wireless system, a cellular telephone system, an optical connection, etc.
[0120] The programmable circuit platform 600 of the illustrated example also includes one or more mass storage disks or devices 628 for storing firmware, software and / or data. Examples of such mass storage disks or devices 628 include magnetic storage devices (e.g., floppy disks, drives, HDDs, etc.), optical storage devices (e.g., Blu-ray disks, CDs, DVDs, etc.), RAID systems, and / or solid-state storage disks or devices, such as flash memory devices and / or SSDs.
[0121] Can be Figure 4 and / or Figure 5 The machine-readable instructions 632 implemented by the machine-readable instructions may be stored in the mass storage device 628, in the volatile memory 614, in the non-volatile memory 616, and / or on at least one non-transitory computer-readable storage medium that may be removable, such as a CD or DVD.
[0122] Figure 7 yes Figure 6 612 of the programmable circuit 612. In this example, Figure 6 The programmable circuit 612 of the microprocessor 700 is implemented by the microprocessor 700. For example, the microprocessor 700 can be a general-purpose microprocessor (e.g., a general-purpose microprocessor circuit). The microprocessor 700 executes Figure 4 and / or Figure 5 Some or all of the machine readable instructions of a flowchart to effectively Figure 2 and / or Figure 3 The circuits of the machine readable program are instantiated into logic circuits to perform operations corresponding to those machine readable instructions. In some such examples, Figure 2 and / or Figure 3 The circuitry is instantiated by hardware circuits of the microprocessor 700 in combination with machine-readable instructions. For example, the microprocessor 700 may be implemented by multi-core hardware circuitry, such as a CPU, DSP, GPU, XPU, etc. Although it may include any number of example cores 702 (e.g., 1 core), the microprocessor 700 of this example is a multi-core semiconductor device including N cores. The cores 702 of the microprocessor 700 may operate independently or may cooperate to execute machine-readable instructions. For example, machine code corresponding to a firmware program, an embedded software program, or a software program may be executed by one of the cores 702, or may be executed by multiple of the cores 702 at the same or different times. In some examples, the machine code corresponding to the firmware program, the embedded software program, or the software program is divided into threads and executed in parallel by two or more of the cores 702. The software program may correspond to Figure 4 and / or Figure 5 The flowchart may represent part or all of the machine-readable instructions and / or operations.
[0123] The core 702 can communicate via a first example bus 704. In some examples, the first bus 704 can be implemented by a communication bus to complete communications associated with one (or more) of the cores 702. For example, the first bus 704 can be implemented by at least one of an inter-integrated circuit (I2C) bus, a serial peripheral interface (SPI) bus, a PCI bus, or a PCIe bus. Additionally or alternatively, the first bus 704 can be implemented by any other type of computing or electrical bus. The core 702 can obtain data, instructions, and / or signals from one or more external devices via an example interface line 706. The core 702 can output data, instructions, and / or signals to one or more external devices via the interface line 706. Although the core 702 of this example includes an example local memory 720 (e.g., a level 1 (L1) cache that can be divided into an L1 data cache and an L1 instruction cache), the microprocessor 700 also includes an example shared memory 710 (e.g., a level 2 (L2 cache)) that can be shared by the cores for high-speed access to data and / or instructions. Data and / or instructions may be transferred (eg, shared) by writing to and / or reading from the shared memory 710. The local memory 720 of each of the cores 702 and the shared memory 710 may be a cache memory and a main memory (eg, Figure 6 The cache memory is part of a hierarchy of storage devices (main memory 614, 616). Generally, higher-level memory in the hierarchy exhibits lower access times and has smaller storage capacity than lower-level memory. Changes to the various levels of the cache hierarchy are managed (e.g., coordinated) by a cache coherence policy.
[0124] Each core 702 may be referred to as a CPU, DSP, GPU, etc., or any other type of hardware circuit. Each core 702 includes a control unit circuit 714, an arithmetic and logic (AL) circuit 716 (sometimes referred to as an ALU), a plurality of registers 718, a local memory 720, and a second example bus 722. Other structures may exist. For example, each core 702 may include a vector unit circuit, a single instruction multiple data (SIMD) unit circuit, a load / store unit (LSU) circuit, a branch / jump unit circuit, a floating point unit (FPU) circuit, etc. The control unit circuit 714 includes a semiconductor-based circuit that is configured to control (e.g., coordinate) data movement within the corresponding core 702. The AL circuit 716 includes a semiconductor-based circuit that is configured to perform one or more mathematical and / or logical operations on data within the corresponding core 702. The AL circuit 716 of some examples performs integer-based operations. In other examples, the AL circuit 716 also performs floating-point operations. In other examples, the AL circuit 716 may include a first AL circuit that performs integer-based operations and a second AL circuit that performs floating-point operations. In some examples, AL circuit 716 may be referred to as an arithmetic logic unit (ALU).
[0125] Registers 718 are semiconductor-based structures for storing data and / or instructions, such as the results of one or more operations performed by the AL circuit 716 of the corresponding core 702. For example, registers 718 may include vector register(s), SIMD register(s), general register(s), flag register(s), segment register(s), machine-specific register(s), instruction pointer register(s), control register(s), debug register(s), memory management register(s), machine check register(s), etc. Registers 718 may be in the form of Figure 7 Alternatively, the registers 718 may be organized in any other arrangement, format, or structure, such as by being distributed throughout the core 702 to reduce access time. The second bus 722 may be implemented by at least one of an I2C bus, an SPI bus, a PCI bus, or a PCIe bus.
[0126] Each core 702 and / or more generally, the microprocessor 700 may include additional and / or alternative structures in addition to and / or in place of the structures shown and described above. For example, there may be one or more clock circuits, one or more power supplies, one or more power gates, one or more cache home agents (CHAs), one or more convergence / common mesh gates (CMSs), one or more shifters (e.g., (one or more) barrel shifters), and / or other circuits. The microprocessor 700 is a semiconductor device manufactured to include many transistors that are interconnected to implement the above structures in one or more integrated circuits (ICs) contained in one or more packages.
[0127] The microprocessor 700 may include and / or collaborate with one or more accelerators (e.g., acceleration circuits, hardware accelerators, etc.). In some examples, the accelerator is implemented by logic circuits to perform certain tasks faster and / or more efficiently than a general-purpose processor. Examples of accelerators include ASICs and FPGAs, such as those discussed herein. GPUs, DSPs, and / or other programmable devices may also be accelerators. The accelerator may be onboard the microprocessor 700, in the same chip package as the microprocessor 700, and / or in one or more packages separated from the microprocessor 700.
[0128] Figure 8 yes Figure 6 800. For example, the FPGA circuit 800 can be implemented by an FPGA. The FPGA circuit 800 can be used, for example, to perform operations that could otherwise be performed by Figure 7 However, once configured, the FPGA circuit 800 instantiates the operations and / or functions corresponding to the machine-readable instructions in hardware, and therefore, can generally perform these operations / functions faster than those performed by a general-purpose microprocessor executing corresponding software.
[0129] More specifically, as described above Figure 7 The microprocessor 700 (which is a general-purpose device that can be programmed to perform the Figure 4 and / or Figure 5 (one or more) flow charts representing some or all of the machine-readable instructions, but whose interconnections and logic are fixed once manufactured), Figure 8 The example FPGA circuit 800 includes interconnects and logic circuits that can be configured, constructed, programmed, and / or interconnected in different ways after manufacturing to instantiate, for example, Figure 4 and / or Figure 5The (one or more) flow charts represent some or all operations / functions corresponding to the machine-readable instructions. In particular, the FPGA circuit 800 can be considered as an array of logic gates, interconnects, and switches. The switches can be programmed to change how the logic gates are interconnected through the interconnects, effectively forming one or more specialized logic circuits (unless and until the FPGA circuit 800 is reprogrammed). The configured logic circuits enable the logic gates to cooperate in different ways to perform different operations on the data received by the input circuits. These operations can correspond to the operations performed by Figure 4 and / or Figure 5 Similarly, FPGA circuit 800 can be configured and / or constructed to effectively instantiate and Figure 4 and / or Figure 5 Some or all of the operations / functions corresponding to the machine-readable instructions of the (one or more) flowcharts of the FPGA circuit 800 can be used as a specialized logic circuit to perform the operations / functions corresponding to those software instructions in a specialized manner similar to an ASIC. Figure 4 and / or Figure 5 Some or all of the machine-readable instructions correspond to operations / functions faster than a general-purpose microprocessor can perform them.
[0130] exist Figure 8 In the example of , the FPGA circuit 800 is configured and / or constructed in response to being programmed (and / or reprogrammed one or more times) based on a binary file. In some examples, the binary file can be compiled and / or generated based on instructions of a hardware description language (HDL) such as Lucid, Very High Speed Integrated Circuit (VHSIC) Hardware Description Language (VHDL), or Verilog. For example, a user (e.g., a human user, a machine user, etc.) can write code or a program corresponding to one or more operations / functions in HDL; the code / program can be translated into a low-level language as needed; and the code / program (e.g., code / program in a low-level language) can be converted (e.g., by a compiler, a software application, etc.) into a binary file. In some examples, Figure 8 The FPGA circuit 800 can access and / or load binary files to enable Figure 8 The FPGA circuit 800 is configured and / or constructed to perform one or more operations / functions. For example, a binary file may be provided by a bitstream (e.g., one or more computer-readable bits, one or more machine-readable bits, etc.), data (e.g., computer-readable data, machine-readable data, etc.), and / or Figure 8 The FPGA circuit 800 may be implemented with machine-readable instructions accessible to enable Figure 8The FPGA circuit 800 or (one or more) parts thereof are configured and / or constructed.
[0131] In some examples, the binary file is compiled, generated, transformed, and / or otherwise output from a unified software platform for programming the FPGA. For example, the unified software platform can translate a first instruction (e.g., code or program) corresponding to one or more operations / functions in a high-level language (e.g., C, C++, Python, etc.) into a second instruction corresponding to one or more operations / functions in the HDL. In some such examples, the binary file is compiled, generated, and / or otherwise output from the unified software platform based on the second instruction. In some examples, Figure 8 The FPGA circuit 800 can access and / or load binary files to enable Figure 8 The FPGA circuit 800 is configured and / or constructed to perform one or more operations / functions. For example, a binary file may be provided by a bitstream (e.g., one or more computer-readable bits, one or more machine-readable bits, etc.), data (e.g., computer-readable data, machine-readable data, etc.), and / or Figure 8 The FPGA circuit 800 may be implemented with machine-readable instructions accessible to enable Figure 8 The FPGA circuit 800 or (one or more) parts thereof are configured and / or constructed.
[0132] Figure 8 The FPGA circuit 800 includes example input / output (I / O) circuits 802 to obtain data from and / or output data to example configuration circuits 804 and / or external hardware 806. For example, the configuration circuit 804 can be implemented by an interface circuit that can obtain a binary file that can be implemented by a bitstream, data, and / or machine-readable instructions to configure the FPGA circuit 800 or (one or more) portions thereof. In some such examples, the configuration circuit 804 can obtain the binary file from a user, a machine (e.g., a hardware circuit (e.g., a programmable or specialized circuit) that can implement an artificial intelligence / machine learning (AI / ML) model to generate a binary file, etc.), and / or any (one or more) combinations thereof. In some examples, the external hardware 806 can be implemented by an external hardware circuit. For example, the external hardware 806 can be implemented by Figure 7 The present invention is implemented by the microprocessor 700.
[0133] FPGA circuit 800 also includes an array of example logic gate circuits 808, a plurality of example configurable interconnects 810, and example storage circuits 812. Logic gate circuits 808 and configurable interconnects 810 may be configured to instantiate a plurality of example logic gate circuits 808, and a plurality of example storage circuits 812. Figure 4 and / or Figure 5One or more operations / functions of at least some of the machine-readable instructions and / or other desired operations. Figure 8 The logic gate circuit 808 shown in is manufactured in the form of blocks or groups. Each block includes a semiconductor-based electrical structure that can be configured as a logic circuit. In some examples, the electrical structure includes logic gates (e.g., "AND" gates, "OR" gates, "NOT" gates, etc.), which provide basic building blocks for logic circuits. Electrically controllable switches (e.g., transistors) are present in each of the logic gate circuits 808 to enable configuration of the electrical structure and / or logic gates to form a circuit to perform the desired operation / function. The logic gate circuit 808 may include other electrical structures such as a lookup table (LUT), a register (e.g., a flip-flop or latch), a multiplexer, etc.
[0134] The configurable interconnect 810 of the illustrated example is a conductive path, trace, via, or the like, which may include an electrically controllable switch (e.g., a transistor) whose state may be changed by programming (e.g., using an HDL instruction language) to activate or deactivate one or more connections between one or more of the logic gate circuits 808, thereby programming a desired logic circuit.
[0135] The storage circuit 812 of the illustrated example is configured to store (one or more) results of one or more operations performed by corresponding logic gates. The storage circuit 812 may be implemented by registers, etc. In the illustrated example, the storage circuit 812 is distributed between the logic gate circuits 808 to facilitate access and increase execution speed.
[0136] Figure 8 The example FPGA circuit 800 also includes an example special operation circuit 814. In this example, the special operation circuit 814 includes a special purpose circuit 816, which can be called to implement common functions to avoid the need to program these functions on site. Examples of such special purpose circuits 816 include memory (e.g., DRAM) controller circuits, PCIe controller circuits, clock circuits, transceiver circuits, memory, and multiplier accumulator circuits. There may be other types of special purpose circuits. In some examples, the FPGA circuit 800 may also include an example general programmable circuit 818, such as an example CPU 820 and / or an example DSP 822. Other general programmable circuits 818 may additionally or alternatively exist, such as GPUs, XPUs, etc., which can be programmed to perform other operations.
[0137] although Figure 7 and Figure 8 Shows Figure 6 These are two example implementations of the programmable circuit 612, but many other approaches are contemplated. For example, the FPGA circuit may include an onboard CPU, such as Figure 8One or more of the example CPUs 820. Thus, Figure 6 The programmable circuit 612 can also be combined by at least Figure 7 An example microprocessor 700 and Figure 8 In some such hybrid examples, Figure 7 The one or more kernels 702 may execute Figure 4 and / or Figure 5 The flowchart(s) represent a first portion of machine-readable instructions to perform a first(s) operation / function, Figure 8 The FPGA circuit 800 may be configured and / or constructed to perform the same as that by Figure 4 and / or Figure 5 The second (one or more) operations / functions corresponding to the second portion of the machine-readable instructions represented by the flowchart of the present invention, and / or the ASIC can be configured and / or constructed to perform the same as those by Figure 4 and / or Figure 5 The third portion of the machine-readable instructions represented by the flowchart corresponds to a third (one or more) operations / functions.
[0138] Therefore, it should be understood that Figure 2 and / or Figure 3 Some or all of the lines may be instantiated at the same or different times. For example, Figure 7 The same and / or different (one or more) portions of the microprocessor 700 can be programmed to execute (one or more) portions of the machine-readable instructions at the same and / or different times. In some examples, Figure 8 The same and / or different(s) portions of FPGA circuitry 800 may be configured and / or constructed to perform operations / functions corresponding to(s) portions of machine-readable instructions at the same and / or different times.
[0139] In some examples, Figure 2 and / or Figure 3 Some or all of the lines of may be instantiated, for example, in one or more threads that execute simultaneously and / or serially. Figure 7 The microprocessor 700 can execute machine-readable instructions in one or more threads that execute simultaneously and / or serially. In some examples, Figure 8 The FPGA circuit 800 can be configured and / or constructed to perform operations / functions simultaneously and / or serially. In addition, in some examples, Figure 2 and / or Figure 3 Some or all of the lines can be Figure 7 The microprocessor 700 is implemented within one or more virtual machines and / or containers.
[0140] In some examples, Figure 6 The programmable circuits 612 may be in one or more packages. For example, Figure 7 The microprocessor 700 and / or Figure 8 The FPGA circuit 800 can be in one or more packages. In some examples, the XPU can be composed of Figure 6 The XPU may be implemented in a programmable circuit 612, which may be in one or more packages. For example, the XPU may include a CPU in a package (e.g., Figure 7 Microprocessor 700, Figure 8 820, etc.), a DSP in another package (e.g., Figure 8 DSP 822 of ), a GPU in yet another package, and an FPGA in yet another package (e.g., Figure 8 FPGA circuit 800).
[0141] Fig. 9 A block diagram illustrating an example software distribution platform 905 is shown in Figure 6 The example software distribution platform 905 may be implemented by any computer server, data facility, cloud service, etc. that is capable of storing and transferring software to other computing devices. The third party may be a customer of the entity that owns and / or operates the software distribution platform 905. For example, the entity that owns and / or operates the software distribution platform 905 may be a third party such as a Figure 6 The third party may be a consumer, user, retailer, OEM, etc., who purchases and / or licenses the software for use and / or resale and / or sublicense. In the example shown, the software distribution platform 905 includes one or more servers and one or more storage devices. The storage device stores the machine-readable instructions 632, which may correspond to Figure 4 and / or Figure 5The example machine-readable instructions 632 of the example software distribution platform 905 are described above. One or more servers of the example software distribution platform 905 communicate with the example network 910, which may correspond to any one or more of the Internet and / or any of the example networks described above. In some examples, as part of a commercial transaction, one or more servers respond to a request to transfer the software to the requesting party. The delivery, sale, and / or payment of the license of the software may be processed by one or more servers of the software distribution platform and / or a third-party payment entity. The server enables a purchaser and / or licensor to download the machine-readable instructions 632 from the software distribution platform 905. For example, it may correspond to Figure 4 and / or Figure 5 The example machine readable instructions of the software can be downloaded to the example programmable circuit platform 600, which will execute the machine readable instructions 632 to implement the short circuit detection circuit 200 and / or the short circuit detection circuit 300. In some examples, one or more servers of the software distribution platform 905 periodically send software (e.g., Figure 6 Example machine readable instructions 632) provide, transmit and / or force updates to ensure that improvements, patches, updates, etc. are distributed and applied to software at end-user devices. Although referred to as software above, the distributed "software" may alternatively be firmware.
[0142] As used herein, unless otherwise indicated, connection references (e.g., attachment, coupling, connection, and engagement) may include intermediate members between elements referenced by the connection reference and / or relative movement between those elements. Likewise, connection references do not necessarily infer that two elements are directly connected to each other and / or connected in a fixed relationship. As used herein, a statement that any part is "in contact" with another part is defined to mean that there is no intermediate part between the two parts.
[0143] Unless otherwise specifically stated, descriptors such as "first," "second," "third," etc., are used herein without in any way imposing or otherwise indicating any meaning of priority, physical order, arrangement in a list, and / or ordering, but are merely used as labels and / or arbitrary names to distinguish elements to facilitate understanding of the disclosed examples. In some examples, the descriptor "first" may be used in a specific embodiment to refer to an element, while a different descriptor such as "second" or "third" may be used in the claims to refer to the same element. In such cases, it should be understood that such descriptors are only used to clearly identify, for example, those elements that might otherwise share the same name in the context of the discussion (e.g., in the claims).
[0144] As used herein, "approximately" and "about" modify the subject matter / values thereof to recognize the potential for variations that occur in real-world applications. For example, "approximately" and "approximately" may modify dimensions that may not be exact due to manufacturing tolerances and / or other real-world imperfections that would be understood by one of ordinary skill in the art. For example, "approximately" and "approximately" may indicate that such dimensions may be within a tolerance range of + / - 10%, unless otherwise specified in the following description.
[0145] As used herein, the phrase "communication" includes variations thereof, covers direct communication and / or indirect communication through one or more intermediate components, and does not require direct physical (e.g., wired) communication and / or constant communication, but also includes selective communication at periodic intervals, scheduled intervals, non-periodic intervals and / or one-time events.
[0146] As used herein, “programmable circuitry” is defined to include (i) one or more special purpose circuits (e.g., application specific circuits (ASICs)) that are constructed to perform specific operation(s) and include one or more semiconductor-based logic devices (e.g., electrical hardware implemented by one or more transistors), and / or (ii) one or more general purpose semiconductor-based circuits that can be programmed with instructions to perform specific function(s) / operation(s) and include one or more semiconductor-based logic devices (e.g., electrical hardware implemented by one or more transistors). Examples of programmable circuitry include a programmable microprocessor, such as a central processor unit (CPU), which can execute a first instruction to perform one or more operations and / or functions; a field programmable gate array (FPGA), which can be programmed with a second instruction to cause the configuration and / or construction of the FPGA to instantiate one or more operations and / or functions corresponding to the first instruction; a graphics processor unit (GPU), which can execute a first instruction to perform one or more operations and / or functions; a digital signal processor (DSP), which can execute a first instruction to perform one or more operations and / or functions; an XPU; a network processing unit (NPU); one or more microcontrollers, which can execute a first instruction to perform one or more operations and / or functions; and / or an integrated circuit, such as an application specific integrated circuit (ASIC). For example, the XPU may be implemented by a heterogeneous computing system that includes multiple types of programmable circuits (e.g., one or more FPGAs, one or more CPUs, one or more GPUs, one or more NPUs, one or more DSPs, etc., and / or any (one or more) combinations thereof), and orchestration technology (e.g., (one or more) application programming interfaces (APIs)) that can assign (one or more) computing tasks to the programmable circuits of the multiple types that are suitable and available for performing (one or more) computing tasks.
[0147] As used herein, an integrated circuit / circuit is defined as one or more semiconductor packages containing one or more circuit elements, such as transistors, capacitors, inductors, resistors, current paths, diodes, etc. For example, an integrated circuit may be implemented as one or more of an ASIC, an FPGA, a chip, a microchip, a programmable circuit, a semiconductor substrate coupling multiple circuit elements, a system on a chip (SoC), etc.
[0148] As can be appreciated from the foregoing, example systems, apparatus, articles, and methods have been disclosed that implement and utilize short circuit detection circuitry to provide diagnostics for shorts to power and ground for amplifier circuits. The disclosed systems, apparatus, articles, and methods improve the efficiency of using a computing device by monitoring the output of a switching amplifier to detect a short circuit condition during system operation (e.g., in real time) and generating one or more fault diagnostics to enable identification of the short circuit condition and / or shutting down the amplifier and / or other system components to prevent, reduce, or otherwise mitigate damage to the amplifier and / or other system components. The disclosed systems, apparatus, articles, and methods are accordingly directed to one or more improvements in the operation of a machine such as a computer or other electronic and / or mechanical device.
[0149] Further example systems, apparatus, articles, methods, and combinations thereof for implementing and utilizing a short circuit detection circuit to provide power and ground short circuit diagnostics for an amplifier circuit include the following examples. Example 1 includes a circuit comprising: a short circuit detection circuit having an input adapted to be coupled to an output of an amplifier, and an output for sensing an output current from the output of the amplifier; and filtering a signal corresponding to the output current from the output of the amplifier to measure a direct current offset, or DC offset, associated with the output current; wherein the short circuit detection circuit output indicates a short circuit at the output of the amplifier based on the DC offset.
[0150] Example 2 includes the circuit of Example 1, wherein the short circuit detection circuit is used to set a value of the short circuit detection circuit output based on a comparison of the DC offset to a threshold value.
[0151] Example 3 includes the circuit of Example 2, wherein the threshold is programmable based on a type of the amplifier.
[0152] Example 4 includes the circuit of Example 2, wherein the short circuit detection circuit output includes a terminal, and the short circuit detection circuit sets a value of the terminal to indicate the short circuit in response to the magnitude of the DC offset satisfying the threshold.
[0153] Example 5 includes the circuit of Example 4, wherein the amplifier is a switching amplifier, the short circuit detection circuit output includes a register, and the short circuit detection circuit is used to set the value of the register based on the polarity of the DC offset to indicate whether the short circuit is from the output of the amplifier to power supply or to ground.
[0154] Example 6 includes the circuit described in Example 1, wherein the amplifier is a switching amplifier, the output of the amplifier is a positive output of the amplifier, the short-circuit detection circuit input is a first short-circuit detection circuit input suitable for coupling to the positive output of the switching amplifier, the output current is a first output current associated with the positive output of the switching amplifier, the signal is a first signal corresponding to the first output current, the DC offset is a first DC offset associated with the first output current, and further includes a second short-circuit detection circuit input suitable for coupling to the negative output of the switching amplifier, wherein the short-circuit detection circuit is used to: sense a second output current from the negative output of the switching amplifier; filter a second signal corresponding to the second output current to measure a second DC offset associated with the second output current; and set the short-circuit detection circuit output based on a comparison of the first DC offset with a threshold and a comparison of the second DC offset with the threshold.
[0155] Example 7 includes the circuit described in Example 6, wherein the short circuit detection circuit output includes a terminal and a register, and the short circuit detection circuit is used to: in response to the magnitude of the first DC offset satisfying the threshold or the magnitude of the second DC offset satisfying at least one of the thresholds, set the value of the terminal to indicate the short circuit; in response to the polarity of the first DC offset being negative, set the register to a first register value to indicate that the short circuit is between the positive output of the amplifier and a power supply; in response to the polarity of the first DC offset being positive, set the register to a second register value to indicate that the short circuit is between the positive output of the amplifier and ground; in response to the polarity of the second DC offset being positive, set the register to a third register value to indicate that the short circuit is between the negative output of the amplifier and a power supply; and in response to the polarity of the second DC offset being negative, set the register to a fourth register value to indicate that the short circuit is between the negative output of the amplifier and ground.
[0156] Example 8 includes the circuit described in Example 6, wherein the short-circuit detection circuit repeatedly switches between: (i) sensing the first output current from the positive output of the switching amplifier, filtering the first signal corresponding to the first output current to measure the first DC offset, and setting the short-circuit detection circuit output based on the comparison of the first DC offset with the threshold, and (ii) sensing the second output current from the negative output of the switching amplifier, filtering the second signal corresponding to the second output current to measure the second DC offset, and setting the short-circuit detection circuit output based on the comparison of the second DC offset with the threshold.
[0157] Example 9 includes a switching amplifier comprising: a positive amplifier output; a negative amplifier output; and a short circuit detection circuit, the short circuit detection circuit comprising: a current sensing circuit, the current sensing circuit having a first current sensing input, a first current sensing output, a second current sensing input, and a second current sensing output; a multiplexer circuit, the multiplexer circuit having a first multiplexer input coupled to the first current sensing output, a second multiplexer input coupled to the second current sensing output, and a multiplexer output; a filter circuit, the filter circuit being used to filter a signal generated at the multiplexer output to measure a direct current offset, i.e., a DC offset, associated with the multiplexer output; and a fault detection circuit, the fault detection circuit having a fault output to indicate a short circuit on at least one of the positive amplifier output or the negative amplifier output, wherein the fault detection circuit determines the fault output based on the DC offset.
[0158] Example 10 includes the switching amplifier described in Example 9, further comprising a timing circuit, which is used to synchronize the operation of the multiplexer circuit and the fault detection circuit so that the fault output corresponds to the positive amplifier output when the multiplexer output is connected to the first multiplexer input, and the fault output corresponds to the negative amplifier output when the multiplexer output is connected to the second multiplexer input.
[0159] Example 11 includes the switching amplifier described in Example 9, wherein the signal is an analog signal and further includes: an analog-to-digital converter, which is used to convert the analog signal into a first digital signal; and an extraction circuit, which is used to downsample the sampling rate of the first digital signal to generate a second digital signal, wherein the filter circuit is used to filter the second digital signal to measure the DC offset.
[0160] Example 12 includes the switching amplifier of Example 9, wherein the fault detection circuit is used to set the value of the fault output based on a comparison of the DC offset to a threshold.
[0161] Example 13 includes the switching amplifier of Example 12, wherein the threshold is a first programmable threshold that is programmable based on the type of the switching amplifier, and the fault detection circuit is used to set the value of the fault output based on a comparison of the DC offset with the first programmable threshold and a second programmable threshold, wherein the second programmable threshold is programmable based on the type of the switching amplifier.
[0162] Example 14 includes the switching amplifier described in Example 9, wherein the fault output includes at least one of a plurality of terminals or registers, and the fault detection circuit is used to: set the at least one of the plurality of terminals or registers to a first value to indicate that the short circuit is between the positive amplifier output and a power supply; set the at least one of the plurality of terminals or registers to a second value to indicate that the short circuit is between the positive amplifier output and ground; set the at least one of the plurality of terminals or registers to a third value to indicate that the short circuit is between the negative amplifier output and a power supply; and set the at least one of the plurality of terminals or registers to a fourth value to indicate that the short circuit is between the negative amplifier output and ground.
[0163] Example 15 includes a switching amplifier, which includes: a short circuit detection circuit, the short circuit detection circuit including: a first current sensing circuit, the first current sensing circuit having a first current sensing input and a first current sensing output, the first current sensing input is coupled to a positive amplifier output, the first current sensing output is used to output a first sensed current associated with the positive amplifier output; a second current sensing circuit, the second current sensing circuit having a second current sensing input and a second current sensing output, the second current sensing input is coupled to a negative amplifier output, the second current sensing output is used to output a second sensed current associated with the negative amplifier output; a first filter circuit, the first filter circuit is used to filter a first signal generated on the first current sensing output to measure a first direct current offset, i.e., a first DC offset, associated with the first sensed current; a second filter circuit, the second filter circuit is used to filter a second signal generated on the second current sensing output to measure a second DC offset associated with the second sensed current; and a fault detection circuit, the fault detection circuit having a fault output to indicate detection of a short circuit on at least one of the positive amplifier output or the negative amplifier output, wherein the fault detection circuit determines the fault output based on the first DC offset and the second DC offset.
[0164] Example 16 includes the switching amplifier described in Example 15, wherein the first signal is a first analog signal, the second signal is a second analog signal, and further includes: a first analog-to-digital converter, the first analog-to-digital converter is used to convert the first analog signal into a first digital signal; a second analog-to-digital converter, the second analog-to-digital converter is used to convert the second analog signal into a second digital signal; a first extraction circuit, the first extraction circuit is used to downsample the sampling rate of the first digital signal to generate a third digital signal, wherein the first filter circuit is used to filter the third digital signal to measure the first DC offset; and a second extraction circuit, the second extraction circuit is used to downsample the sampling rate of the second digital signal to generate a fourth digital signal, wherein the second filter circuit is used to filter the fourth digital signal to measure the second DC offset.
[0165] Example 17 includes the switching amplifier of Example 15, wherein the fault detection circuit is used to set the value of the fault output based on a comparison of the first DC offset with a threshold and a comparison of the second DC offset with the threshold.
[0166] Example 18 includes the switching amplifier of Example 17, wherein the threshold is programmable based on a type of the switching amplifier.
[0167] Example 19 includes the switching amplifier of Example 17, wherein the fault detection circuit is used to set the value of the fault output to indicate the detection of the short circuit in response to the magnitude of at least one of the first DC offset or the second DC offset satisfying the threshold.
[0168] Example 20 includes the switching amplifier described in Example 19, wherein the fault output includes a terminal and a register, and the fault detection circuit is used to: in response to the magnitude of at least one of the first DC offset or the second DC offset satisfying the threshold, set the value of the terminal to indicate the detection of the short circuit; in response to the polarity of the first DC offset being negative, set the register to a first register value to indicate that the short circuit is between the positive amplifier output and the power supply; in response to the polarity of the first DC offset being positive, set the register to a second register value to indicate that the short circuit is between the positive amplifier output and ground; in response to the polarity of the second DC offset being positive, set the register to a third register value to indicate that the short circuit is between the negative amplifier output and the power supply; and in response to the polarity of the second DC offset being negative, set the register to a fourth register value to indicate that the short circuit is between the negative amplifier output and ground.
[0169] The attached claims are incorporated into this detailed description by reference. Although certain example systems, devices, articles, and methods have been disclosed herein, the coverage of this patent is not limited thereto. On the contrary, this patent covers all systems, devices, articles, and methods that fully fall within the scope of the claims of this patent.
Claims
1. A circuit comprising: a short circuit detection circuit having an input adapted to be coupled to the output of the amplifier, and an output for: sensing an output current from the output of the amplifier; and filtering a signal corresponding to the output current from the output of the amplifier to measure a direct current offset (DC offset) associated with the output current; Wherein the short circuit detection circuit output indicates a short circuit at the output of the amplifier based on the DC offset.
2. The circuit according to claim 1, wherein The short circuit detection circuit is used to set a value of the short circuit detection circuit output based on a comparison of the DC offset with a threshold value.
3. The circuit according to claim 2, wherein: The threshold is programmable based on the type of amplifier.
4. The circuit according to claim 2, wherein: The short circuit detection circuit output includes a terminal, and the short circuit detection circuit sets a value of the terminal to indicate the short circuit in response to the magnitude of the DC offset satisfying the threshold.
5. The circuit according to claim 4, wherein: The amplifier is a switching amplifier, the short circuit detection circuit output includes a register, and the short circuit detection circuit is used to set the value of the register based on the polarity of the DC offset to indicate whether the short circuit is from the output of the amplifier to power supply or to ground.
6. The circuit according to claim 1, wherein: The amplifier is a switching amplifier, the output of the amplifier is a positive output of the amplifier, the short-circuit detection line input is a first short-circuit detection line input adapted to be coupled to the positive output of the switching amplifier, the output current is a first output current associated with the positive output of the switching amplifier, the signal is a first signal corresponding to the first output current, the DC offset is a first DC offset associated with the first output current, and further includes a second short-circuit detection line input adapted to be coupled to a negative output of the switching amplifier, wherein the short-circuit detection line is used to: sensing a second output current from the negative output of the switching amplifier; filtering a second signal corresponding to the second output current to measure a second DC offset associated with the second output current; and The short circuit detection line output is set based on a comparison of the first DC offset to a threshold and a comparison of the second DC offset to the threshold.
7. The circuit according to claim 6, wherein: The short circuit detection circuit output includes a terminal and a register, and the short circuit detection circuit is used to: responsive to at least one of the magnitude of the first DC offset satisfying the threshold or the magnitude of the second DC offset satisfying the threshold, setting the value of the terminal to indicate the short circuit; responsive to the polarity of the first DC offset being negative, setting the register to a first register value to indicate that the short circuit is between the positive output of the amplifier and a power supply; responsive to the polarity of the first DC offset being positive, setting the register to a second register value to indicate that the short circuit is between the positive output of the amplifier and ground; In response to the polarity of the second DC offset being positive, setting the register to a third register value to indicate that the short circuit is between the negative output of the amplifier and a power supply; and In response to the polarity of the second DC offset being negative, the register is set to a fourth register value to indicate that the short circuit is between the negative output of the amplifier and ground.
8. The circuit according to claim 6, wherein: The short-circuit detection circuit repeatedly switches between: (i) sensing the first output current from the positive output of the switching amplifier, filtering the first signal corresponding to the first output current to measure the first DC offset, and setting the short-circuit detection circuit output based on the comparison of the first DC offset with the threshold, and (ii) sensing the second output current from the negative output of the switching amplifier, filtering the second signal corresponding to the second output current to measure the second DC offset, and setting the short-circuit detection circuit output based on the comparison of the second DC offset with the threshold.
9. A switching amplifier, comprising: Positive amplifier output; Negative amplifier output; as well as A short circuit detection circuit, the short circuit detection circuit comprising: a current sensing circuit having a first current sensing input, a first current sensing output, a second current sensing input, and a second current sensing output; a multiplexer circuit having a first multiplexer input coupled to the first current sense output, a second multiplexer input coupled to the second current sense output, and a multiplexer output; filter circuitry for filtering a signal generated at the multiplexer output to measure a direct current offset (DC offset) associated with the multiplexer output; and A fault detection circuit has a fault output to indicate a short circuit on at least one of the positive amplifier output or the negative amplifier output, wherein the fault detection circuit determines the fault output based on the DC offset.
10. The switching amplifier of claim 9, further comprising a timing circuit for synchronizing the operation of the multiplexer circuit and the fault detection circuit so that the fault output corresponds to the positive amplifier output when the multiplexer output is connected to the first multiplexer input, and the fault output corresponds to the negative amplifier output when the multiplexer output is connected to the second multiplexer input.
11. The switching amplifier according to claim 9, wherein: The signal is an analog signal, and further comprises: an analog-to-digital converter, the analog-to-digital converter being configured to convert the analog signal into a first digital signal; and a decimation circuit for downsampling the sampling rate of the first digital signal to generate a second digital signal, The filter circuit is used to filter the second digital signal to measure the DC offset.
12. The switching amplifier according to claim 9, wherein: The fault detection circuit is used to set a value of the fault output based on a comparison of the DC offset to a threshold value.
13. The switching amplifier according to claim 12, wherein: The threshold is a first programmable threshold that is programmable based on the type of the switching amplifier, and the fault detection circuit is used to set the value of the fault output based on a comparison of the DC offset with the first programmable threshold and a second programmable threshold, wherein the second programmable threshold is programmable based on the type of the switching amplifier.
14. The switching amplifier according to claim 9, wherein: The fault output includes at least one of a plurality of terminals or registers, and the fault detection circuit is used to: setting the at least one of the plurality of terminals or the register to a first value to indicate that the short circuit is between the positive amplifier output and a power supply; setting the at least one of the plurality of terminals or the register to a second value to indicate that the short circuit is between the positive amplifier output and ground; setting the at least one of the plurality of terminals or the register to a third value to indicate that the short circuit is between the negative amplifier output and a power supply; and The at least one of the plurality of terminals or the register is set to a fourth value to indicate that the short circuit is between the negative amplifier output and ground.
15. A switching amplifier, comprising: A short circuit detection circuit, the short circuit detection circuit comprising: a first current sensing circuit having a first current sensing input coupled to the positive amplifier output and a first current sensing output for outputting a first sensed current associated with the positive amplifier output; a second current sense circuit having a second current sense input coupled to the negative amplifier output and a second current sense output for outputting a second sensed current associated with the negative amplifier output; a first filter circuit for filtering a first signal generated on the first current sense output to measure a first direct current offset (DC offset) associated with the first sensed current; a second filter circuit for filtering a second signal generated on the second current sense output to measure a second DC offset associated with the second sensed current; and A fault detection circuit has a fault output to indicate detection of a short circuit on at least one of the positive amplifier output or the negative amplifier output, wherein the fault detection circuit determines the fault output based on the first DC offset and the second DC offset.
16. The switching amplifier of claim 15, wherein: The first signal is a first analog signal, the second signal is a second analog signal, and further comprises: a first analog-to-digital converter, the first analog-to-digital converter being configured to convert the first analog signal into a first digital signal; a second analog-to-digital converter, the second analog-to-digital converter being configured to convert the second analog signal into a second digital signal; a first decimation circuit for downsampling a sampling rate of the first digital signal to generate a third digital signal, wherein the first filter circuit is for filtering the third digital signal to measure the first DC offset; and A second decimation circuit is provided, wherein the second decimation circuit is used to downsample the sampling rate of the second digital signal to generate a fourth digital signal, wherein the second filter circuit is used to filter the fourth digital signal to measure the second DC offset.
17. The switching amplifier of claim 15, wherein: A fault detection circuit is used to set a value of the fault output based on a comparison of the first DC offset with a threshold and a comparison of the second DC offset with the threshold.
18. The switching amplifier of claim 17, wherein: The threshold is programmable based on the type of switching amplifier.
19. The switching amplifier of claim 17, wherein: The fault detection circuit is for setting the value of the fault output to indicate the detection of the short circuit in response to a magnitude of at least one of the first DC offset or the second DC offset satisfying the threshold.
20. The switching amplifier of claim 19, wherein: The fault output includes a terminal and a register, and the fault detection circuit is used to: responsive to the magnitude of at least one of the first DC offset or the second DC offset satisfying the threshold, setting a value of the terminal to indicate the detection of the short circuit; responsive to the polarity of the first DC offset being negative, setting the register to a first register value to indicate that the short circuit is between the positive amplifier output and a power supply; responsive to the polarity of the first DC offset being positive, setting the register to a second register value to indicate that the short circuit is between the positive amplifier output and ground; In response to the polarity of the second DC offset being positive, setting the register to a third register value to indicate that the short circuit is between the negative amplifier output and a power supply; and In response to the polarity of the second DC offset being negative, the register is set to a fourth register value to indicate that the short circuit is between the negative amplifier output and ground.
