CN1952836A - A television with real-time clock chip and the realized method of real-time clock - Google Patents
A television with real-time clock chip and the realized method of real-time clock Download PDFInfo
- Publication number
- CN1952836A CN1952836A CNA2006101568328A CN200610156832A CN1952836A CN 1952836 A CN1952836 A CN 1952836A CN A2006101568328 A CNA2006101568328 A CN A2006101568328A CN 200610156832 A CN200610156832 A CN 200610156832A CN 1952836 A CN1952836 A CN 1952836A
- Authority
- CN
- China
- Prior art keywords
- real
- bus
- time
- televisor
- timepiece chip
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Electric Clocks (AREA)
Abstract
This invention discloses a television and its real time clock realization method, wherein, the television comprises main board with bus set with one real time clock chip, which also comprises the following parts: one oscillator unit to generate oscillator signals according to preset frequency; one memory unit to set time register and to write orderly real time data according to the signals; one logic control unit to control one bus connection mouth and one address register; the said bus interface connects the main board bus and the logic control unit is to control the address register from relative time register to read real time data.
Description
Technical field:
The present invention relates to a kind of TV set device and method thereof, in particular a kind of implementation method that adopts the televisor and the real-time clock thereof of real-time timepiece chip.
Technical background:
Present clocking capability that televisor adopts is realized by the MCU runs software program.The televisor outage realizes that this timing must allow televisor charged, in case can not realize timing.
And this clocking method can only be to set a period of time, is no more than 24 hours, for example set timing start-up or timing shutdown etc., and the timing mode of time on date that can not be concrete for example is timed to the switching on and shutting down of certain date.The user can not see the current real-time time of demonstration from televisor, and this has brought inconvenience for to a certain extent user's use.
Therefore, prior art has yet to be improved and developed.
Summary of the invention:
The object of the present invention is to provide a kind of can adopt concrete date regularly televisor and the implementation method of real-time clock.
Technical scheme of the present invention comprises:
A kind of televisor that adopts real-time timepiece chip, it comprises mainboard, it is characterized in that, and the bus of described mainboard is provided with a real-time timepiece chip, and it comprises:
One oscillator unit is used for producing oscillator signal according to preset frequency;
One storage unit, be provided with therein include year, month, day, hour, min, second mask register, and write corresponding real time data when being used for walking successively according to described oscillator signal;
One logic control element, control linkage one bus interface and an address register;
Described bus interface connects the bus of described mainboard, and described logic control element is used for the real-time request from bus according to this bus interface reception, controls described address register and read real time data from corresponding mask register.
Described method wherein, is provided with divider unit between described oscillator unit and the described storage unit, is used for clock signal outside described real-time timepiece chip simultaneously.
Described method, wherein, described bus is an iic bus.
Described method, wherein, described real-time timepiece chip inserts in the described iic bus with the MPU of this real-time timepiece chip of control, and described MPU is main equipment, and described real-time timepiece chip is a slave unit.
Described method wherein, also is provided with the mask register that is used for timing start-up/shutdown in the described storage unit.
Described method, wherein, described real-time timepiece chip also provides permanent power source to drive by a battery.
Real time clock realization method in a kind of televisor, it is connected on the main board bus of televisor, and may further comprise the steps:
A, an oscillator unit is set, produces oscillator signal according to preset frequency;
B, a storage unit is set, set gradually therein year, month, day, hour, min, second mask register, and write corresponding real time data when walking successively according to described oscillator signal;
C, a logic control element are controlled a bus interface and an address register, and described logic control element is handled according to this bus interface and come from the request of bus, and reads real time data from corresponding mask register.
Described method, wherein, described bus is an iic bus.
A kind of televisor and clock implementation method thereof that adopts real-time timepiece chip provided by the present invention, owing in TV set circuit, set up real-time timepiece chip or circuit, make whole system for TV set can realize synchronous real-time clock, and can understand present date and time information by televisor at any time, strengthened the Based Intelligent Control ability of televisor.
Description of drawings:
Fig. 1 is the circuit theory diagrams of real-time timepiece chip that televisor of the present invention adopts;
Fig. 2 is a real-time clock of television pin of chip schematic appearance of the present invention;
Fig. 3 is a real-time clock of television pin of chip signal instruction table of the present invention;
Fig. 4 is the circuit theory diagrams of the real-time timepiece chip Application Example of televisor of the present invention;
Fig. 5 is the principle schematic of the iic bus that real-time clock adopted in the televisor of the present invention.
Embodiment:
Below in conjunction with accompanying drawing, will be described in more detail each preferred embodiment of the present invention.
In the televisor that has a real-time clock of the present invention, its basic circuit comprises mainboard, kinescope, telepilot etc., all is that prior art institute is common, does not repeat them here.TV SKD of the present invention is provided with a real-time timepiece chip, concrete be set to VC8563, as shown in Figure 1, its circuit module comprises: an oscillator unit 110 is used for producing oscillator signal, for example Chang Yong 32.768KHz with preset frequency, and outwards draw two pins 1 and 2 of chip, be OSCI and OSCO, the input and output I/O mouth as oscillator unit can be used for oscillator unit is detected and controls.Described oscillator unit 110 connects through a divider unit 120, to a storage unit 130 tranmitting data register signals, chip pin 7 clock signals by outwards drawing simultaneously.
Be provided with the mask register that comprises year, month, day, hour, min, second etc. in the described storage unit 130, write corresponding real time data when being used for successively according to the walking of described oscillator signal.As shown in Figure 1, in the described storage unit except the necessary mask register of above-mentioned timing, also be provided with state of a control register 1 and 2, and by branchs, the time, warning reminding such as day, week register, and clock signal is exported the mask register of controlling and being used for the timing function of timing start-up or shutdown.In a word, described storage unit of the present invention according to the function needs not simultaneously, can set in advance different mask registers, above-mentioned explanation and diagram can not be interpreted as restriction to scope of patent protection of the present invention.
At each mask register of described storage unit 130, also be provided with logic control element 140 in the real-time timepiece chip circuit of the present invention, outwards draw a pin 3 as interrupt pin, accept the external interrupt instruction; While control linkage one bus interface 150 and an address register 160, described address register 160 is arranged between described bus interface 150 and the described storage unit 130, described bus interface 150 is drawn pin 5 and pin 6 outside chip, be respectively the SDA and the SCL pin that carry out data transmission with external bus.Described logic control element has been realized the real-time request according to the outside, control described address register and from corresponding mask register, read real time data, when for example the user must understand current real-time time, concerning system for TV set of the present invention, it promptly is the instruction that comes from system bus, require to show real-time time, promptly control described address register this moment and from year, month, day, hour, min, the mask register of second, read real time data respectively, and show this real-time time in the display screen precalculated position.
In addition, also be provided with voltage detection unit 170 and oscillator monitoring unit 180 in the real-time timepiece chip circuit of the present invention, outside chip, draw the pin 4 and the pin 8 of place in circuit corresponding voltage check point respectively.Concrete pin distributes as shown in Figure 2, and the signal controlling table of its each pin as shown in Figure 3.
Real-time timepiece chip circuit of the present invention is connected on the system for TV set, by the iic bus on the mainboard as shown in Figure 4 and Figure 5; Also comprise a driving power, but structure is arranged on the mainboard, for this clock chip provides power drives, concrete, this driving power can be one or one group of button cell, be used for the standby power supply of described clock chip when the off-mode, so, clock chip of the present invention just can keep the running of clock under the keeping of this driving power.Real-time timepiece chip VC8563 of the present invention has reduced the wiring number on the circuit board to greatest extent by serial transfer data between iic bus interface and the system, is very suitable for the TV system.
Real-time timepiece chip VC8563 of the present invention and MCU transmit information with SDA (data) line of iic bus, and the SDA data line of iic bus, SCL are clock line.Described iic bus only when the MCU bus is not in a hurry, just can transmit data.When data line SDA and clock line SCL all keep high level, show the bus free time, can take the back and transmit data.When clock was in high level, SDA switched to low level (negative edge) for " beginning (S) " by high level, can begin data transfer procedure afterwards; SDA switches to high level (rising edge) by low level and is " stopping (P) ", end data transport process.After discharging bus, bus can be used for miscellaneous equipment.If stop or beginning once more, can begin new round data transfer procedure in the data transfer procedure.
The output terminal of described OSCO pin connection oscillator unit, the input end of OSCI pin connection oscillator unit, the input end of oscillator unit is by a matching capacitance ground connection, oscillator unit provides a stable concussion frequency for clock chip, to guarantee the accurate of time, the positive source of clock chip connects the positive pole of battery by diode, and positive source is by a filter capacitor ground connection that is used for stabilized power source simultaneously.
The timing of televisor of the present invention uses operating process to comprise: with the clock menu under the telepilot selection master menu; Select clock menu item-function down, comprise that Real Time Clock Display, timing start-up or shutdown, timing change channel, warning, clock correction or the like.Then, system sets the order that just can carry out the item selected function according to menu.
For example Real Time Clock Display is current date, the time that MCU reads clock chip, will comprise that the real-time clock of date, time shows at kinescope; Timing start-up or shutdown are exactly that MCU can come clock chip is provided with according to the concrete time (some time on the same day), and the time is then come the open and close machine by MCU, also can equally design the switching on and shutting down time according to the time period with original.Certainly if timing start-up, when the time arrives, the necessary charged holding state of televisor.
Regularly changing channel is exactly that MCU can control according to the concrete time (some time on the same day), time is then changed channel by MCU, the channel that for example is converted has the program to be seen that broadcasts on schedule, and the user can browse other channels of leafing through before broadcast time; Certainly if change channel, when the time arrived, televisor must normally watched under the state.
The warning message setting is exactly that MCU can come clock chip is provided with according to the concrete date (as some time in such a month, and on such a day), and the time is then controlled by MCU and sends alerting signal, also can design time of fire alarming according to the time period.The alerting signal of sending can be that picture information also can be an aural information.Certainly when the time point of reporting to the police arrives, televisor must charged holding state.If this time, televisor was at open state, then directly send alerting signal; If at off-mode, then at first start, and then send alarm command.
Clock correction is exactly by MCU clock chip to be reset inaccurate date of proofreading and correct the present clock chip, temporal information etc.
The present invention utilizes Low-Power CMOS real-time clock/calendar chip, in the TV system, played the effect of real-time clock and watch, its built-in century, year, month, day, hour, min, second timer, the user can be provided with and read the current time of depositing in the chip, and at the CRT screen display, thereby data are carried out respective handling.Apparatus of the present invention and method by the advanced person the I2C bus interface and system between carry out serial data and transmit, reduced the wiring number on the circuit board to greatest extent, be very suitable for the TV system.
Should be understood that above-mentioned description at specific embodiment is comparatively detailed and concrete, can not therefore be interpreted as the restriction to scope of patent protection of the present invention, scope of patent protection of the present invention should be as the criterion with claims.
Claims (8)
1, a kind of televisor that adopts real-time timepiece chip, it comprises mainboard, it is characterized in that, and the bus of described mainboard is provided with a real-time timepiece chip, and it comprises:
One oscillator unit is used for producing oscillator signal according to preset frequency;
One storage unit, be provided with therein include year, month, day, hour, min, second mask register, and write corresponding real time data when being used for walking successively according to described oscillator signal;
One logic control element, control linkage one bus interface and an address register;
Described bus interface connects the bus of described mainboard, and described logic control element is used for the real-time request from bus according to this bus interface reception, controls described address register and read real time data from corresponding mask register.
2, televisor according to claim 1 is characterized in that, is provided with divider unit between described oscillator unit and the described storage unit, is used for clock signal outside described real-time timepiece chip simultaneously.
3, televisor according to claim 1 is characterized in that, described bus is an iic bus.
4, televisor according to claim 3 is characterized in that, described real-time timepiece chip inserts in the described iic bus with the MPU of this real-time timepiece chip of control, and described MPU is main equipment, and described real-time timepiece chip is a slave unit.
5, televisor according to claim 1 is characterized in that, also is provided with the mask register that is used for timing start-up/shutdown in the described storage unit.
6, televisor according to claim 1 is characterized in that, described real-time timepiece chip also provides permanent power source to drive by a battery.
7, the real time clock realization method in a kind of televisor, it is connected on the main board bus of televisor, and may further comprise the steps:
A, an oscillator unit is set, produces oscillator signal according to preset frequency;
B, a storage unit is set, set gradually therein year, month, day, hour, min, second mask register, and write corresponding real time data when walking successively according to described oscillator signal;
C, a logic control element are controlled a bus interface and an address register, and described logic control element is handled according to this bus interface and come from the request of bus, and reads real time data from corresponding mask register.
8, the real time clock realization method in the televisor according to claim 7 is characterized in that, described bus is an iic bus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101568328A CN100520673C (en) | 2006-11-13 | 2006-11-13 | A television with real-time clock chip and the realized method of real-time clock |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101568328A CN100520673C (en) | 2006-11-13 | 2006-11-13 | A television with real-time clock chip and the realized method of real-time clock |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1952836A true CN1952836A (en) | 2007-04-25 |
CN100520673C CN100520673C (en) | 2009-07-29 |
Family
ID=38059203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006101568328A Expired - Fee Related CN100520673C (en) | 2006-11-13 | 2006-11-13 | A television with real-time clock chip and the realized method of real-time clock |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100520673C (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101923369B (en) * | 2009-06-16 | 2013-08-21 | 鸿富锦精密工业(深圳)有限公司 | System and method for managing time of substrate management controller |
CN108733135A (en) * | 2018-05-17 | 2018-11-02 | 佛山华芯微特科技有限公司 | Extremely low power dissipation real time clock circuit and control method |
-
2006
- 2006-11-13 CN CNB2006101568328A patent/CN100520673C/en not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101923369B (en) * | 2009-06-16 | 2013-08-21 | 鸿富锦精密工业(深圳)有限公司 | System and method for managing time of substrate management controller |
CN108733135A (en) * | 2018-05-17 | 2018-11-02 | 佛山华芯微特科技有限公司 | Extremely low power dissipation real time clock circuit and control method |
CN108733135B (en) * | 2018-05-17 | 2020-11-27 | 佛山华芯微特科技有限公司 | Extremely-low-power-consumption real-time clock circuit and control method |
Also Published As
Publication number | Publication date |
---|---|
CN100520673C (en) | 2009-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102045595B (en) | System for realizing standby and awakening of set top box by utilizing singlechip | |
CN109741519B (en) | Unmanned supermarket shelf monitoring system and control method thereof | |
CN101977331B (en) | General three-dimensional spectacles and application method thereof | |
JP2001305508A (en) | Liquid crystal display device supplied with power from photovoltaic device having power supply switching-off characteristic | |
CN100520673C (en) | A television with real-time clock chip and the realized method of real-time clock | |
CN1983085A (en) | Device and method for realizing alarm clock function | |
TWI443576B (en) | Graphics display systems and methods | |
CN102348084A (en) | Television system and method for reducing power consumption of the television without signal | |
CN201282497Y (en) | Device for implementing mobile phone clock function | |
CN101261820A (en) | Source pole driver | |
CN102368825A (en) | Energy-saving control method of 3D glasses | |
CN204719425U (en) | A kind of to ring a bell system based on GPS time service Intelligent Single-Chip Based music | |
CN101888497A (en) | Television system with remote control switch function | |
CN106936530B (en) | A kind of wireless sensing wind load monitoring system for realizing multi-measuring point synchronous acquisition | |
CN203982100U (en) | The electronic clock of automatic correcting time | |
CN210574344U (en) | Teaching all-in-one machine capable of turning off power supply at regular time | |
US20080094246A1 (en) | Auto turn-on module and player apparatus and method for turning on a system automatically | |
CN100388349C (en) | Power saving method for liquid crystal display | |
CN201846447U (en) | Device capable of realizing standby and awakening state of set top box by utilizing single chip computer | |
CN202650500U (en) | LCD advertising machine with function of time switch | |
CN101662625A (en) | Television with time display function and time display method based on television | |
JP2000078751A (en) | Power saving electronic apparatus | |
CN109343417A (en) | Portable court display based on embedded communication technology | |
CN202838171U (en) | Standby state power management chip of electric products | |
CN202662244U (en) | Intelligent LED (Light Emitting Diode) display screen with weekly business hour |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090729 Termination date: 20141113 |
|
EXPY | Termination of patent right or utility model |