Supercharge Your Innovation With Domain-Expert AI Agents!

PWM pulse wave generation method and system on microcontroller

A production method and micro-controller technology, applied in the direction of instruments, electrical digital data processing, digital data processing components, etc., can solve the problems that the single-chip microcomputer cannot perform other tasks and occupy CPU time, etc.

Inactive Publication Date: 2010-03-03
SHANGHAI UNIV
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method takes up a lot of CPU time and makes the microcontroller unable to perform other tasks, so it is gradually eliminated.

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
  • PWM pulse wave generation method and system on microcontroller
  • PWM pulse wave generation method and system on microcontroller
  • PWM pulse wave generation method and system on microcontroller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] A preferred implementation example of the present invention is described in detail as follows in conjunction with accompanying drawing:

[0063] see figure 1 , the system that this PWM pulse wave generation method is used comprises 8051IP core (1), it is characterized in that described 8051IP core (1) connects period pulse width register (2), dead zone insertion time register (3), PWM wave by MCU bus Generating unit (4), timing counter (5) and frequency divider (6); A system clock (7) is connected with described frequency divider (6); Described frequency divider (6) is connected with timing counter (5) ; The PWM wave generation unit (4) is connected with the dead zone insertion time register (3).

[0064] This embodiment provides a pulse generation method in the 8051IP core. The MCU can generate two independent PWM waves and two complementary PWM waves. The overall structure of the PWM pulse generation method is as follows figure 1 As shown, the MCU reads and writes d...

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 relates to a PWM pulse wave generation method and a system on a microcontroller. The method sets the cycle and the pulse width of a PWM wave through a cycle register and a pulse width register, and a counter respectively takes count of the cycle and the pulse width of the PWM wave; after the counter overflows, the corresponding overturn is carried out on the signal of the PWM wave, thereby generating a predefined PWM pulse; when PWM is in complementary output, firstly, a main PWM wave, and another complementary PWM wave is generated by a phase inverter; a dead-time register is installed, and a dead-time value is set so as to enable the rising edge of the two PWM waves to be respectively delayed by one dead-time width, so that the two complementary PWM waves are inserted intothe dead time. The invention enables the microcontroller to have the power-driven controllability, thereby greatly improving the performance of the microcontroller.

Description

technical field [0001] The invention relates to a method and system for generating PWM pulse waves on a microcontroller chip based on the Intel MCS-51 instruction system, which can be applied to single-chip microcontrollers based on the 8051 instruction system, and can also be applied to other microcontrollers and microprocessors. devices and other fields. Background technique [0002] Pulse Width Modulation (PWM Pulse Width Modulation) is a technology that can provide digital control methods for motors, heaters, and even audio equipment, that is, to generate a waveform with adjustable duty cycle, phase, and period for use in motor drives, D / A conversion, power control and other occasions. PWM control technology has become the most widely used control method in power electronics technology because of its advantages of simple control, flexibility and good dynamic response, and it is also a hot research topic. [0003] How PWM pulse waves are generated [0004] 1) PWM signa...

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): G06F1/00
Inventor 胡越黎徐晓勇闫科朱卫汪炜
Owner SHANGHAI UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More