Abstract:
A method and system are provided for updating a duty cycle for a power converter. The system and method operate the power converter to compute a first duty cycle during a first pulse-width modulation period and updating a second duty cycle for a second pulse-width modulation period at the completion of the first pulse-width modulation period. Next a third duty cycle for a third previous pulse-width modulation period is updated at the completion of the first pulse-width modulation period.
Abstract:
Methods and apparatus are provided for controlling a boost converter. In one embodiment, the method processes a command signal in a slew rate limiting circuit. The output of the slew rate limiting circuit is then processed using one or more feedback parameters from the proportional integrator to provide a processed command signal. The processed command signal is processed with a controlled signal to provide an error signal which is provided to the proportional integrator to provide a current command signal. In one embodiment, the apparatus includes an error generating circuit configured to provide a processed command signal using one or more feedback parameters from the proportional integrator, and to provide the error signal by subtracting a signal to be controlled from the processed command signal. A slew rate limiting circuit is used to receive a command signal and provide an output to the error generating circuit.
Abstract:
Methods and apparatus are provided for controlling a boost converter. In one embodiment, the method includes processing an input current command through a plurality of prioritized limiting circuits to determine whether to limit the input current command and limiting the input current command to limit the boost converter when it is determined to limit the input current command. In one embodiment, the apparatus includes an energy source coupled to a boost converter that provides an output voltage responsive to a current command signal. An inverter is coupled to the boost converter to provide multiple phased currents to a multi-phase motor for a vehicle. A controller coupled to the boost converter for providing the current command signal by processing an input current command through a plurality of prioritized limiting circuits and determining whether to limit the input current command to provide the current command signal to the boost converter.
Abstract:
A method of determining processor utilization includes: counting, via a first counter on a processor, a number of elapsed clock cycles while code is being executed; counting, via a second counter on a processor, a total number of free-running clock cycles; and dividing the number of clock cycles where code is being executed by the total number of free-running clock cycles to determine a CPU utilization.
Abstract:
A method of calculating an arctangent includes coding a sign for a y-value an x-value into a 3-bit index. When the absolute value of the x-value is greater than the absolute value of the y-value, the absolute values of the x-value and the y-value are swapped, and a swap bit of the index is coded to indicate that the x-value and the y-value were swapped. The arctangent is calculated from the quotient of the swapped x-value divided by the swapped y-value. A segment base angle is extracted from a table, based on the coded x-bit, y-bit, and swap bit of the index. An encoded sign is extracted from the segment base angle and is applied to the calculated arctangent output value to define a corrected arctangent value. The segment base angle is added to the corrected arctangent value to define the arctangent of the point.