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.

thyristor rectifier design to controll speed of dc motor

Status
Not open for further replies.

Simpy Sanyal

Newbie level 1
Newbie level 1
Joined
Apr 18, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
15
I AM WORKING ON HARWARE DESIGN OF FULL WAVE FULL BRIDGE SCR RECTIFIER.I AM USING THIS CODEOF ARDUINO TO GENERATE FIRING PULSES


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
int inter=0;
int inter1=1;
double val;
double time;
double time1;
int a=0,b=0,angle;
void setup()
{
  noInterrupts();
  pinMode(9,OUTPUT);
  pinMode(10,OUTPUT);
 
  interrupts();
  attachInterrupt(inter,stateChange,RISING);
  attachInterrupt(inter1,stateChange1,FALLING);
 Serial.begin(9600);
}
 
void loop()
{
   val = analogRead(A0);
  angle=map(val, 0, 1023, 0, 180);
  Serial.println(angle);
  if (a==1)
  {val = analogRead(A0);
  val = map(val, 0, 1023, 0, 9);
  time=9-val;
  time1=val;
    digitalWrite(9,LOW);
   delay(time1);
   digitalWrite(9,HIGH);
   delay(time);
   digitalWrite(9,LOW);
   a=0;
  }
 
  if(b==1)
  {val = analogRead(A0);
  val = map(val, 0, 1023, 0, 9);
  time=9-val;
  time1=val;
    digitalWrite(10,LOW);
   delay(time1);
   digitalWrite(10,HIGH);
   delay(time);
   digitalWrite(10,LOW);
   b=0;
  }
}
 
 void stateChange()
 {
   a=1;
 }
 
   void stateChange1()
 {
   b=1;
 }



AT PIN 9 AND 10 IAM GETTING PUSES.AND THEN IAM FEEDING IT TO TLP250.I AM GETTING 12V APPROX FROM TLP CIRCUIT.NOW THE MAIN PROBLEM IS THYRISTOR ARE NOT GETTING TRIGGERED WHILE DURING TLP CIRCUIT DESIGN I HAVE TAKEN CARE OF MIN AND MAX GATE TRIGGERING INPUT CURRENT OF THYRISTOR.I NEED HELP URGENTLY.PLEASE HELP
 
Last edited by a moderator:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top