Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Pulse density modulation method and pulse density value signal conversion circuit

A technology of pulse density modulation and pulse density, applied in the direction of analog conversion, pulse processing, code conversion, etc., can solve the problem of uneven output waveform

Pending Publication Date: 2017-06-13
绍兴市上虞区幻想动力机器人科技有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention mainly solves the technical problem of uneven output waveform in the prior art, and provides a pulse density modulation method and a pulse density value signal conversion circuit with less waveform fluctuation of the output signal, convenient calculation and simple circuit structure

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Pulse density modulation method and pulse density value signal conversion circuit
  • Pulse density modulation method and pulse density value signal conversion circuit
  • Pulse density modulation method and pulse density value signal conversion circuit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] Embodiment 1: a kind of pulse density modulation method of this embodiment, such as figure 1 shown, including the following steps:

[0058] S01, obtain the digit n of the binary density value d, set the digit of the counter to n, and the initial value of the counter is 0 or 1; the number in the counter is a binary number;

[0059] S02. Search for the rightmost 1: obtain the digit j of the rightmost 1 of the current value i of the counter and count from right to left; the minimum value of j is 1;

[0060] S03. Determine whether the corresponding bits are equal: if the jth bit of d from left to right is 1, the signal bit output in this cycle is 1; if the jth bit of d from left to right is 0, then the signal output in this cycle bit is 0;

[0061] S04, adding 1 to the value i of the counter, entering the next cycle, and jumping to step S02.

[0062] The sequence formed by the signal bits output in each cycle is the output signal, which is the output of this scheme. Eac...

Embodiment 2

[0124] Embodiment 2: a kind of pulse density modulation method of this embodiment, comprises the following steps:

[0125] S01, obtain the digit n of the binary density value d, set the digit of the counter to n, and the initial value of the counter is 0;

[0126] S02. Search for the rightmost 1: obtain the digit j of the rightmost 1 of the current value i of the counter and count from right to left;

[0127] S03. Determine whether the corresponding bits are equal: if the jth bit of d from left to right is 1, then the i-th bit of the output signal is 1; if the j-th bit of d from left to right is 0, then the i-th bit of the output signal is 0;

[0128] S04, judging whether the value of the counter reaches the upper limit, if yes, then end, otherwise enter step S05;

[0129] S05; add 1 to the value i of the counter, and jump to step S02.

[0130] In step S02, the search for the rightmost 1 is obtained through a loop test from left to right or from right to left;

[0131] In ...

Embodiment 3

[0134] Embodiment 3: a kind of pulse density modulation method of this embodiment, comprises the following steps:

[0135] S01, obtain the digit n of the binary density value d, set the digit of the counter to n, and the initial value of the counter is 0;

[0136] S02, search for the rightmost 1, and judge whether the corresponding bits are equal;

[0137] S03, determine whether the value of the counter reaches the upper limit, if yes, then end, otherwise enter step S04;

[0138] S04; add 1 to the value i of the counter, and jump to step S02.

[0139] Step S02 is specifically:

[0140] S11. Reverse the density value d in bit order to obtain D; the bit order inversion here is to put the original first bit into the last bit, and the original second bit into the penultimate bit, and so on; set d is 0011, and D is 1100; n is 4, and i is set to 0100;

[0141] S12, subtract one from the count value i, and then XOR with the original i to obtain k; when i is 0, set the i+1th bit o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a pulse density modulation method and a pulse density value signal conversion circuit. The method comprises the following steps of (S01) obtaining bits n of a binary density value, setting the bits of a counter to be n and setting an initial value of the counter to be 0 or 1; (S02) searching the rightmost 1, obtaining the bits j of the count of the rightmost 1 of a current value i of the counter from right to left, wherein the number in the counter is a binary number and the minimum value of j is 1; (S03) judging whether the corresponding bit is equal or not, if the jth bit of the d from left to right is 1, the signal bit output in the period is, if the jth bit of the d from left to right is 0, the signal bit output in the period is 0; and (S04) adding 1 to the value i of the counter, entering the next period and skipping to the step (S02). Output voltage can be more even and smooth.

Description

technical field [0001] The invention relates to the field of digital signal processing, in particular to a pulse density modulation method and a pulse density value signal conversion circuit used in a DC-DC converter or a digital-to-analog converter. Background technique [0002] Pulse signals have three basic properties: amplitude, width, and density. The process of making at least one property of an impulse signal change with the desired regularity is called modulation. The modulated signal is called pulse modulation signal. [0003] Common modulation methods are: PAM (pulse amplitude modulation), PWM (pulse width modulation), PDM (pulse density modulation). Because the signal amplitude is easily disturbed by the outside world, the latter two modulation methods are commonly used. [0004] In DC-DC converters and digital-to-analog converters, the output voltage can be controlled by controlling the pulse of the control signal, the most commonly used is pulse width modulat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H03M7/04
CPCH03K21/08H03K5/156H03K21/02H03M7/04H03K23/005H03K5/15013H03K5/04H03M5/10H03M3/50H03M1/822H03M3/376
Inventor 夏楠
Owner 绍兴市上虞区幻想动力机器人科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products