logo
Welcome, Guest. Please Login or Register.
29. March 2024, 09:58:10


Home Help Search Login RegisterWIKIUHSDR Download

Amateurfunk Sulingen
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  OVI40 SDR Projekt (English AND German discussions around OVI40 SDR project) (Moderators: DF8OE, DL1PQ)  |  Topic: gelöst: Genauigkeit der RTC <- zurück vorwärts ->
Pages: [1] 2 Go Down Print
   Author  Topic: gelöst: Genauigkeit der RTC  (Read 5153 times)
DL8EBD
positron
Urgestein
*****

Offline

Posts: 1926





View Profile
gelöst: Genauigkeit der RTC
« on: 05. November 2017, 10:33:54 »

ich hab mittlerweile +450ppm Korrektur eingestellt und meine RTC geht immer noch 15 Sekunden pro Tag nach.
Wie sieht das bei den anderen Betatestern aus?
« Last Edit: 24. November 2017, 21:45:40 by DL8EBD » Logged

bitte keine technische Fragen oder Diskussionen via PN, dafür ist das Forum da.
vy73
Thomas
hb9trt
Urgestein
*****

Offline

Posts: 646



Ich liebe dieses Forum!

View Profile
Re:Genauigkeit der RTC
« Reply #1 on: 05. November 2017, 11:10:54 »

Hallo Thomas

Also meine geht leicht vor. Nach ca. 2 Wochen etwa 1 Minute. Korrigiert habe ich noch nichts. Aber geht nicht bös daneben.

Gruss
Reto
Logged
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:Genauigkeit der RTC
« Reply #2 on: 05. November 2017, 11:28:06 »

Ich habe auch den Verdacht, dass die ppm-Korrektur irgendwo auf /dev/null geht. Ich habe das noch nicht sooo genau kontrolliert, meine aber auch, dass eine Änderung der Einstellung ohne Wirkung bleibt.

vy 73
Andreas
Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
DL8EBD
positron
Urgestein
*****

Offline

Posts: 1926





View Profile
Re:Genauigkeit der RTC
« Reply #3 on: 05. November 2017, 12:10:28 »

Andreas, genau diesen Verdacht hege ich auch, denn ich habe keinerlei "Verbesserung" der Abweichung festgestellt.
Oder muss man die RTC jedes mal erst mit RESET zurücksetzen?
Wozu ist der Menüpunkt eigentlich?

@Reto
2 Minuten in 14 Tagen ist für eine Quarzuhr inakzeptabel.
Solche Abweichungen kenne ich sonst nur von meiner Schweizer Armbanduhr 
Logged

bitte keine technische Fragen oder Diskussionen via PN, dafür ist das Forum da.
vy73
Thomas
S53DZ
schon länger dabei
**

Offline

Posts: 58



Ich liebe dieses Forum!

View Profile WWW E-Mail
Re:Genauigkeit der RTC
« Reply #4 on: 05. November 2017, 17:32:32 »

Probably I was lucky with the RTC.

Here is the story:
I took a 32k quartz from an old ARM board, together with two 20 pF! capacitors. They were an obvious good match for the impedance of this particular quartz. However these Cs influence a little bit the XTAL frequency.
With a ppm correction = 0ppm I reached an accuracy of about 5 sec pro 3 months. I think this is also a target accuracy for such RTC, considering the possible temperature drifts in particular.
Working setup: mcHF, STM32F429, 12.6V. (Not the OVI40! - so probably I am off-topic here.)

Unfortunately I can not advise you on which particular crystal to take but I think it matters.

73 Bojan
« Last Edit: 10. November 2017, 08:04:55 by S53DZ » Logged
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:Genauigkeit der RTC
« Reply #5 on: 05. November 2017, 18:12:07 »

Of course it is possible to reach very good accuracy "out-of-the-box". But if frequency is a little bit different from expected this should be correctable via ppm setting. I am not sure this is working at mcHF - but i am in doubt it works on OVI40.

vy 73
Andreas
Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:Genauigkeit der RTC
« Reply #6 on: 05. November 2017, 19:38:56 »

Hallo,

der Code der RTC PPM Korrektur wurde 1:1 vom F4 übernommen. Da auch das RTC Modul im Prinzip identisch ist, bin ich davon ausgegangen, dass das auch funktioniert. Das scheint nicht zu stimmen. Bitte macht einen GitHub Issue dazu, danke!

Kurzer Blick in den Code des HAL: auch dort sieht es identisch aus im Vergleich F4 und F7, es ist also nicht klar warum das nicht geht.

73
Danilo
« Last Edit: 05. November 2017, 19:42:51 by DB4PLE » Logged
DL8EBD
positron
Urgestein
*****

Offline

Posts: 1926





View Profile
Re:Genauigkeit der RTC
« Reply #7 on: 05. November 2017, 20:10:33 »

Danilo, ich bin gerade auf 488ppm gegangen, das ist das Maximum was einstellbar ist und plötzlich geht die Uhr innerhalb 2h um 20 Sekunden vor. 

Das muss ich jetzt aber nochmal genauer untersuchen.

Danilo, kann man zu Messzwecken den Sekundentakt mal auf einen freien GPIO führen?
Dann kann ich die Periodendauer mit dem HP messen und sehen wie die RTC Calibration wirkt (oder eben nicht wirkt)

Logged

bitte keine technische Fragen oder Diskussionen via PN, dafür ist das Forum da.
vy73
Thomas
S53DZ
schon länger dabei
**

Offline

Posts: 58



Ich liebe dieses Forum!

View Profile WWW E-Mail
Re:Genauigkeit der RTC
« Reply #8 on: 17. November 2017, 19:08:15 »

I have measured a short-time influence of RTC calibration. Please, find attached the measurement table.

It seems that it works well only for the PPM values from -487 to zero.
EDIT:
these were made on STM32F4 but if on F7 there is the same code, perhaps it could help ...

73 Bojan
 RTC-ppm-rev11-17a.pdf
« Last Edit: 17. November 2017, 19:15:37 by S53DZ »
Logged
DL8EBD
positron
Urgestein
*****

Offline

Posts: 1926





View Profile
Re:Genauigkeit der RTC
« Reply #9 on: 17. November 2017, 19:42:35 »

Bojan, at the moment I'm at +466ppm and the drift it acceptable
Logged

bitte keine technische Fragen oder Diskussionen via PN, dafür ist das Forum da.
vy73
Thomas
S53DZ
schon länger dabei
**

Offline

Posts: 58



Ich liebe dieses Forum!

View Profile WWW E-Mail
Re:Genauigkeit der RTC
« Reply #10 on: 17. November 2017, 21:35:33 »

Thomas,

nice to hear that you are just inside ...
May I ask you with which FW and on which MCU?

You can lower a bit the XTAL frequency by adding some additional Cs to the crystal impedance matching Cs but you then also mismatch the XTAL and probably gain little more oscillator quiescent current when on battery.

But on the other hand if this compensation for +PPM values really does not work properly you would again be outside the 488 limits.

Added:
My very last quick measurement using +400ppm just go along your observation: By choosing higher +PPM values time compensation is falling and not raising as with -PPM values. So, by this I think it is a FW issue.

73 Bojan
« Last Edit: 17. November 2017, 22:22:30 by S53DZ » Logged
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:Genauigkeit der RTC
« Reply #11 on: 17. November 2017, 23:02:33 »

Hi Bojan,

your observation is right, there is a firmware issue. I misunderstood the parameter concept for the Hal Smooth Calib function.
That leads to correct behavior when negative ppm values are used and positive ppm values are basically also negative ones but with opposite sign (large values -> small correction).
Will fix this.

73
Danilo
Logged
DL8EBD
positron
Urgestein
*****

Offline

Posts: 1926





View Profile
Re:Genauigkeit der RTC
« Reply #12 on: 18. November 2017, 14:52:28 »

Danke Danilo!

Ich teste die Daily gerade
Logged

bitte keine technische Fragen oder Diskussionen via PN, dafür ist das Forum da.
vy73
Thomas
peter_77
Urgestein
*****

Offline

Posts: 735



THE mcHF and UHSDR forum !

View Profile
Re:Genauigkeit der RTC
« Reply #13 on: 18. November 2017, 20:23:30 »

Interessant das minor Fixes wie der Uhrenkorrekturfaktor nun gleich Änderungen der Versionsnummern an 2ter Stelle nach sich ziehen.
Erwartet hätte man ja was an 3ter Stelle oder geht es jetzt mit Siebenmeilen auf die 3.0.0 zu  ??
« Last Edit: 18. November 2017, 20:24:06 by peter_77 » Logged
S53DZ
schon länger dabei
**

Offline

Posts: 58



Ich liebe dieses Forum!

View Profile WWW E-Mail
Re:Genauigkeit der RTC
« Reply #14 on: 19. November 2017, 08:40:21 »

Danilo,

nice job there with the last fix. It works also in +ppm direction now (I didn't re-check the -ppm direction though).

73 Bojan
 RTC-ppm-rev11-19.pdf
Logged
Pages: [1] 2 Go Up Print 
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  OVI40 SDR Projekt (English AND German discussions around OVI40 SDR project) (Moderators: DF8OE, DL1PQ)  |  Topic: gelöst: Genauigkeit der RTC <- zurück vorwärts ->
Jump to: 


Login with username, password and session length

 Es wird die Verwendung von Browsern die auf der "Blink"-Engine basieren und mindestens
1024x768 Pixel Bildschirmauflösung für die beste Darstellung empfohlen
 
Amateurfunk Die Beiträge sind, sofern nicht anders vermerkt, unter der folgenden Lizenz veröffentlicht:
GNU Free Documentation License 1.3 GNU Free Documentation License 1.3
verbindet!
Powered by MySQL Powered by PHP Diskussions- und Newsboard des DARC-Ortsverbandes I40 | Powered by YaBB SE
© 2001-2004, YaBB SE Dev Team. All Rights Reserved.
- modified by Andreas Richter (DF8OE)
Impressum & Disclaimer
Valid XHTML 1.0! Valid CSS!