The embodiment of the application relates to the technical field of
electronics, in particular to a PWM
signal generation
system, which comprises a PWM generation circuit and a
clock cycle analysis circuit. The embodiment of the application dynamically adjusts the number of buffers of an initial
delay line, and adaptively determines a target number according to a
delay signal state, thereby greatly shortening the calculation period of the total number of buffers in the PWM generation circuit and avoiding the time-consuming iterative calculation in the traditional scheme. In addition, the logic of deriving the total number of buffers based on the target number can realize accurate matching of the
delay time of the buffer and the
clock cycle, improve the control accuracy of the PWM
duty cycle by combining the fine delay
processing of the
delay unit on the PWM
signal, and make up for the defects of insufficient accuracy of the traditional circuit. The
system also integrates a temperature sensor and a
voltage sensor, and the
microprocessor can correct the deviation of the
delay time of the buffer in combination with the environmental parameters, enhance the stability of the
system under complex working conditions, and widen the applicable scenarios of the system in the technical field of
electronics.