| Author | Message | 
    
  
    | sparkey 
  Senior Member
 
  Joined: 15/06/2011
 Location: AustraliaPosts: 819
 | 
      
        | Posted: 09:56pm 16 Aug 2011 |  Copy link to clipboard |   Print this post | 
                                               |  ok  where to start:i have  the "SM1" by tctek..from :"don". connected to the breadboard from hamfeild .. running a twelve volt plug pack 500ma..on the breadbord is a 4013 cmos  running as a "d-type-flipflop" connected via  500 ohm resistors to the base`s of two "bc-549" the voltage rail is  from the 5 volt reg  conneted to the collectors  and the cmos chip.. the emmitters have 200 ohm resistors then connected to two "tip-31`c"..in darlington formation.. then connected to the  bases of two banks of 7 X "2n3055`s the collectors  r conected to the the centre tapped transformer  with the centre tap connected to the positive supply ...the emmitters are connected to the negative suppl rail  ....also from the supply  negative is connected to the grnd of the breadbord  ...think that wraps up the hardwhare ,,...
 
 ::the soft whare was supplied by  "seco61-gerard " the software program
 
 ::also you will need the  sorce code to run this  "supplied by gerard as well
 
 ::freq adjustable  between 1-5000 Hz
 
 ::mark-space-ratio adjustment  in a percentage between  0-100 percent
 
 :: it has a volt meter to  monitor the battery voltages
 
 :all these values are displayed in text  form on the  screen and allowing  for real time adjustment of frequency and  mark space ratio   :::
 
 :thanks to "altro  for winding me a 64v centre tapped transformer at 400 va::
 :thanks to altronics for the  passive and active components  and that just about wraps that up  at the moment it is taking up the whole  kitchen table   and i have a  4 teer  rack mount to house it in with a 25 amp ammeter ...
 
 :it runs a modified squarewave sort of looks like a  square wave but has a step in each slope...
 
 :::: sparkey::::Edited by sparkey 2011-08-18
 technicians do it with least resistance
 | 
  
    |  | 
  
    
  
    | haiqu 
  Senior Member
 
  Joined: 30/07/2011
 Location: AustraliaPosts: 152
 | 
      
        | Posted: 08:24am 17 Aug 2011 |  Copy link to clipboard |   Print this post | 
                                               |  What are you driving with this thing, motors or something?
 
 Rob
 
 unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 | 
  
    |  | 
  
    
  
    | sparkey 
  Senior Member
 
  Joined: 15/06/2011
 Location: AustraliaPosts: 819
 | 
      
        | Posted: 08:45am 17 Aug 2011 |  Copy link to clipboard |   Print this post | 
                                               |  my stereo ,my heater,my tv,my computer etc,.....oh i have a 1000 va transformer for it as well but finding that i dont need that  much grunt ......un less i want to run the washing machine .....with power factor caps all can be achived....
 
 :now the maxi and the breadboard are all fitted up and running finally  ahhh...Edited by sparkey 2011-08-19
 technicians do it with least resistance
 | 
  
    |  | 
  
    
  
    | VK6MRG 
  Guru
 
  Joined: 08/06/2011
 Location: AustraliaPosts: 347
 | 
      
        | Posted: 07:17am 19 Aug 2011 |  Copy link to clipboard |   Print this post | 
                                               |  So an inverter?
 Its easier to ask forgiveness than to seek permission!
 
 ............VK6MRG.............VK3MGR............
 | 
  
    |  | 
  
    
  
    | sparkey 
  Senior Member
 
  Joined: 15/06/2011
 Location: AustraliaPosts: 819
 | 
      
        | Posted: 04:21am 20 Aug 2011 |  Copy link to clipboard |   Print this post | 
                                               |  well last nite i had the maxi inverter running for a solid six hours playing my  tunes  running my 5000  rebuild with exicons  and my uld subby 400 watt  and also my computer ...atm  i am just running my computer  ...the maxi inverter is running  a tc-tec SM!   i am waiting for the parts for the  R_T_C so hopefully i will be able to also dispay up time on the screen  it also has a  voltmeter that i put a voltage divider  of a ten k pot the unit atm is running straight of my solar panels of corse they are connected to batterys  but the centre zero ammeter is sitting at  zero...regards sparkey ..you cant stop progress ..
 technicians do it with least resistance
 | 
  
    |  | 
  
    
  
    | sparkey 
  Senior Member
 
  Joined: 15/06/2011
 Location: AustraliaPosts: 819
 | 
      
        | Posted: 08:33am 20 Aug 2011 |  Copy link to clipboard |   Print this post | 
                                               |  the lunar module has been repaird  well its off to the moon next ...cheers don...
 
 well i have added a twist to the output of the  switching cct i have modded the  bread board with a lm317t and am running in to it with 18 volts ... the 317 is powering the two output transistor arrays  each  containing a bc549 and a....... tip 31c ...then a couple of 39 ohm resistors ..the cmos chip is running of the 3.3 volt rail  the lm317 will prolly need a larger heat sink as it gets quite warm when it`s resisting a heap of current that is comming from  a lm317t  ...ok the power suplly  goes 38 volts input to a lm317t bolted to the case of the rackmount alloy then it drops the voltage down to 18 volts  then thast is fed into  a tip31c  good for 40 watts  ithink of hand out to the bread board  input  rail the  regulators can handle high voltage but can only  give 1 amp out max ..except for the 317t which is 1.5 amps hence  ..in that you  have the latest i may add a op amp between the  cmos and the transistor array   not shure yet  the bread board is not that big  i will get another  board for it in my next order from rohan ....Edited by sparkey 2011-08-22
 technicians do it with least resistance
 | 
  
    |  | 
  
    
  
    | sparkey 
  Senior Member
 
  Joined: 15/06/2011
 Location: AustraliaPosts: 819
 | 
      
        | Posted: 02:24am 24 Aug 2011 |  Copy link to clipboard |   Print this post | 
                                               |  also i would like to note that  u need to have a switch on the two out puts of the  switching cct as  it tends to float around  on the out puts from the chip...giving time for the maxi to boot up.. and run the  autorun program ..then when the   program  is running switch the  out put from the  switching cct into action   this may well be a design fault on my behalf but if you dont  do this it will blow your  switching transistors every time
 technicians do it with least resistance
 | 
  
    |  | 
  
    
  
    | sparkey 
  Senior Member
 
  Joined: 15/06/2011
 Location: AustraliaPosts: 819
 | 
      
        | Posted: 10:09am 28 Aug 2011 |  Copy link to clipboard |   Print this post | 
                                               |  ok i`m getting  itchy i am going to   replace the 2n3055`s with "exicon "  "n- type fets "
 
 ::and do a cct redesign  got my electronic text books of the shelf "edwards and  myer  for a start  ...they have some sample basic  ccts ...regards will keep  every body posted on how this comes out  got all the hardwhare so see if this makes a  differenc4e... oh  yes it  is running  atm with the 3055`s
 technicians do it with least resistance
 | 
  
    |  | 
  
    
  
    | sparkey 
  Senior Member
 
  Joined: 15/06/2011
 Location: AustraliaPosts: 819
 | 
      
        | Posted: 10:59am 28 Aug 2011 |  Copy link to clipboard |   Print this post | 
                                               |  well it looks like i am going to put a relay  time up cct accross the out put...giving time for the maxi to load the  signal generator program so that  the  relay kick`s in about 3 seconds after power is applied ... ive tried  eathing resistors on the out put of the  pre driver transistors but still  having a problem and as for the mosfets well i think that the cct will have to be much more advanced than  i thought  so that`s the that  on that point regards sparkey...
 technicians do it with least resistance
 | 
  
    |  | 
  
    
  
    | sparkey 
  Senior Member
 
  Joined: 15/06/2011
 Location: AustraliaPosts: 819
 | 
      
        | Posted: 12:02pm 05 Sep 2011 |  Copy link to clipboard |   Print this post | 
                                               |  modified code  that  gerard wrote from sparkey i`m trying to do it ....
 
 
 5  'initialise I/O pins
 10  voltpin = 1 'set analog voltage input pin (can be 1 - 10)
 15  voltpin = 2 'set analog voltage input pin (can be 1 - 10)
 20  voltpin = 3 'set analog voltage input pin (can be 1 - 10)
 30  pwmpin = 8 'set the pwm output pin (can be 7 - 10)
 40  freq = 100 'set initial frequency to 100Hz (can be 1 - 5000)
 50  duty = 50 'set initial duty cycle to 50% (can be 0 - 100 in increments of 1)
 60  offset = 0 'use to adjust for any offset in analog input
 70  coefficient = 20 'use to scale the analog input
 80  tick_avg = 100 'number of analog voltage samples to average each second
 85  tick_flag = 0
 90  tick_cnt = 0
 95  DIM tick_array(tick_avg)
 100 SETPIN voltpin,1 'configure pin for analog input
 115 SETPIN pwmpin,10,freq,duty 'initiate PWM output
 120 SETTICK CINT(1000/tick_avg),1100 'set tick interrupt for tick_avg per second
 150 duty_str$ = "Enter duty cycle (0 - 100 for 0% - 100%), 'F' to change frequency or 'Q' to quit"
 160 freq_str$ = "Enter frequency (1 - 5000 for 1 - 5kHz), 'D' to change duty cycle or 'Q' to quit"
 200 CLS
 210 volt = offset + (PIN(voltpin) * coefficient)
 220 state = 1
 230 LOCATE 0,24 : ? "MAIN BUSS A v+ =";
 232 LOCATE 108,24 : ? FORMAT$(volt,"% .3fV  ");
 236 LOCATE 0,156 : ? "9 VOLT RAIL V+ =";
 240 REM LOCATE 108,156 : ? FORMAT$(volt,"% .3fV  ");
 244 LOCATE 0,196 : ? "5 VOLT RAIL V+ =";
 247 REM LOCATE 108,196 : ? FORMAT$(volt,"% .3fV  ");
 252 LOCATE 0,60 : ? "Running frequency =";
 255 LOCATE 114,60 : ? freq; "Hz    ";
 260 LOCATE 0,96 : ? "Mark space ratio =";
 262 LOCATE 108,96 : ? duty; "%   ";
 266 LOCATE 0,132 : ? duty_str$
 300 DO WHILE state > 0
 310   GOSUB 500
 320   IF state = 1 THEN
 330     IF number >= 0 AND number <= 100 THEN
 332       duty = number : SETPIN pwmpin,10,freq,duty
 334     ELSE
 336       GOSUB 900 : ? number; " - Invalid duty cycle!" : PAUSE(1000) : GOSUB 900
 338     ENDIF
 340   ELSEIF state = 2 THEN
 350     IF number >= 1 AND number <= 5000 THEN
 352       freq = number : SETPIN pwmpin,10,freq,duty
 354     ELSE
 356       GOSUB 900 : ? number; " - Invalid frequency!" : PAUSE(1000) : GOSUB 900
 358     ENDIF
 360   ENDIF
 370   LOCATE 102,24 : ? FORMAT$(volt,"% .3fV  ");
 375   LOCATE 114,60 : ? freq; "Hz    ";
 380   LOCATE 108,96 : ? duty; "%   ";
 390 LOOP
 395 SETPIN pwmpin,0
 399 END
 499 ' get number routine
 500 GOSUB 900
 510 DO WHILE 1
 512   IF tick_flag = 1 THEN
 514     tick_flag = 0
 516     LOCATE 108,156 : ? FORMAT$(volt,"% .3fv  ");
 520     LOCATE 108,196 : ? FORMAT$(volt,"% .3fv  ");
 521     LOCATE 108,156 : ? FORMAT$(volt,"% .3fv  ");
 522     LOCATE 102,24 : ? FORMAT$(volt,"% .3fV  ");
 523     LOCATE 114,60 : ? freq; "Hz    ";
 524     LOCATE 108,96 : ? duty; "%   ";
 525     LOCATE LEN(numstr$) * 6,144
 526   ENDIF
 528   inpkey$ = UCASE$(INKEY$)
 530   IF inpkey$ = "" THEN GOTO 520
 540   IF inpkey$ = "Q" THEN state = -1 : EXIT
 550   IF inpkey$ = "D" THEN
 551     LOCATE 0,132
 552     ? duty_str$
 553     state = 1
 554     GOSUB 900
 555     GOTO 520
 559   ENDIF
 560   IF inpkey$ = "F" THEN
 561     LOCATE 0,132
 562     ? freq_str$
 563     state = 2
 564     GOSUB 900
 565     GOTO 520
 569   ENDIF
 580   IF inpkey$ < "0"  OR inpkey$ > "9" THEN
 590     numlen = LEN(numstr$)
 600     IF ASC(inpkey$) = 13 THEN
 610       IF numlen = 0 THEN number = -1 ELSE number = VAL(numstr$)
 620       EXIT
 630     ELSEIF ASC(inpkey$) = 8 THEN
 640       IF numlen > 0 THEN
 650         IF numlen <> 1 THEN numstr$ = LEFT$(numstr$, numlen - 1) ELSE numstr$ = ""
 660         csr = (numlen - 1) * 6
 670         LOCATE csr,144 : ? " "; : LOCATE csr,144
 680       ENDIF
 690     ENDIF
 700   ELSE
 710     numstr$ = numstr$ + inpkey$
 720     ? inpkey$;
 730   ENDIF
 750 LOOP
 760 GOSUB 900
 799 RETURN
 899 ' clear input
 900 numstr$ = ""
 910 LOCATE 0,144
 920 ? SPACE$(80)
 930 LOCATE 0,144
 999 RETURN
 1099 ' settick interrupt routine
 1100 tick_cnt = tick_cnt + 1
 1110 tick_array(tick_cnt) = offset + (PIN(voltpin) * coefficient)
 1120 IF tick_cnt <> tick_avg THEN IRETURN
 1130 volt = 0
 1140 FOR i = 1 TO tick_avg
 1150  volt = volt + tick_array(i)
 1160 NEXT i
 1170 volt = volt / tick_avg
 1180 tick_cnt = 0
 1190 tick_flag = 1
 1199 IRETURN
 
 technicians do it with least resistance
 | 
  
    |  | 
  
    
  
    | sparkey 
  Senior Member
 
  Joined: 15/06/2011
 Location: AustraliaPosts: 819
 | 
      
        | Posted: 03:40pm 06 Sep 2011 |  Copy link to clipboard |   Print this post | 
                                               |  once again gerard saves the day all is good  "hewston we have lift off"""
 technicians do it with least resistance
 | 
  
    |  |