Project Guide
Dr. Sishaj P Simon
Electrical & Electronics Engg. Deptt.
National Institute of Technology Tiruchirappalli
Objective
• One readable and writeable (RW) 16-bit up and up/down counter register
• TxCNT (x = 1, 2, 3, 4). This register holds the current count value and
increments or decrements depending on the direction of counting
• 16-bit timer compare register, TxCMPR (x = 1, 2, 3, 4)
• 16-bit timer period register, TxPR (x = 1, 2, 3, 4)
• 16-bit individual timer control register, TxCON (x = 1, 2, 3, 4)
• Programmable input clock divider (pre-scaler) applicable to both internal
• and external clock inputs
• One GP Timer compare output pin, TxCMP (x = 1, 2, 3, 4)
• Interrupt logic
PWM Technique
• GP Timer Period Registers (TxPR) – User Specified Value
Addresses 7403h (T1PR), 7407h (T2PR), 7503h (T3PR),
7507h (T4PR)
• The period register determines the rate at which the timer
resets itself or changes direction (the period of the timer).
• This register in combination with the input clock frequency
(and clock pre-scale factor) determines the frequency of a
PWM signal created by the compare output pin.
• The corresponding timer either resets to “0”, or starts counting
downward (depending on the operating mode) when a
match occurs between the period register and the timer
counter (TxCNT).
Hardware Pictures With DSP
DSO Result Using With DSP
For single phase open loop control of Inverter and output wave form with Resistive load
Resistive Load = 50 ohm
Input DC Supply = 5 volts.
Output Voltage = 3.076 volts.
SPWM Technique with Analog Circuit
based
e Control Circuit for open loop Single Phase Inverter with Sinusoidal PWM
Hardware Pictures With Analog Circuit
SPWM Signal
Output of the Inverter with Resistive Load
THANK
YOU