SLG3000 Scanline Generator performs

Started by bigsanta, March 07, 2011, 05:28:19 AM

Previous topic - Next topic

bigsanta

SLG3000 Scanline Generator Review and Demo
He's got a few good videos covering a few bits and bobs ,cga to vga scaler and the like.For me ,xrgbs aren't need now.

NeWmAn


The SLG3000 costs 49Euro, but  a clever Korean found a way to do the same thing for a few cents  ;D




It's only missing the 3 trimmers to adjust the level.


The author of the discovery is Sharksym, and his webpage with photos is here:
http://sharksym.egloos.com/4930096


bigsanta

#2
AWESOME !
The capacitors on each ic,are they just smoothing/bypass ones?

hellbelly

Has anyone on here tried the DIY scanline generator yet?

hellbelly

#4
Parts arrived today to do the DIY Scanline mod.  I knocked it up but I don't have my RGB to VGA scaler yet.  So here's a quick screenshot with my Dreamcast outputting VGA (couldn't find the best game to show it off either!)







SignOfZeta

Well, that looks pretty great. It bet it would go well with Street Fighter III.

With the scanlines being non-adjustable...what is the theory here? Would they default to something like "max" on an SLG3000? If so, that's perfect since that's where I'd leave it anyway. From the image though they look like they could be a bit thicker for my tastes...

I'll have to get some parts and try this.

hellbelly

Just added the DIY job to a cheap upscaler, I really like it

 

bigsanta

Quote from: ニユ-マン on March 22, 2011, 04:50:59 AM

The SLG3000 costs 49Euro, but  a clever Korean found a way to do the same thing for a few cents  ;D




It's only missing the 3 trimmers to adjust the level.


The author of the discovery is Sharksym, and his webpage with photos is here:
http://sharksym.egloos.com/4930096


Something i've never asked ,but exactly how are the ICs making the black scan lines .How's it done ?

NeWmAn


IC1A changes state with every HSync pulse, so one line is untouched and the next one is blanked (or vice-versa).
The switch (S1) selects if the blanking circuit (IC2) has to erase the even or the odd lines.
When IC2 is active the RGB lines are grounded and you see a black line.

Quote from: SignOfZeta on April 09, 2011, 03:32:15 AM
Would they default to something like "max" on an SLG3000?
Yes

Quote
From the image though they look like they could be a bit thicker for my tastes...

You can't have thicker scanlines with this method, you are already discarding 50% or your image...


Tiido Priimägi

Haha, the simple scanline generator is so ingenious :D
Mida sa loed ? Nagunii aru ei saa ;)

bigsanta

Unused inputs on the 7474 should be tied high or low,don't leave them floating.

bigsanta

Quote from: ニユ-マン on May 24, 2011, 02:37:41 AM

IC1A changes state with every HSync pulse, so one line is untouched and the next one is blanked (or vice-versa).
The switch (S1) selects if the blanking circuit (IC2) has to erase the even or the odd lines.
When IC2 is active the RGB lines are grounded and you see a black line.

Quote from: SignOfZeta on April 09, 2011, 03:32:15 AM
Would they default to something like "max" on an SLG3000?
Yes

Quote
From the image though they look like they could be a bit thicker for my tastes...

You can't have thicker scanlines with this method, you are already discarding 50% or your image...


Do you have an idea how the SLG3000 operates then ?

hellbelly

Quote from: ニユ-マン on May 24, 2011, 02:37:41 AM

IC1A changes state with every HSync pulse, so one line is untouched and the next one is blanked (or vice-versa).
The switch (S1) selects if the blanking circuit (IC2) has to erase the even or the odd lines.
When IC2 is active the RGB lines are grounded and you see a black line.

Quote from: SignOfZeta on April 09, 2011, 03:32:15 AM
Would they default to something like "max" on an SLG3000?
Yes

Quote
From the image though they look like they could be a bit thicker for my tastes...

You can't have thicker scanlines with this method, you are already discarding 50% or your image...



Thanks for the explanation and the diagram of how to make it, I appreciate it.  I really like the scanlines this produces, and hope to buy an SLG3000 one day as a comparison of the images and to see what the extra options are like on my TV.

Telis

Hi, i follow this circuit diagram but don´t work here, only Black Screen  :(

PIN #4 is VCC +5V? the 74LS74 datasheet PIN#14 is VCC.
74LS125 don´t need VCC?
The RGB IN PIN#1,2,3 are connected directly to RGB OUT PIN#1,2,3 together with PIN#3,6,8 74LS125?

IF, someone has a more detailed diagram of the circuit please PM.

TNKS  ;D

hellbelly

The diagram assumes that you are going to power the chips so hasn't labelled it.  So yes, on the 74ls74 you need  14 - VCC and also leg 4, then GND to leg 7.  The 74ls125 expects VCC on leg 14, GND on 7 (as well as 2, 5 and 9)

bigsanta has also pointed out that the unused inputs on 74ls74 should be grounded which I haven't tried yet.

Then wiring up the RGB and H and V Sync is just attaching the labelled legs, with the relevant pins on VGA - 1, 2, 3, 13 and 14

Pete


Telis

Quote from: hellbelly on June 17, 2011, 07:15:13 AM
The diagram assumes that you are going to power the chips so hasn't labelled it.  So yes, on the 74ls74 you need  14 - VCC and also leg 4, then GND to leg 7.  The 74ls125 expects VCC on leg 14, GND on 7 (as well as 2, 5 and 9)

bigsanta has also pointed out that the unused inputs on 74ls74 should be grounded which I haven't tried yet.

Then wiring up the RGB and H and V Sync is just attaching the labelled legs, with the relevant pins on VGA - 1, 2, 3, 13 and 14

Pete



Thanks for the help.

I will try this tomorrow and post the results.  ;)

Telis

#16
Quote from: Telis on June 17, 2011, 07:34:29 AM
Quote from: hellbelly on June 17, 2011, 07:15:13 AM
The diagram assumes that you are going to power the chips so hasn't labelled it.  So yes, on the 74ls74 you need  14 - VCC and also leg 4, then GND to leg 7.  The 74ls125 expects VCC on leg 14, GND on 7 (as well as 2, 5 and 9)

bigsanta has also pointed out that the unused inputs on 74ls74 should be grounded which I haven't tried yet.

Then wiring up the RGB and H and V Sync is just attaching the labelled legs, with the relevant pins on VGA - 1, 2, 3, 13 and 14

Pete



Thanks for the help.

I will try this tomorrow and post the results.  ;)


Hi folks  :D

Well. it´s WORKS now  ;D Thank you Pete

PS2 using S-video cable and a cheap S-video To Vga converter at 1024x768, this converter can´t handle 640x480  :'(. In my tests this scanline generator offers a good scanlines using 640x480 , 800x600 scanlines don´t work and 1024x768 works but scanlines is not good. I´m wainting my new video converter to test via Component and 640x480 output.




Now..... how can i control the scanlines intensity??

Thank you folks and pete.

Sorry for my english and my cam.  ;)

bigsanta

#17
I don't think it's possible with this circuit.

Only with the slg3000
http://shmups.system11.org/viewtopic.php?f=6&t=33454

gojirien

Hi, long time  I haven't logged on this forum ! I have just wired my cga/vga converter (using chinese cga/ega to vga converter) + slg3000.

I want to try the diagrams showed on this thread, they're very interesting.

Are you sure that scanlines intensity cannot be controlled ? I thought using triple potentiometer (500 ohm, like piher pt10 used on the slg3000) would be ok, putting one after HD74LS125.

I'm not good in electronics, it's just a question  :).

Telis

Quote from: gojirien on June 21, 2011, 06:41:05 AM
Hi, long time  I haven't logged on this forum ! I have just wired my cga/vga converter (using chinese cga/ega to vga converter) + slg3000.

I want to try the diagrams showed on this thread, they're very interesting.

Are you sure that scanlines intensity cannot be controlled ? I thought using triple potentiometer (500 ohm, like piher pt10 used on the slg3000) would be ok, putting one after HD74LS125.

I'm not good in electronics, it's just a question  :).

Hi.
I put a single potentiometer "100 ohms"  between the switch and it did not work. Adjusting the visibility of the black line at 50% OR reducing its thickness would be fantastic.

bigsanta

Quote from: gojirien on June 21, 2011, 06:41:05 AM
Hi, long time  I haven't logged on this forum ! I have just wired my cga/vga converter (using chinese cga/ega to vga converter) + slg3000.

I want to try the diagrams showed on this thread, they're very interesting.

Are you sure that scanlines intensity cannot be controlled ? I thought using triple potentiometer (500 ohm, like piher pt10 used on the slg3000) would be ok, putting one after HD74LS125.

I'm not good in electronics, it's just a question  :).

Quote from: ニユ-マン on May 24, 2011, 02:37:41 AM

IC1A changes state with every HSync pulse, so one line is untouched and the next one is blanked (or vice-versa).
The switch (S1) selects if the blanking circuit (IC2) has to erase the even or the odd lines.
When IC2 is active the RGB lines are grounded and you see a black line.

Quote from: SignOfZeta on April 09, 2011, 03:32:15 AM
Would they default to something like "max" on an SLG3000?
Yes

Quote
From the image though they look like they could be a bit thicker for my tastes...

You can't have thicker scanlines with this method, you are already discarding 50% or your image...



gojirien

Thank you Telis and Bigsanta for answer. I didn't read ニユ-マン's post carefully, sorry.

I'm currently investigating my slg3000, it has a Texas Instruments ship (red circle on picture) which seems to have same function as the HD74LS74 if I'm not wrong. It has 3 more ICs labelled "JATR" (green circles). I'm not sure of the TI IC's reference, I think it is CDHC73MG4. I haven't found datasheet for the 3 more little ICs yet.




NeWmAn

#22
Quote from: bigsanta on May 31, 2011, 09:04:36 AM
Unused inputs on the 7474 should be tied high or low,don't leave them floating.

I'm not sure, but I think it MUST be done only for CMOS parts, the proposed circuit uses LS parts so it can be facultative...
Anyway I just wanted to point out that in Telis's circuit the outputs of the '74 ( pin 8 & 9) are both connected to GND which I don't think it' a good practice.

Quote from: gojirien on June 21, 2011, 06:41:05 AM
I thought using triple potentiometer (500 ohm, like piher pt10 used on the slg3000) would be ok, putting one after HD74LS125.

It won't work, this circuit is totally digital, it can only do on/off.
To do what you want you'll have to replace the '125 with an analog circuit (for example an op-amp).

Quote from: Telis on June 18, 2011, 04:09:04 AM
800x600 scanlines don´t work and 1024x768 works but scanlines is not good. I´m wainting my new video converter to test via Component and 640x480 output.
I found this table with the timings of the VGA modes:

Mode       Horiz  Vertical  Horiz  Vert  Horiz  HSYNC  Vertical VSYNC
          Dots   Lines     KHz    Hz    Sync   Pol    Sync     Pol
VGA-480     640   480       31.5   60    3.8 us  -      64 us    -
VGA-400     640   400       31.5   70    3.8 us  -      64 us    +
SVGA I      800   600       35.2   56    2.0 us  -      57 us    -
SVGA II     800   600       37.8   60    3.2 us  +     106 us    +
SVGA III    800   600       48.0   72    2.4 us  +     125 us    +
XGA        1024   768       48.5   60    2.0 us  -     124 us    


As you can see both the SVGA@60  and SVGA@72 modes use positive pulses for the Hsync, maybe that's why it doesn't work.

bigsanta

Quote from: Telis on June 18, 2011, 04:09:04 AM
Quote from: Telis on June 17, 2011, 07:34:29 AM
Quote from: hellbelly on June 17, 2011, 07:15:13 AM
The diagram assumes that you are going to power the chips so hasn't labelled it.  So yes, on the 74ls74 you need  14 - VCC and also leg 4, then GND to leg 7.  The 74ls125 expects VCC on leg 14, GND on 7 (as well as 2, 5 and 9)

bigsanta has also pointed out that the unused inputs on 74ls74 should be grounded which I haven't tried yet.

Then wiring up the RGB and H and V Sync is just attaching the labelled legs, with the relevant pins on VGA - 1, 2, 3, 13 and 14

Pete



Thanks for the help.

I will try this tomorrow and post the results.  ;)


Hi folks  :D

Well. it´s WORKS now  ;D Thank you Pete

Can i upload a more detailed circuit diagram? Here...



PS2 using S-video cable and a cheap S-video To Vga converter at 1024x768, this converter can´t handle 640x480  :'(. In my tests this scanline generator offers a good scanlines using 640x480 , 800x600 scanlines don´t work and 1024x768 works but scanlines is not good. I´m wainting my new video converter to test via Component and 640x480 output.




Now..... how can i control the scanlines intensity??

Thank you folks and pete.

Sorry for my english and my cam.  ;)
Pins 8 and 9 of the 7474 are outputs,so leave them unconnected.

bigsanta

#24
Quote from: ニユ-マン on June 22, 2011, 08:55:42 AM
Quote from: bigsanta on May 31, 2011, 09:04:36 AM
Unused inputs on the 7474 should be tied high or low,don't leave them floating.

I'm not sure, but I think it MUST be done only for CMOS parts, the proposed circuit uses LS parts so it can be facultative...
Anyway I just wanted to point out that in Telis's circuit the outputs of the '74 ( pin 8 & 9) are both connected to GND which I don't think it' a good practice.

Quote from: gojirien on June 21, 2011, 06:41:05 AM
I thought using triple potentiometer (500 ohm, like piher pt10 used on the slg3000) would be ok, putting one after HD74LS125.

It won't work, this circuit is totally digital, it can only do on/off.
Using a hc version of the 7474 ,i've always been told to tie unused inputs,so just assumed the same for LS versions.
To do what you want you'll have to replace the '125 with an analog circuit (for example an op-amp).

Quote from: Telis on June 18, 2011, 04:09:04 AM
800x600 scanlines don´t work and 1024x768 works but scanlines is not good. I´m wainting my new video converter to test via Component and 640x480 output.
I found this table with the timings of the VGA modes:

Mode       Horiz  Vertical  Horiz  Vert  Horiz  HSYNC  Vertical VSYNC
          Dots   Lines     KHz    Hz    Sync   Pol    Sync     Pol
VGA-480     640   480       31.5   60    3.8 us  -      64 us    -
VGA-400     640   400       31.5   70    3.8 us  -      64 us    +
SVGA I      800   600       35.2   56    2.0 us  -      57 us    -
SVGA II     800   600       37.8   60    3.2 us  +     106 us    +
SVGA III    800   600       48.0   72    2.4 us  +     125 us    +
XGA        1024   768       48.5   60    2.0 us  -     124 us    


As you can see both the SVGA@60  and SVGA@72 modes use positive pulses for the Hsync, maybe that's why it doesn't work.


I've always been told to tie unused inputs ,never leave them floating .

Telis

Hi folks.

Thanks for the information, i will remove the PIN´s #8 and #9 from ground and update the diagram.

Hey this table you posted is very interesting.

Here more samples from true VGA output

VGA 640x480 (original)


VGA 640x480 (scanlines)


VGA 800x600 (scanlines) decrease the screen brightness by 50% and does not generate the scanlines, the screen is very dark.


VGA 1024x768 (scanlines) When put this mode you hardly notice the scanlines, I'm starting to like this resolution. The picture becomes softer, the first time i was tested at 1024x768 was on 19" LCD monitor, now i did the test on my TV 32" LCD 1024x768 and looks great, I changed my opinion.


UPDATED DIAGRAM:

bigsanta

#26
One more thing.
I'm using a 74hc74n and a 74ls125n and i have no 5Vcc power supply connected to the chips power pin (14) or pin 4 of the 7474 ,but it is powered just from the vga cable's output ,same with the chip's Vss/gnd pins and all other Vss/gnd connections.Both chips are getting power that is well below what their data sheets recommend .And the finished circuit is now installed inside of a 2 port vga switcher.

Try it on a solderless breadboard  (with everything wired as in my wiring diagram ,but without connecting power to the Vcc pins )and check the voltage being received ,well below 4 volts.(also with all unused inputs on the 74hc74 left unconnected)



Telis

Interesting, mine HD74LS74AP does not work without the 5v power  ::)


Moosmann

QuoteI haven't found datasheet for the 3 more little ICs yet.

"JATR" is not the IC Part Description/Number, it is only the SMD Code. The SLG-3000 (with adjustable scanline intensity) works difference compare the self-build Scanline Generator. I will make a 1:1 SLG-3000 clone next weekend (for my self-use, mostly for other applications). Unfortunately, I cannot offer a circuit diagramm for the SLG-3000 without permission from the original designer.

Greetings Markus

NeWmAn

Moosmann,

Can you tell if the problems in the 800x600  mode are caused by the inversed sync polarity?

Also do you think a circuit like this would work for variable intensity scanlines:




  (Switch enable signal from '74)   
                       |
                       |
         +-------/ -----+                           <-- Analog bilateral switch with enable input as the  74LVc1G66
         |                        |
         |                        |
IN --+-/\/\/\/\---+--- OUT            <-- Potentiometer
         |            ^                                
         |             |                                     
         +-------+                                     
74LVc1G66 Datasheet > http://www.nxp.com/documents/data_sheet/74LVC1G66.pdf



Moosmann

QuoteCan you tell if the problems in the 800x600  mode are caused by the inversed sync polarity?

I can tell you this in the next 1-2 Weeks.

QuotelAlso do you think a circuit like this would work for variable intensity scanlines

You answer your own question;)

Greetings Markus

gojirien

Hi, Just made the scanline circuit with 74LS74 and 74LS125. I have made the same mod that Bigsanta, with a cga/ega/vga converter.

Scanlines work perfectly, but I have a background "grid" on the screen, it's tight but I don't like it, and I don't have this grid with slg3000.

If someone knows a solution (grounding problem maybe ?).

Telis

Quote from: gojirien on July 01, 2011, 11:01:09 PM
Hi, Just made the scanline circuit with 74LS74 and 74LS125. I have made the same mod that Bigsanta, with a cga/ega/vga converter.

Scanlines work perfectly, but I have a background "grid" on the screen, it's tight but I don't like it, and I don't have this grid with slg3000.

If someone knows a solution (grounding problem maybe ?).

Hi. This happens at any Resolution? Can you post a picture using this DIY Scanline and SLG3000 for comparison?

Thanks

gojirien

Hi, I have the background with 640*480, scanlines circuit doesn't work at any other resolution.

Here is the background grid with scanlines circuit :



And on that picture, use of the slg3000, screen is fine black, no background :



Also, ingame comparison :

Scanlines circuit :


Slg3000 :


With the scanlines circuit we can see vertical lines on the picture.

Telis

I do not see vertical lines, but image is similar to images with interference.

You've checked all the wires are OK?


gojirien

All wires are ok, I'm wondering about chips quality, or if I have damaged them during soldering. I'll try next with sockets for the 74 chips.

Take a look on the follonwing picture, on the bottom left you can see vertical lines :


hellbelly

Which scaler are you using, the 2 VGA or one VGA model?  I ask as my 2VGA model puts horizontal lines on the image with this scanline mod when using the VGA out that's close to the edge of the board, but it fine when using the middle vga out.  (I haven't investigated this further yet, it might just be the placement of the scanline board when I stuck it on the underside of the scalers board)

Pete

bigsanta

#37
JATR  

JA = some type of high speed diode
T= where it's made ? malaysia
R=?

From the smd codebook
http://www.marsport.org.uk/smd/mainframe.htm

CODE               DEVICE NAME  
JA                           BAV74        dual sw diodes
                                                     
JA                           BAV74        dual diode cc 50V 0.1A

Obviously it can't be either of those ,as they're 3 pin ICs,but these JATR coded smd ICs on the slg3000 ,i think there were originally 6 pins ,but have had the middle pin snapped off (look closely at them, using a jewelers magnifier or something similar ) and you can see the remains of what looks like a leg  .

bigsanta

#38
Quote from: ニユ-マン on June 25, 2011, 09:08:15 PM
Moosmann,

Can you tell if the problems in the 800x600  mode are caused by the inversed sync polarity?

Also do you think a circuit like this would work for variable intensity scanlines:




 (Switch enable signal from '74)   
                      |
                      |
        +-------/ -----+                           <-- Analog bilateral switch with enable input as the  74LVc1G66
        |                        |
        |                        |
IN --+-/\/\/\/\---+--- OUT            <-- Potentiometer
        |            ^                               
        |             |                                      
        +-------+                                    
74LVc1G66 Datasheet > http://www.nxp.com/documents/data_sheet/74LVC1G66.pdf




That's what those 3  smd JATR coded  ICs are ,aren't they  :D as they seem to be pin for pin connected on the slg3000 pcb

bigsanta

#39
Quote from: gojirien on June 21, 2011, 05:48:36 PM
Thank you Telis and Bigsanta for answer. I didn't read ニユ-マン's post carefully, sorry.

I'm currently investigating my slg3000, it has a Texas Instruments ship (red circle on picture) which seems to have same function as the HD74LS74 if I'm not wrong. It has 3 more ICs labelled "JATR" (green circles). I'm not sure of the TI IC's reference, I think it is CDHC73MG4. I haven't found datasheet for the 3 more little ICs yet.




CD74HC73
The 7473 is just a positive edge dual D type flip flop , where as the slg3000 flip flop seems to be a dual JK negative triggered one .I think only 1 flip flop is being used .But if the slg3000 is using an analog switch which needs E to be active when high and thus Y and Z = on state ,then how come are Y and Z being read as  a closed switch instead of open/off  ,when the slg3000 is not connected to anything ?