1. Introduction
Low-frequency (LF) time code signals are encoded signals transmitted within the low-frequency range (30 kHz–300 kHz) that carry standard time, date, and related information [
1]. BPC LF time code timing technology offers several advantages. From the perspective of signal propagation characteristics, LF signals exhibit superior long-distance transmission capabilities and strong penetration (covering scenarios such as indoor and underground environments). This is due to the favorable reflection properties of LF band electromagnetic waves by the Earth’s surface and the ionosphere. Consequently, LF signals overcome the line-of-sight (LOS) propagation limitations inherent to higher-frequency signals. An LF time code transmission station can cover a radius of 1000 to 3000 km, making it highly suitable for wide-area timing requirements [
1,
2,
3]. Regarding cost, common LF time code system receiving terminals, such as radio-controlled clocks and dedicated receiver modules, are inexpensive. This cost-effectiveness facilitates large-scale popularization. Therefore, LF time code timing technology plays a significant role in civilian timekeeping, power grid management, transportation systems, financial operations, and other fields. It holds particular and irreplaceable importance in the domain of radio-controlled timepieces.
Table 1 shows a comparison between low-frequency time code timing technology and other timing technologies.
Since the 1950s, with the continuous improvement in atomic clock accuracy and rapid advancements in microelectronics technology, low-frequency time code timing technology has garnered widespread international attention and application. Countries including Germany, the United States, and Japan have successively established LF time code transmission systems. The geographical distribution of global LF time code timing systems is illustrated in
Figure 1.
According to documented information, the encoding schemes and signal formats adopted for low-frequency (LF) time code systems vary significantly across different nations [
10]. The technical parameters of globally major LF timing stations are comparatively presented in
Table 2.
The frame lengths of low-frequency time code transmitting stations abroad are generally long. Most of them still use AM, with relatively long frame lengths (about 60 s), and lack effective error correction methods. This article is based on the BPC encoding system, compressing the frame length to 20 s, which is conducive to rapid clock adjustment, and the BPC signal adopts the amplitude modulation technology of pulse width, making reception and demodulation more convenient.
China’s low-frequency time code transmission station was commissioned in 2007, emitting BPC-format signals at 68.5 kHz with 100 kW transmitter power. Research advancements in BPC signal processing include Bai Yan et al.’s development of high-precision receiver timing techniques. Their numerical approach utilizes spline interpolation and least squares fitting to identify second-pulse reference markers, elevating BPC receiver timing accuracy to the tens-of-microseconds range [
11]. Luo Xinyu et al. incorporated a weighted algorithm for BPC signal reception, proposing a detection method that integrates signal average power and carrier power metrics [
12]. This innovation effectively resolves interference detection challenges in LF time code systems while enhancing robustness against high-power jamming sources. Further extending the theoretical frontier, however, these studies mainly focus on enhancing accuracy at the receiving end, with few studies conducted at the transmitting end. In this paper, the accuracy at the transmitting end is improved by enhancing the control mode and introducing the sliding window algorithm, which makes up for the deficiency of the transmitting end’s accuracy.
Feng Ping, Huang Luxi and others have studied the system and timing system of BPC signals. These studies have focused on and investigated the coding method, carrier, modulation method, signal evaluation and other aspects of BPC low-frequency time code timing signals [
13]. Based on these studies, this paper determines the optimal transmission and modulation methods for BPC signals and then conducts complete hardware implementation based on digital means. This research can be used as a platform to conduct more convenient experimental verification of the theory.
Current research indicates that the transmitter of BPC low-frequency time code signals significantly impacts the signal quality and timing precision of the entire LF timing system. Deviations in key transmitter parameters—including carrier frequency, modulation depth, and phase—become amplified during propagation via skywave and groundwave paths. This directly compromises receiver-side performance metrics, ultimately degrading overall signal integrity and timing accuracy. Consequently, a highly stable and fine-resolution BPC LF signal generator is essential for transmission systems.
This paper presents an ARM-FPGA-based LF time code generator with adjustable phase and amplitude. Laboratory testing demonstrates its exceptional stability in maintaining carrier frequency, phase jitter, and modulation depth while successfully synchronizing radio-controlled clocks under controlled conditions. The design employs Direct Digital Synthesis (DDS) technology combined with phase-locked loops to generate 68.5 kHz carrier signals. Compared to legacy equipment relying on 68.5 kHz crystal oscillators, this approach achieves superior frequency accuracy. Additionally, the output signal’s adjustable amplitude and programmable phase provide greater adaptability and operational flexibility across diverse scenarios, substantially enhancing practical utility.
2. Module Design for BPC Low-Frequency Time Code Signal Generator
2.1. Time Code Generation Module Design
The BPC low-frequency time code generator system accepts inputs of a standard time source signal along with a precise 1PPS (Pulse Per Second) signal and frequency reference. It outputs a modulated BPC signal at 68.5 kHz. The generation process is illustrated in
Figure 2.
The standard time source is typically an external atomic clock or another high-precision time reference, generally provided in the Time of Day (TOD) message format. The structure of a received TOD message is assumed to follow the specifications shown in
Table 3.
To distinguish TOD time-encoded information from interference at the serial input port, we require a processor chip with serial port functionality and multi-threading capability to construct the time code generation module and design peripheral analog circuits. Consequently, we implemented the time code generation module using an ARM architecture chip [
14,
15].
The STM32F107 chip, an ARM-based microcontroller from STMicroelectronics, features six UART/USART serial ports capable of receiving external standard time information and control commands via serial communication. With its wide operating temperature range, excellent electromagnetic compatibility, and cost-effectiveness, this device operates at 2.0 V to 3.6 V supply voltage and incorporates a 72 MHz Cortex-M3 core—specifications fully adequate for BPC time code generation and control tasks.
The time encoding generation module based on ARM design has two Usart serial ports. One Usart serial port can receive standard TOD time information from an external time source or an upper computer, update the local time (Localtime), and convert Localtime into 20 char-type BPCs according to the BPC encoding format. Another Usart serial port sends different information to the outside (for details, see the relevant content in
Section 2.1). In addition, the ARM chip also has a set of 8-bit address/data multiplexing lines and three control lines to communicate with the signal generation module.
Table 4 presents the updated LocalTime information based on the data shown in
Table 3 [
13,
16].
2.2. Signal Generation Module Design
The generated BPCs are transmitted to the signal generation module, where they are digitally synthesized with a 68.5 kHz carrier signal to produce the digital-format BPC time code. A complete BPC signal frame has a duration of 20 s. As shown in
Figure 3, the beginning time segment τ of each integer second contains a negative pulse signal with an amplitude lower than that of the nominal carrier signal. The negative pulse amplitude is adjustable, typically set to 10–30% of the standard carrier amplitude. The pulse duration varies between 100 ms, 200 ms, 300 ms, and 400 ms intervals. The waveform schematic of the low-frequency time code signal is illustrated in
Figure 3.
The duration of the negative pulse at the beginning of each integer second corresponds to its represented meanings as seen in
Table 5.
Next, I will derive the time-domain and frequency-domain expressions of a frame of a BPC low-frequency time code signal and draw its spectrogram. By doing so, the frequency-domain measurement result images in
Section 4.2 can be directly compared with this image to verify the correctness of this design.
If τ = 1, it indicates the current second is the frame start second. The baseband signal within a complete 1 s BPC signal can be expressed as follows:
where k is the modulation index (the ratio of negative pulse amplitude to nominal signal amplitude), and
represents a rectangular function with width
and amplitude k:
When τ takes the value
, the signal for that second can be expressed as follows:
Performing Fourier transform on Equation (3) yields its frequency-domain representation as follows:
Here, the definition of the function sa () is as follows: .
However, in practical scenarios, perfect rising/falling edges do not exist. Assuming actual edges exhibit smooth slopes with duration Δ, the negative pulse within each second transforms into a trapezoidal signal with high-level edges of duration
, as illustrated in
Figure 4.
Next, we will make a slight modification to Formula (3) to represent the actual situation where the signal edge is a steep slope shape:
The Fourier transform of Formula (5) now becomes the following:
When
takes the value
,
equals
. A 20 s BPC baseband signal frame can be regarded as a linear combination of 20 baseband signals with different a values and time-shifted by 0 to 20 s in the time domain. Therefore, the complete frame signal can be expressed as
After modulating a cosine carrier signal of 68.5 kHz into Equation (7), the frequency-domain representation is as follows:
MATLAB (version 23.2.0.2365128, R2023b) simulations of the BPC low-frequency time code generation process (based on
Table 3) are shown in
Figure 5 and
Figure 6.
It can be observed that the baseband signal spectrum is concentrated in the low-frequency range. The aperiodic pulse train results in a continuous (non-harmonic) spectral distribution. Furthermore, due to the combination of varying duty cycles in the time-domain signal, complex sideband structures are generated around the center frequency. From a phase perspective, continuous phase variation occurs near the carrier frequency, while phase jumps may appear at frequency points corresponding to pulse edges. Through the analysis and simulation of the BPC low-frequency time code generation process, we can understand its time-domain, frequency-domain, and phase characteristics. This facilitates the further optimization of the signal generator design and simplifies signal evaluation and monitoring.
To convert the BPC time code in the format of Equation (6) into the modulated signal of Equation (8), a signal generation module must be designed. This module performs frequency synthesis and high-precision timing functions, requiring communication with the time code generation module via RAM bus to receive BPCs while simultaneously acquiring external standard 10 MHz frequency and 1PPS signals through serial interfaces [
16]. Considering that this design can be transformed into a BPC signal receiver and tested in modules without changing the hardware, the SoC chip is not considered for the design for the time being.
The module employs DDS (Direct Digital Synthesis) and PLL (Phase-Locked Loop) technologies to synthesize required frequencies such as 68.5 MHz and 68.5 kHz. Additionally, it synchronizes and calibrates local time based on the external 1PPS signal. These processes involve extensive digital computations, necessitating hardware implementation on an FPGA chip. The SPARTAN-6 XC6SLX9 chip from Xilinx, a cost-effective and low-power FPGA, features 102 user I/O pins and 576 Kb of RAM, making it fully capable of supporting the aforementioned computational tasks.
2.3. Design of Peripheral Analog Circuit Module
To power the system and enable signal D/A conversion, the peripheral analog circuit must meet the following power requirements for the core chips.
Table 6 shows the power supply requirements of the chips.
The system employs an external power supply of ±12 V and 5 V, along with voltage regulators LM317AEMP, AMS1117-3.3, and AMS1117-1.2. Two LM317AEMP regulators step down +12 V to +6 V and −12 V to −6 V, respectively. The AMS1117-3.3 and AMS1117-1.2 regulators convert 5 V to 3.3 V and 1.2 V, powering the ARM and FPGA chips while driving LED indicators.
The DAC module is responsible for converting the 12-bit digital BPC low-frequency time code signal into an analog output with adjustable amplitude. The AD5445 chip is a high-bandwidth and high-precision multiplicative digital-to-analog converter. It features 12-bit resolution, fully matching the requirements of BPC signal generation. Meanwhile, its high bandwidth and fast parallel interface meet the transmission needs of high-frequency waveform generation. In terms of cost, it is also relatively low compared to other chips. For this reason, the AD5445 chip is selected, working in conjunction with external operational amplifiers to achieve the D/A conversion function [
17].
The overall system block diagram of the BPC low-frequency time code signal generator is shown in
Figure 7, and the physical implementation of the module on the PCB is presented in
Figure 8.
5. Conclusions
This study analyzed the generation process of BPC low-frequency time code timing signals and implemented a BPC low-frequency time code timing signal generation system based on the ARM-FPGA architecture from both hardware and software aspects. Compared with the traditional BPC low-frequency time code timing system based on analog circuits, this system is implemented in a digital way. It has independent modules, convenient maintenance and testing, adjustable indicators such as leap second, output signal amplitude, output signal modulation depth, etc. Meanwhile, the sliding window delay calibration method is used to increase the second signal delay to about 1 ns. The DDS technology was adopted in frequency generation, resulting in a more stable and accurate 68.5 kHz signal.
The test results show that the system has good stability in terms of carrier frequency, phase, modulation depth and other indicators and can successfully synchronize the radio control clock, which proves the practical value of the system and lays a foundation for subsequent field tests.
This research not only implemented the BPC low-frequency time code timing generator in hardware, providing a platform for subsequent signal system research, but also reduced the delay at the transmitting end and optimized the overall effect of the low-frequency time code signal timing system.
The experimental results reveal some problems existing in the system, such as being vulnerable to electromagnetic interference from various environmental sources when the transmission power is weak.
In addition, since the only LF BPC time code timing station in China is currently in normal operation, using it for testing will have a significant impact on the timing effect. Therefore, we are temporarily unable to conduct large-scale tests on the generator. However, in the future, we will improve the experimental methods and strive to conduct experiments with higher transmission power under conditions that cause more severe electromagnetic interference to the generator.