Low frequency PWM generation method for a microprocessor-based controller
Abstract
An improved method of operation for a microprocessor-based controller wherein a frequency limited counter can be used to generate low frequency PWM signals having on and/or off periods that exceed the period of the microprocessor's free-running counter. The improved method of operation involves comparing the requested PWM period (on or off) to the counter period, and determining if multiple counter periods are required to generate the requested PWM period. If multiple counter periods are required, the controller configures the PWM output port to maintain its current logic level until the requested period has timed out. In this way, the microprocessor can accurately generate the requested low frequency PWM output signals without requiring any hardware modifications.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 12.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of operation for a control system in which a microprocessor generates a pulse width modulation (PWM) output signal in accordance with a PWM command, the microprocessor having a stored count, a fixed period clock pulse counter and an output port that drives the output signal to a specified first or second state when said counter matches said stored count, the method of operation comprising the steps of: determining a commanded first state time and a commanded second state time corresponding to said PWM command; computing a first state multiplier corresponding to the number of periods
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗