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

Method for simulating DAC function based on PWM, digital-to-analog conversion circuit and storage medium

A storage medium, PWM signal technology, applied in the direction of digital-to-analog converters, etc., can solve the problems of low cut-off frequency, limited switching characteristics, slow response speed, etc. Effect

Pending Publication Date: 2021-04-16
珠海禅光科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, this implementation method requires a low-pass filter with a very low cut-off frequency, and the lag of the DAC output will also increase, resulting in longer response time and slower response speed
The traditional solution is to reduce the counting pulse width of the single-chip microcomputer, that is, to increase the operating frequency of the single-chip microcomputer, but in practice, this solution is limited by the clock of the single-chip microcomputer and the switching characteristics of the PWM follow-up circuit
Corresponding to systems that require microsecond or even higher-level response speed, the typical PWM+RC filter output DAC response speed of the actual circuit cannot meet the system requirements

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
  • Method for simulating DAC function based on PWM, digital-to-analog conversion circuit and storage medium
  • Method for simulating DAC function based on PWM, digital-to-analog conversion circuit and storage medium
  • Method for simulating DAC function based on PWM, digital-to-analog conversion circuit and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0032] In the description of the present invention, the meaning of several means one or more, and the meaning of multiple means two or more than two. Greater than, less than, exceeding, etc. are understood as not including the original number, and above, below, within, etc. are understood as including the original number . If the description of the first and second is only for the purpose of distinguishing the technical features, it cannot be understood as indicating or implying the relative importance or implicitly indicating the number...

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 method for simulating a DAC function based on PWM, a digital-to-analog conversion circuit and a storage medium. The method for simulating the DAC function based on PWM comprises the following steps: obtaining the digit W1 of a first PWM signal and the digit W2 of a second PWM signal used for forming the first PWM signal; determining the number A of second PWM signals required for forming a first PWM signal according to the digit W1 and the digit W2; acquiring a signal parameter H1 of the first PWM signal; determining a signal parameter H2 of the second PWM signal according to the signal parameter H1; and outputting a first PWM signal composed of A continuous second PWM signals according to the digit W2 and the signal parameter H2. According to the method for simulating the DAC function based on the PWM, the harmonic frequency can be improved, so that the cut-off frequency of the low-pass filter is improved, the phase lag of DAC output is reduced, the time constant of the RC filter is reduced, the response speed is improved, and the requirement of a system for the response speed is met.

Description

technical field [0001] The invention relates to the technical field of electronic applications, in particular to a method for simulating a DAC function based on PWM, a digital-to-analog conversion circuit and a storage medium. Background technique [0002] In the field of electronic application technology, MCU and DAC are widely used. However, many MCUs do not have integrated DAC functions or the number of DACs integrated inside MCUs is relatively small. In systems that require multi-channel DAC functions, the DAC function resources of single-chip microcomputers are far from enough, and the cost of externally expanding DAC chips increases a lot. At present, in practical circuit applications, almost all MCUs provide timer or PWM output functions; the classic PWM analog DAC in practical circuits uses PWM+RC filtering to realize the DAC function. [0003] However, this implementation method requires a low-pass filter with a very low cutoff frequency, and the lag of the DAC out...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H03M1/66
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