View Single Post
Old 17th Apr 2019, 6:25 pm   #2
Semir_DE's Avatar
Join Date: Jan 2019
Location: Heusenstamm, (Near Frankfurt am Main), Germany.
Posts: 34
Default Re: "PICGEN" pattern generator for 405 - SMD version

Hi again,

This is part 2/2 of my PICGEN-S project. I will continue with changes I have made to the original design:

d) Single scope trigger pulse for H and V: Instead of having separate horizontal and vertical sync outputs, I created a sort of composite sync mainly for scope triggering. This is what it looks like (top trace, scope trigger set for vertical):

Click image for larger version

Name:	Composite trigger pulse_top.jpg
Views:	68
Size:	49.4 KB
ID:	181468

The pulse has two levels; 0-1V is negative going vertical sync, 1-2V is positive going horizontal sync. When this signal is applied to a scope it allows the user to select vertical or horizontal triggering by merely adjusting the trigger threshold of the scope. The output level of this pulse is 1Vpp into 75Ω.

Another application of this pulse is to set the free running frequency of the flywheel sync in a TV. Due to the negative going vertical sync this signal can be supplied to a modulator just like a pattern signal. As it does not have horizontal sync pulses the the TV can recognize, only the vertical sync will be locked while the horizontal will be free running. By adjusting the horizontal hold to show the positive going horizontal sync pulse as a jittery white vertical line the free running frequency can be set precisely on the TV set. I found this useful as the setting of the horizontal hold influences the picture position. By first setting the H-hold to the right frequency the positioning magnets on the CRT can be set for the correct horizontal picture position more accurately.

e) I had read that some users of the original PICGEN had experienced a hum bar rolling across the picture. While this is usually due to bad mains filtering in the TV set in question, the effect is most visible when the frame rate of the signal supplied to such a TV is not exactly 50Hz i.e. 20ms. I noticed that the PICGEN needs a clock frequency of 5.994Mc to deliver the exact 20ms. A 6Mc crystal can not be pulled low enough to oscillate at that frequency but a ceramic resonator can. I added a variable capacitor to the design to allow for precise adjustment of the frame rate in conjunction with a ceramic resonator. This will render all hum bars stationary on the screen which will make then less objectionable.

The board layout is made to accommodate using either a regular crystal, an SMD "MQ" crystal or a very small ceramic resonator in SMD format. A regular ceramic resonator can probably also be fitted instead of the crystal if a third hole is drilled in the middle between the two crystal holes. I have not tried that, however.

f) since the SMD version of the PIC processor has to be soldered to the board it can no longer be removed for (re-)programming. In order to allow in-circuit programming I have added an ICSP header to the board. The programmer simply hast to be connected to that header for programming the PIC. While programming, the small SPST switch should be set to the "OFF" position to separate the power circuit of the board from the processors power pin. The power LED will remain active and should light up during the programming process.

In these two posts I have introduced my version of the PICGEN. The original project was designed by Frank Cuffe and I would like to take this opportunity to thank him for creating this project and the software for the PIC processor! I could not have done that as my programming skills are very basic.

The PCB was made using KiCAD. Please PM me for the project data should you want to build one.

I am planning two versions of this project. One is the current generator only version which is very compact. The second which I will introduce shortly will be a combination of generator and modulator.

I already have a band I modulator working in my workshop which uses PLLs covering all 5 band I channels. My plan is to make the PICGEN board plug into the larger PCB of the modulator. A band III PLL modulator is also in the planning stages.

The circuit diagram can be found in the attachments.

To be continued…

Attached Files
File Type: pdf PICGEN-S_Rev2.pdf (63.6 KB, 104 views)
Semir_DE is offline