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 microcontroller based UPS ?

Status
Not open for further replies.

ITP

Advanced Member level 4
Joined
Jul 11, 2001
Messages
116
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
1,134
microcontroller based ups

Hi all,

I would like to design a PIC microcontroller based UPS ( 230V, 500VA, square wave output).

Kindly suggest a microcontroller from PIC family for this design. If you have got any usefull links or any other information on this topic please share.

Please note that I am new to UPS and a beginner of PIC, so watever information you give will be valuable to me.


Thanks in advance.
Regards
Itp
 

visioneer

Full Member level 1
Joined
Jan 6, 2002
Messages
98
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,072
pic ups

ITP said:
Hi all,

I would like to design a PIC microcontroller based UPS ( 230V, 500VA, square wave output).

Kindly suggest a microcontroller from PIC family for this design. If you have got any usefull links or any other information on this topic please share.

Please note that I am new to UPS and a beginner of PIC, so watever information you give will be valuable to me.


Thanks in advance.
Regards
Itp


Follow the link

**broken link removed**
 

ITP

Advanced Member level 4
Joined
Jul 11, 2001
Messages
116
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
1,134
picref-1

Hi all,

I request your kind guidance on a project on PIC16C72 based UPS.

I have decided the spec. for my UPS as, 230V, 500VA, 50Hz square wave out, Offline.

I think the following functions are to be implemented.

50Hz PWM
Calculate the PI and update PWM
Monitor the Battery voltage
Monitor AC power line
Charging the battery
Serial interface for calibration

I have recently downloaded salvo lite from its website. Will it be ok to use such an RTOS for implementing these functions?

I am not asking you to share any code you have developed. But please give some suggestions and advice to start this project confidently.

I have all the development tools required for Microchip PIC microcontroller based system development.

Thanks and Regards
Itp
 

abb652

Member level 1
Joined
Jun 6, 2003
Messages
37
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Uruguay
Activity points
342
ups pic

Look this App Note from Microchip.

PICREF-1, Lit. Number 30450c

It is a PIC17 based UPS.
 

Tornado

Full Member level 3
Joined
Apr 26, 2002
Messages
167
Helped
11
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,265
ups microcontroller

Visioneer points to another topic from Upol member who is asking the
exact same requirements, so I suggest to move to one topic so we
can assist you both in the design of that UPS, it seems to me like a
school project. Is it? In this case we have to help you guys with 2
different designs, yes that's possible by using different ferrite
tranformers and drive circuits.

Regards
Tornado
 

bimbla

Advanced Member level 1
Joined
Jul 13, 2001
Messages
419
Helped
23
Reputation
46
Reaction score
8
Trophy points
1,298
Activity points
3,608
microcontroller based sine wave inverter

Type PICREF-1 and PICREF2 in the Microchip site search.

These are designs for UPS and Intelligent Battery charger.

They look complicated, but are state of the art. The documentation will give you the bnasic theory and much more.

bimbla.
 

Tornado

Full Member level 3
Joined
Apr 26, 2002
Messages
167
Helped
11
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,265
pic basic examples for ups battery charger

Yes I agree, but they use hard to find parts, so let these guys tell us
what they need, UPOL asked me for a square wave output, which is
easier to implement, at my work place we design a UPS with 3300VA
sine wave output, and takes very costly components to filter that
PWM output and many feedback loops for current, voltage and
current phase correction. So let's keep it simple here.

Tornado
 

Tornado

Full Member level 3
Joined
Apr 26, 2002
Messages
167
Helped
11
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,265
microcontroller based sine wave generator

Here is a link to start with some basics:

h**p://www.pcguide.com/ref/power/ext/ups/funcOutput-c.html

Tornado
 

bimbla

Advanced Member level 1
Joined
Jul 13, 2001
Messages
419
Helped
23
Reputation
46
Reaction score
8
Trophy points
1,298
Activity points
3,608
microcontroller for ups

Hello Tornado,

ust for the sake of the topic, Single chip ups can be implemented using Motorola DSP56F80X or TI 320C420. Such solutions include all: battery charger, PFC, inverter and fault management.
If you have worked on any such advanced platform, let me know.

bimbla.
 

Tornado

Full Member level 3
Joined
Apr 26, 2002
Messages
167
Helped
11
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,265
microcontroller mains sense

Yes DSPs from Texas are good, but for ITP and UPOL they need something simple with square wave output and PIC MCU, now
I write some code for the output stage, later I will add some
feedback/protection OVP/UVP and OCP.

Tornado
 

ITP

Advanced Member level 4
Joined
Jul 11, 2001
Messages
116
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
1,134
ups con pic

Hi Tornado,

Thank you verymuch for your willingness to help us. I mainly interested on the software aspect of this project.

Thanks and Regards
Itp
 

richmon74

Advanced Member level 4
Joined
May 3, 2002
Messages
118
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,298
Location
Nigeria
Activity points
795
microcontroller based ups circuit

i think this could also help **broken link removed**
 

upol

Newbie level 5
Joined
Dec 2, 2001
Messages
9
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
168
ups microprocessor based difference

ok i have gone through the pages..Hope ITP had gone through it as well. Now, Tornado...Please go to the next lesson. What to do next?
 

Tornado

Full Member level 3
Joined
Apr 26, 2002
Messages
167
Helped
11
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,265
pic battery charger stage

I have assembled the code from this site, next I will simulate it
to check the input-output functions, the code is written for PIC16C84,
I have to modify for for a PIC with internal ADC and add routines for battery charge.

Tornado
 

Tornado

Full Member level 3
Joined
Apr 26, 2002
Messages
167
Helped
11
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,265
ups with pic

OK guys, what about starting with the battery charger, that means
you have to get a transformer 230V>24V@500mA, a bridge rectifier
and other parts, so ITP and UPOL are you ready? Next post I will
have the parts list ready.

Tornado
 

upol

Newbie level 5
Joined
Dec 2, 2001
Messages
9
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
168
pic16f628-based ups

are we connecting the two 12V battery in series??
or it is a 12-0-12 CT transformer. If we are working with a 12V battery(2 Battery in parallel) then the transformer of the charging circuit should be 12V...please clear my confusion...
thanks & regards
 

Tornado

Full Member level 3
Joined
Apr 26, 2002
Messages
167
Helped
11
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,265
pic based ac mains projects

are we connecting the two 12V battery in series??
or it is a 12-0-12 CT transformer. If we are working with a 12V battery(2 Battery in parallel) then the transformer of the charging circuit should be 12V...please clear my confusion...
thanks & regards

When we charge a lead acid battery we use a constant current source,
across the battery we get a variable voltage but we pass a stable
current thru. Now we need higher voltage in order to pass that current
because the internal battery resistance is increasing more and more
as it's discharging. When battery reaches full charging voltage point
we switch to trickle charge (just a small amount of current to keep
the battery charged). I hope that is simple enough.

OK 2x12V it's fine we use it as 24V

Tornado
 

upol

Newbie level 5
Joined
Dec 2, 2001
Messages
9
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
168
microcontroller base ups

Now i understand tornado. Thanks. U can now proceed to the next section. I am done with this transformer 12v-0-12v with a capacity of 1A.
 

Tornado

Full Member level 3
Joined
Apr 26, 2002
Messages
167
Helped
11
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,265
pic based battery charger

Hi Upol, do you have the batteries? If you do can you look for
the specs: capacity, charging current, type and so.

Tornado
 

upol

Newbie level 5
Joined
Dec 2, 2001
Messages
9
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
168
dc to ac microcontroller based ups circuit code

My 12v Dc battery Specification..
12V/7AH/20H
Carging Voltage...14.5 - 15.0 v
Nominal Voltage...13.5 - 13.8 v
Charging current ..<2.1A
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top