Keyboard Shortcuts
Likes
Search
spur & harmonics fix, v2
i have further simplified the fixes: 1. change the resistors R26 and R46 to 220 ohms (from 470 ohms). this increases the darlington pair's standing current and decreases the Harmonic distortions. 2. the 90 MHz trap was difficult to tune unless you had a spectrum analyzer. Instead, we can use a Low Pass Filter instead. A 'T', rather than a Pi was used. This helps better in isolation or RX/TX path.? 3. The LPF consists of an L-C-L of 300nh, 47pf, 300nh.? 4. With the relays that are now used for ubitx,? the harmonics at 3.5, 7 and 10 are in under -45 dbc. we don't need the axicom relays. I am attaching a hand-drawn circuit to explain this better. - f |
Farhan, thanks a lot for the schematics and great for the minimal hardware upgrade you suggest. Can we use through hole components or SMD are mandatory? Can inductances also be made in through hole discrete components too? I am asking this as the local store where I usually get the components has a very limited supply of SMD components and no toroids, while they have a full set of through hole components. Il 12/nov/2018 09:01, "Ashhar Farhan" <farhanbox@...> ha scritto:
|
simon,? our new relays have less leakage. they are within have sufficiently low leakage to keep the harmonics within the specs. the earlier boards will need to replace the relays. - f On Mon, Nov 12, 2018 at 2:22 PM Kelly Jack <kellyjack1968@...> wrote: Farhan, |
i have used 47pf standard leaded disc ceramic and two T30-6 coils. A 0.3uh can also be air wound but i am not sure if the lack of shielding will be a problem. - f On Mon, Nov 12, 2018 at 2:03 PM iz oos <and2oosiz2@...> wrote:
|
Is there no 12mhz trap now? On Mon, Nov 12, 2018 at 01:06 AM, Ashhar Farhan wrote: i have used 47pf standard leaded disc ceramic and two T30-6 coils. A 0.3uh can also be air wound but i am not sure if the lack of shielding will be a problem. |
I am a little wary of axial inductors. I would have easily recommended air wound coils. However, given all the RF floating around, i would recommend a toroid. The 470 ohms to 220 ohms is jacking up the gain by a few notches to drown out the 12 mhz spur. Remember that the 12? mhz spur is not from the IF amp or the mixer, but from the Si5351's internal cross talk On Mon, 12 Nov 2018, 17:12 G1KQH via Groups.Io <g1kqh=[email protected] wrote: Ok to use axial inductors the ones that look like resistors instead of winding bulky toroids? |
I'm very happy to see that you are digging into this so deeply. On Mon, Nov 12, 2018 at 05:56 AM, Ashhar Farhan wrote:
|
jerry, we should have used 11.052 MHz IF. if we were to start it all over again, i'd give my rigol's channel 1 to do that. unfortunately, there are others who share our misery, we must bear this with them for the sake of backward compatibility of the software. do you feel bill gates pain now? - f On Mon, Nov 12, 2018 at 9:49 PM Jerry Gaffke via Groups.Io <jgaffke=[email protected]> wrote:
|
I don't have the audio tone problem, so can't say for sure it is due to the 16mhz resonator.
toggle quoted message
Show quoted text
However, when I put my finger on my 16mhz resonator, it's more than happy to move. So there might be an easy solution here, perhaps solder a cap or two from resonator to ground, though the pins are awfully small for most folks in the forum. An easier solution might be to cover the resonator with insulating tape, then cover that with some grounded copper tape.? About the same as putting a finger on it. I'll experiment with that here.? And while we're at it, that unshielded USB interface does not belong in a radio with a 12mhz IF if it is ever going to be active while the radio is operating. Long term, put a $2 processor chip down on some new Raduno and feed it a different processor clock rate. Or move to a different filter frequency on v5, and put a #define for it at the top of the source code. ##############? Continue reading at your own risk!!!? ################# Way off topic, we may need to create a new group for this one.? But oh well: Don't do a Bill Gates and wallow in mistakes made decades previous. You may make billions, but Bill (and that IBM PC crew) were responsible for an entire generation of programmers making a career of cooking their shoes.? Just google for "segmented memory advantages". Here's an especially good one, posted recently, aimed at CS students: ? ? Those "advantages" were laughable in 1980 when Intel came around to us flogging their new 8086 against Motorola's 68000 with its flat?4 gigabyte address space.? ?A 40 year old list of bullet items that students today are still trying to make sense of.? Try to avoid doing that sort of thing to ham radio.? ?;-) "Cooking their shoes" is a reference to this old chestnut of a unix fortune cookie: ? ? The day-to-day travails of the IBM programmer are so amusing to most of
? ? us who are fortunate enough never to have been one - like watching
? ? Charlie Chaplin trying to cook a shoe.
?Of course, that was a reference to the IBM 360 crowd, not the IBM PC, which did not yet exist when that was written.? But applies nonetheless. And I won't mention Bill's snuffing out of any competition through any means available, including that SCO vs linux crap.? Though I must admit, Bill is trying to do good things with his money these days. Now you got me going. Don't worry, I'll go have a beer and try to calm down. Jerry, KE7ER On Mon, Nov 12, 2018 at 09:49 AM, Ashhar Farhan wrote:
|
ryan, i did think of that, the trouble is that by default, it would switch to one frequency or the other. it is not so easy for most of us to figure out all the convoluted historical logic for doing things in these ways. i can well see people tuning to 11.052 Mhz instead of 12 MHz and wondering why they are singled out by wowbagger for being stupid. it is still an option. the crystals for 11.052 mhz have suprisingly different characteristics from those of 12 Mhz, we will need to characterise these and build a decent filter.? - f On Tue, Nov 13, 2018 at 8:16 AM Ryan Flowers <geocrasher@...> wrote: My suggestion would be to switch to 11.052mhz and make it an option in the firmware itself. It could even be part of the initial setup sequence, with the frequency written clearly on the board.? |
I don't see the problem.
toggle quoted message
Show quoted text
Anybody upgrading firmware on a v3 or v4 board typically recompiles the source using the Arduino IDE. The v5 boards could have the same source code, I assume 11.052mhz crystals would be the default going forward. Those with 12mhz crystals on v3 and v4 boards need only change one line of code before compiling. Consider the code of post? ?/g/BITX20/message/44278 To update that code fragment for v5 boards, just change this line: <? uint32_t? f12c? = 11998000;? ? ?// center of 12mhz filter to this: >? uint32_t? f12c? = 11050000;? ? ?// center of filter using 11.052 crystals Probably best done as a #define at the top of the main file where folks can easily find it. I assume that the filter center frequency is about 2khz down from the parallel resonant frequency marked on the crystals. The most difficult part of this switch would be to find a more appropriate name for "f12c". Note that these RAM variables in that code fragment: uint32_t? f45c? = 44995000;? ? ?// center of 45mhz filter
uint32_t? f12c? = 11998000;? ? ?// center of 12mhz filter
uint32_t? pbt? ?=? ? ?1500;? ? ?// bfo is 1500 hz below f12c
Jerry, KE7ERcan be usefully changed by the user to set the BFO offset and the center frequencies of the two crystal filters. It should be possible to save all those changes to eeprom for the next power up. So even if f12c did get compiled to be 11050000, users of v3 and v4 boards could simply scoot that value over to 11998000 using the configuration menu. But I think it's better to just change a #define for f12c before compiling so it is close to working at first power up. If that's some sort of problem, it's way way less of a problem than being plagued by audio tones from the 12mhz BFO beating with stuff on the Nano. On Mon, Nov 12, 2018 at 07:38 PM, Ashhar Farhan wrote:
i did think of that, the trouble is that by default, it would switch to one frequency or the other. |
jerry, - f On Tue, Nov 13, 2018 at 10:23 AM Jerry Gaffke via Groups.Io <jgaffke=[email protected]> wrote: I don't see the problem. |
I suppose one could read your USB_CAL parameter from EEPROM,
toggle quoted message
Show quoted text
If it's around 12000000 then assume it's a v3,v4 rig. If it's around 11050000 then assume it's a v5 rig. If it's neither, print a warning and assume it's a v5 rig. Include a menu item to force it one way or the other.? People may have reason to swap Nano's around between rigs. But I'm not convinced any of that extra code is necessary, all we need is a? #define? at the top of a file somewhere to switch it one way or the other.? If somebody is upgrading firmware on v3 and v4 boards, they are apparently competent enough to install the IDE, download your code,? and get the host to talk to the Nano. And thus competent enough to change a? ? #define. Or choose the correct zip archive that already has that? ?#define? ?set for their v3,v4 board. You may come up with other reasons to have a? #define? ?in there. Maybe stir the Nano pinout for cleaner CW keying, an SWR indicator, ... And if major changes are warranted, fine with me if it becomes a whole new body of code. Jerry, KE7ER ? On Mon, Nov 12, 2018 at 09:51 PM, Ashhar Farhan wrote:
i guess the old boards will already have the bfo set to 11.995 or thereabouts, if we sniff it we can shift to 11.052 mhz. will that work? |
Or call it something that makes it obviously different like the uBITX mk2. People are fairly used to having different versions of things. I think this fix is significant enough to warrant such a change, as it really redefines the uBITX in the ham radio world. I hate to say it, but the uBITX has the spur reputation to shake off in some communities, and a "mark 2" or other revision would really help. "v5" might not be enough to set it apart. And, it solves the firmware compatibility issues, because people will generally be smart enough to download the correct firmware for their board, especially if the "MK2" designation is silkscreened in an obvious spot on the board for easy identification.?
-- Ryan Flowers - W7RLF |
Martin KM6TCD
How do we tell if we have a board that needs relays replaced?
?
Sent:?Monday, November 12, 2018 at 1:05 AM
From:?"Ashhar Farhan" <farhanbox@...> To:[email protected] Subject:?Re: [BITX20] spur & harmonics fix, v2 simon,?
?
our new relays have less leakage. they are within have sufficiently low leakage to keep the harmonics within the specs. the earlier boards will need to replace the relays.
?
- f
On Mon, Nov 12, 2018 at 2:22 PM Kelly Jack <kellyjack1968@...> wrote:
Farhan, |