Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] AC Power Control with Thyristor: Phase Angle Control using triac with PIC16F877A

Status
Not open for further replies.

AtMega32

Junior Member level 3
Joined
Nov 11, 2013
Messages
30
Helped
2
Reputation
4
Reaction score
3
Trophy points
8
Activity points
277
i donno if i have posted this question in the right section,
I have got an assignment on phase angle control.
i have to make one simple phase angle control using thyristor (SCR or triac) with ATmega or PIC whatsoever is good. i just have to show the input sine waveform and the controlled output.

i was following this tutorial https://tahmidmc.blogspot.in/2013/06/power-control-with-thyristor-phase.html
the circuit diagram being used is this one
https://3.bp.blogspot.com/-lzbHcSMKWZE/Uc6xzKkln2I/AAAAAAAAAmI/sP6dL8h4ttY/s1500/circuit+diagram.pn5

that guy has nicely written and explained but the problem what i am getting is with simulation, while running the simulation i am getting this error, i donno how to fix that,
do i need to do some more initialization or configure any device i have used.

https://i.imgur.com/akv1kh8.png

i have taken the ac sine wave voltage signal value to be 200v, 50 hz,
PIC8F77A - processor clock frequency - 1 Mhz
Crystal frequency 4 Mhz.
Load resistance = 10 K ohm
i have uploaded hex code to PIC8F77A after compiling the c-code in MikroC Pro for PIC, at the time of compiling i have set the same clock frequency 1 Mhz, and generated the hex code.
i am not sure if i need to change something with optocoupler or MOC3021, please suggest if i need to configure some more thing or any other change

could somebody help me out with this one.
 

Many post on thyristor so please refer it. First check is controller working by making LED blinking for specific period say 500 ms using time then u confirm that controller & initialization part work okay then make ZCD code & according to ZCD interrupt fire thyrisotr
 

i have checked the code and it is fine, its detecting zero crossing but, when making the full circuit and running the simulation its giving "simulation error, time stamp too small"

even changed the simulation setting but no use, could you please help me solve it
 

For the input AC sine wave, use a low voltage AC for simulation purposes. High voltage AC signals generate errors in Proteus when doing phase angle control.

Regards,
Tahmid.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top