Real-time clock circuit of virtual simulation equipment

By designing the real-time clock circuit of FPGA and FH8563 chips in virtual simulation equipment, and using crystal oscillator and button batteries to power, the problem of data loss after the clock circuit is powered off is solved, and the simple structure and low cost of the circuit are realized to ensure that the clock circuit is lost. It can still operate normally and save data after power.

CN221946404UActive Publication Date: 2024-11-01HUBEI HAOCHEN ZHILIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420121107.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-01-17
Publication Date
2024-11-01
Estimated Expiration
2034-01-17

AI Technical Summary

Technical Problem

The clock circuit of existing virtual simulation equipment is prone to data loss after power failure, and the existing solutions are complex in structure and costly.

Method used

A real-time clock circuit of virtual simulation equipment including FPGA and chip FH8563 is designed, powered by 32.768KHz crystal oscillator and button battery, combined with pull-up resistor and diode, ensuring that the clock circuit can still operate normally after power outage and communicate through I2C. and read-only memory to save data.

Benefits of technology

It realizes that the clock circuit can still operate normally after power outage, and the circuit structure is simple and low-cost, and can continue to display dates and time and save important data or settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221946404U_ABST
    Figure CN221946404U_ABST
Patent Text Reader

Abstract

The real-time clock circuit of the virtual simulation equipment comprises an FPGA (Field Programmable Gate Array) and a chip FH8563, and the model of the FPGA is DE10Standard; a crystal oscillator with the frequency of 32.768 K is connected between a first pin and a second pin of the FH8563, a third pin of the FH8563 is connected with an interrupt signal communication pin GPIOD10 of the FPGA, a fourth pin of the FH8563 is grounded, a fifth pin and a sixth pin of the FH8563 are connected with a positive power source through a first pull-up resistor and a second pull-up resistor respectively and then connected with two I2C communication pins GPIOD13 and GPIOD12 of the FPGA, and a seventh pin of the FH8563 is connected with a clock signal input pin GPIOD11 of the FPGA. The eighth pin is respectively connected with cathodes of a first diode and a second diode, an anode of the first diode is connected with an anode of a button cell, a cathode of the button cell is grounded, and an anode of the second diode is connected with the positive power supply. The real-time clock counts date and time and displays the date and time through the nixie tube, normal operation can be continued after power failure, and the read-only memory can be used for storing some important data or setting or passwords.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of virtual simulation equipment, and more specifically, to a real-time clock circuit of virtual simulation equipment. Background Art

[0002] Virtual simulation equipment refers to a device that uses a virtual system to simulate another real system. Virtual simulation equipment needs to display the clock. The ordinary clock circuit is powered by the power circuit. The power circuit converts the mains power into a low-voltage DC power supply to provide the working voltage for the clock circuit. However, when the power is off, it is easy to cause the clock circuit data to be lost. Therefore, it is necessary to provide a new clock circuit to solve the above problem, and try to ensure that the circuit structure is simple and low-cost. Utility Model Content

[0003] The technical problem to be solved by the utility model is that, in view of the technical problem of data loss after the clock circuit loses power in the prior art, the utility model provides a virtual simulation device real-time clock circuit with simple structure and low cost.

[0004] The utility model discloses a real-time clock circuit of a virtual simulation device, comprising an FPGA and a chip FH8563, wherein the model of the FPGA is DE10_Standard; a crystal oscillator with a frequency of 32.768KHz is connected between the first and second pins of the FH8563, the third pin is connected to an interrupt signal communication pin GPIO_D10 of the FPGA, the fourth pin is grounded, the fifth pin and the sixth pin are respectively connected to a positive power supply through a first pull-up resistor and a second pull-up resistor and then connected to two I2C communication pins GPIO_D13 and GPIO_D12 of the FPGA, the seventh pin is connected to a clock signal input pin GPIO_D11 of the FPGA, the eighth pin is respectively connected to cathodes of a first diode and a second diode, the anode of the first diode is connected to a positive electrode of a button battery, the negative electrode of the button battery is grounded, and the anode of the second diode is connected to the positive power supply.

[0005] In the real-time clock circuit of the virtual simulation device of the utility model, both ends of the crystal oscillator are grounded via a 25pF capacitor respectively.

[0006] In the real-time clock circuit of the virtual simulation device of the utility model, the 8th pin of the FH8563 is grounded through a 47 μF capacitor.

[0007] In the real-time clock circuit of the virtual simulation device of the present utility model, the model of FPGA is DE10_Standard

[0008] In the virtual simulation device real-time clock circuit of the utility model, it also includes a chip 74HC245, a resistor array with a size of 100Ω and two four-digit digital tubes. The B7 to B0 pins of the 74HC245 are respectively connected to the pins HSMC_RX_D_N4, HSMC_TX_D_N5, HSMC_RX_D_P5, HSMC_TX_D_P6, HSMC_RX_D_N5, HSMC_TX_D_N6, HSMC_RX_D_P6, and HSMC_TX_D_P7 of the FPGA. The first pin of the 74HC245 is grounded, and the 19th pin of the 74HC245 is connected to the positive power supply through the third pull-up resistor on the one hand, and is connected to the GPIO_D31 pin of the FPGA on the other hand; one end of the 8 resistors in the resistor array are respectively connected to the A7 to A0 pins of the 74HC245, and the other ends of the 8 resistors in the resistor array are respectively connected to the 8 control ends of the two digital tubes.

[0009] The virtual simulation device real-time clock circuit of the utility model also includes a chip AT24C02, the 1st to 4th pins of AT24C02 are grounded, the 5th to 6th pins of AT24C02 are connected to the positive power supply through the fourth pull-up resistor and the fifth pull-up resistor respectively, and then connected to the other two I2C communication pins GPIO_D15 and GPIO_D14 of the FPGA, the 7th pin of AT24C02 is grounded, and the 8th pin of AT24C02 is connected to the positive power supply.

[0010] In the virtual simulation device real-time clock circuit of the utility model, the first pull-up resistor and the second pull-up resistor are 4.7KΩ, and the fourth pull-up resistor and the fifth pull-up resistor are 10KΩ.

[0011] In the virtual simulation device real-time clock circuit of the utility model, the third pull-up resistor is 4.7KΩ.

[0012] In the real-time clock circuit of the virtual simulation device of the utility model, the first diode and the second diode are of 1N4148 type.

[0013] The utility model discloses a real-time clock circuit for virtual simulation equipment. The real-time clock counts date and time and displays it with a digital tube. It can continue to operate normally after power failure. A read-only memory is provided for storing some important data or settings or passwords. The circuit structure is simple and the cost is low. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0015] Figure 1 The utility model is a schematic diagram of a real-time clock circuit of a virtual simulation device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0016] In order to have a clearer understanding of the technical features, purposes and effects of the present utility model, the specific implementation methods of the present utility model are now described in detail with reference to the accompanying drawings.

[0017] refer to Figure 1 The utility model discloses a real-time clock circuit of a virtual simulation device, comprising an FPGA and a chip FH8563, the model of the FPGA is DE10_Standard; the first and second pins of the FH8563 are connected to a crystal oscillator Y with a frequency of 32.768KHz, the third pin is connected to an interrupt signal communication pin GPIO_D10 of the FPGA, the fourth pin is grounded, the fifth pin and the sixth pin are respectively connected to a positive power supply 3.3V through a first pull-up resistor R2 and a second pull-up resistor R1, and then connected to two I2C communication pins GPIO_D13 and GPIO_D12 of the FPGA, the first pull-up resistor and the second pull-up resistor are 4.7KΩ, the seventh pin is connected to a clock signal input pin GPIO_D11 of the FPGA, the eighth pin is respectively connected to the cathode of a first diode D1 and a second diode D2, the anode of the first diode D1 is connected to the positive electrode of a button battery BT, the negative electrode of the button battery BT is grounded, the anode of the second diode D2 is connected to the positive power supply 3.3V, and the models of the first diode D1 and the second diode D2 are 1N4148.

[0018] The two ends of the crystal oscillator are grounded through a 25pF capacitor C1 and C2 respectively, and the 8th pin of FH8563 is grounded through a 47μF capacitor C3. Capacitors C1 and C2 can increase the stability of the crystal oscillator, and capacitor C3 can perform power supply filtering.

[0019] In the virtual simulation device real-time clock circuit of the utility model, it also includes a chip 74HC245, a resistor array with a size of 100Ω and two four-digit digital tubes. The B7 to B0 pins of the 74HC245 are respectively connected to the pins HSMC_RX_D_N4, HSMC_TX_D_N5, HSMC_RX_D_P5, HSMC_TX_D_P6, HSMC_RX_D_N5, HSMC_TX_D_N6, HSMC_RX_D_P6, and HSMC_TX_D_P7 of the FPGA. The first pin of the 74HC245 is grounded, and the 19th pin of the 74HC245 is connected to the positive power supply through the third pull-up resistor R5 on the one hand, and is connected to the GPIO_D31 pin of the FPGA on the other hand; one end of the 8 resistors in the resistor array are respectively connected to the A7 to A0 pins of the 74HC245, and the other ends of the 8 resistors in the resistor array are respectively connected to the 8 control ends of the two digital tubes, and the third pull-up resistor R5 is 4.7KΩ.

[0020] The virtual simulation device real-time clock circuit of the utility model also includes a chip AT24C02, the 1st to 4th pins of AT24C02 are grounded, the 5th to 6th pins of AT24C02 are connected to the positive power supply 3.3V through the fourth pull-up resistor R3 and the fifth pull-up resistor R4 respectively, and then connected to the other two I2C communication pins GPIO_D15 and GPIO_D14 of the FPGA, the 7th pin of AT24C02 is grounded, the 8th pin of AT24C02 is connected to the positive power supply 3.3V, and the fourth pull-up resistor and the fifth pull-up resistor are 10KΩ.

[0021] The working principle of the utility model is as follows: the crystal oscillator generates a frequency of 32.768KHz to supply FH8563, FH8563 generates date and time, communicates with FPGA through I2C bus, transmits date and time to FPGA, FPGA reads date and time signal to drive digital tube display circuit to display time and date, wherein the first pin of 74HC245 is set to low level, so that the B series pin of 74HC245 is input, the A series pin is output, the 19th pin of 74HC245 is the enable signal terminal, through which FPGA can enable control of 74HC245, the circuit part where AT24C02 is located constitutes a read-only memory circuit, and FPGA can read and write through I2C line to save settings or passwords or any other content. The utility model real-time clock counts date and time and displays it with digital tube, can continue to operate normally after power failure, and has a read-only memory that can be used to save some important data or save settings or passwords, has a simple circuit structure, and is low in cost.

[0022] The embodiments of the utility model are described above in conjunction with the accompanying drawings, but the utility model is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the utility model, ordinary technicians in this field can also make many forms without departing from the scope of protection of the utility model and the claims, which all fall within the protection of the utility model.

Claims

1. A real-time clock circuit for a virtual simulation device, characterized in that: The invention comprises an FPGA and a chip FH8563, wherein the model of the FPGA is DE10_Standard; a crystal oscillator with a frequency of 32.768KHz is connected between the first and second pins of the FH8563, the third pin is connected to the interrupt signal communication pin GPIO_D10 of the FPGA, the fourth pin is grounded, the fifth pin and the sixth pin are respectively connected to the positive power supply through the first pull-up resistor and the second pull-up resistor and then connected to the two I2C communication pins GPIO_D13 and GPIO_D12 of the FPGA, the seventh pin is connected to the clock signal input pin GPIO_D11 of the FPGA, the eighth pin is respectively connected to the cathodes of the first diode and the second diode, the anode of the first diode is connected to the positive electrode of a button battery, the negative electrode of the button battery is grounded, and the anode of the second diode is connected to the positive power supply.

2. The real-time clock circuit of the virtual simulation device according to claim 1, characterized in that: Both ends of the crystal oscillator are grounded via a 25pF capacitor respectively.

3. The real-time clock circuit of the virtual simulation device according to claim 1, characterized in that: The 8th pin of the FH8563 is connected to ground via a 47 μF capacitor.

4. The real-time clock circuit of the virtual simulation device according to claim 1, characterized in that: It also includes a chip 74HC245, a resistor array with a size of 100Ω, and two four-digit digital tubes. The B7 to B0 pins of the 74HC245 are respectively connected to the FPGA pins HSMC_RX_D_N4, HSMC_TX_D_N5, HSMC_RX_D_P5, HSMC_TX_D_P6, HSMC_RX_D_N5, HSMC_TX_D_N6, HSMC_RX_D_P6, and HSMC_TX_D_P7. The first pin of the 74HC245 is grounded. The 19th pin of the 74HC245 is connected to the positive power supply through the third pull-up resistor on the one hand, and is connected to the GPIO_D31 pin of the FPGA on the other hand. One ends of the 8 resistors in the resistor array are respectively connected to the A7 to A0 pins of the 74HC245, and the other ends of the 8 resistors in the resistor array are respectively connected to the 8 control ends of the two digital tubes.

5. The real-time clock circuit of the virtual simulation device according to claim 1, characterized in that: It also includes a chip AT24C02, wherein pins 1 to 4 of AT24C02 are grounded, pins 5 to 6 of AT24C02 are connected to a positive power supply through a fourth pull-up resistor and a fifth pull-up resistor respectively, and then connected to the other two I2C communication pins GPIO_D15 and GPIO_D14 of the FPGA, pin 7 of AT24C02 is grounded, and pin 8 of AT24C02 is connected to a positive power supply.

6. The real-time clock circuit of the virtual simulation device according to claim 5, characterized in that: The first pull-up resistor and the second pull-up resistor are 4.7KΩ, and the fourth pull-up resistor and the fifth pull-up resistor are 10KΩ.

7. The real-time clock circuit of the virtual simulation device according to claim 4, characterized in that: The third pull-up resistor is 4.7KΩ.

8. The real-time clock circuit of the virtual simulation device according to claim 1, characterized in that: The first diode and the second diode are 1N4148.