PWM regulation based on microcontroller control
- Resource Type
- Conference
- Authors
- Yu, Haichao
- Source
- 2022 International Conference on Electronics and Devices, Computational Science (ICEDCS) ICEDCS Electronics and Devices, Computational Science (ICEDCS), 2022 International Conference on. :34-36 Sep, 2022
- Subject
- Computing and Processing
Time-frequency analysis
Microcontrollers
Scientific computing
Delay effects
Pulse width modulation
Regulation
Delays
51 Microcontrollers
PWM
STC12XX
- Language
This paper presents the common applications of PWM in electronics, and then introduces three ways to implement PWM output by using 51 Microcontrollers as an example. Using time delay to realize PWM output; using the timer to output PWM; using self-contained PWM interface microcontroller output. The program to implement PWM output in three ways is given, and part of the program flow chart. Finally, the advantages and disadvantages of these three ways are compared and the optimal solution is pointed out.