DSP hardware sampling delay compensation method and device based on PWM synchronization mechanism

A synchronization mechanism and delay compensation technology, applied in computer control, program control, general control system, etc., can solve the problem of large deviation between sampling signal and actual signal, so as to improve accuracy and continuity, eliminate delay, and ensure The Effect of Sampling Precision

Pending Publication Date: 2021-06-04
厦门欧万精密科技有限公司
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a DSP sampling delay compensation method based on the PWM synchronization mechanism,

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
  • DSP hardware sampling delay compensation method and device based on PWM synchronization mechanism
  • DSP hardware sampling delay compensation method and device based on PWM synchronization mechanism
  • DSP hardware sampling delay compensation method and device based on PWM synchronization mechanism

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0027] In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0028] A DSP hardware sampling delay compensation method based on a PWM synchronization mechanism calculates the delay time of a hardware sampling circuit. Different sampling ...

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 DSP hardware sampling delay compensation method based on a PWM synchronization mechanism. The method comprises the following steps of: calculating the delay duration of a hardware sampling circuit; configuring to enable the SOCB to trigger the ADC sampling operation according to the PWM module; determining a set value of the CMPB register; when the subtraction count of the PWM counter is equal to the set value of the CMPB register, triggering ADC acquisition; and through synchronous setting of the PWM module, performing fixed-time phase compensation on ADC sampling trigger time. According to the invention, artificial time delay is carried out on the trigger sampling time, so that inherent time delay in a hardware sampling circuit can be eliminated, especially for sampling quantities such as inductive current with special requirements on the sampling time, the sampling precision is ensured, and the stability of a digital control system is improved.

Description

technical field [0001] The invention relates to the field of power sampling, in particular to a DSP hardware sampling delay compensation method and device based on a PWM synchronization mechanism. Background technique [0002] In a digital control system, signal sampling is a very important link. The accuracy, stability and precision of sampling affect the indicators of the output waveform, which in turn affects the stability of the entire control system. In the actual digital control system, the actual analog signal needs to be shaped into a digital signal that can be recognized by the DSP through the hardware sampling circuit. However, due to factors such as errors in power electronic devices and PCB layout, there is an inevitable gap between the sampled digital signal and the actual analog signal. Delay, so for the DSP digital sampling system, it becomes necessary to compensate or calibrate the hardware sampling delay. [0003] The existing compensation method generally ...

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): G05B19/042
CPCG05B19/0423G05B2219/25257
Inventor 黄国伟范怀先陈君陈达潮
Owner 厦门欧万精密科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products