SlideShare a Scribd company logo
1 of 47
Power Electronics using Embedded System
Power Electronics using Embedded System
Agenda
Day 1
Introduction to Proteus Mixed Simulation & PIC CCS C Compiler
Built-in Functions of PIC CCS C Compiler
Implementing ZCD Hardware Circuit in Proteus & Simulation
Zero Crossing Detection of AC Waveform using PIC Micro
Theory behind TRIAC based AC Motor Control
Circuit & Software Simulation in Proteus
Actual Hardware Implementation using 18F4620
Day 2
Theory behind Converter based DC Motor Control
Circuit & Software Simulation in Proteus
Actual Hardware Implementation using 18F4620
Question / Queries Session
Power Electronics using Embedded System
Introduction to Proteus Mixed Simulation
System Components
ISIS Schematic Capture - an easy to use yet extremely powerful tool for entering your
schematic designs.
ARES PCB Layout - high performance PCB design system with automatic component
placer, rip-up and retry auto-router and interactive design rule checking.
VSM - Virtual System Modeling lets you co-simulate embedded software
for popular micro-controllers alongside your hardware design
Power Electronics using Embedded System
Schematic Capture
Power Electronics using Embedded System
ARES PCB Layout
Power Electronics using Embedded System
VSM - Virtual System Modeling
Power Electronics using Embedded System
PIC CCS C Compiler
Features of C programming
C is a portable language intended to have minimal modification when transferring
programs from one computer to another.
The main program flow will basically remain unchanged, while the various setup and
port/peripheral control will be micro specific.
An example of this is the port direction registers on a PIC micro MCU are set 1=Input
0=Output, whereas the H8 is 0=Input and 1=Output.
Power Electronics using Embedded System
PIC CCS C Compiler
CSS C IDE Interface.
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
PIC CCS C Compiler Functions
Power Electronics using Embedded System
Power Electronics using Embedded System
PIC CCS C Compiler
Example of LED Blinking
#include "led_blinker.h"
#define LED PIN_C0
void main()
{
set_tris_c(0xfe);
while(1)
{
output_high(LED);
delay_ms(500);
output_low(LED);
delay_ms(500);
}
}
LED WILL BE ON & OFF ALTERNATELY WITH 500ms
INTERVAL
Power Electronics using Embedded System
PIC CCS C Compiler & Proteus Simulation
Example of LED Blinking
Power Electronics using Embedded System
PIC CCS C Compiler
NOW, ITS YOUR TASK TO REWRITE THE SAME
CODE WITH TOGGLE FUNCTION
TIME – WITHIN 10 MINUTES
HINT – USE FUNCTION
“output_toggle(pin)”
Power Electronics using Embedded System
PIC CCS C Compiler
ASSIGNMENT
GENARATE 1kHz SQUARE WAVE WITH
20% DUTY CYCLE
TIME – WITHIN 10 MINUTES
Power Electronics using Embedded System
PIC CCS C Compiler
ASSIGNMENT
WRITE PROGRAM TO IMPLEMENT THE
FOLLOWING LOGIC OPERATION
TIME – WITHIN 10 MINUTES
Power Electronics using Embedded System
Proteus Simulation
ASSIGNMENT – IMPLEMENT THE ZCD CIRCUIT BELOW AND STUDY THE
WAVE FORM AT PB0 AND JUNCTION OF R8 & R9
Power Electronics using Embedded System
TRIAC + MCU Based FAN Regulator
Zero Crossing Detector
Power Electronics using Embedded System
TRIAC + MCU Based FAN Regulator
TRIAC FIRING CIRCUIT
Power Electronics using Embedded System
TRIAC + MCU Based FAN Regulator
TRIAC FIRING CIRCUIT
Power Electronics using Embedded System
TRIAC + MCU Based FAN Regulator
ZCD DETECTION & TRIAC FIRING PULSE GENERATION
FIRING PULSE OUTPUT
ZCD PULSE INPUT
SPEED INCR SW
SPEED DECR SW
Power Electronics using Embedded System
TRIAC + MCU Based FAN Regulator
ZCD DETECTION & FIRING PULSE GENERATION PROGRAM
EXTERNAL INTERRUPT
Power Electronics using Embedded System
TRIAC + MCU Based FAN Regulator
SPEED INCREMENT / DECREMENT PROGRAM
INPUT SWITCH SACN
Power Electronics using Embedded System
TRIAC + MCU Based FAN Regulator
SPEED INCREMENT / DECREMENT PROGRAM
SPEED INCREMENT
Power Electronics using Embedded System
TRIAC + MCU Based FAN Regulator
SYSTEM INITIALIZATION PROGRAM
SYSTEM INITIATE
Power Electronics using Embedded System
FULL WAVE HALF CONVERTER
Zero Crossing Detector
Power Electronics using Embedded System
FULL WAVE HALF CONVERTER
Zero Crossing Detector
Power Electronics using Embedded System
FULL WAVE HALF CONVERTER
Controller Unit
Input ZC Signal to RB0
SCR Firing Pulses
Power Decrement Switch
Power Increment Switch
Power Electronics using Embedded System
ZCD DETECTION & FIRING PULSE GENERATION PROGRAM
EXTERNAL INTERRUPT
FULL WAVE HALF CONVERTER
Variable delay “dly”
Power Electronics using Embedded System
ZCD DETECTION & FIRING PULSE GENERATION PROGRAM
SWITCH SCAN
FULL WAVE HALF CONVERTER
Variable delay “dly”
Power Electronics using Embedded System
ZCD DETECTION & FIRING PULSE GENERATION PROGRAM
SYSTEM INIT & MAIN PROGRAM
FULL WAVE HALF CONVERTER
Power Electronics using Embedded System
Question & Answer
Power Electronics using Embedded System

More Related Content

What's hot

25. complex frequency, network function ,poles and zeros
25. complex frequency, network function ,poles and zeros25. complex frequency, network function ,poles and zeros
25. complex frequency, network function ,poles and zerosshwetabhardwaj48
 
Pspice Introduction
Pspice IntroductionPspice Introduction
Pspice IntroductionAkshay Dhole
 
Bipolar junction transistor characterstics biassing and amplification, lab 9
Bipolar junction transistor characterstics biassing and amplification, lab 9Bipolar junction transistor characterstics biassing and amplification, lab 9
Bipolar junction transistor characterstics biassing and amplification, lab 9kehali Haileselassie
 
Radio frequency energy harvesting.pptx
Radio frequency energy harvesting.pptxRadio frequency energy harvesting.pptx
Radio frequency energy harvesting.pptxFunJoytv
 
Power System Analysis unit - I
Power System Analysis unit - IPower System Analysis unit - I
Power System Analysis unit - Iarunatshare
 
POWER QUALITY IMPROVEMENT AND FAULT RIDE THROUGH OF GRID CONNECTED WIND ENE...
POWER QUALITY IMPROVEMENT AND FAULT RIDE THROUGH OF   GRID CONNECTED WIND ENE...POWER QUALITY IMPROVEMENT AND FAULT RIDE THROUGH OF   GRID CONNECTED WIND ENE...
POWER QUALITY IMPROVEMENT AND FAULT RIDE THROUGH OF GRID CONNECTED WIND ENE...Bharadwaj S
 
FACTS DEVICES AND POWER SYSTEM STABILITY ppt
FACTS DEVICES AND POWER SYSTEM STABILITY pptFACTS DEVICES AND POWER SYSTEM STABILITY ppt
FACTS DEVICES AND POWER SYSTEM STABILITY pptMamta Bagoria
 
Operational amplifiers first LIC lecture slides
Operational amplifiers first LIC lecture slidesOperational amplifiers first LIC lecture slides
Operational amplifiers first LIC lecture slidesImran Sir-fans
 
a project report on MPPT algorithm for PV panel
a project report on MPPT algorithm for PV panela project report on MPPT algorithm for PV panel
a project report on MPPT algorithm for PV panelgauravchitransh
 
Invering and non inverting amplifiers
Invering and non inverting amplifiersInvering and non inverting amplifiers
Invering and non inverting amplifiersMuhammad Mohsin
 
WIDE AREA MANAGEMENT SYSTEM
WIDE AREA MANAGEMENT SYSTEMWIDE AREA MANAGEMENT SYSTEM
WIDE AREA MANAGEMENT SYSTEMDivya Yennam
 
Controllability and observability
Controllability and observabilityControllability and observability
Controllability and observabilityjawaharramaya
 
Maximum power point tracking.......saq
Maximum power point tracking.......saqMaximum power point tracking.......saq
Maximum power point tracking.......saqSaquib Maqsood
 
Mppt and mppt with pi converter based phtovoltic system
Mppt and mppt with pi converter based phtovoltic systemMppt and mppt with pi converter based phtovoltic system
Mppt and mppt with pi converter based phtovoltic systemMadhu Kundu
 

What's hot (20)

25. complex frequency, network function ,poles and zeros
25. complex frequency, network function ,poles and zeros25. complex frequency, network function ,poles and zeros
25. complex frequency, network function ,poles and zeros
 
Reactive power
Reactive powerReactive power
Reactive power
 
Pspice Introduction
Pspice IntroductionPspice Introduction
Pspice Introduction
 
Bipolar junction transistor characterstics biassing and amplification, lab 9
Bipolar junction transistor characterstics biassing and amplification, lab 9Bipolar junction transistor characterstics biassing and amplification, lab 9
Bipolar junction transistor characterstics biassing and amplification, lab 9
 
Report on PLC traning
Report on PLC traningReport on PLC traning
Report on PLC traning
 
POWER ELECTRONICS
POWER ELECTRONICSPOWER ELECTRONICS
POWER ELECTRONICS
 
Radio frequency energy harvesting.pptx
Radio frequency energy harvesting.pptxRadio frequency energy harvesting.pptx
Radio frequency energy harvesting.pptx
 
Wireless charging ppt
Wireless charging pptWireless charging ppt
Wireless charging ppt
 
Power System Analysis unit - I
Power System Analysis unit - IPower System Analysis unit - I
Power System Analysis unit - I
 
POWER QUALITY IMPROVEMENT AND FAULT RIDE THROUGH OF GRID CONNECTED WIND ENE...
POWER QUALITY IMPROVEMENT AND FAULT RIDE THROUGH OF   GRID CONNECTED WIND ENE...POWER QUALITY IMPROVEMENT AND FAULT RIDE THROUGH OF   GRID CONNECTED WIND ENE...
POWER QUALITY IMPROVEMENT AND FAULT RIDE THROUGH OF GRID CONNECTED WIND ENE...
 
Scr
ScrScr
Scr
 
FACTS DEVICES AND POWER SYSTEM STABILITY ppt
FACTS DEVICES AND POWER SYSTEM STABILITY pptFACTS DEVICES AND POWER SYSTEM STABILITY ppt
FACTS DEVICES AND POWER SYSTEM STABILITY ppt
 
Operational amplifiers first LIC lecture slides
Operational amplifiers first LIC lecture slidesOperational amplifiers first LIC lecture slides
Operational amplifiers first LIC lecture slides
 
a project report on MPPT algorithm for PV panel
a project report on MPPT algorithm for PV panela project report on MPPT algorithm for PV panel
a project report on MPPT algorithm for PV panel
 
Witricity
WitricityWitricity
Witricity
 
Invering and non inverting amplifiers
Invering and non inverting amplifiersInvering and non inverting amplifiers
Invering and non inverting amplifiers
 
WIDE AREA MANAGEMENT SYSTEM
WIDE AREA MANAGEMENT SYSTEMWIDE AREA MANAGEMENT SYSTEM
WIDE AREA MANAGEMENT SYSTEM
 
Controllability and observability
Controllability and observabilityControllability and observability
Controllability and observability
 
Maximum power point tracking.......saq
Maximum power point tracking.......saqMaximum power point tracking.......saq
Maximum power point tracking.......saq
 
Mppt and mppt with pi converter based phtovoltic system
Mppt and mppt with pi converter based phtovoltic systemMppt and mppt with pi converter based phtovoltic system
Mppt and mppt with pi converter based phtovoltic system
 

Similar to Power Electronics with Embedded System

Ijetae 0312 24
Ijetae 0312 24Ijetae 0312 24
Ijetae 0312 24Memo Love
 
Tms320f28379D microcontroller
Tms320f28379D microcontroller Tms320f28379D microcontroller
Tms320f28379D microcontroller KumarKartikey25
 
Classification of electric motors
Classification of electric motors Classification of electric motors
Classification of electric motors Sudhanshu Tripathi
 
Comparison of dc motor speed control performance using fuzzy logic and model ...
Comparison of dc motor speed control performance using fuzzy logic and model ...Comparison of dc motor speed control performance using fuzzy logic and model ...
Comparison of dc motor speed control performance using fuzzy logic and model ...Mustefa Jibril
 
Session outline eb, plc, scada & ac drive
Session outline eb, plc, scada & ac driveSession outline eb, plc, scada & ac drive
Session outline eb, plc, scada & ac driveKartavya Jain
 
AN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATION
AN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATIONAN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATION
AN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATIONJournal For Research
 
Research Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and ScienceResearch Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and Scienceresearchinventy
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...researchinventy
 
JMC Micro-Control White Paper
JMC Micro-Control White PaperJMC Micro-Control White Paper
JMC Micro-Control White PaperJMCproducts
 
Pc mouse operated electrical load control using vb application
Pc mouse operated electrical load control using vb applicationPc mouse operated electrical load control using vb application
Pc mouse operated electrical load control using vb applicationEdgefxkits & Solutions
 
Dc motor speed control with the presence of input disturbance using neural ne...
Dc motor speed control with the presence of input disturbance using neural ne...Dc motor speed control with the presence of input disturbance using neural ne...
Dc motor speed control with the presence of input disturbance using neural ne...Mustefa Jibril
 
Self-Tuning Fuzzy PID Design for BLDC Speed Control
Self-Tuning Fuzzy PID Design for BLDC Speed ControlSelf-Tuning Fuzzy PID Design for BLDC Speed Control
Self-Tuning Fuzzy PID Design for BLDC Speed ControlGRD Journals
 
Real Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital PlatformReal Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital PlatformSHIMI S L
 
Advancements in Programmable DC Power Supply for Efficient Power Delivery in ...
Advancements in Programmable DC Power Supply for Efficient Power Delivery in ...Advancements in Programmable DC Power Supply for Efficient Power Delivery in ...
Advancements in Programmable DC Power Supply for Efficient Power Delivery in ...IRJET Journal
 
Power Semiconductor Device Simulation Research Projects
Power Semiconductor Device Simulation Research Projects  Power Semiconductor Device Simulation Research Projects
Power Semiconductor Device Simulation Research Projects Matlab Simulation
 
Report pid controller dc motor
Report pid controller dc motorReport pid controller dc motor
Report pid controller dc motorchea kimsairng
 

Similar to Power Electronics with Embedded System (20)

Ijetae 0312 24
Ijetae 0312 24Ijetae 0312 24
Ijetae 0312 24
 
Tms320f28379D microcontroller
Tms320f28379D microcontroller Tms320f28379D microcontroller
Tms320f28379D microcontroller
 
Classification of electric motors
Classification of electric motors Classification of electric motors
Classification of electric motors
 
Comparison of dc motor speed control performance using fuzzy logic and model ...
Comparison of dc motor speed control performance using fuzzy logic and model ...Comparison of dc motor speed control performance using fuzzy logic and model ...
Comparison of dc motor speed control performance using fuzzy logic and model ...
 
Session outline eb, plc, scada & ac drive
Session outline eb, plc, scada & ac driveSession outline eb, plc, scada & ac drive
Session outline eb, plc, scada & ac drive
 
AN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATION
AN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATIONAN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATION
AN ACTIVE PFC WITH FLYBACK DESIGN FOR INTELLIGENCE IN STREET LIGHT APPLICATION
 
Research Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and ScienceResearch Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and Science
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...
 
DC motor controlling
DC motor controllingDC motor controlling
DC motor controlling
 
Poster
PosterPoster
Poster
 
JMC Micro-Control White Paper
JMC Micro-Control White PaperJMC Micro-Control White Paper
JMC Micro-Control White Paper
 
Pc mouse operated electrical load control using vb application
Pc mouse operated electrical load control using vb applicationPc mouse operated electrical load control using vb application
Pc mouse operated electrical load control using vb application
 
Dc motor speed control with the presence of input disturbance using neural ne...
Dc motor speed control with the presence of input disturbance using neural ne...Dc motor speed control with the presence of input disturbance using neural ne...
Dc motor speed control with the presence of input disturbance using neural ne...
 
Self-Tuning Fuzzy PID Design for BLDC Speed Control
Self-Tuning Fuzzy PID Design for BLDC Speed ControlSelf-Tuning Fuzzy PID Design for BLDC Speed Control
Self-Tuning Fuzzy PID Design for BLDC Speed Control
 
Real Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital PlatformReal Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital Platform
 
Design of a discrete PID controller based on identification data for a simsca...
Design of a discrete PID controller based on identification data for a simsca...Design of a discrete PID controller based on identification data for a simsca...
Design of a discrete PID controller based on identification data for a simsca...
 
Advancements in Programmable DC Power Supply for Efficient Power Delivery in ...
Advancements in Programmable DC Power Supply for Efficient Power Delivery in ...Advancements in Programmable DC Power Supply for Efficient Power Delivery in ...
Advancements in Programmable DC Power Supply for Efficient Power Delivery in ...
 
Dp32725728
Dp32725728Dp32725728
Dp32725728
 
Power Semiconductor Device Simulation Research Projects
Power Semiconductor Device Simulation Research Projects  Power Semiconductor Device Simulation Research Projects
Power Semiconductor Device Simulation Research Projects
 
Report pid controller dc motor
Report pid controller dc motorReport pid controller dc motor
Report pid controller dc motor
 

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 

Power Electronics with Embedded System

  • 1. Power Electronics using Embedded System
  • 2. Power Electronics using Embedded System Agenda Day 1 Introduction to Proteus Mixed Simulation & PIC CCS C Compiler Built-in Functions of PIC CCS C Compiler Implementing ZCD Hardware Circuit in Proteus & Simulation Zero Crossing Detection of AC Waveform using PIC Micro Theory behind TRIAC based AC Motor Control Circuit & Software Simulation in Proteus Actual Hardware Implementation using 18F4620 Day 2 Theory behind Converter based DC Motor Control Circuit & Software Simulation in Proteus Actual Hardware Implementation using 18F4620 Question / Queries Session
  • 3. Power Electronics using Embedded System Introduction to Proteus Mixed Simulation System Components ISIS Schematic Capture - an easy to use yet extremely powerful tool for entering your schematic designs. ARES PCB Layout - high performance PCB design system with automatic component placer, rip-up and retry auto-router and interactive design rule checking. VSM - Virtual System Modeling lets you co-simulate embedded software for popular micro-controllers alongside your hardware design
  • 4. Power Electronics using Embedded System Schematic Capture
  • 5. Power Electronics using Embedded System ARES PCB Layout
  • 6. Power Electronics using Embedded System VSM - Virtual System Modeling
  • 7. Power Electronics using Embedded System PIC CCS C Compiler Features of C programming C is a portable language intended to have minimal modification when transferring programs from one computer to another. The main program flow will basically remain unchanged, while the various setup and port/peripheral control will be micro specific. An example of this is the port direction registers on a PIC micro MCU are set 1=Input 0=Output, whereas the H8 is 0=Input and 1=Output.
  • 8. Power Electronics using Embedded System PIC CCS C Compiler CSS C IDE Interface.
  • 9. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 10. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 11. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 12. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 13. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 14. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 15. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 16. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 17. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 18. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 19. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 20. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 21. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 22. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 23. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 24. Power Electronics using Embedded System PIC CCS C Compiler Functions
  • 25. Power Electronics using Embedded System
  • 26. Power Electronics using Embedded System PIC CCS C Compiler Example of LED Blinking #include "led_blinker.h" #define LED PIN_C0 void main() { set_tris_c(0xfe); while(1) { output_high(LED); delay_ms(500); output_low(LED); delay_ms(500); } } LED WILL BE ON & OFF ALTERNATELY WITH 500ms INTERVAL
  • 27. Power Electronics using Embedded System PIC CCS C Compiler & Proteus Simulation Example of LED Blinking
  • 28. Power Electronics using Embedded System PIC CCS C Compiler NOW, ITS YOUR TASK TO REWRITE THE SAME CODE WITH TOGGLE FUNCTION TIME – WITHIN 10 MINUTES HINT – USE FUNCTION “output_toggle(pin)”
  • 29. Power Electronics using Embedded System PIC CCS C Compiler ASSIGNMENT GENARATE 1kHz SQUARE WAVE WITH 20% DUTY CYCLE TIME – WITHIN 10 MINUTES
  • 30. Power Electronics using Embedded System PIC CCS C Compiler ASSIGNMENT WRITE PROGRAM TO IMPLEMENT THE FOLLOWING LOGIC OPERATION TIME – WITHIN 10 MINUTES
  • 31. Power Electronics using Embedded System Proteus Simulation ASSIGNMENT – IMPLEMENT THE ZCD CIRCUIT BELOW AND STUDY THE WAVE FORM AT PB0 AND JUNCTION OF R8 & R9
  • 32. Power Electronics using Embedded System TRIAC + MCU Based FAN Regulator Zero Crossing Detector
  • 33. Power Electronics using Embedded System TRIAC + MCU Based FAN Regulator TRIAC FIRING CIRCUIT
  • 34. Power Electronics using Embedded System TRIAC + MCU Based FAN Regulator TRIAC FIRING CIRCUIT
  • 35. Power Electronics using Embedded System TRIAC + MCU Based FAN Regulator ZCD DETECTION & TRIAC FIRING PULSE GENERATION FIRING PULSE OUTPUT ZCD PULSE INPUT SPEED INCR SW SPEED DECR SW
  • 36. Power Electronics using Embedded System TRIAC + MCU Based FAN Regulator ZCD DETECTION & FIRING PULSE GENERATION PROGRAM EXTERNAL INTERRUPT
  • 37. Power Electronics using Embedded System TRIAC + MCU Based FAN Regulator SPEED INCREMENT / DECREMENT PROGRAM INPUT SWITCH SACN
  • 38. Power Electronics using Embedded System TRIAC + MCU Based FAN Regulator SPEED INCREMENT / DECREMENT PROGRAM SPEED INCREMENT
  • 39. Power Electronics using Embedded System TRIAC + MCU Based FAN Regulator SYSTEM INITIALIZATION PROGRAM SYSTEM INITIATE
  • 40. Power Electronics using Embedded System FULL WAVE HALF CONVERTER Zero Crossing Detector
  • 41. Power Electronics using Embedded System FULL WAVE HALF CONVERTER Zero Crossing Detector
  • 42. Power Electronics using Embedded System FULL WAVE HALF CONVERTER Controller Unit Input ZC Signal to RB0 SCR Firing Pulses Power Decrement Switch Power Increment Switch
  • 43. Power Electronics using Embedded System ZCD DETECTION & FIRING PULSE GENERATION PROGRAM EXTERNAL INTERRUPT FULL WAVE HALF CONVERTER Variable delay “dly”
  • 44. Power Electronics using Embedded System ZCD DETECTION & FIRING PULSE GENERATION PROGRAM SWITCH SCAN FULL WAVE HALF CONVERTER Variable delay “dly”
  • 45. Power Electronics using Embedded System ZCD DETECTION & FIRING PULSE GENERATION PROGRAM SYSTEM INIT & MAIN PROGRAM FULL WAVE HALF CONVERTER
  • 46. Power Electronics using Embedded System Question & Answer
  • 47. Power Electronics using Embedded System