Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 19, 2024, 10:26:04 22:26


Login with username, password and session length


Pages: [1] 2 3 4 5
Print
Author Topic: SPOT WELDER WITH PIC16F88 tested - YOUTUBE video  (Read 21984 times)
0 Members and 1 Guest are viewing this topic.
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« on: April 04, 2010, 03:37:48 15:37 »

Spot Welder based on PIC 16F684 with LCD. The firmware is in PBP. Tested with Proteus. I am making the PCB in ORCAD now. When finished I will send pictures and samples. Any suggestion will be welcomed Smiley
« Last Edit: April 10, 2010, 10:00:18 10:00 by kalpakchiev » Logged

A known mistake is better than an unknown truth.
SuperDrive
Newbie
*
Offline Offline

Posts: 21

Thank You
-Given: 36
-Receive: 4


« Reply #1 on: April 04, 2010, 04:49:13 16:49 »

Nice project, i always want thing like this, waiting for your progress.

One of my interest: http://www.ultrakeet.com/index.php?id=article&name=cdWelder
Logged
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #2 on: April 04, 2010, 06:14:43 18:14 »

Firmware changed:
Added welding time MIN and MAX limit with display
Added welding voltage MIN and MAX limit with display
Logged

A known mistake is better than an unknown truth.
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4647

Thank You
-Given: 826
-Receive: 4207


There is no evidence that I muted SoNsIvRi


« Reply #3 on: April 04, 2010, 06:27:24 18:27 »

I think you need to add Green and Red Led's and a weld only button. in the workshop I see you set voltage and time then forget about settings, then you only need leds to say when you can weld, and then hit the start button.
Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #4 on: April 04, 2010, 06:37:19 18:37 »

Unfortunately there is no free I/O. But when the device is not ready LCD shows "CHARGING"(not ready) and when cap charged LCD shows "READY". When in working mode (MODE=1) LCD shows all the time selected TIME and VOLTAGE so operator can see current parameters. Also in working mode "UP" button works as "WELD" button and I am planing to connect an foot switch in parallel with "UP/WELD" button.
Another option is to  replace 16F684 with 16F88 for example which have more I/Os and then a buzzer and dedicated WELD button can be added.
Your opinion is highly appreciated.
« Last Edit: April 04, 2010, 07:04:20 19:04 by kalpakchiev » Logged

A known mistake is better than an unknown truth.
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4647

Thank You
-Given: 826
-Receive: 4207


There is no evidence that I muted SoNsIvRi


« Reply #5 on: April 04, 2010, 07:02:15 19:02 »

This would make a good plastic bag sealer project too. I would go for more I/O ports too, as using Just the LCD and not LEDS in the work place, would make it hard on operator in repeat operations.
Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #6 on: April 04, 2010, 07:07:12 19:07 »

Yes probably a bigger pic  will be better for this task - i will remake it for 16f88. Plastic bag welder is interesting idea
Logged

A known mistake is better than an unknown truth.
solutions
Hero Member
*****
Offline Offline

Posts: 1823

Thank You
-Given: 655
-Receive: 900



« Reply #7 on: April 04, 2010, 07:13:34 19:13 »

Unfortunately there is no free I/O. But when the device is not ready LCD shows "CHARGING"(not ready) and when cap charged LCD shows "READY". When in working mode (MODE=1) LCD shows all the time selected TIME and VOLTAGE so operator can see current parameters. Also in working mode "UP" button works as "WELD" button and I am planing to connect an foot switch in parallel with "UP/WELD" button.
Another option is to  replace 16F684 with 16F88 for example which have more I/Os and then a buzzer and dedicated WELD button can be added.
Your opinion is highly appreciated.

 No need for a bigger PIC - here's how to cheat and get three more pins (BTW, did you forget to pullup pins 11 & 12?)....

You can easily add LEDs and their pullup resistors to pins 4, 11, 12 of the uC. They will also come on when the button (or footswitch) is pushed (who cares if they do? may actually be a good thing to ack the button press...), but more importantly, when the button is not pushed, the uC can turn them on....you can also add a buzzer by simply putting the buzzer in as a load to VCC for the drain of a source-grounded FET and also attach it to one of these three pins along with a pullup.
« Last Edit: April 04, 2010, 07:25:48 19:25 by solutions » Logged
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #8 on: April 04, 2010, 07:29:08 19:29 »

But to use leds i have to make the  I/O an output and then to turn on LED in this time I can miss a press of button Am I right or I miss something. Using diodes I can add buzzer find attached file. Best regards
Logged

A known mistake is better than an unknown truth.
solutions
Hero Member
*****
Offline Offline

Posts: 1823

Thank You
-Given: 655
-Receive: 900



« Reply #9 on: April 04, 2010, 07:39:09 19:39 »

One more observation - how are you limiting the current through the second FET?  Through its Rdson? Counting on the load resistance of the metal being welded?

I get 3700 amps at 24V, assuming a dead short for the weld resistance, and the IRL1004 is only rated for 520 amps...

I think you might need a power choke and its snubber diode in there to current limit the cap dump into the short that is the load (when spot welding copper for instance...)

Posted on: April 04, 2010, 08:37:52 20:37 - Automerged

But to use leds i have to make the  I/O an output and then to turn on LED in this time I can miss a press of button Am I right or I miss something. Using diodes I can add buzzer find attached file. Best regards
You can pulse the LEDs, say 1000Hz, 50% DC, and look at button presses when they are dark - you won't miss a thing.
Logged
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #10 on: April 04, 2010, 07:45:11 19:45 »

i will try it in 10 minutes
Logged

A known mistake is better than an unknown truth.
solutions
Hero Member
*****
Offline Offline

Posts: 1823

Thank You
-Given: 655
-Receive: 900



« Reply #11 on: April 04, 2010, 07:49:20 19:49 »

Same trick for the FET/buzzer ad reading the buttons, only a very low positive duty cycle for the buzzer to keep it from being audible yet allowing a read of the button at that time to see if it is grounding the FET gate pullup.  You have the option of a quick buzz in firmware using the fet on button presses versus an annoying buzz as long as the button is pressed using the diodes you've shown.  Can't buzz while button is pressed, though.  This one's up to you, of course.

Dibs on a blank board if you found all this useful :-)
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 833

Thank You
-Given: 312
-Receive: 392



WWW
« Reply #12 on: April 04, 2010, 08:00:46 20:00 »

Some thoughts:

1. No need to use high amperage mosfet for charging the cap.
2. Gate driver need to be modified, pnp transistor will be better.
3. Better put the electrode on the Drain not Source.
4. Wiring + contact resistant will be very important, at 24V 0.1 ohm resistance will limit the peak current to 240A.

-ichan
Logged

There is Gray, not only Black or White.
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #13 on: April 04, 2010, 09:37:06 21:37 »

One more observation - how are you limiting the current through the second FET?  Through its Rdson? Counting on the load resistance of the metal being welded?

I get 3700 amps at 24V, assuming a dead short for the weld resistance, and the IRL1004 is only rated for 520 amps...

I think you might need a power choke and its snubber diode in there to current limit the cap dump into the short that is the load (when spot welding copper for instance...)

Posted on: April 04, 2010, 08:37:52 20:37 - Automerged

You can pulse the LEDs, say 1000Hz, 50% DC, and look at button presses when they are dark - you won't miss a thing.

Capacitor charge voltage is limited by firmware to 15V and I hope that resistance of wires and material will be enough to limit the current but if this is not enough I will have to pare two transistors in parallel.

Posted on: April 04, 2010, 10:32:32 22:32 - Automerged

Some thoughts:

1. No need to use high amperage mosfet for charging the cap.
2. Gate driver need to be modified, pnp transistor will be better.
3. Better put the electrode on the Drain not Source.
4. Wiring + contact resistant will be very important, at 24V 0.1 ohm resistance will limit the peak current to 240A.

-ichan
1. I have a lot of them and it is easy for me to use one
2. You are right , I will change it
3. And again You are right , I will change it
4. Voltage is 15V and I think that I will manage to reduce resistance using proper wires
Many thanks for advice
Logged

A known mistake is better than an unknown truth.
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4647

Thank You
-Given: 826
-Receive: 4207


There is no evidence that I muted SoNsIvRi


« Reply #14 on: April 04, 2010, 10:08:17 22:08 »

if you have a good supply of mosfets use one as power resistor in place of 0.1 ohm
Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #15 on: April 04, 2010, 10:23:34 22:23 »

if you have a good supply of mosfets use one as power resistor in place of 0.1 ohm
But this 0.1R resistor is only for simulation in Proteus. In real life it will be formed by wires and resistance of material which is being welded.
« Last Edit: April 12, 2010, 12:48:23 00:48 by kalpakchiev » Logged

A known mistake is better than an unknown truth.
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #16 on: April 05, 2010, 12:28:55 00:28 »

updated with leds and piezo
Logged

A known mistake is better than an unknown truth.
Ichan
Hero Member
*****
Offline Offline

Posts: 833

Thank You
-Given: 312
-Receive: 392



WWW
« Reply #17 on: April 05, 2010, 06:45:05 06:45 »

I am proposing the circuit below for the gate driver, Q1 need to have Ic >= 2A, low ohm resistor (< 10 ohm) might be needed between this driver to the gate of the mosfet. On your original driver, the turn on time of the mosfet will be very slow, as the Gate-Source capacitance will be charged via 10 K ohm resistor.

-ichan
Logged

There is Gray, not only Black or White.
solutions
Hero Member
*****
Offline Offline

Posts: 1823

Thank You
-Given: 655
-Receive: 900



« Reply #18 on: April 05, 2010, 06:52:33 06:52 »

I am proposing the circuit below for the gate driver, Q1 need to have Ic >= 2A, low ohm resistor (< 10 ohm) might be needed between this driver to the gate of the mosfet. On your original driver, the turn on time of the mosfet will be very slow, as the Gate-Source capacitance will be charged via 10 K ohm resistor.

-ichan
If you want to be totally anal about it, a push pull would be better - now your turnoff has to charge with your R5.  You flipped the problem over, but still have the same gate cap charge problem, but now in discharge....

Real men use FETs, also....

 Grin
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 833

Thank You
-Given: 312
-Receive: 392



WWW
« Reply #19 on: April 05, 2010, 07:45:20 07:45 »

Fast turn off is not required in this case - slow would be better, IMHO.

-ichan
« Last Edit: April 05, 2010, 08:02:37 08:02 by Ichan » Logged

There is Gray, not only Black or White.
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #20 on: April 05, 2010, 09:15:53 09:15 »

Which one is the best for this case Huh
Logged

A known mistake is better than an unknown truth.
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #21 on: April 05, 2010, 10:36:40 10:36 »

 Huh According to PDF IRL1004 is LOGIC-LEVEL GATE DRIVE so it can be operated by PIC without driver or it is better to use microchip's driver like TC4422 or TC4427?
Logged

A known mistake is better than an unknown truth.
solutions
Hero Member
*****
Offline Offline

Posts: 1823

Thank You
-Given: 655
-Receive: 900



« Reply #22 on: April 05, 2010, 10:34:21 22:34 »

Huh According to PDF IRL1004 is LOGIC-LEVEL GATE DRIVE so it can be operated by PIC without driver or it is better to use microchip's driver like TC4422 or TC4427?

It's really a matter of how much current your output buffers, or transistors, can drive into and out of the Qg of the device that determines the speed.  It'll get to logic level eventually, but as you transition slowly through the triode region, things may get rather toasty for the FET (think about even a few, let alone tens of, ohms times 500+ amps...).  Ichan and I both expressed concerns about doing this via the 10k resistors, as the RC time constant for turnon (or off....) may cook your FETs.

Posted on: April 05, 2010, 11:28:41 23:28 - Automerged

Which one is the best for this case Huh
I like Driver 1, though I think you may need some bleeder current/bias resistors (maybe equal valued ones from the gate of the Fet, one to gnd, and one to Vcc) to make your bipolars happy during steady state.
Logged
Malcolm
Active Member
***
Offline Offline

Posts: 206

Thank You
-Given: 632
-Receive: 295


« Reply #23 on: April 06, 2010, 06:43:35 06:43 »

Driver-1-Gate Drove is best.
Same method used to drive Mosfets in a PWM-EDM power Supply
Logged
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #24 on: April 06, 2010, 09:00:38 09:00 »

"Single pulse" and "Double pulse" added. In work mode (MODE=1) UP button switches to Single mode, DOWN button switches in Double mode.

Today I have to buy the capacitor. Does somebody have a rough idea what will be the max thickness of welded material with 1F capacitor or I should go to 2F or 4F?

Posted by: Malcolm
Insert Quote
Driver-1-Gate Drove is best.
Same method used to drive Mosfets in a PWM-EDM power Supply

I am going to try both DRIVER1 and TC4422 chip when I have the capacitor
« Last Edit: April 06, 2010, 09:04:06 09:04 by kalpakchiev » Logged

A known mistake is better than an unknown truth.
Pages: [1] 2 3 4 5
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC