PULSE WIDTH MODULATION DECODER CIRCUIT, CORRESPONDING DEVICE AND METHODS OF OPERATION
20240275371 ยท 2024-08-15
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 method, comprising: receiving a control signal having a first control value indicative of a reset phase and a second control value indicative of a duty cycle evaluation phase; coupling an intermediate node to an output node in response to the first control value of the control signal to reset a voltage across a capacitor coupled to the intermediate node to a reset voltage level; decoupling the intermediate node from the output node in response to the second control value of the control signal; and while the control signal has the second control value: injecting a current into the intermediate node as a function of a first value of an input pulse width modulated (PWM) signal in a PWM period and sinking a current from the intermediate node as a function of a second value of that input PWM signal in the same PWM period, thereby changing the voltage across the capacitor; comparing the changing voltage to a reference voltage; and driving the output node to generate an output signal having a first output value or to a second output value as a function of a result of said comparing.
2. The method of claim 1, further comprising alternating between the first and second control values for the control signal.
3. The method of claim 1, wherein comparing comprises applying the changing voltage to an input of an inverter circuit.
4. The method of claim 3, wherein the reference voltage is approximately one-half a supply voltage of the inverter circuit.
5. The method of claim 1, wherein comparing comprises applying the changing voltage to a first input of a differential comparison circuit and applying the reference voltage to a second input of the differential comparison circuit.
6. The method of claim 1, wherein said capacitor is coupled between the intermediate node and the output node.
7. The method of claim 6, wherein coupling the intermediate node to the output node comprising connecting the intermediate node to the output node by way of a transistor switch that is actuated in response to the first control value of the control signal.
8. The method of claim 1, wherein said capacitor is coupled between the intermediate node and a ground node.
9. The method of claim 8, wherein coupling the intermediate node to the output node comprising connecting the intermediate node to the output node by way of a transistor switch that is actuated in response to the first control value of the control signal.
10. The method of claim 1: wherein injecting the current into the intermediate node comprises actuating a current source to source said current to the intermediate node in response to the first value of the input PWM signal; and wherein sinking the current from the intermediate node comprises actuating a current source to sink said current from the intermediate node in response to the second value of the input PWM signal.
11. The method of claim 1, further comprising latching the first or second output value at an end of the duty cycle evaluation phase.
12. The method of claim 1, further comprising: inverting the input PWM signal; and inverting the output signal.
13. A method, comprising: receiving an input pulse width modulated (PWM) signal at an input node; generating a control signal having an alternating first control value and second control value; operating a first decoder circuit that receives the input PWM signal in a reset phase when the control signal has the first control value and in a duty-cycle evaluation phase when the control signal has the second control value; operating a second decoder circuit that receives the input PWM signal in the reset phase when the control signal has the second control value and in the duty-cycle evaluation phase when the control signal has the first control value; and propagating to an output node an output signal of the first decoder circuit when the control signal has the second control value and propagating to the output node an output signal of the second decoder circuit when the control signal has the first control value.
14. The method of claim 13, further comprising latching a signal at the output node in response to an edge of the input PWM signal.
15. The method of claim 13, wherein said reset phase for each of the first and second decoder circuits comprises resetting a voltage across a capacitor to a reset voltage level.
16. The method of claim 15, wherein said duty-cycle evaluation phase for each of the first and second decoder circuits comprises: injecting a current into the capacitor as a function of a first value of the input PWM signal in a PWM period and sinking a current from the capacitor as a function of a second value of that input PWM signal in the same PWM period; comparing the voltage across the capacitor to a reference voltage; and generating the output signal having a first output value or a second output value as a function of a result of said comparing.
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 I.sub.L 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 20.sub.1, an inverted data output Q coupled to the control input of the second PWM decoder circuit 20.sub.2, and a data input D coupled to the inverted data output
[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.