Hardware Circuit
1. Receiving antenna
In order to receive the 40kHz low-frequency timing signal, the receiving antenna should use a magnetic rod antenna, which forms a parallel resonant circuit with a capacitor as the input circuit. The magnetic rod antenna can be made by winding an enameled coil on a ferrite magnetic rod. According to experience, its inductance should be in the mH level. The magnetic rod is made of manganese-zinc ferrite with a magnetic permeability of 2kH/m, a cylindrical magnetic rod with a diameter of 10mm and a length of 80mm. The coil uses a single-strand enameled wire with a diameter of 0.25mm, and is wound into a magnetic rod antenna with an inductance of about 4.8mH (as shown in Figure 1). By adjusting the position of the magnetic core in the coil, the inductance can be fine-tuned to make the resonant frequency 40kHz.
Figure 1 Magnetic rod antenna
Figure 2 Receiver demodulator circuit
Figure 3 Sampling comparison circuit Figure 4 Receiving status monitoring and display circuit
2. Receive demodulation circuit
The receiving chip LA1650 is used to receive and demodulate the JJY40 timing signal. This chip from SANYO is specially designed for receiving the JJY40 timing signal, and its receiving sensitivity reaches 10dBμV. The circuit is shown in Figure 2. The recommended operating voltage of LA1650 is 1.5V, with a chip selection control terminal PON and a JJY baseband inverted signal output terminal TCO'. Since the MCU level is 5V, the port connection needs to be level-converted. By using the OC gate characteristics of the P0 port of the 51 single-chip microcomputer, an external pull-up resistor and a 1.5V level can be used to convert the level of the PON end. For the demodulated signal output terminal TCO', the comparator LM311 can be used to convert the level and invert the signal. The input terminal 1.5V is a high level, and the comparison threshold is set to about 0.8V. Therefore, the voltage divider resistors for 5V are selected as 4.7kΩ and 1kΩ, and the circuit is shown in Figure 3.
3. Baseband processing circuit
According to the design principle, the STC89C52 microcontroller is used as the baseband signal processing core to realize the basic functions. Among them, the LCD display uses LCD1602, and the keyboard uses a 4-button independent keyboard for function setting. Its functions are: forced reception switch button; time menu selection button; unit increase button; unit decrease button.
In order to monitor the reception status of the signal, LED lights are used for display, as shown in Figure 4. The resistor is an external pull-up resistor of the P0 port. The functions of each light are as follows: second quasi-synchronous monitoring, lights up after second quasi-synchronous; second synchronization monitoring, lights up after second synchronization; minute synchronization monitoring, lights up after minute synchronization; receiving error monitoring, lights up after error occurs; parity monitoring, lights up after parity check judgment error; final conversion monitoring, lights up after data error is found during the final information conversion; JJY receives the demodulated baseband signal indication, displays the signal in real time, high level lights up and low level turns off.
4. Power circuit
The power supply needs to output 5V and 1.5V to power the microcontroller and the receiving chip respectively. The voltage regulator 7805 and LM317 are used to generate 5V and 1.5V, as shown in Figure 5. The 1.5V is generated according to
V0 = (1 + R
30
/
R
29
) × 1.25 (V) + (R30 × 50 (μA)).
After calculation, R29 is selected as 1kΩ and R30 is selected as 200Ω.
Figure 6 Debugging the receiving antenna
Software Program
According to the program flow chart and the JJY signal receiving and decoding ideas, the C language program can be completed. The C language source code of the 8051 microcontroller can be downloaded from the website of "Radio" magazine.
Debugging Tests
According to the circuit diagram, make a PCB circuit board, then solder the components and write a program, and then you can carry out debugging and testing.
1. Receiving antenna
The debugging of the receiving antenna is mainly to adjust the center frequency of the receiving resonant loop. By adjusting the position of the magnetic core in the coil, using the signal source and oscilloscope to test, the center frequency is set to 40kHz. The test method is shown in Figure 6. Change the frequency of the signal source and use the oscilloscope to observe the signal amplitude. When it is the maximum, the output frequency of the signal source is the center frequency of the loop. This method can make the magnetic core in the position of resonant 40kHz, achieving a good reception frequency selection effect.
2. Receive demodulation circuit
Replace the input receiving antenna loop with a 51Ω resistor, which is equivalent to the state when there is no signal input, that is, the static working state. Supply 1.5V to the chip, measure the potential of each pin, refer to the chip data, the error between the measured value and the reference value is very small, indicating that the static working state is normal. Then switch the input back to the receiving antenna loop, and set the chip enable terminal high, use the signal source to generate a 2ASK signal (amplitude mV level) with a carrier frequency of 40kHz sine wave and a modulation signal of 1Hz square wave, and add the modulated signal to the chip through coupling (as shown in Figure 7), and use an oscilloscope to observe the waveform at the output end of the chip. If it is a 1Hz square wave, it means that the demodulated signal can be received.
Previous article:"Screen-type" sound and light electronic piano (I)
Next article:Personalized colorful night light
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- Bluetooth wireless technology protocol types
- Using the sensor hub mode of lsm6dsl to drive lis2mdl output data unchanged
- 74LS160 digital circuit digital electronic clock circuit design
- 【Showing goods】The first wave
- What is the Q value of a filter?
- If you had to give up your 750,000 yuan annual salary at Tencent or return to your hometown to become a civil servant, what would you choose?
- EEWORLD University Hall----Live Replay: TI AMIC110 Multi-protocol Communication Chip Industrial Application Optimization Solution
- 【Gravity:AS7341 Evaluation】+ Frequency Value Detection
- The homemade sensor test board (bone vibration) is finished and ready for production
- RK3288 baseboard + core board design process