Chronvertor User Manual v2.1

download Chronvertor User Manual v2.1

of 26

Transcript of Chronvertor User Manual v2.1

  • 8/10/2019 Chronvertor User Manual v2.1

    1/26

    Chronvertor (v2.1)User Manual (For Firmware v2.0)

    DisclaimerUnusual Electronics reserves the right to change product specifications without notice.

    We shall NOT BE LIABLEin any way to you or to any other person, firm or corporation whatsoever for anyloss, costs, liability, damages, inury, accident, e!pense, delay or inconvenience which might occur from theuse of this product."his product is intended for educational or demonstration purposes only.#t is not intended for use in any commercial applications.#f used in such applications the purchaser assumes all responsibility for ensuring compliance with local laws.#t is not suitable for use in medical systems or anywhere that might create a ha$ardous situation of any %ind.

    Contents

    1. #ntroduction2. &eatures'. ac%up attery &itting*eplacement+. onnections-. odule onfiguration /et0up. onfiguration ommands

    . GPS 3atagram 4rotocol5. /& UK *adio "ime 4rotocol6. DCF77 Germany*adio "ime 4rotocol

    17.WWVB USA *adio "ime 4rotocol11.JJYJapan *adio "ime 4rotocol12./chematic 3iagram1'.ircuit 3escription1+.&ault 3iagnosis1-./pecifications1.&eedbac% *e8uest

    1. Introuction

    "he 9hronvertor: is a module containing a very accurate battery bac%ed a!im 3/'2'1*" (*eal "ime loc%) chip wor%ing with a icrochip 4# icrocontroller to output thetime and date as either a ;4/ , 3&, /& or ??@ radiotime protocol.#t can also be used to generate the periodic impulses needed to step or sync electro0mechanical slave cloc%s.#t automatically ta%es care of 3/" (3aylight /aving "ime) changes around the world andprovides time0$one offsets to generate any local time.

    "he *"As time and date can be set0up by either connecting to an e!ternal ;4/ modulefor a few seconds or by commands sent by a serial terminal program using a 4.

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 1

    http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    2/26

    !. "eatures

    The Chronvertor module simulates any one of the following serial time protocols:

    GPS NMEA Time datagram !GP"MC#

    $$%& 'SA# "adio time protocol(

    MS) '*# "adio time protocol(

    +C),, Germany# "adio time protocol(

    --. -apan# "adio time protocol(

    Carrier wave /01,,(2 3 40567# generation options for radio protocols(

    Automatic +ST +aylight Saving Time# ad8ustment for most countries and custom

    rules

    $orld Time 9one offset settings allow any local time to e generated

    Automatic ;eap .ear ad8ustment The module automatically outputs the correct wee5day code for radio time protocols

    Newternal

    GPS $GPRMC data connection.

    TimeDdate can also e set y serial commands from a PC terminal so that you can

    set any time or date in the current century(

    Small si7e with low power consumption ma5ing it ideal for replacing e>isting radio

    or GPS time sources(

    Could e used for testing or synchronising radio controlled cloc5s where they

    cannot receive the appropriate radio signal( All configuration settings are safely stored in the microcontrollers

    EEP"FM memory(

    ;E+ can indicate output pulses or valid GPS sentences eing received(

    Configuration settings can e reset ac5 to factory defaults if you wish(

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 2

    http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    3/26

    #. Bac$up Batter% &C'!(#!) "ittin*+'eplacement

    W,'-I-G 3anger of e!plosion if battery is incorrectly replaced. e sure to observe the correct polarity when installing the battery

    3o not short0circuit the battery. *eplace the battery only with a *27'2 lithium battery. Use of another battery may present a ris% of fire or e!plosion. attery may e!plode if mistreated. 3o not recharge, disassemble or dispose of in fire. 3o not e!pose the battery to e!cessive heat. 3ispose of used battery promptly and in accordance with local waste disposal policies. Ceep away from children.

    = CR2032Dithium oin ell is re8uired for time%eeping bac%up.

    ("he module is supplied without a battery to comply with postal regulations)

    #nsert the battery so that it clips into place with the 9: mar%er visible as shown below.

    When using the module, be careful to ensure that the e!posed battery surface can notcome into contact with any casingmetalwor%wiring etc.

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page '

    http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    4/26

    . Connections

    onnect the three connections of C1 to your cloc% as shown below.@our cloc%sA - >olt supply and ground connections are used to power the module.

    (Make sre !"e s##$y %&$!a'e s )&rre)! *e+&re )&nne)!n' !"e m&,$e as ! -$$ *e,ama'e, *y &%er.%&$!a'e &r n)&rre)! s##$y #&$ar!y/

    "he data out connection to your cloc% uses standard logic levels (- >olts) and should onlybe connected to a compatible logic input of your cloc%.

    C2 connector is used for connecting the module to an */2'2 serial port of a computer or;4/ module."his is needed for changing the module configuration settings or setting the timedate.

    When power is first applied to the module, "he *ed DE3 should light for a few seconds toindicate successful start0up.

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page +

    1 supply (from your cloc%)

    ;round 7> (from your cloc%)

    ;round (/erial 4ort)

    /erial Fut (*/2'2)/erial #n (*/2'2)

    C1 connects to your cloc%

    C2 goes to your serial data port(for config or time setting)

    3ata out to cloc% logic input

    30/ub 6 4in /oc%et (female) to 4 (not supplied)(*ear >iew)

    2 ' -

    http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    5/26

    C&nne)!&n !&ns +&r )&n+'ra!&n &r !me 4 ,a!e se!!n'

    Connection irect to a PC serial port. &/((+/0-01)

    Connection via a PC USB port.

    Connection to a GPS Moule &or time an ate s%nchronisin* onl%).

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page -

    /erial4ort

    5C

    */2'2 "G, *G and ;round wires36 &emale/oc%et re8uired

    U/ 4ort

    5C

    */2'2 "G, *G and ;round wires

    36 &emale/oc%et re8uired

    U/ to */2'2converter

    */2'2 *G and ;round wires

    G5S m&,$e

    (With */2'2 /erial outconnections)

    (+57750/upply

    ->/upply

    http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    6/26

    2. Moule Coni*uration Set0up

    efore configuration, your module must be connected to a -> power supply via connectorC1 (either from your cloc% or another -> regulated supply.)

    C2 ust be connected to your computer serial port as described in the previous section.(#f your computer doesnAt have a serial port, there are U/ I serial adapters available atlow cost from places such as eay)

    Fpen a serial comms program such as Jyper"erminal (Windows G4 or earlier) ordownload a freeware program such as "era"ermif you have Windows or >ista.

    a%e sure the baud0rate is set to +57750

  • 8/10/2019 Chronvertor User Manual v2.1

    7/26

    3. Coni*uration Commans

    4elp4ress 96: followed by to see 6elp with all the commands and their synta!L

    5ime

    4ress Tfollowed by hhmmssor hhmm then (colon separators can also be used)hhKhours (7702') mmKminutes ssKseconds (if seconds are omitted they default to 77)

  • 8/10/2019 Chronvertor User Manual v2.1

    8/26

    DS5 'e*ion (Daylight Saving ime)

    "his option is used for automatically changing 3/" according to the rules for yourcountry.

    4ress Rfollowed by the region code then

    F&& K 3/" is not enabled.

    UC K United Cingdom U/ K United /tates EU K Europe

    =U K =ustralia

  • 8/10/2019 Chronvertor User Manual v2.1

    9/26

    Protocol

    "his sets the time output protocol(N&!e//etting the protocol may also affect the time$one setting)

    "o set the protocolL

    4ress 5"then ("K7I-)

    0 : G5S ( ("ime O 3ate code broadcast from U/=)+ K ??@+7 (+7%J$ "ime O 3ate code broadcast from ?apan)- K ??@7 (7%J$ "ime O 3ate code broadcast from ?apan) (?apan has two transmitters at different fre8uencies which use the same code) ??@ options + O - are identical unless the arrier wave option is enabled)

    K 9aster4ulse: mode ("he module sends impulses at pre0set intervals)

    (see the protocols section for more info)

    Carrier

    "his turns onoff a 7Ch$, .-Ch$ or +7Ch$ carrier wave applicable to the/&3&WW>??@ protocols. (not used by ;4/ or aster4ulse)

    4ress Con orCoffthen

    "his feature may only be used for sending a very low power signal to a cloc% containinga radio receiver placed very close to the module.(do not use if your cloc% is directly connected to the module).

    ,*in*

    "his is used for adusting the *" time%eeping accuracy which can vary with age.

    #t may also be used to improve on the initial manufacturerAs calibration of 02ppm

    (0- secondsmonth)

    4ress A""" then ("""K 1 to 12 decrease the cloc% speed)

    7K

  • 8/10/2019 Chronvertor User Manual v2.1

    10/26

    Invert 8utput

    "his #nverts the /&3&WW>??@;4/ or asterpulse output logic protocolswhen set to 9Fn:

    4ress Ion orIoffthen

    "his allows the module to be used with cloc%s that re8uire an inverted logic input.

    (some

  • 8/10/2019 Chronvertor User Manual v2.1

    11/26

    MasterPulse (&irmware v2.7 onwards)(*e8uires the 5rotocol to be set to option ;(asterpulse))

    "his mode is intended for use with anti8ue electro0mechanical cloc%s that

    either re8uire a regular impulse to drive them (options 702) or a periodicpulse to re0sync the dial (options '0)

    4ress M! then (!K7I)

    7 K 1 second (pulse every second)

    1 K '7 seconds (every '7 seconds)

    2 K 1 inute (every minute)

    ' K 1 Jour (every hour)

    + K 12 Jours (every 12 hours at 77L77 and 12L77)

    - K 2+ hours (every 2+ hours at 77L77)

    K inute-6 (a special pulse at minute -6, always with a width of 7 seconds)

    N&!es

    DSThanges can be automatically applied for options 0 < 2

    (=t 3/", Fption 7 advances the cloc% 1 hour, using pulses at 7.- sec intervals.

    Fptions 1O2 advance 1 hour with pulses at 2 sec intervals.)

    =t 3/" end, the impulses will stop for 1 hour (options 7 P 2 only).

    Sen,n' #$ses mana$$y (!& a,%an)e s$a%e )$&)ks !& !"e re=re, !me

    "o be able to advance cloc%s manually, &irst enable asterpulse mode (4).

    "hen press and the terminal screen prompt will change to >>>

  • 8/10/2019 Chronvertor User Manual v2.1

    12/26

    "his option configures the pulse width for Mas!er5$semode only.

    4ress ?! then (!K7I5)

    7 K 7.7- sec (-7ms)

    9K 7.1 sec

    2 K 7.1- sec

    ' K 7.2 sec

    + K 7.2- sec

    - K 7.'- sec

    K 7.- sec

    K 1 sec (do not use this option with aster4ulse option 7 (1 sec))

    5 K 17 sec (do not use this option with aster4ulse option 7 (1 sec))N&!es

    hoose the shortest pulse width that reliably operates your mechanical slave cloc%.

    "he default is active pulse low P you can change this using the #nvert (#) option.

    "he pulse width during any auto 3/" one hour advance overrides to limit it to 1 seconda! (for the '7sec or 1min pulse modes) or 7.2 sec a! (for the 1 second pulse mode.)

    asterpulse option (min-6 mode) overrides to always be a 7 sec pulse.

    6:itE!it from the configuration. (any changes are saved)

    4ress then

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 12

    http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    13/26

    ;. GPSData*ram Protocol

    "he module outputs a simulated @G5RMCdatagram (

  • 8/10/2019 Chronvertor User Manual v2.1

    14/26

    /. MS" UK *adio "ime 4rotocol #nformation

    "he module can simulate the /& time and date code which is broadcast from a 7%J$radio transmitter at =nthorn *adio /tation in umbria, UC

    "he full se8uence of information is transmitted in binary coded decimal format eachminute, using two data bits during every second of the minute e!cept the first.

    "he time code includes the following informationL year month day of month day of wee% hour minute

    ritish /ummer "ime (in effect or imminent)

    "he broadcast time is U" during winter and U"1 during summer (3/").

    "he first second of each minute (inute ar%er) begins with a -77ms logic low (1)followed by -77ms high (7). ("he bit polarity isL JighK7 DowK1)

    Each normal second begins with at least 177ms low (second mar%er) followed by bit 9=:(177ms) then bit 9: (177ms).

    ("he bit polarity isL JighKlogic 7 DowKlogic1)"he rest of the second (77ms) is always high.

    "he module normally simulates the time0code using ""DF/ logic levels without anycarrier wave so that it can be directly connected to the logic decoder input of your cloc%.

    "here is an option to enable a 7%J$ (appro!) very low power carrier wave.

    = suitable 7%J$ coil via a current limiting resistor (1%S) could be connected between themodule data output and ground for testing a cloc% with a built0in /& radio receiver over ashort distance (a few inches only).

    "his may re8uire the cloc% being tested to be screened in some way to prevent it receivingthe real /& broadcast signal.

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 1+

    /ecar%er

    77ms

    177ms 177ms 177ms

    B!A

    B!B

    http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    15/26

    MSF Tme 4 Da!e C&,e

    Se) A B INFO Se) A B INFO Se) A B INFO

    00 1 1 inute mar% 2 2 7 onth(71012)

    88 1 7 Jour (7702')/econds 09.9;(the 93U":=tomic0=stronomical timedifference) are not able tobe simulated.(A 4 B are *&!" : 0

    2 1 7 8 +7 7

    inute(770-6)

    30 27 7

    3ayof

    onth(710'1)

    8; 27 7

    39 17 7 87 17 7

    32 5 7 8 5 7

    97 57 7

    @ear(77066)

    33 + 7 8 + 7

    9 +7 7 38 2 7 0 2 7

    9 27 7 3 1 7 9 1 7

    20 17 7 3; + 7 3ayof Wee%(/unK7/atK)

    2 7 7 inute #dentifier (/tart)

    29 5 7 37 2 7 3 1 /"W /ummer "ime Warning

    22 + 7 3 1 7 8 1 41 4arity =102+ (@ear)

    23 2 7 3 27 7

    Jour(7702')

    1 42 4arity =2-0'- (onthO3ay)

    28 1 7 80 17 7 ; 1 4' 4arity ='0'5 (3FW)

    2 17 7onth(71012)

    89 5 7 7 1 4+ 4arity ='60-1 ("ime)

    2; 5 7 82 + 7 1 /" /ummer "ime

    27 + 7 83 2 7 7 7 inute #dentifier (End)

    "he time and date is sent for the #ollowingminute. (e.g. during 71L2- the time isbeing sent for 71L2)

    "he 3 time code is sent with the mostsignificant bits first. /econd 00 (inute ar%)is always -77ms Dow (1) followed by -77ms Jigh (7) /econds 09.9; (3U") data is not simulated by the module (its = O ) are set to 7 /econds 97.9 contain the 3ate O "ime in inary oded 3ecimal (3) it 9: is always 7 (Jigh) for seconds 97.9 (3ate O "ime) /econds 2.create a minute identifier se8uence where it 9=: K 71111117 it B3(/"W) is set to 1 for one hour before the start O end of summer time. "he time code is U" during winter and U"1 during /ummer time /econd bits B8.7 (4arity its) create 9Fdd 4arity: (odd number of ones) when

    combined with their designated data bits (e.g. 41K@ear)

    it B (/")is set to 1 during /ummer "ime.

    ore information can be found atL

  • 8/10/2019 Chronvertor User Manual v2.1

    16/26

  • 8/10/2019 Chronvertor User Manual v2.1

    17/26

    DCF77 Tme 4 Da!e C&,e

    Se) B! In+& Se) B! In+& Se) B! In+&

    00 0 Mn S!ar! (a$-ays:0 2; 27 Mn!e(770-6)

    83 2 Day &+ ?eek(onK1 /unK)

    /econds 09.9

    (Weather, ivil Warning andac%up antenna information)

    can not be simulated.

    A$$ *!s : 0

    27 +7 88 +

    2 41 4arity (inute) 8 1

    M&n!"(71012)

    2 1

    6&r(7702')

    8; 2

    30 2 87 +

    39 + 8 5

    32 5 8 17

    9; /"W /ummer "ime Warning 33 17 0 1

    ear(77066)

    97 E/" /ummer "ime 38 27 9 29 E" Winter "ime 3 42 4arity (Jour) 2 +

    9 0 Deap /econd (not used) 3; 1Day&+

    M&n!"(710'1)

    3 5

    20 9 "ime /tart (alwaysK1) 37 2 8 17

    29 1

    Mn!e(770-6)

    3 + 27

    22 2 3 5 ; +7

    23 + 80 17 7 57

    28 5 89 27 4' 4arity (3ate)

    2 17 82 1 Day &+ ?eek T inute ar% (no bit)

    "he time and date is sent for the #ollowingminute. (e.g. during 71L2- the time isbeing sent for 71L2)

    "he 3 time code is sent with the least significant bits first. /econd 00 (inute /tart)bitis always 7 /econds 09.9 (Weather etc.) are not simulated by the module, all bits K 7 /econd bit 9;(/"W) is set to 1 for one hour before the start O end of summer time. /econd 97(E/") is set to 1 during entral European /ummer "ime (U"2)

    /econd 9(E") is set to 1 during entral European "ime (Winter) (U"1) "he time code is U"1 during winter and U"2 during summer time /econd 9(Deap /econd)) is not simulated (bit alwaysK7) /econd 20mar%s the start of encoded "ime (bit always set to 1) its 59, 52and 53 (4arity its) create 9Even 4arity: (even number of ones) when

    combined with their designated data bits (e.g. 41Kinute)

    /econd bit (Mn!e Mark Jas no data (no low pulse during the second)

    ore information can be found atL

    Wi%ipedia

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 1

    http://en.wikipedia.org/wiki/DCF77http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://en.wikipedia.org/wiki/DCF77http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    18/26

    1(. WWVB USA*adio "ime 4rotocol #nformation

    "he WW> time and date code is broadcast from a 7 %J$ radio transmitternear &ort ollins, olorado

    "he full se8uence of information is transmitted in binary coded decimal format eachminute.

    "he time code includes the following informationL year day of year hour

    minute 3/" warning and in effect indicators Deap @ear indicator

    "he broadcast time is always U".

    = 277ms low at the start of a second K logic 7

    = -77ms low at the start of a second K logic 1

    ("here are also seven special seconds where there is an 577ms low mar%er)

    "he module normally simulates the time0code using ""DF/ logic levels without anycarrier wave so that it can be directly connected to the logic decoder input of your cloc%.

    "here is an option to enable a 7Ch$ (appro!) very low power carrier wave. = suitable coilvia a current limiting resistor (1%S) could be connected between the module data outputand ground for testing a cloc% with a built0in WW> radio receiver over a short distance (afew inches only)."his may re8uire the cloc% being tested to be metallic0ally screened in some way toprevent it receiving the real WW> broadcast signal.

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 15

    0 577ms

    277ms

    9 -77ms

    -77ms

    http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    19/26

    ??B Tme 4 Da!e )&,e

    Se) B! In+& Se) B! In+& Se) B! In+&

    00 &* &rame ar%er (577ms) 20 0 B! a$-ays:0 80 0 3U"1 >alue(not used)A$-ays 0

    09 +7Mn!e(770-6)

    29 0 B! a$-ays:0 89 0

    02 27 22 277 Day &+ ear 82 0

    03 17 23 177 83 0

    08 0 B! a$-ays:0 28 0 B! a$-ays:0 88 0 B! a$-ays:0

    0 5Mn!e(770-6)

    2 57Day&+

    ear

    8 57ear(77066)

    0; + 2; +7 8; +7

    07 2 27 27 87 270 1 2 17 8 17

    0 1 ar%er (577ms) 2 ' ar%er (577ms) 8 - ar%er (577ms)

    90 0 B! a$-ays:0 30 5 Day &+ ear1K1st?an

    '-K '1st 3ec(' for leap year)

    0 5ear(77066)

    99 0 B! a$-ays:0 39 + 9 +

    92 27 6&r(7702')

    32 2 2 2

    93 17 33 1 3 1

    98 0 B! a$-ays:0 38 0 B! a$-ays:0 8 0 B! a$-ays:0

    9 56&r

    (7702')

    3 0 B! a$-ays:0 D@ Deap @ear

    9; + 3; 9 3U"1 /ign(not used)

    A$-ays 1

    ; 0 Deap /ec (not used)

    97 2 37 0 7 TC? "ime change warning

    9 1 3 9 DST 3/" bit

    9 2 ar%er (577ms) 3 + ar%er (577ms) 7 ar%er (577ms)

    TC?("ime

    hange Warning)

    DST (3aylight

    /aving "ime)

    Meann'

    7 7 DST n&! n e++e)!(3/" bit is cleared from 77L77 U" on day =&"E* change)

    1 7 Tme )"an'es +&r-ar, !& DST !&,ay(warning bit is set from 77L77 U" on day of change)

    1 1 DST s n e++e)!(3/" bit is set from 77L77 U" on day =&"E* change)

    7 1 Tme )"an'es *a)k +r&m DST !&,ay(warning bit is cleared from 77L77 U" on day of change)

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 16

    http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    20/26

    N&!es

    WW> always sends UTCtime and date for the currentminute. "he 3 time code is sent with the Most significant bits first. /econds with ar%ers M0.M and FRM start with an 577ms low pulse. "he month, month0day and day of wee% have to be calculated by your cloc% from

    the Day &+ ear and Lea# earflag bit data. D@ (Deap @ear) is set to 1 during a leap year. 3U"1 values are not simulated by the module (3U"1 value is set to 7) /ee the e!tra table above for an e!planation of the 3/" warning and flag bits.

    ore #nformation can be found atL

    Wi%ipedia

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 27

    http://en.wikipedia.org/wiki/WWVBhttp://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://en.wikipedia.org/wiki/WWVBhttp://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    21/26

    11. JJY a#an*adio "ime 4rotocol #nformation

    "he ??@ time and date code is broadcast from two radio transmitters in ?apanL= +7 %J$ transmitter (??@+7) on ount Fta%adoya in &u%ushima prefecturein the north.

    = 7 %J$ transmitter (??@7) on ount Jagane, Cyushu island in the south."he transmitter fre8uencies are different to prevent interference, the time code is identical.

    "he full se8uence of information is transmitted in binary coded decimal format eachminute. (parts of the code are very similar to the WW> code)

    "he time code includes the following informationL year day of year hour

    minute day of wee%

    "he pulses are the opposite to other codes such as WW>, each second starts with a"'"pulse.

    =n 577ms "'"at the start of a second K logic 0

    = -77ms "'"at the start of a second K logic 9

    = 277ms "'"at the start of a second K Marker *! (there are mar%er seconds per minute)

    Marker

    "he module normally simulates the time0code using ""DF/ logic levels without anycarrier wave so that it can be directly connected to the logic decoder input of your cloc%.

    "here is an option to enable a 7Ch$ or +7Ch$ (appro!) very low power carrier wave asbefore.

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 21

    0

    277ms

    577ms

    9-77ms

    -77ms

    577ms277ms

    http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    22/26

    Tme 4 Da!e )&,e

    Se) B! In+& Se) B! In+& Se) B! In+&

    00 &* &rame ar%er (277ms)

    20 0 B! a$-ays:0 80 0 ST (reserved)

    09 +7Mn!e(770-6)

    29 0 B! a$-ays:0 89 57

    ear(77066)

    02 27 22 277 Day &+ ear 82 +7

    03 17 23 177 83 27

    08 0 B! a$-ays:0 28 0 B! a$-ays:0 88 17

    0 5Mn!e(770-6)

    2 57Day

    &+ ear

    8 5

    0; + 2; +7 8; +

    07 2 27 27 87 2

    0 1 2 17 8 1

    0 1 ar%er (277ms) 2 ' ar%er (277ms) 8 - ar%er (277ms)

    90 0 B! a$-ays:0 30 5 Day &+ ear1K1st?an

    '-K '1st 3ec(' for leap year)

    0 +Day &+ ?eek

    (/undayK7/aturdayK)

    99 0 B! a$-ays:0 39 + 9 2

    92 27 6&r(7702')

    32 2 2 1

    93 17 33 1 3 0 Deap second warning

    98 0 B! a$-ays:0 38 0 B! a$-ays:0 8 0 Deap second type

    9 56&r

    (7702')

    3 0 B! a$-ays:0 0Unused

    B!s a$-ays:09; + 3; 59 6&rs 5ar!y(even) ; 097 2 37 52 Mns 5ar!y (even) 7 0

    9 1 3 0 ST? (reserved) 0

    9 2 ar%er (277ms) 3 + ar%er (277ms) 7 ar%er (277ms)

    N&!es

    ??@ always sends 9?/": (apan Standard Time) which is UTC 1 6&rs/ "he time and date are for the currentminute. "he 3 time code is sent with the Most significant bits first. /econds with ar%ers M0.M and FRM start with a 277ms high pulse. "he month, month0day and day of wee% have to be calculated by your cloc% from

    the Day &+ ear data (no leap0year data is sent.) 4arity bits 59and 52ma%e 9even: parity for the "ime (it is set if there are an odd

    number of bits to ma%e an even number of bits)

    ST?and STare /ummer "ime indicators reserved for future use (alwaysK7). Deap second warning (seconds -' O -+ are not simulated (alwaysK7))

    ore #nformation can be found atL

    Wi%ipedia

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 22

    http://en.wikipedia.org/wiki/JJYhttp://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://en.wikipedia.org/wiki/JJYhttp://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    23/26

    1!. Schematic Dia*ram

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 2'

    http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    24/26

    1#. Circuit Description

    >ery accurate time%eeping (within -.+ secondsmonth) is achieved by the use of aa!im 3/'2'1 *" (*eal "ime loc%) chip (#1)."he *" has an integrated temperature compensated oscillator and crystal.

    #t has battery bac%up ('> lithium cell) to maintain time and temperature compensationwhen there is no main power.

    #t communicates using an #V #nterface (pins 1-O1) to a 4#12&15+7 microcontroller(#2).

    #2 reads the time and converts it into either ;4/, /& 3& or WW> protocol andsends it out on pin ."he data is synchronised to be sent e!actly every second by the use of a 1J$ pulse sent

    from the *" (4in ').

    "he microcontroller can be configured using a serial port (*G pin 2) and ("G pin ')."ransistors "1 and "2 are used to convert between the microcontrollerAs logic voltageand the voltages used by */2'2 /erial ports.

    "1 buffers the incoming data voltages to between 7 and -> and also inverts the data toma%e it compatible with the microcontroller serial input.

    "2 has to be able to convert the 7 to -> serial output from the microcontroller to */2'2compatible voltage levels and invert the data.

    3iode 32 conducts only the negative voltage obtained from the input */2'2 serialconnection (from your 4As */2'2 port) and ' smooths it during periods when incomingdata causes the voltage to go positive.

    (=nother solution may have been to use a dedicated */2'2 converter chip such as a=G2'2 but these constantly consume about 05m= of power which is twice that of themicrocontroller and *" chip combined)

    "est 4oint 1 (ar%ed 9=: on the 4) is provided to allow chec%ing the incoming data witha logic probe.#t can also be used to directly connect a ;4/ module that only has a logic level serial

    output (this bypasses transistor "1 which would otherwise invert the data ma%ing it notcompatible)."he *ed status DE3 (31) is used for indicating outgoingincoming data pulses.=s the microcontroller doesnAt have any more port pins available, it uses a spare '2%J$output (pin1) on the *" chip which is controlled by the microcontroller to turn onoff theDE3 using the '2%J$ pulses from the *".

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 2+

    http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/
  • 8/10/2019 Chronvertor User Manual v2.1

    25/26

    1. "ault Dia*nosis

    5r&*$em 5&ss*$e S&$!&n

    odule does not wor% at all.

    (*ed DE3 does not flash when power isapplied.)

    4ower off and remove the oin ell

    for a few minutes then re0fit it. hec% your -v regulated power

    supply is correctly connected (seesection +).

    odule does not respond to the serial

    terminal config start (K e8ual) %ey.

    hec% the terminal is set to +577baud, 5bits,

  • 8/10/2019 Chronvertor User Manual v2.1

    26/26

    12. Speciications

    5&-er s##$y re=remen!sH- >olts 3 ma!imum (*egulated) for the module.

    ' >olts lithium coin cell (*27'2) for the *" time%eeping battery bac%up.

    Man 5&-er )&nsm#!&nH+m= (with DE3 flashing)'m= (DE3 off)

    Ba)k# !mekee#n' *a!!ery #&-er )&nsm#!&nH7.5-X= (Estimated run0time M17 years (or the shelf life of the *27'2 battery))

    Dmens&nsH

    4 only 0 ''mm G 2.-mm G 1.mm (1.': G 1.1: G 7.7:) (4 has rounded corners)Jeight appro! 27mm (7.6:) including battery holder

    Tmekee#n' A))ra)yHUnadusted *" accuracy 2ppm from 7Y to +7Y. (about -.+ seconds per month)

    Crys!a$ A'n'H&irst yearL 1ppm7017 @ears -ppm (*" anufacturerAs estimate)

    ?e'"!H

    =ppro! 11 ;rams (7.+ o$)

    13. "ee=ac$

    We welcome your comments and suggestions. #f there is a feature you particularly li%e ordisli%e, or you have any feature re8uestsL4lease email using the contact form on the websiteL unusualelectronics.co.u%

    Manual revisions

    v1.7 0 Friginal version.v1.1 0 =dded 9#nverted Futput: config option (for firmware v1.' or later).v2.7 0 9aster4ulse: mode added (for firmware 2.7)v2.1 0 =dded fault diagnosis section

    Chronvertor User Manual v2.1 B opyright 271+ 3."horpe UnusualElectronics.co.u% Page 2

    http://unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/http://unusualelectronics.co.uk/http://www.unusualelectronics.co.uk/