IE85434B1 - A digital power controller - Google Patents

A digital power controller Download PDF

Info

Publication number
IE85434B1
IE85434B1 IE2007/0834A IE20070834A IE85434B1 IE 85434 B1 IE85434 B1 IE 85434B1 IE 2007/0834 A IE2007/0834 A IE 2007/0834A IE 20070834 A IE20070834 A IE 20070834A IE 85434 B1 IE85434 B1 IE 85434B1
Authority
IE
Ireland
Prior art keywords
cpu
power controller
digital power
digital
processor
Prior art date
Application number
IE2007/0834A
Other versions
IE20070834A1 (en
Inventor
Rinne Karl
O'malley Eamon
Original Assignee
Powervation Limited
Filing date
Publication date
Application filed by Powervation Limited filed Critical Powervation Limited
Priority to IE2007/0834A priority Critical patent/IE85434B1/en
Publication of IE20070834A1 publication Critical patent/IE20070834A1/en
Publication of IE85434B1 publication Critical patent/IE85434B1/en

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M3/00Conversion of dc power input into dc power output
    • H02M3/02Conversion of dc power input into dc power output without intermediate conversion into ac
    • H02M3/04Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
    • H02M3/10Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M3/145Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M3/155Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
    • H02M3/156Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators
    • H02M3/157Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators with digital control

Abstract

ABSTRACT A digital power controller (DPC, 1) controls an SMPC power stage (2). The DPC (1) interfaces with the SMPC power stage (2), and it has a system-on-a-chip (SOC) architecture including a digital signal processor (DSP, 5) for real-time control of SMPC outputs (such as output voltage) and a RISC processor (CPU, 6). An ADC (7) receives sense signals and routes them to the DSP (5), and a DPWM circuit (8) drives the SMPC. Communication with the CPU (6) is via a bus (10). The CPU (6) features include fault management and data transfers to the DSP co-processors and other peripheral blocks.

Description

A Digital Power Controller Field of the lnvention The invention relates to digital power controllers for controlling power converters such as switch mode power converters (SMPCS).
Prior Art Discussion Sxtitch-nmde power converters (SMPCS) are used to power microelectronic devices reg. processors) in electronic circuits and systems. SMPCS are becoming ll1LZl‘L'LlSll]}_.'l} popular because of their inherently high power conversion efticiency. Particularly for portable electronic devices (such as laptops or digital cameras) SMPCs extend the lifetime oi‘ the batteries and the availability of the device. Commonly. S:\/lP<’;'s determine the ergonomics (volume and weight} and the usefulness (avtiilabiiitv. buttery lifetime) of electronic devices.
To date. the control circuitry for power converters has been predominantly analogue.
It typically consists of a PWM controller and a number of discrete components including resistors and capacitors setting the desired parameters, such as switching lrcqttcncy. compensator frequency behaviour, start-up behaviour, and protection lcattircs. The discrete components “program“ the operational behaviour oi‘ the PWM controller. Increasingly. due to complexity. a number of housekeeping and supervision l‘tmction.x tsuch as startup) are implemented using microcontrollcrs. augmenting; the functionality of the PWM controller. Commonly, a set of 20-100 coniponcnts is required to implement the complete control circuitry of analogue SMPCs.
A number of technical challenges need to be addressed in order to make digital power converter control a practical and cost-effective reality. The main challenges are: — Components need to be streamlined and optimised specifically for the application. General-purpose building blocks, such as off-the-shelf DSPs or F-l’GAs fail to meet the cost expectations ofthe SMPC industry.
—» Some components, including the ADCS and DPWMS, have specific sets of requirements (e.g. latency, quantisation function, resolution).
— Components in the real-time control path (ADCS, DSP and DPWM) need to provide their respective outputs with very low latency in order to be compatible with cycle-by-cycle control of power converters switching at elevated frequencies.
Components are exposed to adverse environmental conditions. They need to operate ruggcdly in the presence of wide temperature variations. and strong clectro-magnetic interferences.
Components need to be fault-tolerant, and recover from abnormal operating conditions (caused eg. by ESD pulses or mains surges} in a benign and controlled fashion.
Figs. A to I) show four known DPC architectures.
In the architecture shown in Fig. A. the signal processor is implemented directly in fixed hardware (and was therefore called a “hardwired controller"). This architecture is useful for the implementation of simple (and typically linear) control laws. As the hardware is fixed, the control law is fixed (i.e. static), and cannot be changed after the DPC is manufactured. This limits the application of the DPC to SMPC applications where only small variations of the power system are expected. Complex control laws. such as adaptive or self-tuning controllers cannot be implemented efficiently with this approach. For even greater simplicity, even the coefficients of the control laws (difference equations involving discrete additions and multiplications) were made constant. which in tum fixes the frequency behaviour of the control law. This led to simpler hardware again. but is even more restrictive in tenns of application. Other variants include implementations where the control law was implemented using data lookup tables, replacing multipliers by read-only memories. Typical research publications and experimental/commercial implementations of this architecture include: [1]. [2], [3], [4], [7], [3].
As an alterative to hardwired controllers. central processing units (CPUs) have been used to implement programmable signal processors, as shown in Fig. B. With this architecture, both the control law and its frequency behaviour are programmable.
However. typical CPUs do not support the efficient implementation ofdigital control laws as they lack MAC (Multiply-And-Accumulate) capabilities. The speed of processing poses an unacceptable limit in terms of closed—loop performance. The situation is further compounded if the CPU is also required to handle other system tasks (such as communication), leaving even less CPU resources available for the control law. While - in theory - complex control laws could be implemented, poor processing performance would not support high switching frequencies. This architecture is only suitable for power systems with extremely small switching frequencies.
The restriction in terms of CPU processing speed has been addressed in the DPC architecture shown in Fig. C. Here, 3 hardware accelerator provides fast MAC operations. and is used to implement autonomous execution of standard control laws.
The presence of the hardware accelerator frees up the CPU so that the CPU can assign all its processing capabilities to housekeeping and fault management tasks, as well as communication. This architecture suffers from the same restrictions as Fig. A in terms of inflexibility of control law and frequency response behaviour. Commercial implementations of this architecture include: [5], [I 3].
As recent research into advanced control laws (such as adaptive and self-tuning control laws) intensified and demonstrated their benefits, a new architecture evolved as shown in Fig. D. A standard off-the-shelf DSP core, with powerful and flexible signal processing features, was augmented by SMPC-specific building blocks ADC and DPWM. The standard off-the-shelf DSP core with its powerful generic instruction set and large-scale internal memory is able to handle even the most complex signal processing demands. However. as the DSP also need to assign some processing resources to housekeeping and communication, very high DSP clock frequencies are required. This architecture has further drawbacks. The DSP is generic, and its internal organisation and instruction set as well as its memory capabilities are over-designed tor the specific power system application This in tum leads to large silicon area (when integrated), high power dissipation due to high clock frequencies, and ultimately high cost. Implementations ofthis architecture include: [9]. [I0]. [I I |. [12].
[14]. and [15].
The invention is directed towards providing an improved digital power controller to satisfy at least some of the above challenges.
References [l] Power-One ZY70l0 DC-DC Intelligent POL Datasheet, March 2005. available from, http://wwwpowerone.com/resources/products/dataslieet/zy 701 0nd I” I2] Peterchev, A.V., J. Xiao and SR. Sanders, 2003. “Architecture and IC Implementation of a Digital VRM Controller" [BEE Transactions on Power Electronics, Vol. 18, No. I, pp. 356-364, January 2003 |3] Patella, B1,, A. Prodic, A. Zirger. and D. Maksimovic, 2002. “I ligh-Frequency Digital Controller IC for DC/DC converters.” IEEE Transactions on Power Electronics, Vol. 18, No. I, pp. 438-446, Jan 2003 [4] Prodic, A., D. Maksimovic and RW. Erickson, 2002. “Design ofa Digital PID Regulator Based on Look—Up Tables for Control of High-Frequency DC-DC Converters.” In: IEEE Workshop on Computers in Power Electronics. June 3- 4. 2002 [5] Si8250/I/2: Digital Power Controller from Silicon Laboratories: Datashcet available from www.silabs.com [6] UCD950l: 32-Bit Digital Signal Controller for Power Management. Datasheet available from www.ti.com [7] PX75l0: Power Management and Conversion IC. Visit www.Qrimarion.com [8] ZLZOOS: Digital-DCTM Integrated Power Management and Conversion IC: Visit www.zilkerlabs.com [9] Motorola DSP56K Family Data Sheet, "24-bit Digital Signal Processor Family [to] Manual”, March 10, 1995. Available from www.motorola.com Texas Instruments TMS320F/24>: DSP Controllers Reference Guide, “CPU and Instruction Set”, June I999. Available from www.ti.com Texas Instruments TMS320F243/F241/C242 DSP Controllers Reference Guide. “System and Peripherals", January 2000. Available from www.ti.com Texas Instruments TMS3?.0C54x/LC54x/VC54x I-‘ixed-Point Digital Signal Processors Datasheet, February 1996. Available from www.ti.com [I3] 'l”c.\as Instruments UCD9240 Digital Point of Load System Controller Datasheet, 2007. Available from www.ti.com [I4] Analog Devices ADSP-ZIO4/ADSP-2109 Low Cost DSP Microcomputers Datasheet, February 1996. Available from www.analog.com | I 5] Motorola DSP56000/SPS/DSI’5600I Digital Signal Processors, “Implementation of PID Controllers". Available from www.motoro|a.com.
[I6] Analog Devices ADSP-21900: Application Note AN2l900-I3.
"Implementation of PI Controllers“. Available from www.analo;.com SUMMARY OF THE INVENTION According to the invention, there is provided a digital power controller for controlling a power converter, the controller comprising a C PU, a bus, and peripheral devices communicating, with the CPU via the bus, said peripheral devices including a co- processor executing control algorithms. an ADC receiving power converter sense signals, and a modulator providing output drive signals to the power converter.
In one embodiment, the CPU has a RISC architecture.
In one embodiment, the digital power controller has a system-on-chip architecture.
In one embodiment, the peripheral devices operate as autonomous slaves.
In another embodiment, the modulator is a digital pulse width modulator (DPWM ).
In one embodiment, the CPU performs housekeeping and communication operations, and the peripheral devices primarily perfonn real time power converter control.
In one embodiment, the CPU comprises blocks for self-test, peripheral device initialisation, parameter retrieval. and runtime routines.
In one embodiment, the C PU comprises means for detecting abnormal conditions and for generating real time responses.
In a further embodiment, the CPU comprises means for shutting down the power converter.
In one embodiment‘ the CPU comprises means for causing temporary shut-down of the power converter followed by automatic re—start attempts.
In one embodiment, said abnormal conditions include over-temperature. input under- voltage lockout, output over-voltage, and output over-current.
In one embodiment, the CPU comprises means for perfomting configuration of the peripheral devices.
In one embodiment, the CPU comprises means for performing initialisation of setpoint values. in a further embodiment, the co-processor is a DSP.
In one embodiment, the CPU comprises means for transferring a co-processor algorithm from non-volatile instruction memory to the co-processor.
In one embodiment, the CPU com rises means for, at start-u . transferrin co- P P 8 processor control law and coefficients determining frequency behaviour of the control law.
In one embodiment. the co-processor comprises means for modifying control laws, for adaptive control laws.
In one embodiment, the co-processor comprises means for modifying control laws coefficients, for adaptive control laws.
In one embodiment, the CPU and the co—processor comprise means for managing control system sct-points. setting target values for power converter variables in closed- Ioop real-time control.
In one embodiment, the CPU comprises means for, during start-up, transferring an initial set-point to the co-processor, and the co-processor comprises means for changing the set-point from time to time in response to CPU instructions, and the co- processor comprises means for using the new set-point as new target values in closed- loop control.
In another embodiment, the CPU comprises means for requesting the DSP to resume closed loop control, in response to a request from a host that power conversion should stop or start or as a result of detection of fault detection, or recovery from fault detection.
In one embodiment, the co—processor comprises means for transmitting status flags to the CPU, allowing detection of DSP faults, and adequate response to these faults.
In another aspect, the invention provides a power Convener system comprising a power converter and any digital power controller as defined above.
In one embodiment, the power converter is a switch mode power converter L)I:"I‘/\ILED DESCRIPTION OF THE INVENTION Brief Description of the Drawings The invention will be more clearly understood from the following description of some embodiments thereof, given by way of example only with reference to the accompanying drawings in which:- TU U1 Fig. I is a block diagram showing a digital power controller (“DPC”) of the invention controlling an SMPC‘ power stage: Fig. 2 is block diagram showing architecture ofthe DPC at a high level; Fig. 3 is a more detailed block diagram, showing a CPU ofthc DPC; Fig. 4 is a more detailed block diagram. showing a DSP of the DPC; and Fig. 5 is a flow diagram showing breakdown of operations of the DSP and the CPU.
Description ofthe Embodiments Referring to Fig. l a digital power controller (“DPC”) 1 of the invention controls an SMPF power stage 2. The DPC I interfaces with the SMPC power stage 2 in a manner akin to that of the prior art, the invention lying in the internal architecture of the l)I’(‘ 1.
Referring to Fig. 2, the DPC 1 has a system-on-a-chip (SOC) architecture including a digital signal processor (DSP) 5 for real—time control of SMPC outputs (such as output voltage) and a RISC processor CPU 6, as shown in Fig. 2. An ADC 7 receives sense signals and routes them to the DSP 5, and a DPWM circuit 8 drives the SMPC.
Communication with the CPU 6 is via a bus l0. The RISC 6 processor features include fault management and data transfers to DSP co-processors (and other peripheral blocks). lhc DPC 1 is implemented using CMOS ASIC technology, which can be manufactured cost-effectively. It is capable of controlling a wide range of SMPC topologies, including non-isolated multi-phase converters, as well as a range of isolated converter topologies (such as half-bridge and active reset converters). The DPC architecture is based on an SoC interconnect bus of the industry—standard AMBA type. Because of its CPU-based architecture, the DPC l is capable of supporting a wide range olcommunication interfaces and protocols (such as PMBUS).
Processor and peripheral blocks are interconnected through the So(.‘ bus 10. The processor 6 is the single master ol‘ this SoC bus 10, while the peripheral blocks act as autonomous slaves. The processor can fully control and monitor the slaves through the So(‘ bus 10. Slaves include the DSP 5, the digital pulse width modulator tDPVt/M) 8. as well as the analogue-to-digital converter (ADC) 7. Once set-up and initialised, the slaves operate independently of the processor The CPU 6 is primarily used for housekeeping control and communication, however it also perfomis some real time operations such as real time fault management.
The DPC I implements by way of the CPU 6, initial configuration after reset, housekeeping in normal operation, fault management and communication (with optional hosts). ljach oi‘ the two DSP 5 and the CPU 6 is Fully and independently programmable through software. Independent tasks can be clearly assigned to each of the processing units.
The (‘PU 6 handles the following tasks: SM PC Fault Management. Detection of, and coordinated response to, SMPC abnormal situations and protection of SMPC, load and supply. These protection mechanisms include over-temperature protection (0'l‘l’), input under-voltage lockout (UVLO), output voltage over-voltage protection (OVP). output over-current protection (OCP) — Communication. Communication with the host 20 (PC) for the purpose of receiving SMPC configuration instructions from the host, and delivering status information to the host.
— Other system tasks, including: built-in self-test (BIST) alter start-up, configuration of the DSP. including the transfer of the algorithm as well as coefficients to the DSP, eontiguration of all other building blocks of the DPC, including ADC 7, DPWM 8 and communication ports, initialisation ofsetpoint values, coordination of start/stop of DSP, and management of memories (such as volatile and non-volatile memories).
The DSP 5 handles the following tasks: — Real-time control ofthe SMPC, Other DSP tasks, including: built-in self-test (BIST) after start-up, reception of algorithm and coefficients after start-up, and reception of new setpoint values t which may change from time to time) from CPU.
It is important to note that, once initialised, the DSP S autonomously carries out the task of real-time control of the SMPC. Neither the CPU 6, nor the optional host. need to assign resources to real-time control. Real—time control, in this context, is defined as the task 01‘ regulating the desired SM PC variable (most commonly the output voltage) to at desired value, with stringent timing constraints, by means of processing the sampled and quantised SMPC variables {such as output voltage, input voltage. output current) and determining corrective action by providing suitable actuator (or drive} signals.
The structure of the CPU is shown in Fig. 3. The CPU 6 has two main bus interfaces; ~ Interface to the DPC components namely (ADC 7, DPWM X, DSP 5). The CPU 6 uses an open standard interface, in this embodiment an AMBA. The CPU 6 is the single master driving this interface.
— Interface to the instruction memory The CPU 6 has a set of working, registers holding temporary data (including the accumulator A), an arithmetic logic unit (ALU) for perfonning standard sets of arithmetic and logic operations, and a set of status registers (carry flag C. zero flag Z).
A program counter PC points to the next instruction to be fetched from instruction memory. An optional page pointer PP holds the value of the current instruction page in memory (ifthe instruction memory is arranged in pages). An instruction register JR holds the current instruction value. For temporary storage of return addresses (and possibly data) a stack system is used. capable of storing a defined number n of return addresses or data words (n-level stack). The CPU 6 is also capable oi‘ handing and managing interrupt requests. All activity of the CPU 6 is organised by a sequential ’l 0 L3 i .1]. state machine, sometimes referred to as the CPU control state machine.
The DSP 5 is optimised for the purpose of real-time control of SMPC s and is shown in Fig. 4. The DSP 5 has its own local volatile instruction memory (program memory) holding the software ready for execution. Upon startup, the CPU 6 transmits the DSP software to its local program memory. Further. the DSP has its own set of data memory for storage of data. The data memories hold control law coefticients, as well as sampled and quantised SMPC signals of the most recent, and possibly also previous n switching cycles. Using these discrete samples, in conjunction with the coefficients. the control law can be executed (independently of the CPU 6) utilising the DSP's high-speed MAC capabilities residing in its ALU, and result signalts) in the form of duty cycle commands can be forwarded to the actuator (DPWM) so that the real-time control goal is achieved. The DSP 5 typically provides its own high-speed interfaces to the ADC 7 and the DPWM 8.
The (TPLJ 6 and the DSP 8 are the two independent processing units in the DPC 1, Although the tasks for the CPU and the DSP are clearly separated, both interact during start-up ol‘ the power system, as well as during normal operation.
Fig. 5 illustrates the principal software tasks running on each of the processing units, during start-up as well as during nonnal operation. Fig. 5 also illustrates the typical interactions between the CPU 6 and the DSP 5. The interactions between CPU and DSP can be categorised as follows: — DSP algorithm transferred from non-volatile instruction memory through CPU into DSP local volatile instruction memory — DSP coefficients, determining the frequency behaviour of the control law, transferred from CPU into DSP after start-up. Depending on the particular control law, this initial set Of coefficients may remain static. or may be modified by the DSP in case of more complex control laws (adaptive or self- tuning control laws) — Control system setpoints, setting target value(s) for SMPC variable(s) in closed-loop real-time control. During start-up, an initial setpoint is transferred from the CPU to the DSP. It should be noted that during normal operation the setpoint may Change from time to time. e.g. if a host requests a change of setpoint. To do this, the host sends a request to the CPU through the communication port. The CPU transfers the new setpoint to the DSP. which in turn uses the new setpoint as the new target value in closed-loop control.
ON/OFF control of DSP by CPU. From time to time the CPU may request the DSP to seize (or resume) closed loop control. This may happen eg. due to a request from the host through the communication channel that the power conversion should step (during times when the load does not require electrical power) or start (when the load needs to be supplied with electrical power). This may also happen as a result ofdetection of fault detection, and recovery from fault detection.
— DSP status flags transmitted from DSP to CPU, allowing detection of DSP faults. and adequate response to these faults.
In summary, the DPC I provides a flexible platform for the control ofa wide range of power converters. This flexibility is based on the programmable CPU 6 and a programmable DSP (carrying out real-time mathematical operations, i.e. control law/control filter implementations with programmable coefficients).
Also. it provides a low-cost platform for control as the building blocks are predominantly digital and can thus be realised using standard CMOS processes. Either none or only a few external components are required, leading to low DPC pin~count and reduced PCB area. The architecture is readily sealed with improvements in CMOS process technology; and may be part of a larger complete system on a chip.
By providing a virtually unlimited number of connection points to the on-chip So(‘ bus I0. and full CPU 6 programmability, the architecture can be easily extended by additional peripheral blocks, and can thus satisfy future power converter requirements.
The programmable DSP 5 can support the implementation of advanced control laws.
Implementations of advanced control laws using state-of-the-art continuous discrete circuitry are either very difficult (or costly). or impractical.
The DSP 5 is capable of implementing the control algorithms (allowing the power converter to operate under voltage or current mode control), and has a much reduced feature set in terms of hardware and software compared with off-the-shelf DSPs. As a programmable device it is capable of handling control schemes for a wide number of power converter applications, unlikc hard—wired controllers. The control algorithms require ADC samples of the power converter output voltage and possibly the input voltage and output current. The result of the algorithm is a duty cycle command for the DPWM module. As a programmable device, the processor ADC 7 input ports and DPWM 8 output port support various ADC/DPWM resolution word lengths as these will vary depending on the application.
Experiinctitation with the required control algorithms revealed that only a few specific ADC samples of the power converter output voltage/current and corresponding tiltering/scaling coefficients were required to be stored on-chip (in data memories). ln addition, the length of the program to execute the algorithm is also quite short in terms of the on-chip program memory required. Hence both the on-chip data/program memory sizes have been optimised in size (resulting in silicon area saving) to meet the specific requirements ofdigitally controlled power converter algorithms.
The combination of separate program/data memories/buses, a datapath and a RlSC- bascd instruction set form the DSP 5 allowing various control algorithms to be programmed depending on the application. A sub-set (30) of the many instructions (possibly >200) available in leading edge DSPS are supported by this DSP S to meet the requirements of the control algorithms which simplifies the programming of the device for the user. The programs (stored initially in the RISC processor program memory) are written to the local program memory in the DSP 5 at power-up, after which the DSP 5 works independently from the rest of the system.
The DSP 5 instructions allow the instruction type (eg. ADD, LOAD) and data memory locations (containing the data to be manipulated) to be specified in a single instruction. The word length of each DSP instruction is 16 b (this can be either increased/decreased in future revisions). As the execution time for the entire control algorithm is vitally important in high switching power converters all of the DSP instructions support single clock cycle execution.
Digital control algorithms are typically executed once every switching cycle of the power converter switching frequency (c.g. once every 1 us). The DSP 5 contains a sleep mode instruction allowing the processor to enter a low power mode after the algorithm is executed. The interrupt to allow the processor leave sleep mode and re- execute the control algorithm is optimised (from a timing perspective) to an operating point of the power converter which ensures the algorithm executes with average values of the power converter output voltage/current sampled by the ADC channels.
The central processor supports a single—word instruction which allows for highly efficient data transfers of data words from the processor to any peripheral block, using a minimum amount ofclock cycles, and a minimum amount ofinstruction memory.
The word—length of an instruction (i.e. number of bits per instruction word) is limited, and can be expressed as niw. A limited number of instructions can therefore be coded.
As every instruction fetch from instruction memory takes time, and consumes instruction memory, it is preferable that all instructions (together with their operands") are coded using a single instruction word. This means that the word-length of the operands. expressed as nm.,and needs to be smaller than mw, therefore n;w>n0p¢,,.nd.
Operands may be: constants (sometimes also called literals); source/destination register addresses; and addresses or offsets in instruction memory or data memory Firmware for this application involves frequent movement of (constant) data from the RISC processor to the peripheral blocks ofthe DPC 1 (mainly the DSP 5, but also the AD(‘ 7. and the DPWM 8).
Because of word-length limitations niw, instructions for RISC processors involve either none or a maximum of one variable (i.e. not fixed) operand. If an instruction would involve two variable operands. one would not be able to code all of the required infonnation in one instruction word and the instruction would need to be broken down into two individual instructions, each involving one operand. Movement of constant data to a destination register residing in at peripheral block is an example for this. In the RISC processor 6, such a data movement involves two steps: — movement of the data into a RISC data register (such as the accumulator). and — movement of this data from the RISC data register to the destination register.
Also. each individual peripheral block only has a small set of registers (between I-4 registers). If each peripheral block is assigned a base address, expressed as adri,,.,,.. the peripheral block register addresses can be expressed using offset addresses relative to the base address. A small number of bits, expressed as noffs, most typically 0-2. is sttftieient to code this offset address.
As long as n|w>(noperand+noiTs), a single instruction can be created. which effectively supports two operands (eg. a constant operand, plus a register offset address), while at the same time keeping the required instruction word-length ntw at a minimum.
The following applies: which supports an instruction opcode word-length of niw-nopmmk.-no,~.~,=4b.
The instruction mnemonic is mov REG[r] ,#k and the instruction is coded as lllorrkkkkkkkk where variable r expresses an offset in a range of 0 to 3, and k expresses a constant in a range oft) to 255.
Coded as a single 14b instruction word, taking a minimum amount of clock cycles to execute. and consuming a minimum amount of instruction memory, the instruction supports the movement constant data (k) to a hardware register residing in a peripheral block, 'l'hc hardware register may be either a control register, or a data register, and is typically located in a peripheral block (such as the DSP).
The base address adrbasc of the hardware register is fixed {and equal to 128). but may be made variable for enhanced flexibility. The effective address EA of the hardware register is therefore EA=adrt,a,,¢+r. and in otir specific case EA=l28+r. Constant data k is written into hardware register with the address EA.
An extension of this concept is the movement of data from a hardware register into any other register, either CPU-intemal, or located in any other peripheral block.
The invention may be effectively utilised to support embedded DSP code in firmware.
DSP code will be translated by a programming language compiler (such as C or assembler‘) into corresponding data move instructions. This translation from USP source code to data move instructions happens in a transparent fashion. allowing the programmer to code the algorithm using standard DSP source code. F,ffe.ctively, every DSP instruction found in the language source code (cg. the assembler code) will be broken into m data move instructions (with typically m=2 as tt0p¢,a,,d=8 and DRP instruction word length l11)gr>:l()) oi’ the previously discussed structure “mov RT.Glrj,#l<". The destination of the data is the DSP, which receives the data, and writes it sequentially into its own local instruction memory, and thus prepares it for execution after the algorithm transfer is completed.
It will be appreciated that the invention extends significantly beyond the pcrl‘ormancc limits of the prior controllers. by including a fully programmable DSP coprocessor.
In contrast to the prior art, the invention supports the implementation of advanced control schemes (such as current mode control, predictive current mode control, dead beat control, non-linear control) by providing this fully prograirimable D8? to- The invention is not limited to the embodiments described but may be varied in construction and detail. For example. the co-processor may alternatively be of a different type, such as a numeric co-processor. Also, the power converter which is controlled may be of a type other than a switch mode power converter ILSMPC). such as a lincar regulator type ofpower converter.

Claims (1)

1. C lai ms A digital power controller for controlling a power converter, the controller comprising a CPU, a bus, and peripheral devices communicating with the CPU via the bus, said peripheral devices including a co-processor executing control algorithms, an ADC receiving power converter sense signals. and a modulator providing output drive signals to the power converter. A digital power controller as claimed in claim I, wherein the CPU has a RISC architecture. A digital power controller as claimed in claims 1 or 2, wherein the digital power controller has a system-on-chip architecture. A digital power controller as claimed in any of claims 1 to 3, wherein the peripheral devices operate as autonomous slaves. A digital power controller as claimed in any preceding claim, wherein the modulator is a digital pulse width modulator (DPWM). /\ digital power controller as claimed in any preceding claim, wherein the CPU performs housekeeping and communication operations. and the peripheral devices primarily perfomi real time power converter control. A digital power controller as claimed in any preceding claim, wherein the C PU comprises blocks for self-test, peripheral device initialisation. parameter retrieval, and runtime routines. A digital power controller as claimed in any preceding claim. wherein the CPU comprises means for detecting abnormal conditions and for generating real time responses. A digital power controller as claimed in claim 8, wherein the C PU comprises means for shutting down the power converter. A digital power controller as claimed in claim 9, wherein the CPU comprises means for causing temporary shut-down of the power Convener followed by automatic re-start attempts. A digital power controller as claimed in any of claims 8 to 10. wherein said abnormal conditions include over-temperature, input under-voltage lockout. output over-voltage, and output over-current. A digital power controller as claimed in any preceding claim‘ wherein the CPU comprises means for performing configuration ofthe peripheral devices. A digital power controller as claims in claim 12, wherein the CPU comprises meansfor performing initialisation of setpoint values. A digital power controller as claimed in any preceding claim. wherein the co— processor is a DSP. A digital power controller as claimed in any preceding claim. wherein the CPU comprises means for transferring a co-processor algorithm from non-volatile instruction memory to the co-processor. A digital power controller as claimed in any preceding claim, wherein the (‘PU comprises means for, at start-up, transferring co-processor control law and coefficients determining frequency behaviour of the control law. A di tital wer controller as claimed in an recedin claim, wherein the co- )’ 8 processor comprises means for modifying control laws, for adaptive control laws. A digital po\ver controller as claimed in any preceding claim. wherein the co- processor comprises means for modifying control laws coefticiettts, for adaptive control laws. A digital power controller as claimed in any preceding claim, wherein the (.'PU and the co-processor comprise means for managing control system set-points, setting target values for power converter variables in closed-loop real-time control. A digital power controller as claimed in claim l9, wherein the CPU comprises means for, during start-up, transferring an initial set-point to the co-processor, and the co-processor comprises means for changing the set-point from time to time in response to CPU instructions, and the co-processor comprises means for using the new set-point as new target values in closed~loop control. A digital-power controller as claimed in any preceding claim, wherein the CPU comprises means for requesting the DSP to resume closed loop control. in response to a request front a host that power conversion should stop or start or as a result ofdetection of fault detection, or recovery from fault detection. A digital power controller as claimed in any preceding claim, wherein the co- processor comprises means for transmitting status flags to the C PU, allowing detection of DSP faults, and adequate response to these faults. A power converter system comprising a power converter and a digital power controller as claimed in any preceding claim. A power converter system as claimed in claim '23, wherein the power converter is a switch mode power converter. E-CFISE signals
IE2007/0834A 2007-11-15 A digital power controller IE85434B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
IE2007/0834A IE85434B1 (en) 2007-11-15 A digital power controller

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
IEIRELAND16/11/20062006/0831
IE20060831 2006-11-16
IE2007/0834A IE85434B1 (en) 2007-11-15 A digital power controller

Publications (2)

Publication Number Publication Date
IE20070834A1 IE20070834A1 (en) 2008-07-23
IE85434B1 true IE85434B1 (en) 2010-01-20

Family

ID=

Similar Documents

Publication Publication Date Title
US20100064124A1 (en) Digital power controller
US7529958B2 (en) Programmable power transition counter
TWI342498B (en) Multi-processor system and performance enhancement method thereof
TWI510909B (en) A method, apparatus, and system for energy efficiency and energy conservation including energy efficient processor thermal throttling using deep power down mode
US9979282B2 (en) Charge pump for low power consumption apparatus and associated methods
US10156884B2 (en) Local power gate (LPG) interfaces for power-aware operations
CN112445310A (en) Active DI/DT voltage droop suppression
WO2007122596A1 (en) Method and system for power-state transition controllers
CN111475012A (en) Dynamic power routing to hardware accelerators
Beldachi et al. Accurate power control and monitoring in ZYNQ boards
TWI515553B (en) A method, apparatus, and system for energy efficiency and energy conservation including configurable maximum processor current
Shamraev et al. Green microcontrollers in control systems for magnetic elements of linear electron accelerators
Akgün et al. Resource efficient dynamic voltage and frequency scaling on Xilinx FPGAs
CN109375543B (en) DVS voltage management device, DVS voltage management system, DVS voltage management method, storage medium, and computer device
IE85434B1 (en) A digital power controller
Neagoe et al. Why ARM processors are the best choice for embedded low-power applications?
EP1372065B1 (en) System large scale integrated circuit (LSI), method of designing the same, and program therefor
Mooney et al. Application-specific instruction-set processor for control of multi-rail DC-DC converter systems
US20120151227A1 (en) Apparatus and method for adaptive back bias control of an integrated circuit
JP2020170377A (en) Power source control circuit, power management circuit, and electronic apparatus
Dutta et al. A comprehensive review of embedded system design aspects for rural application platform
JP2008234270A (en) Information processing device and controlling method of information processing device
Takács et al. Current-saving sampling framework for the embedded implementation of positive position feedback
Hsieh et al. Low power design and dynamic power management system for VLIW DSP subsystem
WO2023129197A1 (en) Adaptive tuning for multi-asic systems