-
Notifications
You must be signed in to change notification settings - Fork 189
Adjustment and Configuration Manual
Once you finished the assembly and loading the firmware, you should run through a number of important setup steps and calibrations. There are plenty more things to configure, but the ones listed here should be done initially. And in most cases, you will not have to touch these again unless you modify the hardware or the firmware improves and you are asked to re-calibrate.
- Input Test
- Touchscreen Setup
- Basic Setup
- SWR Meter Reverse/Forward Orientation
- TX PA Calibration
- TX/RX IQ Balance Calibration
- SWR/Power Meter Calibration
- Voltmeter Calibration
- Frequency Calibration
You should as first action test if all buttons and encoders are working as expected. Holding down any button during startup will bring you into the "INPUT TEST SCREEN". If this screen comes up each time you power on, you have a badly wired button or another hardware issue (solder bridge, defective gpio pin). The "Keys Initial" value represents the press keys at startup time. If you don't press a button but still "Keys Current" and "Keys Initial" show the same value, you have "stuck" keys. "Keys Current" must be "00000000" if no key is pressed.
Press each of the buttons and see if the display reacts to this. At least the "Keys Current" value must change if you press a key. In most case you should also see the function name of the button shown on the display (in some configurations some buttons don't have a function, then you don't see the function name). Turning the encoders should give you the correct direction of your turning action and the number of the encoder.
Last but not least you can test if the screen responds to touch actions. Even without calibration you should see some coordinates display if you press on the touchscreen. If you see "Touch (no cntlr)" but no coordinates, then the firmware cannot speak to the touchscreen controller via SPI. This is in general a wiring / hardware issue you should fix.
If you added touchscreen connections, check if the touchscreen is working correctly using the following procedure
Skip this if you don't have the touchscreen connections fitted.
- Touch screen at any point while simultaneously pressing the boot button to start the machine
- Keep touch screen pressed until screen with calibration information appears
- Follow the instructions on the following screens (which involves calibration by touching several points on the touch screen with your touch pen or fingers)
- After the calibration procedure, enjoy the touchscreen functions!
- Go to standard menu, set RX/TX Xlate to -12khz.
- If you have no MCP9801 temperature sensor fitted (mcHF 0.6.x for instance), set TCXO to OFF
If you finished the PA and you can measure HF output coming out of the mcHF in Tune mode, but SWR meter does not show a proper SWR and no power is shown on the meters of the mcHF, you most likely will have to switch the orientation of the SWR meter in software. Go to the "Configuration" menu and set "SWR/PWR Meter FWD/REV Swap" to "ON".
What you will need:
- Operational PTT switch connected to the microphone/ptt connector or CW paddles connected to the CW keyer port
- An ampere meter OR a power supply with sufficiently accurate current measurement (minium resolution 10mA)
- A dummy load capable of handling at least 10W or more (20W or more recommended). If dummy load is not available, an alternative is an antenna (then calibration should be done only in the antenna bands and with an SWR meter to verify low SWR)
- [Optional] HF Power Meter
- [Optional] Oscilloscope
- [Optional] Connect dummy load or antenna. Since no actual RF is being produced if everything goes right, the mcHF doesn't have to be connected to a dummy load or antenna. But to play safe, it doesn't hurt and is required for the next calibration steps anyway.
- Connect a microphone or cw paddles to your mchf.
- Put an amperemeter in the positive power supply line (range 2A) and switch on mcHF
- Choose mode LSB or USB, the band is not important.
- Make sure nothing is connected to the extern line in port of the TRX.
- If you use a microphone wit PTT switch, choose TX audio input to be coming from one of the "Line In" sources by long pressing M3 (multiple times). The TX audio source should show L>R (line in right channel) or L>L (line in left channel). If no microphone is connected, MIC (microphone) TX audio source will work too.
- Enter "PA Configuration Menu", "PA Bias".
- Setting must be "0" (if not - correct it after pressing PTT briefly).
- Press PTT or CW paddle. It is important that no RF is being produced.
- The measured current at this point is the "start mark", write it down. Be sure to have the PA Bias set to the lowest possible value.
- Now adjust bias so that measure current is 500mA higher than this "start mark". E.g. you measure 460mA in the previous step, so the target current is around 960mA (460+500).
A: Be sure to use none-defective, genuine RD16HHF. If one of the 2 PA mosfet is defective, for obvious reason, it is difficult to achieve the 500mA current increase.
Some RD16HHF required a higher bias voltage to achieve the desired bias current. A modification to the bias voltage regulator U18 can help here. A resistor of 3k3 between pin 1 and 4 increases the bias voltage range by 0.8V. If this is still not sufficient use 2k2, which provides an increase of 1.2V. If these modification still not get you into the 500mA, check the PA transistors again and consider replacing them.
Before this step the PA Bias must be set using the previous steps.
It is mandatory to connect a dummy load or properly tuned antenna.
You will need a way to measure the generated RF power. Best is to use an oscilloscope or proper RF power meter. The power meter of the UHSDR TRX can be used. But since it is not calibrated initially, it is only a rough estimation tool.
The standard mcHF supports 160m to 10m operation, although 160m transmit into an antenna without additional LPF between PA and antenna is not recommended. It is recommended to calibrate all bands from 160m to 10m.
The mcHF is able to produce more than 5W on most bands. However, best signal quality is achieved with 5W or less. All power levels below 5W are derived from the 5W settings, thus it is important to calibrate the 5W setting properly.
- Choose mode LSB or USB.
- Set "PA Configuration Menu", "Tune Tone" to "Single".
- Set "PA Configuration Menu", "Tune Power Level" to either "5W" or to "as TX PWR" and change TX power to "5W"
- Enter "PA Configuration Menu", "xxm 5W PWR Adjust" (replace xx with your bands 10, 12, ... ,160m). You will be able to change the value for a band only if the band is selected!
- Press F5 - "Tune".
- Make sure you see "5W" as power indication in the blue "TX power" box. If not, see step 3.
- Set gain to achieve 5W of output power.
- If the output power is already near or over 5W with the current "5W PWR adjust" setting near its minimum, enable the "Reduce power on low bands" option (for frequencies < 8MHz) or "Reduce power on high bands" (>8 MHz) and try again. Note that after changing these options, the adjustments for all affected bands will need to be updated.
- Press F5 - "Tune" again.
Procedure to setup RF power in Full Power
menu for each frequency band you intend to use, the standard mcHF supports 160m to 10m operation, although 160m transmit without additional LPF between PA and antenna is not recommended.
- Choose mode LSB or USB.
- Set "PA Configuration Menu", "Tune Tone" to "Single".
- Set "PA Configuration Menu", "Tune Power Level" to either "Full" or to "as TX PWR" and change TX power to "Full"
- Enter "PA Configuration Menu", "xxm Full PWR Adjust" (replace xx with your bands10, 12, ... ,160m). You will be able to change the value for a band only if the band is selected!
- Press F5 - "Tune".
- Make sure you see "Full" as power indication in the blue "TX power" box. If not, see step 3.
- Set the gain up to the point, where RF power stays at maximum and only DC current increases
- Reduce the gain back to get approximately 1dB less RF power (down-to 79%). To avoid possible instability of the PA a setting power back -1.5dB (down to 70%) is recommended.
Using the integrated two tone signal generator, you can also adjust for nice looking two tone signal with an oscilloscope instead of using the above procedure. You will have lower maximum output power settings when using this method, since it will keep you in the (more) linear range of the PA.
The RF Power Meter should be calibrated to show proper values. Calibration needs to be done for some but not all bands, the software calculates the values for other bands.
- Choose mode LSB or USB.
- Choose 5W power
- Set "PA Configuration Menu", "Tune Tone" to "Single".
- Enter "PA Configuration Menu", "xxm Coupling Adj." (replace xx with 15, 20, 40, 80 ,160). You will be able to change the value for a band only if the band is selected!
- Press F5 - "Tune".
- Set the coupling up to the point, where RF power meter shows roughly 5W.
Please, keep in mind that transmitting FM or digital modes means there is a continuous carrier of a chosen power present at the RF output. It is highly advisable to have an adequate cooling of PA stage.
In the real world certain hardware-related influences affect the analog IQ signal in the mcHF. It is not perfectly symmetrical and the phase may not be exactly 90 degrees and/or the amplitudes may not be exactly equal. In the software domain we can use calibration to reduce/correct this problem. This requires careful adjustment of IQ phase and gain balance both for the RX and TX signal path. The mcHF from version 1.5.7 provides 3 groups of adjustments. 2 groups are for receive and transmission in a given translation mode. The third group is for adjustments in case of CW transmission (and all other untranslated transmission, which is not recommended). First of all make the adjustments in USB and translate mode. When complete, continue through the adjustments for CW mode. The CW mode adjustments do not use frequency translate, these are different software parameters to USB translate mode, so follow the adjustments through to the end. For receive only, there is now [Valid from 1.5.8] the ability for an automatically adjusted IQ phase and amplitude imbalance correction (see point RX IQ adjustments).
You will need a SSB receiver for 80m and 10m, or an spectrum analyzer for this frequency range. The instructions are given for a frequency translation of -12khz. If you want to use a different translation frequency, it is recommended to run the procedure in the desired translation mode. While the overall approach is the same, frequencies will change, so if in doubt, we recommend to stick to -12kHz translation.
- Set the frequency translation to -12khz
- Set power to 0.5W
- Connect dummy load or attenuator, if nothing else is available, use an antenna.
- The mcHF is always used to transmit the signal in USB mode!
- The second receiver is always used to receive the signal in LSB mode!
- Switch mcHF to 80m band.
- Switch to USB mode. To switch to USB from LSB use a long press on the Mode button.
- Set the mcHF frequency to 3.624.000 Hz.
- Start "Tune". You should now be able to listen to the generated signal on a second receiver (LSB: Dial Frequency of second receiver 3.625.500, USB: 3.624.000). It should have a good strength (around S9).
- Tune second receiver to 3.600.000 Hz, LSB (!!).
- You should be able to hear a much weaker tone. Maybe you have to change the frequency of second receiver +/- 500 Hz for getting the tone in reasonable frequency. A spectrum analyzer or IQ receiver will show the weak signal around 3.599.250 Hz.
- Enter the "Configuration Menu", go to the "TX IQ Phase (80m)" setting.
- Now change the value so that the tone can no longer be heard or is minimal. The direction to change values depends on your mcHF, e.g. you may need to set a positive or a negative value.
- Once you found the minimum using the "TX IQ Phase (80m)", and you still hear something, use the "TX IQ Balance (80m)" setting to further reduce the tone.
- You may vary both settings alternatively slightly to find the best setting.
You simply repeat all steps for the 80m band. Only this time in the 10m band and using the TX IQ Balance/Phase 10m settings. The initial USB frequency should be 28.124.000 Mhz (Receive for monitoring original TX signal is LSB: 28.125.500, USB: 28.124.000). The second receiver's LSB (!!) frequency for calibration purposes is 28.100.000 khz. A spectrum analyzer or IQ receiver will show the weak signal around 28.099.250 Hz.
- Set USB mode on mcHF. (Yes!)
- Set Frequency Translation to OFF
- Set LSB mode on second receiver.
- Set mcHF and second receiver to 80m: dial frequency 3624.00 kHz. Now minimize received signal using CW TX IQ/Phase settings for 80m.
- Repeat the last step for dial frequency 28.124.00 kHz and minimize with CW TX IQ/Phase settings for 10m..
- Restore original frequency translation mode.
Do NOT use CW for setting this because of the settings for frequency of second receiver would differ. Why make it complicate if it can be done simply?
If you do not adjust these settings values for all bands between 80m...10m are calculated in linear approximation. But behaviour is not linear... By adjustting these settings you will define more waypoints for a better IQ calculation over the complete range. Procedure is same as mentioned above. You have to adjust for SSB (translated mode) and CW (without translation) seperately.
There are two ways to adjust for IQ phase and amplitude imbalances in RX:
-
Automatic IQ correction [Valid from 1.5.8]: Just go into the Configuration Menu and switch "RX IQ AUTO CORRECTION" to ON. Ready to go! No more adjustments required. This can achieve up to 65dB of mirror rejection! Thanks to Yves HB9EWY for doing a real and reliable measurement! If you believe you can do it better than 65dB with your hands on your mcHF, you will have to do the manual IQ phase and amplitude imbalance adjustment:
-
Manual IQ correction: You will need a signal generator for 80m and 10m. If you use a normal transmitter with a tune signal, use USB mode on that transmitter. Make sure you receive the strong main signal on the original RX frequency before searching the weak signal on the secondary frequency!
- Get the frequency translation to -12khz (after calibration you may set any value you want)
- Connect signal generator to mcHF (maybe via attenuator regarding output of signal generator) or make sure you can receive your transmitter with sufficient but not too high signal level.
- The mcHF is used to receive the original signal in USB mode, the secondary signal in LSB mode !
- The signal generator is always used to transmit the signal carrier at the given frequency!
- Set the signal generator to 3.601.000 Hz in the 80m band (If using a second TRX: 3.600.000 Hz in USB mode, activate Tune mode).
- Switch mcHF to 80m band at 3.600.000 Hz.
- Switch to USB mode. To switch use a long press on the Mode button.
- You should be able to receive the generated signal with the mcHF.
- Tune mcHF to 3.624.000 Hz.
- Switch to LSB mode (!!) by a long press on the Mode button. If necessary, adjust +/- 500Hz for getting tone in reasonable frequency, if not right on spot.
- You should be able to hear a much weaker tone.
- Enter the "Configuration Menu", go to the "RX IQ Phase (80m)" setting.
- Now change the value so that the tone can no longer be heard or is minimal. The direction to change values depends on your mcHF, e.g. you may need to set a positive or a negative value.
- Once you found the minimum using the "RX IQ Phase (80m)", and you may still hear something, use the "RX IQ Balance (80m)" setting to further reduce the tone.
- You may vary both settings alternatively slightly to find the best setting.
You simply repeat all steps for the 80m band. Only this time in the 10m band and using the RX IQ Balance/Phase 10m settings. The initial RX frequency should be 28.100.000 Mhz, USB, signal generator set to 28.101.000 Hz (TRX: 28.100.000, USB, Tune Mode). The secondary RX frequency for the mcHF is then 28.124.000 khz LSB (!!).
In order to have the SWR/Power meter to be more accurate, you may want to run the calibrations below. Default values are often good enough to start with but the mcHF can be fairly accurate if calibrated properly.
Preparation: You have to make the resistor-change modification to the SWR hardware circuitry. If you haven't done so, the mcHF will show a message in the boot screen.
- You should have done at least the PA BIAS calibration.
- Connect dummy load. Better safe than sorry.
- In Configuration Menu set "Pwr. Display mW" to "ON"
- Set Input to DIG, with no USB cable connected
- Set mode to USB or LSB
- Key the transmitter by pressing PTT
- Adjust in Configuration menu the setting "Pwr. Det. Null" so that the displayed mW power values are flickering between 0 and 2 max. Do not go lower than necessary to achieve that.
- In Configuration menu disable "Pwr. Display mW". It will be disabled on next boot in any case.
You will need a good power meter or oscilloscope in order to measure the true power emitted by the mcHF.
- You should have done at least the PA BIAS calibration.
- Connect dummy load which can handle at least 5W.
- Set TX power to 5W.
- In Configuration menu enable "Pwr. Display mW".
- Set mode to USB or LSB
- Select lowest band you want to transmit in (80m).
- Go to the PA Calibration menu to the "80m Coupling Adj." setting.
- Press Tune. Align as closely as possible the displayed mW value for forward power and measured power by changing the setting.
- Repeat this for 40m (60m), 20m (30m), 15m (10m, 12m, 17m). Bands in parentheses are using the same coupling factor.
The power supply voltage (12V DC) is measured and displayed in the lower left corner of the mcHF's LCD. Calibrating can be done, if the displayed value isn't correct.
- Measure the supply voltage with a digital voltmeter (resolution 10mV) or use a precise power supply with known output voltage.
- Choose "Voltmeter Cal." in the "Configuration Menu"
- If the displayed voltage is higher than the known supply voltage, decrease the setting (default: 100) until the correct voltage is displayed.
- If the displayed voltage is lower than the known supply voltage, increase the setting until the correct voltage is displayed.
- Save configuration by long press on "MENU" or "EXIT" button (F1)
The Si570 is fairly well calibrated, yet even 10ppm accuracy mean 100 Hz @ 10Mhz and almost 300Hz at 28Mhz. The mcHF firmware permits to fine tune the calibration. Equipment needed:
- Either an as exact and as high as possible reference frequency signal (single carrier, no modulated signal OR a strong broadcast station) (RX calibration approach)
- OR a precise frequency counter (TX calibration approach).
Preparation: Bring the mcHF upto the normal operating temperature of the TCXO (can take up to 15 minutes).
Frequency calibration can be done either in TX or in RX mode and has only to be done in one of the modes, not both! The calibration -once done and saved- is then valid for both: RX AND TX.
- Set a "FM" mode (FM-N or FM-W)
- Set input to DIG, do not connect USB cable. Alternatively you may also use any other input mode, be sure to have no input signal.
- Connect frequency counter to mcHF Antenna port (via attenuator)
- Start "Tune"
- Go into the configuration, item "Frequency Calib.". Now change the PPM value so that frequency counter displays frequency shown on mcHF display.
- Save configuration by long press on "MENU" or "EXIT" button (F1)
- Set demodulation mode to "SAM"
- Tune into China Radio International on the 16m or 19m band (do this at daytime). You can take any other broadcast station, but China Radio International/Radio Romania Intl are well known for being exactly on the accurate frequency. Many broadcast stations are NOT on the accurate frequency, e.g. Voice of Turkey, Voice of Iran, most (if not all) Brazilian radio stations etc. Alternatively use a well-calibrated signal generator with a frequency as high as possible (28MHz).
- Wait until the SAM demodulator has captured the carrier and the carrier frequency is displayed in the small frequency display and the small frequency display is stable
- Go into Configuration menu to "Frequency Calib." Adjust the PPM value until the small frequency display shows exactly xxxxxx.000 Hz
- Save configuration by long press on "MENU" or "EXIT" button (F1)
- Supported SDR Hardware
- UHSDR: Manuals
- mcHF: Building your own SDR
- OVI40: Building your own SDR
- UHSDR: SW Installation on SDR
- UHSDR: Theory of Operation
- UHSDR: SW Development
- UHSDR: Supported Hardware
- UHSDR: Manuals
- Building a mcHF SDR
-
Building a OVI40 SDR
- UHSDR SW Installation
- Theory of Operation
- UHSDR SW Development