# US 12,015,447 B2 · Microcontroller and signal modulation method

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

- Number: US 12,015,447 B2
- Document ID: US12015447B2
- Status: Granted
- Kind: B2
- Application number: 17/710,325
- Filed: 2022-03-31
- Published: 2022-10-13
- Granted: 2024-06-18
- Earliest claimed: 2021-04-08
- Assignees: Nuvoton Technology Corporation
- Applicants: Nuvoton Technology Corporation
- Inventors: Yun-Kai Lai
- Web page: https://patentgrep.com/patent/US12015447B2

## CPC

- H04B 10/516: Details of coding or modulation
- H04B 10/524: Pulse modulation
- H04B 10/25759: {Details of the reception of RF signal or the optical conversion before the optical fibre}
- H04B 10/69: Electrical arrangements in the receiver
- H04B: TRANSMISSION

## Abstract

A microcontroller includes a setting unit, an encoder, a modulation circuit, and a digital-to-analog converter. The setting unit outputs a control signal. The encoder outputs a digital signal that is encoded. The modulation circuit loads at least one carrier signal on the digital signal at the logic high level and/or the logic low level according to the control signal to generate a modulated digital signal. The digital-to-analog converter converts the modulated digital signal into an analog signal, and outputs the analog signal for transmission.

## Claims

### Claim 1

A microcontroller, comprising:
an encoder, receiving a data signal, and encoding the data signal to output a digital signal that is encoded;
a modulation circuit, loading a first carrier signal on the digital signal at logic high level and loading a second carrier signal on the digital signal at logic low level according to a control signal to generate a modulated digital signal, wherein a frequency of the first carrier signal is different from a frequency of the second carrier signal; wherein the control signal is generated by the microcontroller, and wherein the control signal comprises number of samples per period of the digital signal, interval period of sampling the digital signal, amplitude of the first and second carrier signals, bias of the first and second carrier signals, and interval period of the modulated digital signal; and
a digital-to-analog converter, converting the modulated digital signal into an analog signal, and outputting the analog signal for transmission.

### Claim 2 (depends on 1)

The microcontroller as claimed in claim 1, wherein
the modulation circuit receives the digital signal, determines whether to load the first carrier signal in the digital signal at the logic high level and/or to load the first carrier signal in the digital signal at the logic low level according to the control signal, and correspondingly outputs a first setting result;
the modulation circuit determines number of samples per period of the digital signal according to the control signal, and correspondingly outputs a second setting result;
the modulation circuit determines an interval period for outputting the modulated digital signal to the digital-to-analog converter according to the control signal, and correspondingly outputs a third setting result;
the modulation circuit determines interval period of sampling the digital signal according to the second setting result and the third setting result, correspondingly outputs a fourth setting result, and outputs the second and the third setting result;
the modulation circuit determines the amplitude of the first and second carrier signals and bias of the first and carrier signals according to the control signal, and correspondingly, outputs a fifth setting result; and
the modulation circuit generates the modulated digital signal according to the first, second, third, fourth, and fifth setting results.

### Claim 3 (depends on 2)

The microcontroller as claimed in claim 2, wherein the modulation circuit further comprises:
a first multiplexer, correspondingly outputting the logic high level signal or the logic low level signal with a preset data size according to the digital signal; and
a second multiplexer, correspondingly outputting the modulated digital signal, or outputting the logic high level signal or the logic low level signal synchronized with the digital signal according to the second setting result from the sampling control unit.

### Claim 4 (depends on 3)

The microcontroller as claimed in claim 3, wherein when the digital signal is at the logic high level, the first multiplexer outputs the logic high level signal with a first preset data size; when the digital signal is at the logic low level, the first multiplexer outputs the logic low level signal with a second preset data size.

### Claim 5 (depends on 3)

The microcontroller as claimed in claim 3, wherein when the number of samples per period of the digital signal is not equal to zero, the second multiplexer outputs the modulated digital signal; when the number of samples per period of the digital signal is equal to zero, the second multiplexer outputs the logic high level signal or the logic low level signal synchronized with the digital signal.

### Claim 6 (depends on 3)

The microcontroller as claimed in claim 3, wherein the preset data size depends on the resolution of the digital-to-analog converter.

### Claim 7 (depends on 1)

The microcontroller as claimed in claim 1, further comprising:
a decoder, receiving and decoding the modulated digital signal to obtain the data content of the digital signal; and
at least one comparator, filtering the first carrier signal and/or the second carrier signal according to frequency of the first carrier signal loaded on the digital signal at the logic high level and/or the second carrier signal loaded on the digital signal at the logic low level.

### Claim 8 (depends on 7)

The microcontroller as claimed in claim 7, wherein the encoder is a Manchester encoder, and the decoder is a Manchester decoder.

### Claim 9

A method of signal modulation, comprising:
receiving a control signal and a data signal, wherein the control signal comprises number of samples per period of the digital signal, interval period of sampling the digital signal, amplitude of the first and second carrier signals, bias of the first and second carrier signals, and interval period of the modulated digital signal at the output;
encoding the data signal to generate a digital signal that is encoded;
loading a first carrier signal on the digital signal at logic high level and loading a second carrier signal on the digital signal at logic low level according to the control signal to generate a modulated digital signal, wherein a frequency of the first carrier signal is different from a frequency of the second carrier signal; and
converting the modulated digital signal into an analog signal, and outputting the analog signal for transmission.

### Claim 10 (depends on 9)

The method as claimed in claim 9, further comprising:
outputting the logic high level signal or the logic low level signal with a preset data size according to the digital signal; and
outputting the modulated digital signal or outputting the logic high level signal or the logic low level signal synchronized with the digital signal according to the number of samples per period of the digital signal.

### Claim 11 (depends on 10)

The method as claimed in claim 10, wherein when the digital signal is at the logic high level, the logic high level signal with a first preset data size is output; when the digital signal is at the logic low level, the logic low level signal with a second preset data size is output.

### Claim 12 (depends on 10)

The method as claimed in claim 10, wherein when the number of samples per period of the digital signal is not equal to zero, the modulated digital signal is output; when the number of samples per period of the digital signal is equal to zero, the logic high level signal or the logic low level signal synchronized with the digital signal is output.

### Claim 13 (depends on 9)

The method as claimed in claim 9, further comprising:
receiving and decoding the modulated digital signal to obtain data content of the digital signal; and
filtering the first carrier signal and/or the second carrier signal according to frequency of the first carrier signal loaded on the digital signal at the logic high level and/or the first carrier signal loaded on the digital signal at the logic low level.

### Claim 14 (depends on 9)

The method as claimed in claim 9, wherein encoding the data signal comprises encoding the data signal using Manchester coding.
