A simple receiver module for decoding a time frame from a 225kHz transmitter PCSK-225 in Solec Kujawski, Poland
- 2024-06-11: Thanks to Damian Jabłoński, who found an error in the scheme. This caused the processor to operate unstablely. Resistor R2 20k (shown in the current schematic) should be added to fix the error.
- 2024-06-12: The repository contains corrected versions of the project files in KiCAD. In the KiCAD/1.0/bom folder, you can find the interactive BOM in HTML. In the KiCAD/1.0/production folder, you can find production (Gerber) files for fixed PCB.
- 2024-06-14: The repository contains corrected versions firmware. It doesn't need the resistor R2 (20k). Currently is used internal pull-up resistor.
Providing the service of reliable and reliable distribution of official time signals valid in the territory of the Republic of Poland and signals of the Polish implementation of the international coordinated universal time UTC (PL), based on the state standard for time measurement units and frequency, with the status (guarantee) of official time and synchronization monitoring service.
The e-Czas Radio service is used to distribute coded official time signals in the territory of the Republic of Poland using long radio waves. End-user synchronization accuracy: <0.01 s
As part of the e-CzasPL project, a service was launched for emitting coded digital time signals on long waves, using the 225 kHz carrier wave of the First Polish Radio Program, from a transmitter located in Poland (a technique similar to the DCF77 (Germany), WWVB (USA), JJY (Japan) system, but based on signal phase modulation), which creates a generally available option to synchronize any time-measuring device with the official time in the Republic of Poland using cheap, energy-saving and simple receiving devices. This technique allows many time-measuring devices to be synchronized to the official time in the Republic of Poland with an accuracy of several or a dozen milliseconds. The system is an additional (redundant) source of time information for users located in Poland.
The standard signals are generated using a stable frequency module based on highly stable rubidium frequency standards in the Radio Broadcasting Center (RCN) in Solec Kujawski. Using receiving devices located at the headquarters of the Central Office of Measures in Warsaw, employees of the Time and Frequency Laboratory remotely monitor changes in the frequency of the carrier wave, as well as monitor the accuracy of encoded time signals and compare them with the Official Time Scale in force in the Republic of Poland generated and maintained in the Central Office of Measures.
The technique using digitally coded time signals involves emitted radio waves from RCN Solec Kujawski and the use of dedicated receivers by end users. You can download documentation related to the technical parameters of the transmitted time signal and a description of the process of making a simplified receiver of coded official time signals on the 225 kHz carrier wave of the First Polish Radio Program.
- In the "/doc" folder, you will find documentation (in Polish) describing how to encode and receive a time frame.
- In the "/Eagle" folder, you can find the design of the receiver in Autodesk Eagle format.
- In the "/KiCAD" folder, you can find the design of the receiver in KiCAD format.
- In the "/Firmware" folder, you can find firmware for the DSPIC33FJ128GP804 processor in HEX format.
The best solution is to use a 5V power supply, e.g. USB. Current consumption is approximately 100mA @ 5V.
- p
- Install MPLAB X IDE
- When you install MPLAB and connect PICKIT5 to USB, sometimes the system doesn't recognize it properly. Then open "Device Manager" and check the "Ports (COM & LPT) section. It should look like this:
In the "Universal Serial Bus devices"
If no drivers are installed, this will show
>
In the "Microchip Tools"
If the last section does not exist, you must update the drivers on your device, which will appear in the "Universal Serial Bus devices" section. - Without the correct driver, the system will show the error "Failed to get Device ID. Please ensure the target device is attached and try the operation again."
- Check the 3V3 power supply at the output of the LM1117 stabilizer
- Connect the PICKIT5 programmer to the connector on the board. (pins 1 to 5)
- Run MPLAB IPE - specify the path to the HEX file, processor type
- Click "Connect", the board must be powered
- Program CPU
- Turn off the power, disconnect the programmer
- 2024-06-11: Dziękuję Damianowi Jabłońskiemu, który znalazł błąd w schemacie i opracował poprawkę. Błąd skutkował niestabilną pracą procesora. Rozwiązaniem jest dolutowanie rezystora R2 między pinem 3 złącza SV2 a VDD rezystora 20k (R2). Poprawka naniesiona jest na aktualną wersję projektu w KiCAD
- 2024-06-12: Repozytorium zawiera poprawione pliki projektu. W folderze KiCAD/1.0/bom znajdziesz interaktywny BOM w HTML ułatwiający montaż, w foderze KiCAD/1.0/production są aktualne pliki produkcyjne (Gerber) poprawionego PCB - można je np. wysłać do produkcji (bez rozpakowania).
- 2024-06-14: Repozytorium zawiera poprawiony plik HEX z firmware. Nie jest konieczne umieszczanie rezystora R2(20k). Obecnie używany jest wewnętrzny rezystor pull-up.
Główny Urząd Miar (GUM) uruchomił serwis emitowania kodowanych cyfrowych sygnałów czasu na falach długich, przy wykorzystaniu fali nośnej 225 kHz Programu Pierwszego Polskiego Radia, z nadajnika znajdującego się na terytorium Polski. Jest to technika podobna do systemu DCF77, ale oparta na modulacji fazy sygnału. W efekcie powstała ogólnodostępna możliwość zsynchronizowania z czasem urzędowym dowolnego urządzenia odmierzającego czas na obszarze Polski i dużej części Europy przy wykorzystaniu tanich, energooszczędnych i nieskomplikowanych urządzeń odbiorczych. Wykorzystanie tej techniki pozwala na zsynchronizowanie do czasu urzędowego na obszarze RP wielu urządzeń odmierzających czas z dokładnością kilku lub kilkunastu milisekund. System będzie dodatkowym (redundantnym) źródłem informacji o czasie dla użytkowników znajdujących się na terytorium Polski.
Usługa Radia e-Czas służy do dystrybucji kodowanych oficjalnych sygnałów czasu na terytorium Rzeczypospolitej Polskiej za pomocą fal długich radiowych. Dokładność synchronizacji z użytkownikiem końcowym: <0,01 s
W ramach projektu e-CzasPL uruchomiono usługę emisji kodowanych cyfrowych sygnałów czasu na falach długich, wykorzystując falę nośną 225 kHz Pierwszego Programu Polskiego Radia, z nadajnika znajdującego się w Polsce (technika zbliżona do systemu DCF77 (Niemcy), WWVB (USA), JJY (Japonia), ale oparta na modulacji fazy sygnału), co stwarza ogólnodostępną możliwość synchronizacji dowolnego urządzenia mierzącego czas z czasem urzędowym w Rzeczypospolitej Polskiej za pomocą tanich, energooszczędnych i prostych urządzeń odbiorczych. Technika ta pozwala na synchronizację wielu urządzeń do pomiaru czasu z czasem urzędowym w Rzeczypospolitej Polskiej z dokładnością do kilku lub kilkunastu milisekund. System jest dodatkowym (redundantnym) źródłem informacji o czasie dla użytkowników znajdujących się na terenie Polski.
Sygnały standardowe generowane są w oparciu o moduł częstotliwości stabilnej oparty na wysoce stabilnych wzorcach częstotliwości rubidowych w Radiostacji Nadawczej (RCN) w Solcu Kujawskim. Pracownicy Laboratorium Czasu i Częstotliwości zdalnie monitorują zmiany częstotliwości częstotliwości fali nośnej, a także monitorują dokładność kodowanych sygnałów czasowych i porównują je z obowiązującą w Rzeczypospolitej Polskiej Oficjalną Skalą Czasu generowaną i utrzymywaną w Głównym Urzędzie Miar.
Technika wykorzystująca cyfrowo kodowane sygnały czasu polega na emisji fal radiowych z RCN Solec Kujawski oraz wykorzystaniu dedykowanych odbiorników przez użytkowników końcowych. Można pobrać dokumentację związaną z parametrami technicznymi nadawanego sygnału czasu oraz opis procesu wykonania uproszczonego odbiornika kodowanych oficjalnych sygnałów czasu na fali nośnej 225kHz Pierwszego Programu Polskiego Radia (PCSK-225).
- W folderze "/doc" znajdziesz dokumentację opisującą sposób kodowania i odbierania ram czasowych.
- W folderze "/Eagle" znajduje się projekt odbiornika w formacie Autodesk Eagle.
- W folderze "/KiCAD" znajduje się projekt odbiornika w formacie KiCAD.
- W folderze "/Firmware" można znaleźć oprogramowanie układowe dla DSPIC33FJ128GP804 procesora w formacie HEX.
Najlepszym rozwiązaniem jest użycie zasilania 5V np. USB. Pobór prądu wynosi ok 100mA przy 5V.
- Zainstaluj MPLAB X IDE
- Po zainstalowaniu MPLAB i podłaczeniu PICKIT5 do USB czasami system nie rozpoznaje go prawidłowo. Wtedy otwórz "Device Manager" i sprawdź sekcję "Ports (COM & LPT). Powinna wyglądać tak:
W sekcji "Universal Serial Bus devices"
Jeżeli nie są zainstalowane sterowniki, pokaże się to
>
W sekcji "Microchip Tools"
Jeżeli ostatnia sekcja nie istnieje należy zaktualizować sterowniki w urządzeniu które pojawi się w sekcji "Universal Serial Bus devices". - Bez prawidłowego sterownika, system pokaże błąd "Failed to get Device ID. Please make sure the target device is attached and try the operation again."
- sprawdzić zasilanie 3V3 na wyjściu stabilizatora LM1117
- Podłączyć programator PICKIT5 do złącza na płytce. (piny od 1 do 5)
- Uruchomić program MPLAB IPE - podać ścieżgę do pliku HEX, typ procesora
- Kliknąć "Connect", płytka musi być zasilana
- Zaprogramować procesor
- Wyłączyć zasilanie, odłączyć programator
- Antena aktywna na tranzystorze FET
- Odbiornik z interfejsem USB
- SP5WWP - Dekoder e-Czas
- e-CzasPL Radio reference C++ data decoder by SP6HFE
Jurek K. Kowalski
|
|