# US 12,689,362 B2 · Pulse width modulation decoder circuit, corresponding device and methods of operation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,689,362 B2
- Document ID: US12689362B2
- Status: Granted
- Kind: B2
- Application number: 18/643,249
- Filed: 2024-04-23
- Published: 2024-08-15
- Granted: 2026-07-21
- Earliest claimed: 2020-12-28
- Assignees: STMicroelectronics S.r.l.
- Applicants: STMicroelectronics S.r.l.
- Inventors: Vanni Poletto; Ivan Floriani
- Web page: https://patentgrep.com/patent/US12689362B2

## CPC

- H03K 9/08: of duration- or width-mudulated pulses {or of duty-cycle modulated pulses}
- H03M 1/504: {using pulse width modulation}
- H02M 1/096: the power supply of the control circuit being connected in parallel to the main switching element (H02M1/092 takes precedence)
- H02M 3/156: with automatic control of output voltage or current, e.g. switching regulators
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- H02M: APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF (transformers H01F; dynamo-electric converters H02K47/00; controlling transformers, reactors or choke coils, control or regulation of electric motors, generators or dynamo-electric converters H02P)

## 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

### Claim 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 a data demodulation output node in response to the first control value of the control signal;
decoupling the intermediate node from the data demodulation 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 data demodulation output node to generate a data demodulation output signal having a first output value or to a second output value in response to a result of said comparing.

### Claim 2 (depends on 1)

The method of claim 1, further comprising alternating between the first and second control values for the control signal.

### Claim 3 (depends on 1)

The method of claim 1, wherein comparing comprises applying the changing voltage to an input of an inverter circuit.

### Claim 4 (depends on 3)

The method of claim 3, wherein the reference voltage is approximately one-half a supply voltage of the inverter circuit.

### Claim 5 (depends on 1)

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.

### Claim 6 (depends on 1)

The method of claim 1, wherein said capacitor is coupled between the intermediate node and the output node.

### Claim 7 (depends on 6)

The method of claim 6, wherein coupling the intermediate node to the data demodulation output node comprising connecting the intermediate node to the data demodulation output node by way of a transistor switch that is actuated in response to the first control value of the control signal.

### Claim 8 (depends on 1)

The method of claim 1, wherein said capacitor is coupled between the intermediate node and a ground node.

### Claim 9 (depends on 8)

The method of claim 8, wherein coupling the intermediate node to the data demodulation output node comprising connecting the intermediate node to the data demodulation output node by way of a transistor switch that is actuated in response to the first control value of the control signal.

### Claim 10 (depends on 1)

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.

### Claim 11 (depends on 1)

The method of claim 1, further comprising latching the first or second output value at an end of the duty cycle evaluation phase.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
inverting the input PWM signal; and
inverting the data demodulation output signal.

### Claim 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.

### Claim 14 (depends on 13)

The method of claim 13, further comprising latching a signal at the output node in response to an edge of the input PWM signal.

### Claim 15 (depends on 13)

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.

### Claim 16 (depends on 15)

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.
