PULSE WIDTH MODULATION DECODER CIRCUIT, CORRESPONDING DEVICE AND METHODS OF OPERATION
20220209763 · 2022-06-30
Assignee
Inventors
Cpc classification
H02M1/096
ELECTRICITY
H03K9/08
ELECTRICITY
International classification
H03K9/08
ELECTRICITY
H02M1/096
ELECTRICITY
Abstract
A circuit for decoding a pulse width modulated (PWM) signal generates an output signal switching between a first and second logic values as a function of a duty-cycle of the PWM signal. Current generating circuitry receives the PWM signal and injects a current to and sinks a current from an intermediate node as a function of the values of the PWM signal. A capacitor coupled to the intermediate node is alternatively charged and discharged by the injected and sunk currents, respectively, to generate a voltage. A comparator circuit coupled to the intermediate node compares the generated voltage to a comparison voltage and drives the logic values of the output signal as a function of the comparison.
Claims
1. A circuit, comprising: an input node configured to receive an input pulse width modulated signal switching between a first input value and a second input value in accordance with a duty cycle; an output node configured to provide an output signal switching between a first output value and a second output value as a function of the duty-cycle; current generating circuitry coupled between a supply voltage node and a ground voltage node, the current generating circuitry being coupled to said input node to receive said input pulse width modulated signal and being coupled to an intermediate node of the circuit to inject a current therein or to sink a current therefrom as a function of the first and second input values of the input pulse width modulated signal; a capacitance having a first terminal coupled to said intermediate node, the capacitance being alternatively charged and discharged by said currents generated by the current generating circuitry; and a comparator circuit coupled between said intermediate node and said output node, the comparator circuit configured to: sense a voltage signal at said intermediate node; compare said sensed voltage signal to a reference voltage signal; and drive said output node to said first output value or to said second output value as a function of said comparison to generate said output signal.
2. The circuit of claim 1, comprising an input control node configured to receive a control signal switching between a first control value indicative of a duty-cycle evaluation phase and a second control value indicative of a capacitance reset phase, the circuit further comprising control circuitry configured to receive said control signal and to: couple said intermediate node to one of said reference voltage signal or said output node in response to the control signal having said second control value; and decouple said intermediate node from one of said reference voltage signal or said output node in response to the control signal having said first control value; thereby resetting said voltage signal at said intermediate node to a reset value as a result of the control signal having said second control value.
3. The circuit of claim 1, wherein the current generating circuitry comprises: a first electronic switch coupled between said supply voltage node and said intermediate node, the first electronic switch being conductive as a result of said input pulse width modulated signal having the second input value, and a second electronic switch coupled between said intermediate node and said ground voltage node, the second electronic switch being conductive as a result of said input pulse width modulated signal having the first input value.
4. The circuit of claim 3, wherein the current generating circuitry comprises: a first current generator arrangement coupled in series to said first electronic switch to inject a current into the intermediate node as a result of said first electronic switch being conductive; and a second current generator arrangement coupled in series to said second electronic switch to sink a current from the intermediate node as a result of said second electronic switch being conductive.
5. The circuit of claim 3, wherein the current generating circuitry comprises a resistance coupled between said intermediate node and a common terminal between said first electronic switch and said second electronic switch.
6. The circuit of claim 1, further comprising voltage generating circuitry coupled between said ground voltage node and a reference voltage node, wherein: the voltage generating circuitry is configured to generate said reference voltage signal at said reference voltage node; and the comparator circuit comprises an amplifier circuit having a first input coupled to said intermediate node, a second input coupled to said reference voltage node, and an output coupled to said output node of the circuit to generate said output signal.
7. The circuit of claim 1, wherein the comparator circuit comprises an inverter arrangement including: a first transistor having a current path coupled between said supply voltage node and said output node and a respective control node driven by a signal at said intermediate node, and a second transistor having a current path coupled between said output node and said ground voltage node and a respective control node driven by said signal at said intermediate node.
8. The circuit of claim 1, comprising an input control node configured to receive a control signal switching between a first control value indicative of a duty-cycle evaluation phase and a second control value indicative of a capacitance reset phase, the circuit further comprising control circuitry configured to receive said control signal and to: couple said intermediate node to said output node in response to the control signal having said second control value; said control circuitry comprising a controlling electronic switch coupled between said intermediate node and said output node, the controlling electronic switch being conductive in response to the control signal having said second control value and non-conductive in response to the control signal having said first control value; and decouple said intermediate node from said output node in response to the control signal having said first control value; thereby resetting said voltage signal at said intermediate node to a reset value as a result of the control signal having said second control value.
9. The circuit of claim 1, comprising an input control node configured to receive a control signal switching between a first control value indicative of a duty-cycle evaluation phase and a second control value indicative of a capacitance reset phase, the circuit further comprising control circuitry configured to receive said control signal and to: couple said intermediate node to a reference voltage signal in response to the control signal having said second control value; said control circuitry comprising a controlling electronic switch coupled between said intermediate node and said reference voltage node, the controlling electronic switch being conductive in response to the control signal having said second control value and non-conductive in response to the control signal having said first control value; and decouple said intermediate node from said reference voltage signal in response to the control signal having said first control value; thereby resetting said voltage signal at said intermediate node to a reset value as a result of the control signal having said second control value.
10. The circuit of claim 1, wherein said capacitance has a second terminal coupled to said output node in a Miller configuration.
11. A device comprising: a first decoder circuit; a second decoder circuit; wherein each of the first and second decoders comprises: an input node configured to receive an input pulse width modulated signal switching between a first input value and a second input value in accordance with a duty cycle; an output node configured to provide an output signal switching between a first output value and a second output value as a function of the duty-cycle; current generating circuitry coupled between a supply voltage node and a ground voltage node, the current generating circuitry being coupled to said input node to receive said input pulse width modulated signal and being coupled to an intermediate node of the circuit to inject a current therein or to sink a current therefrom as a function of the first and second input values of the input pulse width modulated signal; a capacitance having a first terminal coupled to said intermediate node, the capacitance being alternatively charged and discharged by said currents generated by the current generating circuitry; and a comparator circuit coupled between said intermediate node and said output node, the comparator circuit configured to: sense a voltage signal at said intermediate node; compare said sensed voltage signal to a reference voltage signal; and drive said output node to said first output value or to said second output value as a function of said comparison to generate said output signal; a control circuit; and a multiplexer circuit; wherein: the input node of the first decoder circuit and the input node of the second decoder circuit are coupled to a common input node of the device to receive a common input pulse width modulated signal; the control circuit drives the first decoder circuit and the second decoder circuit to evaluate the duty-cycle of the common input pulse width modulated signal during complementary time intervals, each of said complementary time intervals corresponding to a period of the common input pulse width modulated signal, to generate the respective output signals; and the multiplexer circuit is configured to propagate to a common output node of the device the output signal of the first decoder circuit or the output signal of the second decoder circuit alternatively at each of said complementary time intervals during which the corresponding decoder circuit evaluates the duty-cycle of the common input pulse width modulated signal.
12. A method, comprising: receiving an input pulse width modulated signal, the input pulse width modulated signal switching between a first input value and a second input value according to a duty cycle; providing an output signal switching between a first output value and a second output value as a function of the duty-cycle of the input pulse width modulated signal; injecting a current into an intermediate node or sinking a current from said intermediate node as a function of the value of the input pulse width modulated signal, thereby alternatively charging and discharging a capacitance; sensing a voltage signal at said intermediate node; comparing said sensed voltage signal to a reference voltage signal; and driving said output node to said first output value or to said second output value as a function of said comparison to generate said output signal.
13. A method, comprising: receiving a common input pulse width modulated signal at the common input node; driving a first decoder circuit and a second decoder circuit to evaluate a duty-cycle of the common input pulse width modulated signal during complementary time intervals, each of said complementary time intervals corresponding to a period of the common input pulse width modulated signal, to generate the respective output signals; and propagating to a common output node an output signal of the first decoder circuit or an output signal of the second decoder circuit alternatively at each of said complementary time intervals during which the corresponding decoder circuit evaluates the duty-cycle of the common input pulse width modulated signal.
14. A circuit, comprising: an input node configured to receive an input pulse width modulated signal; current generating circuitry coupled to said input node to receive said input pulse width modulated signal and configured to inject current to and sink current from an intermediate node as a function of first and second input values, respectively, of the input pulse width modulated signal; a capacitance coupled to said intermediate node and configured to be alternatively charged by said injected current and discharged by sunk current to generate a capacitor voltage signal at the intermediate node; and an inverter circuit having an input configured to receive said capacitor voltage signal from the intermediate node and an output configured to generate a data signal having a logic state dependent on a comparison of the capacitor voltage signal to a reference voltage of the inverter circuit.
15. The circuit of claim 14, wherein the inverter circuit comprises: a p-type MOS transistor; and an n-type MOS transistor coupled in series with the p-type MOS transistor at the output of the inverter circuit; wherein gate terminals of the p-type MOS transistor and n-type MOS transistor receive the capacitor voltage signal.
16. The circuit of claim 15, further comprising a resistor coupled in series between the intermediate node and the capacitance.
17. The circuit of claim 14, further comprising a reset transistor coupled between the output and input of the inverter circuit.
18. The circuit of claim 17, wherein the capacitance is coupled in parallel with the reset transistor between the output and input of the inverter circuit.
19. The circuit of claim 14, wherein the capacitance is coupled between the input of the inverter circuit and a ground reference node.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0022] One or more embodiments will now be described, by way of example only, with reference to the annexed figures, wherein:
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
DETAILED DESCRIPTION
[0030] In the ensuing description, one or more specific details are illustrated, aimed at providing an in-depth understanding of examples of embodiments of this description. The embodiments may be obtained without one or more of the specific details, or with other methods, components, materials, etc. In other cases, known structures, materials, or operations are not illustrated or described in detail so that certain aspects of embodiments will not be obscured.
[0031] Reference to “an embodiment” or “one embodiment” in the framework of the present description is intended to indicate that a particular configuration, structure, or characteristic described in relation to the embodiment is comprised in at least one embodiment. Hence, phrases such as “in an embodiment” or “in one embodiment” that may be present in one or more points of the present description do not necessarily refer to one and the same embodiment. Moreover, particular conformations, structures, or characteristics may be combined in any adequate way in one or more embodiments.
[0032] Throughout the figures annexed herein, unless the context indicates otherwise, like parts or elements are indicated with like references/numerals and a corresponding description will not be repeated for brevity.
[0033] The headings/references used herein are provided merely for convenience and hence do not define the extent of protection or the scope of the embodiments.
[0034] One or more embodiments of the instant disclosure relate to a pulse width modulation (PWM) decoder circuit. A PWM decoder circuit receives an input PWM signal and provides an output data signal which indicates, as a function of the duty-cycle of each period of the PWM signal, whether that period carries a logical zero or a logical one. For instance, a duty-cycle higher than a certain threshold may be indicative of a logical one, and a duty-cycle lower than that threshold may be indicative of a logical zero. Optionally, the threshold may be set to 50%, but other values may be possible.
[0035]
[0036] In
[0037]
[0038] As exemplified in
[0039] The PWM decoder circuit 20A comprises current generating circuitry 22 coupled between a supply voltage node V.sub.dd and a ground voltage node GND. The current generating circuitry 22 is coupled to the input node 200 to receive the input signal PWM, and it is coupled to an intermediate node 204 of the circuit 20A. The current generating circuitry 22 is configured to inject a current into the intermediate node 204 or to sink a current from the intermediate node 204 as a function of the value of the input signal PWM. As exemplified herein, a current may be injected into node 204 while PWM=0, and a current may be sunk from node 204 while PWM=1.
[0040] The PWM decoder circuit 20A comprises a capacitance C (e.g., a capacitor) having a first terminal coupled to the intermediate node 204. The second terminal of the capacitance C may be coupled to the ground voltage node GND, so that the capacitance C is alternatively charged (e.g., while PWM=0) and discharged (e.g., while PWM=1) by the currents generated by the current generating circuitry 22.
[0041] The PWM decoder circuit 20A comprises a comparator circuit 24 coupled between the intermediate node 204 and the output node 202. As exemplified herein, the comparator circuit 24 is configured to sense a voltage signal V.sub.C at the intermediate node 204, compare the voltage signal V.sub.C to a reference voltage signal V.sub.ref, and drive the output node 202 to a first value (e.g., high) or to a second value (e.g., low) as a function of the comparison between signals V.sub.C and V.sub.ref.
[0042] The current generating circuitry 22 may comprise a first electronic switch S1 (e.g., a transistor such as a MOS transistor) coupled between the supply voltage node V.sub.dd and the intermediate node 204 and a second electronic switch S2 (e.g., a transistor such as a MOS transistor) coupled between the intermediate node 204 and the ground voltage node GND. The first switch S1 may be controlled to be conductive when the input signal PWM assumes the second value (e.g., low), and second switch S2 may be controlled to be conductive when the input signal PWM assumes the first value (e.g., high). For instance, the first switch S1 may comprise a p-type MOS transistor and the second switch S2 may comprise an n-type MOS transistor, so that the switch S1 is conductive when PWM=0 and the switch S2 is conductive when PWM=1.
[0043] The current generating circuitry 22 may comprise a current generator 220H coupled in series to the switch S1 to inject a current I.sub.H into the intermediate node 204 when the switch S1 is conductive. For instance, the current generator 220H may be coupled between the supply voltage node V.sub.dd and the switch S1 as exemplified in
[0044] Similarly, the current generating circuitry 22 may comprise a current generator 220L coupled in series to the switch S2 to sink a current IL from the intermediate node 204 when the switch S2 is conductive. For instance, the current generator 220L may be coupled between the switch S2 and the ground voltage node GND as exemplified in
[0045] As exemplified in
[0046] As exemplified in
[0047] As exemplified in
[0048] Therefore, as exemplified in
[0049] For instance, the switch S3 may comprise a transistor such as a MOS transistor; in the case exemplified herein, the switch S3 is an n-type MOS transistor having a gate terminal coupled at the output of an inverter 26. The inverter 26 has its input coupled to the control input 206, and provides at its output an inverted replica of the control signal EV/RST.
[0050] Those of skill in the art will understand that a PWM decoder circuit 20A as exemplified in
[0051] Advantageously over the known solutions, the PWM decoder circuit 20A exemplified in
[0052] It is noted that, in a PWM decoder circuit 20A as exemplified in
[0053]
[0054] As exemplified in
[0055] Advantageously, in the PWM decoder circuit 20B exemplified in
[0056] Therefore, in a PWM decoder circuit 20B as exemplified in
[0057]
[0058] As exemplified in
[0059] By resorting to such an inverter arrangement, the voltage signal V.sub.C at the intermediate node 204 is compared to a reference voltage V.sub.ref which is approximately equal to half of the supply voltage V.sub.dd (i.e., V.sub.ref≈V.sub.dd/2) to generate the output signal DATA: the output signal DATA is forced to a low value when V.sub.C>V.sub.dd/2, and to a high value when V.sub.C<V.sub.dd/2.
[0060] Advantageously, the PWM decoder circuit 20C exemplified in
[0061] In a PWM decoder circuit 20C as exemplified in
[0062]
[0063] As exemplified in
[0064] Advantageously, in the PWM decoder circuit 20D exemplified in
[0065] In a PWM decoder circuit 20D as exemplified in
[0066]
[0067] As exemplified in
[0068] Additionally, an inverting stage 27 may be included in the propagation path of the input signal PWM between the input node 200 and the controlling node of the current generating circuitry 22. The capacitance C being arranged in a Miller configuration, combined with the inverting input and output stages 27 and 28, determines an operation of the PWM decoder circuit 20E in accordance with the general operating principle disclosed herein.
[0069] In a PWM decoder circuit 20E as exemplified in
[0070] Those of skill in the art will understand that the various embodiments of PWM decoder circuits as exemplified in
[0071] Therefore, one or more embodiments of the instant disclosure may relate to a device comprising two PWM decoder circuits which operate with a relative time shift of one PWM cycle, as exemplified in
[0072]
[0073] As exemplified in
[0074] For instance, the control circuit 32 may comprise a D flip flop having a clock input coupled to the input node 300 to receive the input signal PWM, a data output Q coupled to the control input of the first PWM decoder circuit 201, an inverted data output Q coupled to the control input of the second PWM decoder circuit 202, and a data input D coupled to the inverted data output Q.
[0075] As exemplified in
[0076] As exemplified in
[0077] One or more embodiments of the present disclosure may relate to corresponding methods of operation of a PWM decoder circuit or a PWM decoder device according to one or more embodiments.
[0078] As exemplified herein, a method of operating a circuit according to one or more embodiments may comprise: [0079] receiving an input pulse width modulated signal at the input node of the circuit, the input pulse width modulated signal switching between a respective first value and a respective second value; [0080] providing an output signal at the output node of the circuit, the output signal switching between a respective first value and a respective second value as a function of the duty-cycle of the input pulse width modulated signal; [0081] injecting a current into the intermediate node of the circuit or sinking a current from the intermediate node of the circuit as a function of the value of the input pulse width modulated signal, thereby alternatively charging and discharging the capacitance of the circuit; [0082] sensing a voltage signal at the intermediate node of the circuit; [0083] comparing the sensed voltage signal to a reference voltage signal; and [0084] driving the output node of the circuit to the respective first value or to the respective second value as a function of the comparison to generate the output signal.
[0085] As exemplified herein, a method of operating a device according to one or more embodiments may comprise: [0086] receiving a common input pulse width modulated signal at the common input node of the device; [0087] driving the first decoder circuit and the second decoder circuit of the device to evaluate the duty-cycle of the common input pulse width modulated signal during complementary time intervals, each of the complementary time intervals corresponding to a period of the common input pulse width modulated signal, to generate the respective output signals; and [0088] propagating to the common output node of the device the output signal of the first decoder circuit or the output signal of the second decoder circuit alternatively at each of the complementary time intervals during which the corresponding decoder circuit evaluates the duty-cycle of the common input pulse width modulated signal.
[0089] Those of skill in the art will understand that one or more of the features disclosed herein with reference to a specific embodiment may be combined suitably with other feature(s) disclosed with reference to other embodiments without departing from the scope of the present invention.
[0090] For instance, a current generating circuitry 22 as exemplified in
[0091] One or more embodiments as disclosed herein may thus provide one or more of the following advantages in the field of fast PWM decoding: [0092] decoding of a PWM signal with cycles as short as 5 ns with one cycle of maximum delay, possibly implemented in a 160 nm CMOS technology; [0093] increase of the comparison speed by resorting to an inverter arrangement M1, M2 with comparator functionality; [0094] increase of the charge/discharge speed of the capacitance C by resorting to a resistor R with current generator functionality; and [0095] possibility of providing a single communication channel with signal bandwidth from DC up to, e.g., 150 Mbit/s in a SiC driver circuit.
[0096] Without prejudice to the underlying principles, the details and embodiments may vary, even significantly, with respect to what has been described by way of example only, without departing from the extent of protection.
[0097] The claims are an integral part of the technical teaching provided herein in respect of the embodiments.
[0098] The extent of protection is determined by the annexed claims.