-
A New View for a Security Camera: Swapping the Lens
Sometimes seeing more is not the same as seeing better. A wide camera view is useful when you want to monitor a large area, but it can make distant details look small.
For my AREDN project, I wanted to give an existing Reolink RLC-510A a more focused view. It is an outdoor camera that can be accessed easily over HTTP and works without cloud services. Its fixed 4 mm lens covers about 80 degrees horizontally, which is wider than I need.
The camera uses a standard board with an M12 lens mount. For this project, I used a 12 mm replacement lens. 12 mm lenses are available in different quality levels. The inexpensive versions are mainly suitable for daytime use and have limited optical quality1. Higher-quality lenses are available from manufacturers such as Commonlands. Make sure that any replacement lens does not have an IR filter, because the Reolink camera already has one. This focal length was ideal for my project. After the swap, the horizontal field of view changed from about 80 degrees to about 28 degrees.
The following example images show the difference between the original 4 mm lens and the narrower view provided by the 12 mm lens.
Opening the Camera Housing
To access the lens, remove the three screws on the back of the housing. The front cover can then be removed to expose the lens board.
Unplug the IR board connector, then remove the board by unscrewing it.
Removing the Factory Glue
The original lens is secured with a hard factory adhesive. The lens mount is made of ABS plastic, so acetone and other harsh chemicals are not suitable. They can melt the plastic threads.
The safest approach is to remove the adhesive without using chemicals. Use a sharp knife to carefully scrape and lift it away from the lens mount. Take your time and avoid cutting into the plastic.
After removing as much of the glue as possible, slowly try to unscrew the original lens. Do not use pliers or force it, as this could damage the plastic threads. If it does not turn easily, remove more adhesive first.
Installing the New Lens
Screw the 12 mm lens into the mount and check that it sits straight. The fit is tight enough to hold the lens securely. No new glue is needed.
Adjusting the Lens and Cover
Connect to the camera and adjust the lens until the live image is sharp. Check the image at the distance where you plan to use the camera.
The adjusted 12 mm lens sticks out farther than the original, so the front cover needs a spacer.
The spacer should be about 3 mm thick to extend the housing and give the lens enough room. This is better than holding the cover in place with tape.
Building a custom spacer
M2.5 screws are available in sets, but the sets never include the length I need. I therefore make the screws myself from a piece of brass. The thread pitch is 0.45 mm.
The spacer is made from a plastic plate.
If you have access to a lathe, the plastic plate can be shaped accurately this way. Otherwise, it can also be cut and drilled by hand.
Cut the openings for the screws and the circuit-board holder.
A 3D-printed spacer is another option. If the camera is installed outdoors, use a material that is suitable for outdoor use and resistant to UV light.
The lens sits almost flush with the front glass.
A second camera with a 50 mm lens
The lens is considerably larger than the 12 mm lens, and the spacer must be adapted accordingly.
For this setup, the spacer needs to be 22 mm high.
-
The following image illustrates the limited nighttime quality of an inexpensive 12 mm lens. The bright spots are internal reflections within the lens; because the optics are uncoated, bright light sources at night can reflect between the lens elements and appear as spots in the image:
-
-
Installing AREDN firmware on a MikroTik SXTsq Antenna
This guide documents the installation process of AREDN on a MikroTik SXTsq Lite2 using the PXE/TFTP method.
Although written for the SXTsq Lite2, most steps also apply to other MikroTik devices using RouterBOOT and Etherboot.
Please check out the official documentation first: http://docs.arednmesh.org/en/latest/
Prerequisite
The installation of the AREDN firmware is using a direct connection to the device without a firewall or wlan.
- Download the KERNEL and the SYSUPGRADE-V7 bin files from
https://downloads.arednmesh.org/afs/www/
(Please note that the screenshot shows the current version as of writing)
-
Tiny PXE version 1.0.0.23 https://github.com/erwan2212/tinypxeserver/blob/main/pxesrv.zip
Note: Version 1.0.0.24 caused DHCP socket errors during testing. Example errors:16:41:56 DHCPd:REQUEST received, MAC:D0-EA-11-94-AB-C7, XID:464E87C0 16:41:56 DHCPd:BOOTP REQUEST 16:41:56 DHCPd:REQUEST does not match a known offer, MAC:D0-EA-11-94-AB-C7, XID:464E87C018:42:44 DHCPd:DISCOVER received, MAC:00-E0-4C-68-0A-86, XID:8DF01C2D 18:42:45 send_dhcpoffer:Socket Error # 10049 Cannot assign requested address.Version 1.0.0.23 worked correctly.
-
NetInstall tool https://mikrotik.com/download/tools
-
Original Router OS image to restore the Antenna https://mikrotik.com/download?architecture=mipsbe
in System Package click on RouterOS -
Connect the Antenna (or any Mikrotik device you are flashing) to the PCs Ethernet port:
Connect to the router via WinBox or SSH and run:
/system/device-mode/printExample:
routerboard: noIf
routerboardis set tono, RouterBOARD settings cannot be modified. In this case, run:/system/device-mode/update routerboard=yesThe router responds with something similar to:
update: turn off power in 5m to activate changesPower-cycle the device within the specified time.
Verify:/system/device-mode/printExpected:
routerboard: yesCheck current settings:
/system routerboard settings printConfigure Ethernet boot:
/system routerboard settings set boot-device=try-ethernet-once-then-nandVerify:
/system routerboard settings printExpected:
boot-device: try-ethernet-once-then-nand boot-protocol: bootp
Set Firewall Off
Disconnect from the Internet by switching off the WLAN connection.
In the windows settings, enter 'Firewall' to get this dialog. Click the highlighted topic to switch the firewall on or off.
Note: All screenshots from a live system. The language varies, but the tech stays the same.
Click the deactivate option for both the private and public:
The dialog now shows the firewall set to off:
Set static IP for your computer
Open the network adapter connection dialog.
You can enter ncpa.cpl in the windows start menu.
(ncpa.cpl stands for Network Control Panel Applet)- Right click the Ethernet adapter
- Select Internet protocol Version 4 (TCP/IPv4)
- Set the IP address to 192.168.1.10
- Set the Sub net mask to 255.255.255.0
- Unset the DNS server auto selection
Install
Unzip the pxesrv.zip to a folder.
Copy the initramfs-kernel.bin file, in this example aredn-4.26.7.0-ath79-mikrotik-mikrotik_routerboard-sxtsq-2nd-initramfs-kernel.bin to the subfolder files in your pxesrv folder as the file rb.elf.
Run pxesrv.exe from your pxesrv folder as admininstrator.
-
Confirm Option 54 to have 192.168.1.10 and the Bind IP option is set.
-
Select the Boot File rd.elf you just copied/renamed in the files folder.
-
Uncheck option Filename if user-class=gPXE or iPXE
-
Click Online
First Node Setup
Unplug the power of the Antenna and press the reset button.
While keeping the reset button hold, plug the antenna back in. Keep the reset button hold until you see TFTPd:DoREadFile:rb.elf
The first boot image is getting installed. It is temporary so do not unplug the power once it finished.
Once the transfer is done, launch 192.168.1.1 in an in-private browser window and select the second AREDN firmware file ending in -sysupgrade-v7.bin. Click Upload & Reboot
AREDN Firmware is getting installed:
Set Node Name and password and click Save & Reboot
Once the node rebooted, enable back the firewall and then restore the Internet connection:
Set the IP-Address back to auto:
Use an in-private browser window to avoid any cached content or settings and open http://10.148.171.200
You should see a page similiar to this:
This concludes the Mikrotik-Firmware update.
GL.iNet AR750 router setup
If your router is not already flashed for AREDN, follow these steps:
Flashing the AREDN firmware onto a factory-fresh GL.iNet AR750 is straightforward, but you must use the correct physical port and bootloader menu.
Because the router's recovery mode cannot assign IP addresses automatically, you must configure your computer manually first.
- Take an Ethernet cable and plug it into the middle LAN port of the AR750. Connect the other end directly to your PC.
- Open your computer's network adapter settings (IPv4) and change it from DHCP to Manual (Static IP).
- Enter the following exact values:
- IP Address:
192.168.1.2 - Subnet Mask:
255.255.255.0 - Gateway:
192.168.1.1
- IP Address:
Now, we set the AR750 into its built-in web recovery mode.
- Unplug the power cable (Micro-USB) from the AR750.
- Use a paperclip or a pen to press and hold the Reset button on the side.
- Plug the power cable back in while keeping the Reset button pressed.
- Watch the front LEDs: The power light will turn on, and the Wi-Fi LED will start flashing (about 5 times).
- After several seconds, when the flashing changes, release the Reset button.
Your AR750 is now hosting a minimal web interface specifically designed for manual firmware installation.
- Open your web browser and navigate to
http://192.168.1.1 - You will see a simple interface titled "GL.iNet Firmware Update".
- Click Choose File and select your downloaded AREDN factory firmware file (ends in
.binor.img). - Click Update firmware.
â ïž Important: Wait a few minutes. Do not unplug the power while the router is flashing.
Once complete, the router automatically reboots into AREDN.
- Go back to your computer's network adapter settings and switch IPv4 back to Automatic (DHCP).
- Plug an internet-connected cable from your home router into the LAN port of the AR750.
- Open your browser and type
http://local.meshto begin the initial AREDN setup wizard.
Mikrotik and AR750 Router Setup
Mikrotik gets connected to the middle port for the DTD connection (VLAN-2).
PC goes to the right side LAN port.
Later, the Home-Router goes to the left side WAN port (with the globe symbol) to allow internet connection for the AREDN devices.Setup with added Message Board
Restoring Original MikroTik Firmware
Download:
- MikroTik Netinstall https://mikrotik.com/download/tools
- RouterOS package https://mikrotik.com/download?architecture=mipsbe
Select the SXTsq device and the downloaded original firmware:
Click Install
Status Done is displayed when install finished successfully.
Start WinBox, set firewall on, wlan on, and IP-Address back to auto as described in the chapter above.
Select System - Reset configuration
Note: if http://192.168.88.1 does not work, set the address:
Why Can't I Access
local.meshFrom My Home Network?When you first connect your newly flashed AREDN router (like the GL.iNet AR750) to your home network, you will likely notice that you can see the router's IP address inside your home router's dashboard, but when you type
http://local.meshinto your browser, you get a 'Site cannot be reached' error.Why does this happen? And how do you fix it without breaking your home internet?
The Technical Reason: A Tale of Two DNS Servers
When your PC is connected to your normal home Wi-Fi, your home router acts as your DNS Server. Its only job is to translate domain names into IP addresses.
- If you type
google.com, your home router asks the internet, gets the IP, and loads the page. - If you type
localnode.local.mesh, your home router searches the global internet for the.meshextension. Since.meshdoes not exist in the public domain space, your router responds with "Server not found."
Your home network does not know that the AREDN router sitting next to it holds the map to the
.meshuniverse.â What NOT to do
You could try to fix this by adding static routing tables to your Windows PC, modifying your operating system's
hostsfiles, or configuring custom DNS forwarding rules inside your primary home router.Don't do this. It creates IP conflicts, breaks your VPNs, and will likely lock you out of your internet or your AREDN node entirely.
The Solution: Connect Directly to the AREDN LAN
The official way to work with AREDN is to completely separate the two worlds. Instead of trying to reach the node through your home network, connect directly onto the AREDN network.
- The WAN Port (the port with the globe icon) of your AR750 plugged into your home router allows your AREDN node to access the internet (needed for updates or setting up tunnel connections).
- The Device Connection: Look for the unencrypted Wi-Fi network broadcasting from your AR750 (the default SSID is
AREDN-LAN). - Switch Networks: Disconnect your laptop or phone from your home Wi-Fi and connect to
AREDN-LAN.
By connecting directly to the AREDN Wi-Fi access point, you are changing who is in charge of your network. Your computer is now connecting directly to the AR750's internal DNS server.
Now, when you type
http://local.mesh, the AR750 instantly recognizes the request, resolves the name, and opens up the AREDN dashboard.The WAN port is for the router to connect to the internet. The LAN port (and AREDN Wi-Fi) is for devices to connect to the Mesh.
When you want to experiment with Amateur Radio Mesh networks, simply switch your Wi-Fi to
AREDN-LAN. - Download the KERNEL and the SYSUPGRADE-V7 bin files from
https://downloads.arednmesh.org/afs/www/
-
AREDN Server for ESP32
An experimental lightweight local web server for the AREDN (Amateur Radio Emergency Data Network). It runs on an Arduino Nano ESP32 and provides a message board, a camera snapshot page, and browser-based radio calculators without requiring external internet or central server infrastructure.
Features
- The browser polls the message board every 30 seconds by default and requests only messages newer than the latest received ID.
- HTTP responses use
Connection: closeto free TCP sockets promptly. - Messages are stored as validated fixed-size binary records in FFat. JSON is used for import and export.
- Messages support Green, Orange (warning), and Red (emergency) priorities, with browser-side rendering and filtering.
- All service pages synchronize the device clock from the visiting browser; the message board also periodically corrects clock drift.
- The camera snapshot is fetched once every 30 seconds by a background task, independently of the number of viewers.
- Radio Tools provides browser-side Maidenhead locator and radio link-budget calculators without additional ESP32 processing.
System Requirements
- Hardware: Arduino Nano ESP32, or an equivalent ESP32 board with sufficient flash memory mapped for FFat.
- Client: A modern web browser with HTML5 and ES6 support.
Hardware
The optional SSD1306 OLED uses the board's default I2C interface and address
0x3C. When connected, it cycles every five seconds through four screens: main server status, a large two-line IP address, the newest message, and camera status. The camera screen shows the snapshot age and actual JPEG dimensions, the measured interval between the last two successful snapshots, the next requested resolution, and the duration and bytes received in the last camera fetch (including failed attempts). Until two snapshots have been received, the measured refresh interval is shown as waiting. The main screen shows the router connection state and Wi-Fi signal strength. If no router Wi-Fi credentials are saved, the OLED displays the setup access point name, password, and setup URL. The web service can also run without the OLED.OLED Wiring
For an Arduino Nano ESP32, connect a 4-pin I2C SSD1306 OLED as follows:
OLED pin Nano ESP32 pin Description VCC3V33.3 V supply GNDGNDGround SDAA4/SDAI2C data SCLA5/SCLI2C clock Check the module's pin labels before connecting it. Do not apply 5 V to a 3.3 V-only OLED module.
Installation
Choose either the web flasher or build from source.
Flash with the web flasher
The firmware can be flashed online directly to the board using the AREDN Firmware Flasher.
Connect the board to your computer by USB, open the page in a supported browser, and follow its instructions. After flashing, connect to the
AREDN-Server-Setupaccess point and follow the setup steps below.Build and flash from source
You can build and install the firmware from the GitHub source repository:
- Install the ESP32 board package in the Arduino IDE.
- Select an Arduino Nano ESP32 or a compatible ESP32 board with FFat support.
- Install these libraries through the Arduino Library Manager:
- ESPAsyncWebServer
- Adafruit GFX Library
- Adafruit SSD1306
- Open
aredn-services.ino, select the correct board and port, then upload the sketch. - Connect to the
AREDN-Server-Setupaccess point and follow the setup steps below.
The service uses the ESP32's built-in
WiFi,Wire,FFat, FreeRTOS, and system libraries.WebServerandArduinoJsonare not required.Setup
The device always starts the
AREDN-Server-Setupaccess point, including while connected to router Wi-Fi:- Access point:
AREDN-Server-Setup - Password:
arednsetup - Setup page:
http://192.168.4.1/setup
Connect a phone or computer to the setup access point and open the setup page. The setup pages and configuration APIs are available only through this access point, not through router Wi-Fi or the AREDN network.
Wi-Fi Setup
Choose Wi-Fi network on the setup page. Scan for nearby networks and select one, or enter the SSID manually for a hidden network; then enter the Wi-Fi password. A current-connection panel near the top shows the router connection status and the router and setup access point IP addresses. The ESP32 tests the connection and saves working credentials in non-volatile storage. The Wi-Fi settings can be changed later through the setup access point.
Reolink Camera Setup
Open the camera setup page at
http://192.168.4.1/setup/camerawhile connected to the setup access point:- Give the RLC-510A a reserved IPv4 address on a network reachable by the ESP32.
- Enable the camera's HTTP port in Reolink settings. The default port is
80; see Reolink's port settings guide. - Enter the camera IP, HTTP port, Reolink username, and password.
The password is stored in ESP32 Preferences and is never returned by the setup API or sent to camera-page viewers. The camera-to-ESP32 request uses HTTP and includes the camera credentials in that local request. Use a dedicated camera account and keep the camera connection on a trusted local network; do not expose the camera's HTTP port to the mesh or Internet.
Services
The service portal is available at
/. The message board is served at/msg-board, with its API under/msg-board/api/. The camera snapshot page is available at/camera. Radio Tools is available at/tools.Message Board
The board supports message submission, priority filtering, search, and administrative editing and import/export. Messages persist in FFat across restarts.
Camera Snapshot
The Camera Snapshot page shows a still JPEG image, refreshed about every 30 seconds. Beside its age, it shows the megapixels of the displayed image. Its preview can be expanded to fullscreen in supported browsers. The SVG overlay is drawn in each visitor's browser and remains separate from the camera JPEG.
The ESP32 starts with Reolink's
cmd=SnapJPEG endpoint at the camera's default resolution. A background FreeRTOS task normally starts one snapshot request every 30 seconds, independently of viewer count; download time is part of that interval. When camera-to-ESP32 transfers remain slow, a time-based controller gradually reduces the requested resolution through 896 Ă 672 and 640 Ă 480. Before increasing resolution it estimates the next image's transfer time from observed image sizes, throughput, and response time; a quick small image alone does not trigger an upgrade to a much larger one. If the estimate is missing or remains unfavorable, the controller occasionally tries the higher level after at least 15 minutes so that a stale size estimate cannot keep it stuck indefinitely. Individual slow transfers do not cause an immediate change, and connection failures alone do not reduce resolution. The controller starts over at the default resolution when camera settings change or the device restarts.Connection and transfer timeouts adapt to recent successful transfers within safety limits. Transient failures are retried after 3 seconds, increasing to at most 30 seconds on consecutive failures; a successful update resets the retry delay. If a slow viewer still holds the spare buffer, the update is retried after 5 seconds without discarding the current image. The latest JPEG is held in two bounded PSRAM buffers so the active image can be served while the next one is downloaded. The browser checks the status endpoint every 5 seconds independently of image downloads, downloads the JPEG only when its version changes, and shows the snapshot age reported by the device. Refreshing pauses while the page is hidden.
The resolution controller measures the camera-to-ESP32 transfer, not individual viewers' connections. The camera status API and browser console report the next requested resolution level (0 is default, 1â4 are the sizes above), the last camera fetch duration and byte count, and the next download timeout. The serial console also logs the request level and separate header and download durations. Actual JPEG dimensions depend on the camera's response to the requested size.
Snapshots larger than the 2 MiB buffer limit are rejected and reported in the camera status.
Radio Tools
The Radio Tools page contains two client-side calculators, in this order:
- Maidenhead Locator accepts even-length locators from 2 to 12 characters and estimates the distance, initial bearing, and center coordinates between them.
- Link Budget Calculator estimates transmit EIRP, free-space path loss, received signal level, and link margin from frequency, distance, transmit power, antenna gains, feedline losses, and receiver sensitivity.
Calculations run in the visitor's browser; the ESP32 only serves the page. Link-budget results are free-space estimates and do not model terrain, obstacles, Fresnel-zone clearance, interference, polarization, or weather.
Storage and Limits
Messages are stored in
/messages.datas fixed-size records with a checksum. Replacement files are written through temporary FFat files so normal imports, edits, and deletions do not modify the active file in place.The in-memory index supports up to 4096 records. Imports currently retain at most 4095 messages; larger imports are accepted but truncated. JSON fixtures in the project are intended for import and pagination testing.
Supported import fields are
id,created_atin UTC ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ),name,text, and optionalpriority(green,orange, orred).API Reference
Message Board API
GET /msg-board/api/messagesreturns newest messages first, at most 100 per request (default 20). Optional parameters:limit=,after=,before=,search=,priority=green|orange|red|all,rev=, andboot=. Clients pass the revision (r) and boot ID (b) from their previous response asrevandboot; the response flagfis thentruewhen a message was edited, deleted, imported, or reset after that revision, or when the device has restarted, and the client must reload the list instead of polling incrementally.POST /msg-board/api/messagessubmits a message.GET /msg-board/api/messages/export.jsondownloads the complete board as JSON; it requires an admin session.GET /msg-board/api/timereturns the current device clock state.POST /msg-board/api/timesets the device time manually using form fieldepoch; it requires an admin session.
Example response from
GET /msg-board/api/messages:{"r":2,"b":"a1b2c3d4e5f60718","f":true,"v":true,"s":"client","e":1790968087,"p":[{"i":10,"t":1790939700,"u":"W6AM","m":"Acknowledged."}]}Administration API
These endpoints require the admin session cookie created by login. The session token is random, expires after one hour, and login is blocked for one minute after five failed attempts:
POST /msg-board/api/admin/loginwith form fieldpasswordPOST /msg-board/api/admin/logout(admin session required)GET /msg-board/api/admin/statusPOST /msg-board/api/admin/importwith anapplication/jsonfile body; the board answers202once the upload is stored and finishes the import in a background taskGET /msg-board/api/admin/import/statusreports{"state":"processing"},{"state":"done","count":,} {"state":"failed","reason":", or"} {"state":"idle"}DELETE /msg-board/api/admin/message?id=andPOST /msg-board/api/admin/message?id=with form fieldsname,text, andpriorityreturn202while the board edits or deletes the message in a background task. Only one edit/delete runs at a time; a competing request gets409with{"error":"board_busy"}and its browser waits for the active operation to finish before asking the administrator to retry.GET /msg-board/api/admin/message/mutation/statusreports{"state":"processing"},{"state":"done"},{"state":"failed"}, or{"state":"idle"}DELETE /msg-board/api/admin/messagesPOST /msg-board/api/admin/format/preparestarts the time-limited confirmation for a full FFat resetPOST /msg-board/api/admin/formaterases the whole FFat partition like a new board after the challenge and exactFORMAT FFATconfirmation are supplied; the request can take up to two minutes, and this deletes all FFat files but does not delete Preferences dataDELETE /msg-board/api/admin/message?id=POST /msg-board/api/admin/message?id=with form fieldsname,text, andpriority(all required)
Device and Setup APIs
GET /api/statusreturns Wi-Fi, heap, and uptime information, the existing top-level board fields, and aservicesobject containing the full status details and volatile page access count for each main service. Status endpoints return indented JSON for easier reading in a browser. Counts include only successful requests for/msg-board,/camera, and/tools; API requests and the home page are not counted. Counts reset on restart.GET /msg-board/api/statusreturns the board readiness, message and storage metrics, and access count.GET /tools/api/statusreturns its status and access count.GET /camera/api/statusreturns the camera snapshot status and access count.POST /api/time/syncaccepts a form fieldepochand submits a browser time sample to the device clock. The root, camera, and message-board pages call it when opened; the message board also calls it during its periodic refresh. Large corrections and corrections after manual time setting require agreement from three distinct clients whose samples are within 10 seconds of each other. Each sample is advanced by the time elapsed since it arrived, a client's newer sample replaces its older one, and samples older than one hour are discarded.The following setup pages and APIs are only available to clients connected to the
AREDN-Server-Setupaccess point:GET /setupserves the setup selection page.GET /setup/wifiserves the Wi-Fi configuration page.GET /setup/cameraserves the Reolink camera configuration page.GET /api/wifi/statusreturns connection state and setup/router IP addresses.POST /api/wifi/scanstarts an asynchronous scan for nearby networks.GET /api/wifi/networksreturnsscanning,completewith scan results, oridle.POST /api/wifi/configaccepts form fieldsssidandpassword; credentials are saved after a successful connection.GET,POST, andDELETE /api/camera/configread, save, and clear camera settings.
Camera Snapshot API
GET /camera/api/statusreports the camera status, snapshot availability, and age without revealing camera settings.GET /camera/image.jpgserves the current cached JPEG. Before the first successful snapshot, it returns503.
Radio Tools
GET /toolsserves the browser-based Maidenhead Locator and Link Budget Calculator page. The calculators do not use additional API endpoints.
Examples
Submit a message:
Invoke-WebRequest http://device-address/msg-board/api/messages -Method Post -Body @{ name = 'W6AM' text = 'Acknowledged.' priority = 'green' # 'green' = normal, 'orange' = important, 'red' = urgent }Read the newest messages:
Invoke-RestMethod 'http://device-address/msg-board/api/messages?limit=20'Use
after=for newer messages andbefore=for older messages. Additional filters aresearch=andpriority=green|orange|red|all.Security and Deployment
The service uses plain HTTP and is intended for a trusted local AREDN network. It does not provide TLS. The firmware no longer requires
arduino_secrets.h.Load Test
load-test.ps1runs staged polling and posting tests against a configured device. Set$BaseUriat the top of the script before running it:.\load-test.ps1The device clock must already be valid before running the posting stage. The script requires PowerShell and network access to the device.
-
Surfen auf der Raumwelle: Wellendynamik, Tageszeiten und Antennenformen der Kurzwelle
Das unsichtbare Uhrwerk der Kurzwelle: Wellendynamik, Tageszeiten und Antennenformen
Wer sich nach den ersten Gehversuchen im Antennenbau tiefer in die Welt der Kurzwelle (3 bis 30 MHz) begibt, stellt schnell fest: Die Kurzwelle schlĂ€ft nie, aber sie verĂ€ndert stĂŒndlich ihr Gesicht. WĂ€hrend ein UKW-Signal stur und verlĂ€sslich bis zum Horizont wandert, gleicht die Kurzwelle einem dynamischen Organismus. BĂ€nder, die mittags vor Signalen fast ĂŒberlaufen, sind nachts plötzlich wie leergefegt, nur um Platz fĂŒr weltweite Verbindungen auf Frequenzen zu machen, die tagsĂŒber völlig unbrauchbar schienen.
Um dieses Zusammenspiel aus solarer Strahlung, Frequenz und Zeit ohne langes Suchen zu durchschauen, lÀsst sich die Dynamik der IonosphÀre in einer zentralen Matrix zusammenfassen.
Die Ausbreitungs-Matrix: Frequenz vs. Tageszeit
Frequenzbereich TagsĂŒber (Starke Sonne âïž) Nachts (Keine Sonne đ) Physikalisches PhĂ€nomen in der Praxis Obere Kurzwelle
(14 - 30 MHz)
âą 20m, 15m, 10mPerfekt fĂŒr DX (Weitverkehr):
Die Wellen durchbrechen die D-Schicht mĂŒhelos und werden von der geladenen F-Schicht flach reflektiert.Völlig tot (Offen ins All):
Ohne Sonne verliert die F-Schicht ihre Ladung. Die schnellen Wellen fliegen ungebremst ins Weltall.Reine TagbĂ€nder. Perfekt fĂŒr interkontinentale Verbindungen, solange die Sonne scheint. Macht nach Sonnenuntergang rasant dicht. Mittlere Kurzwelle
(7 MHz)
âą 40mDas NVIS-Arbeitspferd:
Hoch genug, um die D-Schicht zu durchdringen, aber niedrig genug fĂŒr Steilstrahlung (NVIS) an der F-Schicht.Das DX-Arbeitspferd:
FĂŒr Steilstrahlung zu hoch (Signal entweicht), aber bei flachen Winkeln spiegelt die Restladung fĂŒr weltweiten Funk.Das ChamĂ€leon. TagsĂŒber die erste Wahl fĂŒr den regionalen Nahverkehr (0-500 km), nachts öffnet es sich fĂŒr den weltweiten Funkverkehr. Untere Kurzwelle
(1,8 - 3,5 MHz)
âą 160m, 80mKomplett blockiert (DĂ€mpfung):
Die Wellen regen freie Elektronen in der dichten D-Schicht an. Die Energie verpufft komplett als WĂ€rme.Perfekt fĂŒr NVIS & DX:
Die D-Schicht löst sich nachts auf. Die schwache Nacht-F-Schicht reicht fĂŒr diese Wellen zur Totalreflexion.Reine NachtbĂ€nder. TagsĂŒber herrscht hier bis auf die ultrakurze Bodenwelle absolute Stille. Nachts das primĂ€re Band fĂŒr den Nahbereich.
Faszinierende Anomalien: Wenn die Physik die Regeln beugt
Hinter dieser Matrix steckt die Wechselwirkung aus der solaren UV- und Röntgenstrahlung und den GasmolekĂŒlen unserer AtmosphĂ€re. Doch die Natur hĂ€lt sich nicht immer an starre ZeitplĂ€ne. Drei PhĂ€nomene zeigen, wie faszinierend die Dynamik der Raumwelle ist:
1. Das PhÀnomen der Graulinie (Greyline Propagation)
Zweimal am Tag passiert auf der Erde etwas Magisches: Die DÀmmerungszone (der Terminator) wandert als schmaler Streifen um den Globus. In diesem Bereich ist die Sonne am Boden bereits untergegangen (oder geht gerade auf), wodurch sich die blockierende D-Schicht blitzschnell auflöst. Gleichzeitig steht die hunderte Kilometer höhere F2-Schicht noch vollem Sonnenlicht und ist maximal ionisiert.
FĂŒr den Funker bedeutet das: Signale auf den niedrigeren BĂ€ndern (wie 40m oder 80m) können sich entlang dieser "grauen Linie" mit extrem geringer DĂ€mpfung um die halbe Erde tasten. Es entstehen fĂŒr wenige Minuten hocheffiziente Funkwege zwischen Regionen, die eigentlich auf der Nachtseite liegen, und solchen, die gerade erwachen.
Exkurs: Warum absorbiert nur die D-Schicht die niedrigen Frequenzen?
Ein Paradoxon des Funks: Die D-Schicht weist die geringste Elektronendichte (Ionisierung) aller Schichten auf, aber warum verursacht ausgerechnet sie am Tag eine so starke DÀmpfung der lÀngeren Wellen (wie auf dem 80m- oder 160m-Band), wÀhrend die viel stÀrker ionisierten E- und F-Schichten das Signal passieren lassen?
Der Grund liegt in der Dichte der umgebenden AtmosphÀre:
- In der D-Schicht (ca. 60-90 km Höhe): Hier ist die ErdatmosphĂ€re noch vergleichsweise dicht. Es befindet sich dort eine hohe Anzahl neutraler GasmolekĂŒle. Wenn eine niedrige Funkfrequenz eintrifft, bringt sie die freien Elektronen zum Schwingen. Aufgrund der geringen AbstĂ€nde kollidieren diese schwingenden Elektronen stĂ€ndig mit den trĂ€gen GasmolekĂŒlen. Bei jedem ZusammenstoĂ wird die Bewegungsenergie der Elektronen in WĂ€rme umgewandelt und die Funkwelle wird dadurch stark gedĂ€mpft (Absorption).
- In den höheren E- und F-Schichten (ab 100 km Höhe): In diesen Höhen herrscht ein extremes Vakuum, die Luft ist extrem dĂŒnn. Wenn die Funkwelle die Elektronen dort zum Schwingen bringt, bewegen sich diese nahezu ungehindert. Mangels Masse kommt es kaum zu Kollisionen mit GasmolekĂŒlen, wodurch auch keine Energie in WĂ€rme umgewandelt wird. Die Elektronen können die Welle sauber brechen und zur Erde zurĂŒckreflektieren (Refraktion).
Zusammenfassend: Niedrige Frequenzen regen die Elektronen zu gröĂeren Schwingungsamplituden an. In der relativ dichten AtmosphĂ€re der D-Schicht fĂŒhrt dies zu einer hohen Kollisionsrate und somit zu hohen Energieverlusten. In den dĂŒnneren, höheren Schichten bleibt diese DĂ€mpfung aus, wodurch das Signal ungestört reflektiert werden kann.
2. Die Winteranomalie (Winter Anomaly)
Man sollte intuitiv erwarten, dass die IonosphĂ€re im Sommer am stĂ€rksten ionisiert ist, da die Sonne dann am höchsten steht. Auf den oberen BĂ€ndern (wie 20m oder 10m) beobachtet man jedoch das Gegenteil: Die höchsten Grenzfrequenzen tagsĂŒber werden oft im SpĂ€therbst und Winter erreicht.
Der Grund liegt in der Thermodynamik der AtmosphĂ€re und einem PhĂ€nomen, das es hier unten bei uns auf der Erde gar nicht gibt: Dem VerhĂ€ltnis von MolekĂŒlen zu freien Atomen:
- Das physikalische Geheimnis: Hier unten am Boden existieren Gase wie Sauerstoff ($O_2$) oder Stickstoff ($N_2$) fast nur als "Paare" (MolekĂŒle). In ĂŒber 100 km Höhe bricht die starke UV-Strahlung der Sonne diese Paare jedoch auseinander. Es entstehen "Singles", sogenannte freie, ungebundene Atome (einzelner Sauerstoff $O$), die völlig losgelöst durchs All fliegen.
- Im Sommer: Die Sonne heizt die obere AtmosphĂ€re stark auf, wodurch sie sich ausdehnt. Durch diese globale Zirkulation werden die schweren, trĂ€gen Gas-Paare (MolekĂŒle) aus tieferen Schichten nach oben in die F-Schicht transportiert. Das VerhĂ€ltnis von Singles zu Paaren sinkt. Da diese MolekĂŒle freie Elektronen wie ein Schwamm aufsaugen und rekombinieren, sinkt die Elektronendichte, unser Funksignal verliert seinen Spiegel.
- Im Winter: Die obere AtmosphĂ€re kĂŒhlt ab und zieht sich zusammen. In der F-Schicht dominieren nun die leichten Singles (freie Sauerstoff-Atome $O$). Da diese einzelnen Atome die Elektronen in Ruhe lassen, bleibt die freie Elektronendichte trotz weniger Sonnenstunden extrem hoch.
Das Ergebnis ist eine hocheffiziente Reflektion hoher Frequenzen mitten im tiefsten Winter.
3. Sporadic-E ($E_s$): Der Sommer-Joker
Gelegentlich bildet sich im Sommer (Mai bis August) in einer Höhe von ca. 90 bis 120 km, also mitten in der eigentlich unbedeutenden E-Schicht, eine wolkenartige, extrem dichte Ionisation aus. Dieses PhÀnomen nennt sich Sporadic-E.
Die Ursache liegt meist in einer Kombination aus Höhenwinden (Scherwinden) und Meteorenstaub. Diese Wolken sind so dicht, dass sie selbst Frequenzen reflektieren, die sonst nie von der IonosphĂ€re zurĂŒckgeworfen werden: das 10m-Band mutiert zum lokalen Kraftpaket, und selbst VHF-Signale im 6m- oder 2m-Band (inklusive des UKW-Rundfunks) spiegeln sich plötzlich ĂŒber tausende Kilometer. Das PhĂ€nomen taucht unvorhersehbar auf und verschwindet oft nach wenigen Stunden wieder.
4. Die solare AktivitÀt: Sonnenfleckenzyklus und Ausbreitungsbedingungen
Die Eigenschaften der IonosphĂ€re hĂ€ngen maĂgeblich vom ca. 11-jĂ€hrigen Sonnenfleckenzyklus ab. Die Anzahl der Sonnenflecken (Sonnenflecken-Relativzahl) ist ein direkter Indikator fĂŒr die IntensitĂ€t der solaren UV- und Röntgenstrahlung, welche die Ionisation der ErdatmosphĂ€re steuert. VerĂ€nderungen in dieser AktivitĂ€t wirken sich stark auf die Nutzbarkeit der FrequenzbĂ€nder aus, fĂŒhren in der Praxis jedoch auch zu scheinbaren WidersprĂŒchen.
- Die oberen BĂ€nder (15m, 12m und das 10m-Band im Extremfall): Bei einer hohen Anzahl von Sonnenflecken steigt die Elektronendichte in der F-Schicht deutlich an. Dadurch verschiebt sich die maximale nutzbare Frequenz (MUF: Maximum Usable Frequency) nach oben. Das 10-Meter-Band reagiert hierbei am empfindlichsten: Im solaren Maximum mutiert es zum hocheffizienten DX-Band, auf dem weltweite Kontakte mit minimaler Leistung gelingen. In Phasen geringer solaren AktivitĂ€t (Sonnenfleckenminimum) kehrt sich dieser Effekt jedoch um. Da die Ionisation der oberen Schichten dann nicht ausreicht, um diese Frequenzen zu reflektieren, sind die BĂ€nder im Bereich von 21 MHz und höher (15, 12 und 10 Meter) die unzuverlĂ€ssigsten Frequenzbereiche fĂŒr Weitverbindungen. Das 10m-Band bleibt abseits von Sporadic-E im Sommer oft jahrelang fĂŒr den DX-Verkehr geschlossen.
- Die unteren BĂ€nder als Profiteure des Minimums (80m- und 160m-Band): WĂ€hrend die oberen BĂ€nder im solaren Minimum an LeistungsfĂ€higkeit verlieren, schlĂ€gt die Stunde der unteren Kurzwelle. Im Sonnenfleckenmaximum sorgt die hohe solare Strahlung dafĂŒr, dass die tiefe D-Schicht tagsĂŒber extrem stark ionisiert ist und niedrige Frequenzen komplett dĂ€mpft. Selbst nachts bleibt oft eine spĂŒrbare RestdĂ€mpfung und Unruhe im Erdmagnetfeld bestehen. Im Sonnenfleckenminimum hingegen baut sich die blockierende D-Schicht nach Sonnenuntergang extrem schnell und vollstĂ€ndig ab. Gepaart mit einem ruhigen Magnetfeld bietet das solare Minimum daher die historisch besten DX-Bedingungen fĂŒr das 80-Meter- und insbesondere das 160-Meter-Band, da Signale nachts mit minimalen Verlusten an der F-Schicht reflektiert werden.
- Erhöhte DĂ€mpfung und Radio Blackouts: UnabhĂ€ngig von den Basisbedingungen bringt eine hohe solare AktivitĂ€t spontane EinschrĂ€nkungen mit sich. Solare Eruptionen (Solar Flares) fĂŒhren zu einer schlagartigen, extremen Ionisation der dichten D-Schicht. Da diese Schicht aufgrund der höheren Teilchendichte stark absorbierend wirkt (wie im Exkurs oben beschrieben), werden niedrigere Frequenzen komplett gedĂ€mpft. Bei starken AusbrĂŒchen kommt es zum sogenannten Mögel-Dellinger-Effekt (Shortwave Fadeout), bei dem der Funkverkehr auf der Tagseite der Erde zeitweise vollstĂ€ndig zusammenbricht.
Die Kontroverse: Hoher Solar Flux (SFI) ohne verbesserte Bedingungen In der Funkpraxis fĂŒhrt die Interpretation der solaren Messwerte regelmĂ€Ăig zu Diskussionen. Ein hoher Solar Flux Index (SFI) gilt allgemein als Indikator fĂŒr hervorragende DX-Bedingungen. Dennoch kommt es vor, dass die BĂ€nder trotz Rekordwerten der Sonne geschlossen bleiben oder die Signale stark gedĂ€mpft sind.
Dieser Widerspruch entsteht meist durch das Zusammenspiel mit geomagnetischen StĂŒrmen, die oft auf solare Eruptionen folgen. Diese StĂŒrme stören das Erdmagnetfeld und fĂŒhren zu einer Depression der F2-Schicht und die Elektronendichte sinkt lokal ab, anstatt zu steigen. Zudem kann die physikalische Aufheizung der oberen AtmosphĂ€re im Sommer (analog zur Winteranomalie) die Rekombination der Elektronen beschleunigen. Ein hoher Fleckenindex ist daher keine isolierte Garantie fĂŒr offene BĂ€nder, sondern muss immer im Kontext der geomagnetischen AktivitĂ€t (K-Index) und der saisonalen Thermodynamik betrachtet werden.
Das Antennen-Szenario: Die Werkzeuge fĂŒr die Kurzwelle
WÀhrend die Endfed-Antenne ein guter Allrounder ist, erfordern spezifische Anwendungen angepasste Geometrien und Antennenformen, die andere Anpassungsnetzwerke als unser 9:1 Unun benötigen.
- Kurz erklĂ€rt: Was ist ein Unun? Der Begriff steht fĂŒr Unbalanced-to-Unbalanced (unsymmetrisch auf unsymmetrisch). Es ist ein Hochfrequenz-Transformator, der die Impedanz (den Widerstand) zwischen einer unsymmetrischen Antenne (wie einer Endfed, die ein Gegengewicht oder die Erde nutzt) und dem unsymmetrischen Koaxialkabel anpasst. Er wandelt nur den Widerstand um, Ă€ndert aber nichts an der Symmetrie.
- Der Unterschied zum Balun: Ein Balun hingegen verbindet eine Balanced (symmetrische Antenne wie einen Dipol mit zwei gleichen Schenkeln) mit dem Unbalanced (unsymmetrischen) Koaxialkabel.
Hier sehen wir, wie sich andere klassische Antennenformen im Vergleich zu unserem Endfed-Setup schlagen:
1. Der klassische Halbwellen-Dipol ($\lambda/2$)
Der im Zentrum gespeiste Dipol benötigt keinen 9:1 Unun, da seine FuĂpunktimpedanz bereits bei ca. 50-73 $\Omega$ liegt. Er ist ein exzellentes Werkzeug fĂŒr Richtfunk (DX) bei ausreichender Höhe (mindestens $\lambda/2$). FĂŒr den Nahbereich (NVIS) gilt die Faustformel: Die Antenne erzielt die besten Ergebnisse, wenn sie in einer Höhe zwischen $0{,}1\,\lambda$ und $0{,}2\,\lambda$ ĂŒber dem Boden installiert wird (beim 40m-Band entspricht das genau einer Höhe von ca. 4 bis 8 Metern). Wird sie noch tiefer abgesenkt, steigen die Erdverluste durch die kapazitive Kopplung massiv an und absorbieren einen GroĂteil der Sendeleistung.
2. Die Magnetische Loop-Antenne (MagLoop)
Diese platzsparende, rauscharme Antenne nutzt einen Drehkondensator zur Abstimmung, was sie ideal fĂŒr den Balkon macht. Aufgrund ihrer hohen Schmalbandigkeit muss sie bei Frequenzwechseln nachgestimmt werden. Die Einkopplung erfolgt hier meist direkt, ohne den 9:1 Unun.
3. Die Vertikal-Antenne (Groundplane)
Mit einer LĂ€nge von $\lambda/4$ und Radials strahlt die Vertikalantenne flach ab und ist ideal fĂŒr DX auf oberen BĂ€ndern. Sie weist eine niedrige Impedanz (30-50 $\Omega$) auf und wird direkt ĂŒber ein 50 $\Omega$ Koaxialkabel gespeist, nicht ĂŒber den 9:1 Unun.
4. Die Delta Loop
Diese einwellenlange ($\lambda$) Dreieckantenne vereint geringes Rauschen mit flachem Abstrahlwinkel. Mit einer Impedanz von 100-150 $\Omega$ ist sie fĂŒr den 9:1 Unun ungeeignet; stattdessen werden 2:1 oder 4:1 Baluns eingesetzt. Sie bietet zudem flexible Polarisationsmöglichkeiten fĂŒr NVIS oder DX.
Fazit
Wer die Kurzwelle beherrschen will, baut nicht einfach nur eine Antenne, er lernt, das unsichtbare Uhrwerk der Erde zu lesen. Wer weiĂ, zu welcher Stunde die D-Schicht schlĂ€ft, wann die F-Schicht das Tor zum Weltall öffnet und welche Antennenform den passenden Winkel in den Himmel meiĂelt, fĂŒr den wird die Kurzwelle zu einem faszinierenden, weltumspannenden Spielplatz der Physik.
-
SSB-Modulation & Digitale Signalverarbeitung
Von den analogen AnfÀngen bis zur modernen SDR-Mathematik
1. Was ist SSB-Modulation?
SSB (Single-Sideband Modulation / Einseitenbandmodulation) ist ein hocheffizientes Verfahren zur analogen Ăbertragung von Sprache und Daten ĂŒber Funkwellen. Es ist eine Spezialform der Amplitudenmodulation (AM).
Das Problem bei klassischer AM
Bei der normalen Amplitudenmodulation entstehen durch die Mischung des TrÀgers mit dem Audiosignal drei Komponenten:
- Der TrÀger: Verbraucht bis zu $50\,\%$ der Sendeleistung, enthÀlt aber selbst keine Information.
- Das obere Seitenband (USB - Upper Sideband): EnthÀlt die vollstÀndige Information.
- Das untere Seitenband (LSB - Lower Sideband): EnthÀlt exakt dieselbe Information spiegelbildlich.
Die SSB-Lösung
SSB filtert den TrĂ€ger und eines der beiden SeitenbĂ€nder komplett heraus. Die gesamte Sendeleistung flieĂt zu $100\,\%$ in ein einziges Seitenband.
$f_{\text{SSB}} = f_{\text{TrÀger}} \pm f_{\text{Audio}}$
- Vorteile: Halbe Bandbreite (ca. $2{,}4\text{ kHz}$ statt $6\text{ kHz}$), enorme Sende-Effizienz und drastisch höhere Reichweite.
- Nachteile: Komplexe Technik bei der RĂŒckgewinnung und ungeeignet fĂŒr Musik (leichte Frequenzverschiebungen verzerren den Klang).
2. Das historische LSB-RĂ€tsel (< 10 MHz)
In offiziellen BandplĂ€nen gilt die Konvention: Unterhalb von $10\text{ MHz}$ wird LSB genutzt, oberhalb USB. Dies hat keine physikalischen, sondern rein historische GrĂŒnde aus den 1950er Jahren.
Das technische "9-MHz-Problem"
FrĂŒhe SSB-FunkgerĂ€te nutzten eine feste Zwischenfrequenz (ZF) von genau $9\text{ MHz}$ und mischten diese mit einem variablen Oszillator (VFO), der von $5{,}0\text{ MHz}$ bis $5{,}5\text{ MHz}$ regelbar war. Durch die mathematische Summen- und Differenzbildung beim Mischen passierte Folgendes:
-
Höhere BÀnder (z. B. 20m-Band / 14 MHz): Es wurde die Addition genutzt: $9{,}0\,\text{MHz}_{\text{ZF}} + 5{,}0\,\text{MHz}_{\text{VFO}} = 14{,}0\,\text{MHz}$
Bei der Addition bleibt die Lage des Seitenbandes gleich. Aus USB auf der Zwischenfrequenz wurde USB auf dem Band.
-
Tiefe BĂ€nder (z. B. 80m-Band / 3,5 MHz): Es wurde die Subtraktion genutzt: $9{,}0\,\text{MHz}_{\text{ZF}} - 5{,}5\,\text{MHz}_{\text{VFO}} = 3{,}5\,\text{MHz}$
Das Besondere: Bei einer mathematischen Subtraktion wird das Frequenzspektrum invertiert (gespiegelt). Das ursprĂŒnglich als USB erzeugte Signal drehte sich automatisch in ein LSB-Signal um.
Da frĂŒhe Hersteller aus KostengrĂŒnden auf teure Umschaltfilter verzichteten, bĂŒrgerte sich diese Eigenschaft weltweit als Standard ein.
3. Zwischenfrequenz & Mechanische Filter
Die Erfindung des Superheterodyne-EmpfĂ€ngers (Superhet) löste das Problem, dass man extrem schmale Filter ($2{,}4\text{ kHz}$ fĂŒr Sprache) nicht kontinuierlich ĂŒber alle FunkbĂ€nder abstimmbar bauen konnte. Man mischt jedes Antennensignal auf eine feste Zwischenfrequenz (ZF) herunter.
Der Sweet-Spot: 9 MHz
$9\text{ MHz}$ bot den perfekten Kompromiss: Hoch genug, um unerwĂŒnschte Spiegelfrequenzen weit wegzudrĂŒcken, und niedrig genug, damit die damalige Kristall- und Quarztechnologie extrem scharfe Filter herstellen konnte.
Wie funktioniert ein mechanisches Filter?
Bevor es gĂŒnstige Quarze gab, bauten Firmen wie Collins Radio Filter, die elektrische Signale in physische Schallwellen und Metallschwingungen umwandelten:
[Elektrisches Signal] â ⌠âââââââââââââââââ âEingangswandlerâ --> Wandelt Strom in mechanische Vibration (Schall) um ââââââââŹâââââââââ â (Vibration) âŒ âŻ ââ ⯠ââ ⯠--> Metallscheiben schwingen NUR bei exakt 455 kHz (Resonanz) â (Gefilterte Vibration) ⌠âââââââââââââââââ âAusgangswandlerâ --> Wandelt mechanische Schwingung zurĂŒck in Strom um ââââââââŹâââââââââ â ⌠[Gefiltertes Signal]
4. Demodulation im Produktdetektor
Da bei LSB der TrĂ€ger fehlt, hört man an normalen AM-Radios nur ein unverstĂ€ndliches KrĂ€chzen. Der EmpfĂ€nger muss den TrĂ€ger kĂŒnstlich ersetzen.
Der Ablauf im Produktdetektor
- Ein interner Hilfsoszillator (BFO â Beat Frequency Oscillator) erzeugt eine kĂŒnstliche TrĂ€gerfrequenz genau auf der oberen Grenzfrequenz des LSB-Signals (z. B. exakt $455{,}0\text{ kHz}$).
- Der Produktdetektor multipliziert das LSB-Signal (z. B. $452\text{ kHz}$ bis $455\text{ kHz}$) mit dem BFO-Signal.
Die mathematische Filterung des Ausgangs
Durch die Multiplikation entstehen immer zwei neue Signalpakete:
- Das Summensignal (HF): Frequenzen addieren sich ($455\text{ kHz} + 455\text{ kHz} = 910\text{ kHz}$).
- Das Differenzsignal (NF / Audio): Frequenzen subtrahieren sich ($455\text{ kHz} - 452\text{ kHz} \dots 455\text{ kHz} = 0\text{ kHz} \dots 3\text{ kHz}$).
Der finale Schritt: Ein einfacher Kondensator (Tiefpassfilter) filtert das hochfrequente Summensignal ($910\text{ kHz}$) komplett weg. Ăbrig bleibt das reine Differenzsignal im Bereich von $0\text{ Hz}$ bis $3\text{ kHz}$: die menschliche Sprache, die direkt in den Lautsprecher flieĂt.
Durch die Subtraktion wird das auf dem Kopf stehende LSB-Signal gleichzeitig mathematisch wieder "richtig herum" gedreht:
- $455\text{ kHz} - 455\text{ kHz} = 0\text{ Hz}$ (Tiefe Töne landen unten)
- $455\text{ kHz} - 452\text{ kHz} = 3\text{ kHz}$ (Hohe Töne landen oben)
5. Mathematische SSB-Erzeugung: Die Phasenmethode
Die moderne Methode (Standard in jeder SDR-Software) nutzt die Phasenmethode (IQ-Verfahren), um ein Seitenband durch destruktive Interferenz komplett auszulöschen, ohne physikalische Filter zu benötigen.
Das Blockschaltbild
Audiosignal u_m(t) ââââŹââââș [ 0° Phase (I) ] ââââș ( Mischer I ) ââââ â ⌠âââââș [ 90° Phase (Q) ] âââș ( Mischer Q ) âââș ( SUMME / DIFFERENZ ) âââș SSB âČ TrĂ€gersignal u_c(t) âââŹââââș [ 0° Phase ] ââââââââș ( Mischer I ) ââââ â âââââș [ 90° Phase ] ââââââââș ( Mischer Q )Die Trigonometrie dahinter
Sowohl das Audiosignal $u_m(t) = \cos(\omega_m \cdot t)$ als auch das TrÀgersignal $u_c(t) = \cos(\omega_c \cdot t)$ werden kopiert und um $90^\circ$ phasenverschoben (aus Kosinus wird Sinus). In zwei getrennten Mischern werden sie multipliziert:
- Mischer I ($0^\circ$-Zweig): $A = \cos(\omega_m \cdot t) \cdot \cos(\omega_c \cdot t)$
- Mischer Q ($90^\circ$-Zweig): $B = \sin(\omega_m \cdot t) \cdot \sin(\omega_c \cdot t)$
Rechnet man die AusgÀnge am Ende zusammen, greifen die mathematischen Additionstheoreme:
- FĂŒr LSB (Addition): $A + B = \cos(\omega_m \cdot t) \cdot \cos(\omega_c \cdot t) + \sin(\omega_m \cdot t) \cdot \sin(\omega_c \cdot t) = \cos((\omega_c - \omega_m) \cdot t)$
- FĂŒr USB (Subtraktion): $A - B = \cos(\omega_m \cdot t) \cdot \cos(\omega_c \cdot t) - \sin(\omega_m \cdot t) \cdot \sin(\omega_c \cdot t) = \cos((\omega_c + \omega_m) \cdot t)$
Der TrĂ€ger ist restlos eliminiert, und je nach Rechenoperation bleibt nur noch das exakte LSB- oder USB-Signal ĂŒbrig.
6. Die 90°-Verschiebung im Computer (FIR-Filter)
Es ist intuitiv schwer vorstellbar, wie ein Filter Frequenzen, die extrem dicht beieinanderliegen (wie $100\text{ Hz}$ und $110\text{ Hz}$), beide um exakt $90^\circ$ verschieben kann. Eine Welle von $100\text{ Hz}$ dauert schlieĂlich $10\text{ ms}$ ($\Delta t_{90^\circ} = 2{,}50\text{ ms}$), wĂ€hrend $110\text{ Hz}$ nur $9{,}09\text{ ms}$ dauert ($\Delta t_{90^\circ} = 2{,}27\text{ ms}$). Das Filter muss also leicht unterschiedliche Zeitverzögerungen berechnen.
Ein Computer löst dies ĂŒber einen diskreten Hilbert-Transformator mittels eines FIR-Filters (Finite Impulse Response).
Die Anti-Symmetrie der Koeffizienten
Das Filter nutzt mathematisch exakt gestaffelte Koeffizienten $h(n)$ nach der Formel:
$h(n) = \begin{cases} \frac{2}{\pi \cdot n} & \text{fĂŒr } n \text{ ungerade} \\ 0 & \text{fĂŒr } n \text{ gerade} \end{cases}$
Bei einer beispielhaften FilterlÀnge sieht das symmetrische Muster so aus:
[Mittlerer Koeffizient = 0] â -0.636 ââââââââââŒâââââââââ +0.636 -0.212 âââââââââââââââââŒââââââââââââââââ +0.212Die Werte links und rechts der Mitte sind perfekt gespiegelt, haben aber das umgekehrte Vorzeichen ($h(-n) = -h(n)$). Diese Anti-Symmetrie zwingt das Signal im Frequenzbereich zu einer Phasendrehung um exakt $-90^\circ$ (Multiplikation mit $-j$), wĂ€hrend die Amplituden unberĂŒhrt bleiben.
Warum die FilterlÀnge ($N$) entscheidend ist
- Ein kurzes Filter (z. B. $N = 3$ oder $5$ Koeffizienten): Ist mathematisch "kurzsichtig". Es kann die feine KrĂŒmmung und den Zeitunterschied im Mikrosekundenbereich zwischen $100\text{ Hz}$ und $110\text{ Hz}$ nicht auflösen. Es wĂŒrde "pfuschen" und fĂŒr $100\text{ Hz}$ vielleicht $92^\circ$ und fĂŒr $110\text{ Hz}$ nur $88^\circ$ Phasenverschiebung erreichen.
- Ein langes Filter (z. B. $N = 255$, $511$ oder mehr Koeffizienten): Schaut durch eine lange Schiebekette tief in die Vergangenheit des Signals und tastet die Welle an hunderten Punkten gleichzeitig ab.
Das Zusammenspiel im Algorithmus:
- Die groĂen Koeffizienten nahe der Mitte reagieren blitzschnell und biegen die Phasen der schnellen, hohen Frequenzen zurecht.
- Die winzigen Koeffizienten ganz weit auĂen (die im Zeitfenster weit in der Vergangenheit liegen) merken erst ĂŒberhaupt, dass sich eine langsame, trĂ€ge Frequenz wie $100\text{ Hz}$ bewegt hat. Sie wirken wie minimale Ausgleichsgewichte auf einer Waagschale und steuern die letzten fehlenden Bruchteile eines Grades bei, um auch die langsame Welle exakt auf die $90^\circ$-Linie zu bringen.
Dank moderner Prozessorleistung kosten uns diese riesigen FilterlĂ€ngen heute in SDR-Software nur ein Schmunzeln und ermöglichen mathematisch perfekte Phasenverschiebungen ĂŒber das gesamte Sprachband.
Seite 1 von 3
Ăltere BeitrĂ€ge â