UK Vintage Radio Repair and Restoration Powered By Google Custom Search Vintage Radio and TV Service Data

Go Back   UK Vintage Radio Repair and Restoration Discussion Forum > Other Discussions > Homebrew Equipment

Notices

Homebrew Equipment A place to show, design and discuss the weird and wonderful electronic creations from the hands of individual members.

Closed Thread
 
Thread Tools
Old 12th Mar 2022, 3:36 pm   #1
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Scope Calibrator

Hi peeps. You know me... never quiet.... If I am... Im up to something. In this case..I decided,, that what was needed was a Cheap n dirty ACCURATE Scope calibrator. In association withe Terry VK5TM. I devised a reasonably accurate time pulse generator and DC Voltage source to check most scopes that reside in the Forum members places of reverence. "Workshop to you n me".
The time pulse generation was fairly easy with a P16F628A PIC.
It was the next bit that was NOT easy, well for me anyway. The original idea was to select the pulse width outputs using 7 push buttons, and Leds to show which was active. With Terry's assistance, although , he being umpteen time zones away, it was a bit difficult.
To put another obstacle in the way, my Pic programmer Pickit 3 was giving odd results. It took 3 weeks of "hair pulling" to realise the Pickit3 needs to be directly connected to the PC Board rather than a front panel connection.
Once that was sorted, I was still having trouble persuading the button code to work... thus I opted for a KISS approach.
To select each time pulse I used a 7 way rotary switch, not nice, but it works.
Everyone likes leds, so I added leds to show which position was active..
The Pic clock is 20 Mhz, that = 250 n/s per operation.
I will post the schematic on here, and if anyone wants the code, please PM Me.
Now I dont ever claim to be a code writer, as Terry will attest, and I am sure there are many out there that can do better, but it Works.
The DC reference is an AD584, which gives various voltages, but I chose the basic 10V +/- nothing...... and a 1V derived from a potential divider, as again I say KISS.
I will still continue with the 7 button idea, but for now, you have something to look at.
The waveforms displayed are a little "top" distorted, thats the "cheapo" scope probes, the important thing is the timing edges Each pulse is a value of 1 and the space = 9, thus it covers from 1 u/s to 1 sec.
I am sure some may say.. well its not a Bradley 192, but who wants one of those sitting in the cupboard, rarely used... I dont, I got rid of mine ages ago.
If I have missed anything, please feel free to comment.
Attached Thumbnails
Click image for larger version

Name:	Scope cal 1.jpg
Views:	251
Size:	77.0 KB
ID:	253462   Click image for larger version

Name:	S C WF 1.jpg
Views:	228
Size:	51.0 KB
ID:	253463   Click image for larger version

Name:	S C WF 2.jpg
Views:	213
Size:	49.2 KB
ID:	253464   Click image for larger version

Name:	Photo 1.jpg
Views:	231
Size:	70.9 KB
ID:	253465   Click image for larger version

Name:	scopecal ver 6A Sch.jpg
Views:	260
Size:	72.3 KB
ID:	253467  

__________________
Should get out more.

Regards
Wendy G8BZY

Last edited by Wendymott; 12th Mar 2022 at 3:46 pm. Reason: Schematic error
Wendymott is offline  
Old 12th Mar 2022, 5:52 pm   #2
Syrinx1
Pentode
 
Join Date: Feb 2018
Location: Nottingham, Nottinghamshire, UK.
Posts: 229
Default Re: Scope Calibrator

Hi, what sort of rise times are you getting? Thanks
Syrinx1 is offline  
Old 12th Mar 2022, 9:50 pm   #3
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Re: Scope Calibrator

Syrinx. Not looked. More interested in the start and stop points. Its a "quick" check box, not a scientific piece.
__________________
Should get out more.

Regards
Wendy G8BZY
Wendymott is offline  
Old 13th Mar 2022, 12:23 am   #4
Terry_VK5TM
Nonode
 
Terry_VK5TM's Avatar
 
Join Date: Oct 2010
Location: Tintinara, South Australia, Australia
Posts: 2,339
Default Re: Scope Calibrator

Quote:
Originally Posted by Wendymott View Post
The Pic clock is 20 Mhz, that = 250 n/s per operation.
200 nS Wendy
__________________
Terry VK5TM
https://www.vk5tm.com/
Terry_VK5TM is offline  
Old 13th Mar 2022, 12:00 pm   #5
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Re: Scope Calibrator

Hi Terry.... I read that its 4 clock cycles....but I will bow to your comment
__________________
Should get out more.

Regards
Wendy G8BZY
Wendymott is offline  
Old 13th Mar 2022, 11:30 pm   #6
Terry_VK5TM
Nonode
 
Terry_VK5TM's Avatar
 
Join Date: Oct 2010
Location: Tintinara, South Australia, Australia
Posts: 2,339
Default Re: Scope Calibrator

Yep - 20MHz/4 = 5MHz -> 1/5,000,000 = 0.0000002S (200nS).
__________________
Terry VK5TM
https://www.vk5tm.com/
Terry_VK5TM is offline  
Old 14th Mar 2022, 8:29 am   #7
Electronpusher0
Nonode
 
Join Date: Jun 2016
Location: Bognor Regis, West Sussex, UK.
Posts: 2,296
Default Re: Scope Calibrator

Fantastic Wendy!, I must make one.
Do you plan a pcb? I can help lay one out on KiCad for you if you want.

Peter
Electronpusher0 is offline  
Old 14th Mar 2022, 2:19 pm   #8
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Re: Scope Calibrator

Hi Terry. Yes you are correct.... I must have had an "off" day.... more common these days ... but hey... thats what the forum is for...
Replied to Peter via pvt message
__________________
Should get out more.

Regards
Wendy G8BZY
Wendymott is offline  
Old 14th Mar 2022, 8:32 pm   #9
Cruisin Marine
Heptode
 
Join Date: Jul 2018
Location: Worthing, West Sussex, UK.
Posts: 994
Default Re: Scope Calibrator

From one extreme to another, here is the one I knocked up one lunchtime at work back in the 80's and still use it now, no expense spared as you can see lol
Attached Thumbnails
Click image for larger version

Name:	calibrator-1.jpg
Views:	182
Size:	139.9 KB
ID:	253593  
Cruisin Marine is offline  
Old 15th Mar 2022, 12:05 am   #10
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Re: Scope Calibrator

Like busses. Cruisin. Shake the tree and see what falls out
__________________
Should get out more.

Regards
Wendy G8BZY
Wendymott is offline  
Old 16th Mar 2022, 4:11 pm   #11
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Re: Scope Calibrator

Hi Peeps...... Some slight modifications to the design to improve the rise / fall times at 1 u/S pulse. The rise time is now 40n/s and fall time is 50 n/s using a X1 probe. ( Much improved).
The emitter resistor of Q1 is reduced to 270R/2. I used 0805 smd's thus the power dissipation is 0.1W ish.. Q1 is changed to a 2N4401 and the base resistor is now 220R.
One other thing to note.. is that the clock crystal will affect the short time pulses, as in 1 u/S and 10u/S....
It is not noticeable above that. The real way around this is to provide an external clock..... but this project is intended as "Quick n dirty" . I can supply the code in HEX or ASM if requested by PM.
Attached Thumbnails
Click image for larger version

Name:	scopecal ver 6B Sch.jpg
Views:	112
Size:	71.6 KB
ID:	253671   Click image for larger version

Name:	PCB Silk Ver 6B.jpg
Views:	77
Size:	32.4 KB
ID:	253672   Click image for larger version

Name:	PCB Copper 6B.jpg
Views:	74
Size:	29.6 KB
ID:	253673  
__________________
Should get out more.

Regards
Wendy G8BZY
Wendymott is offline  
Old 16th Mar 2022, 7:37 pm   #12
Syrinx1
Pentode
 
Join Date: Feb 2018
Location: Nottingham, Nottinghamshire, UK.
Posts: 229
Default Re: Scope Calibrator

Hi Wendy, thanks for sharing your work on this.
Syrinx1 is offline  
Old 17th Mar 2022, 11:46 pm   #13
commie1
Triode
 
Join Date: Apr 2018
Location: Buckley, Clwyd, Wales, UK.
Posts: 32
Default Re: Scope Calibrator

Hi Wendy,

Thanks for sharing this great work of what you have done here, I appreciate the amount of work involved to bring this project to our attention. May you continue forever

Cheers
Commie

Last edited by commie1; 17th Mar 2022 at 11:55 pm.
commie1 is offline  
Old 18th Mar 2022, 12:39 am   #14
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Re: Scope Calibrator

NOT wishing to bore you good folk, but the LAST iteration is here... I was concerned that when I swapped the clock crystal, the timings were a wee bit out. As this is supposed to be a "calibration" source, I decided that it should be more stable.
Fortunately I had in stock a 20 Mhz XCO, so I have rejigged the pcb to have either the XCO or a crystal. See SCH.
The code only needs a slight change in the config line to say Internal or external clock source.
The nice thing is.. to those who are familiar with PIC Code ASM.. that tiny or even larger changes can be made to any of the timing's. 20 Mhz was chosen as the clock frequency as it gives the smallest change per clock cycle..however other crystals can be used, with a greater inaccuracy, by altering the values in the code. My final timings were tweeked using my Thandar Timer counter.
Attached Thumbnails
Click image for larger version

Name:	scopecal ver 7 B Sch.jpg
Views:	68
Size:	84.8 KB
ID:	253754  
__________________
Should get out more.

Regards
Wendy G8BZY
Wendymott is offline  
Old 18th Mar 2022, 8:08 am   #15
mole42uk
Nonode
 
mole42uk's Avatar
 
Join Date: Aug 2010
Location: Resolven, Wales; and Bristol, England
Posts: 2,608
Default Re: Scope Calibrator

Hi Wendy, of course I have an idea…..I have a 10MHz GPSDO which locks my MI2955 to a known reference. I wonder about making an input on your calibrator to lock the internal clock to an external reference? Maybe not quite so “quick ‘n’ dirty”!
__________________
Richard

Index:
recursive loop: see recursive loop
mole42uk is offline  
Old 18th Mar 2022, 11:33 am   #16
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Re: Scope Calibrator

Hi Richard....getting away from the KISS theorem...but as the design is out there..see what you can do.... Im finished... moving onto other ideas..
__________________
Should get out more.

Regards
Wendy G8BZY
Wendymott is offline  
Old 18th Mar 2022, 7:40 pm   #17
Syrinx1
Pentode
 
Join Date: Feb 2018
Location: Nottingham, Nottinghamshire, UK.
Posts: 229
Default Re: Scope Calibrator

Quite a few PLL projects around using microcontrollers, used oxco's from decommissioned Chinese equipment available cheaply, and GPS receivers.
Syrinx1 is offline  
Old 29th Mar 2022, 10:37 pm   #18
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Re: Scope Calibrator

Hi Peeps...... I "Lied"....... well not so much a Lie as a rethink. Our friend and forum member Terry VK5TM, was assisting me with new software that would make the Calibrator a Single push button to select the pulses, rather than my simple 7 position switch select.
It was a pity for him to put in that work, not to use it, thus I re designed the pcb and added a couple of options as well.
The new PCB allows the use of either a 20 Mhz crystal with trimming cap, or a XCO. One line of code selects which version is used.
The PIC is a 16F628A and the code is available in HEX or ASM format, for those wishing to programme their own device.
As Terry or I are not interested in making this device commercially the code is free to use.
I can also supply a Gerber file for the pcb, but cannot guarantee the hole sizes for production by a third party.
Anyone interested please PM me.
Attached Thumbnails
Click image for larger version

Name:	Final version pic.jpg
Views:	90
Size:	51.7 KB
ID:	254345   Click image for larger version

Name:	SCOPECAL Ver 8A.jpg
Views:	90
Size:	86.0 KB
ID:	254346   Click image for larger version

Name:	Scopecal pcb silk ver 8A.jpg
Views:	61
Size:	86.3 KB
ID:	254347   Click image for larger version

Name:	Scopecal pcb  ver 8A.jpg
Views:	60
Size:	72.7 KB
ID:	254348  
__________________
Should get out more.

Regards
Wendy G8BZY
Wendymott is offline  
Closed Thread




All times are GMT +1. The time now is 8:49 pm.


All information and advice on this forum is subject to the WARNING AND DISCLAIMER located at https://www.vintage-radio.net/rules.html.
Failure to heed this warning may result in death or serious injury to yourself and/or others.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright ©2002 - 2023, Paul Stenning.