CN1671023A - Power supply monitoring method for tax control machine - Google Patents

Power supply monitoring method for tax control machine Download PDF

Info

Publication number
CN1671023A
CN1671023A CNA2004100238035A CN200410023803A CN1671023A CN 1671023 A CN1671023 A CN 1671023A CN A2004100238035 A CNA2004100238035 A CN A2004100238035A CN 200410023803 A CN200410023803 A CN 200410023803A CN 1671023 A CN1671023 A CN 1671023A
Authority
CN
China
Prior art keywords
power supply
processor
power
voltage
output
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
Application number
CNA2004100238035A
Other languages
Chinese (zh)
Other versions
CN1328837C (en
Inventor
于秀棠
强仁
梁栋
王建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
QINGDAO HISENSE INTELLIGENT COMMERCIAL SYSTEM CO Ltd
Original Assignee
HISENSE INTELLIGENT COMMERCIAL EQUIPMENT CO Ltd
Hisense Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by HISENSE INTELLIGENT COMMERCIAL EQUIPMENT CO Ltd, Hisense Group Co Ltd filed Critical HISENSE INTELLIGENT COMMERCIAL EQUIPMENT CO Ltd
Priority to CNB2004100238035A priority Critical patent/CN1328837C/en
Publication of CN1671023A publication Critical patent/CN1671023A/en
Application granted granted Critical
Publication of CN1328837C publication Critical patent/CN1328837C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/50Energy storage in industry with an added climate change mitigation effect

Landscapes

  • Power Sources (AREA)

Abstract

A power supply monitor method for tax controlled cashing machine utilizes the electric energy released by capacitor of switch power supply module in system power cut off to keep the normal voltage output of main power supply in effective time, which can make necessary data process and storage for processor in main board, data memory and tax-control IC card and the data restore and normal reset after the power supply switching on again.

Description

Power supply monitoring method for tax-controlled cash register
Technical Field
The invention relates to a power supply monitoring method, in particular to a processing method for generating an interrupt signal to ensure that system core components such as a processor are disconnected in a delayed way when a fiscal cash register is powered off accidentally.
Background
At present, in large and medium enterprises and public institutions or commercial units, various types of tax control cash registers are adopted for enhancing tax management. According to the state-related standards, such as the provisions of 4.1.4 of GB18240.1-2003 on hardware requirements, "fiscal cash registers should guarantee the correctness and integrity of the data in the fiscal memory, the invoice memory and the fiscal IC card in case of sudden power failure".
In order to meet the national standard, the prior art scheme is to install a large-capacity rechargeable battery inside the fiscal cash register. As shown in fig. 1 of the attached drawings of the specification, when a power supply (220V ac input) is powered down, the output voltage of a power supply module is rapidly reduced, and a power supply monitoring circuit detects the event and sends a power down interrupt signal to a processor; the processor responds to the power failure interrupt and sends a control signal to the power supply switching circuit; the power supply switching circuit is connected with a control signal sent by the processor to switch the working power supply to be provided by the battery, and meanwhile, the processor and the related peripheral circuit are isolated from being electrically connected with the power supply module so as to prevent the battery from feeding power to the power supply module; the processor runs a power failure processing program to complete key process processing and key data protection; the processor sends a control signal to the power supply switching circuit to cut off the power supply of the battery, the processor is reset, and the system enters a state after power failure.
The above-mentioned methods, while feasible and compliant with the relevant national standards, have the following drawbacks and disadvantages:
1. the hardware circuit design adopting the method is complex, and a plurality of components such as a battery charging circuit, a battery and the like need to be configured at the same time. To provide sufficient current, the battery is bulky. Therefore, the whole tax control machine has larger volume and can not realize the design requirement of miniaturization or desk type appearance.
2. The power supply switching circuit needs to realize the operation of switching the working power supply from the power supply module to the battery and the like under the control of the control signal of the processor, and the circuit has higher realization difficulty and complexity, thereby correspondingly improving the design cost.
3. And when the battery is not charged sufficiently or exceeds the service life of the battery, the battery cannot provide enough current, which may cause failure of the power down process. Is irretrievable with respect to data loss.
Disclosure of Invention
The invention aims to solve the problems and the defects and meet the requirements of the national standard. On the basis of removing the configured backup battery and related circuits, the time requirement of time delay disconnection processing of a system core device is met by using the characteristic of capacitance value discharge with a larger capacitance value.
The tax-controlled cash register applying the power supply monitoring method mainly comprises a switching power supply module, a power supply monitoring module, a mainboard comprising a processor, a data memory, a tax-controlled IC card and the like, and external output equipment. Wherein,
the switching power supply module is provided with an electrolytic capacitor for filtering. Such capacitors have a large capacitance and are characterized by releasing the stored energy over a period of time.
In fact, this part of the capacitor is always in the energy storage state when the fiscal cash register is working normally.
The power supply monitoring method is characterized in that on the premise of removing a conventional battery assembly and a battery charging circuit of the existing fiscal cash register, the electric energy released by a capacitor of a switching power supply module when a system is powered off is utilized to maintain the normal output voltage of a main power supply within an effective time (generally 2 seconds), so that a processor, a data memory and a fiscal IC card on a mainboard can perform necessary data and process storage, and data recovery and normal reset after normal power supply are prepared.
The output of the switch power module of the fiscal cash register for implementing the power monitoring method comprises a main power supply (providing working power for a processor, a data memory, a fiscal IC card and related peripheral circuits) and an external power supply (providing working power for external devices such as a printer, a cashbox, a motor, a display and the like).
The power supply monitoring module of the tax-control cash register can be arranged and connected between the switch power supply module and the mainboard or the peripheral equipment. The power supply monitoring module can also be directly embedded in the switch power supply module as a circuit unit so as to realize that the output of the switch power supply module is directly used for the corresponding part of the tax-control cash register.
The power supply monitoring module mainly comprises a power failure detection circuit and an output control circuit.
The power failure detection circuit directly detects the voltage of the 220V alternating current input end of the switching power supply module. When the 220V AC input voltage is reduced to a certain value, the power-down detection circuit sends a power-down interrupt signal to a processor on the mainboard, and simultaneously sends a signal for cutting off the external power supply to the output control circuit.
The output control circuit can directly cut off the working power supply of all the peripheral equipment after receiving the peripheral equipment power supply cutting off signal.
The specific control flow of the power supply monitoring method is as follows:
under the normal working state of the system, a power failure detection circuit of the power supply monitoring module directly detects whether the voltage of a 220V alternating current input end of the switching power supply module drops to a certain set value;
if not, continuing to detect and monitor in real time;
if so, indicating that the system is powered off accidentally, and rapidly reducing the AC input voltage of the switching power supply module to a set value at the first moment; at the moment, a power failure detection circuit of the power supply monitoring module generates a signal for cutting off all external power supplies to the output control circuit and simultaneously sends a power failure interrupt signal to the processor;
when the system is powered off accidentally, an energy storage element (mainly a capacitor) of the switching power supply module discharges, and the main power supply output voltage is continuously kept for at most 2 seconds; the maintaining voltage is directly input to a processor, a data memory and a tax control IC card on the mainboard;
after the processor responds to the power-down interrupt signal, the processor enters a power-down processing program and controls the data memory and the tax control IC card to finish the uninterruptible process and the storage of key data;
after the processor finishes the process and the data storage operation, entering a waiting reset state;
after the capacitor is discharged, the input voltage drops to zero, and the system is normally closed.
In summary, the power supply monitoring method of the present invention has the following significant advantages:
1. the tax control machine hardware circuit adopting the method has simpler design, does not need to be configured with larger elements such as a battery charging circuit and a battery, and can meet the design requirement of the miniaturization of the tax control machine.
2. The power failure processing circuit and the hardware of the method are simple in configuration and low in design cost. And stable and reliable main power supply can be carried out within the processing time range of the system device.
3. The power supply monitoring method can further improve the operation flow only by improving the software design, further shorten the time required by the process and the data storage, and has no additional design limitation on a hardware circuit.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a schematic diagram of a conventional fiscal cash register (including a battery and its matching circuit);
FIG. 2 is a block diagram of a fiscal cash register to which the power monitoring method of the invention is applied;
FIG. 3 is a main flow chart of the power monitoring method
FIG. 4 is a circuit block diagram of a power supply monitoring module;
FIG. 5 is a block diagram of a circuit unit with a power supply monitoring module as a switching power supply module;
Detailed Description
In embodiment 1, as shown in fig. 2, a fiscal cash register applying the power monitoring method mainly includes a switching power module, a power monitoring module, a motherboard, and an external output device.
The switch power supply module of the tax-control cash register comprises a main power supply and an external power supply, and an electrolytic capacitor for filtering is arranged in the switch power supply module.
The tax-control cash register is characterized in that a 220V alternating current input end of the power supply monitoring module is connected with a 220V alternating current input end of the switching power supply module in parallel; the +5VDC, +24VDC, -24VDC output of the switching power supply module is connected to the +5VDC, +24VDC, -24VDC corresponding input end of the power supply monitoring module; the +5VDC output of the power supply monitoring module is used as the working power supply of the mainboard of the fiscal cash register, and the +24VDC output is used as the working power supply of the printer. The 24VDC output is used as the working power supply of the liquid crystal display, and the power-down interrupt signal output is connected to the corresponding interrupt signal line of the processor.
The power failure detection circuit comprises a rectifier bridge M, a capacitor C1, a resistor R4, a resistor R5, a resistor R6 and an optical coupler P1.
The output control circuit comprises a resistor R1, a resistor R2, a resistor R3, a transistor T1, a field-effect tube U2, a field-effect tube U3 and a Schmidt trigger U1.
As shown in fig. 3, the control flow of the power supply monitoring method is as follows:
under the normal working state of the system, a power failure detection circuit of the power supply monitoring module directly detects whether the voltage of a 220V alternating current input end of the switching power supply module drops to a certain set value;
if not, continuing to detect and monitor in real time;
if so, indicating that the system is powered off accidentally, and rapidly reducing the AC input voltage of the switching power supply module to a set value at the first moment; at the moment, a power failure detection circuit of the power supply monitoring module generates a signal for cutting off all external power supplies to the output control circuit and simultaneously sends a power failure interrupt signal to the processor;
when the system is powered off accidentally, an energy storage element (mainly a capacitor) of the switching power supply module discharges, and the main power supply output voltage is continuously kept for at most 2 seconds; the maintaining voltage is directly input to a processor, a data memory and a tax control IC card on the mainboard;
after the processor responds to the power-down interrupt signal, the processor enters a power-down processing program and controls the data memory and the tax control IC card to finish the uninterruptible process and the storage of key data;
after the processor finishes the process and the data storage operation, entering a waiting reset state;
after the capacitor is discharged, the input voltage drops to zero, and the system is normally closed.
As shown in fig. 2 and 4, the control flow of the power monitoring module applying the power monitoring method is as follows:
when the tax-control cash register normally works, the power-down detection circuit samples the high-voltage alternating current input of the switching power supply, the high-voltage alternating current signal is conducted by a P1 diode after M rectification, C1 filtering, R4 and R5 voltage division and R6 current limiting, and the e pole of a P1 triode outputs a high-level signal to the base electrode of T1; t1 is turned on, and its collector outputs a low level to U1; u1 outputs high level to U2, U3; u2 and U3 are turned on, the peripheral power supply VCC1 is connected to the peripheral power output VCC _ OUT1, and the peripheral power supply VCC2 is connected to the peripheral power output VCC _ OUT 2.
When the power is suddenly cut off, the high-voltage alternating current input voltage of the switching power supply is rapidly reduced, the direct current signal of the alternating current signal after being rectified by the M is rapidly reduced, the P1 diode is cut off, the e pole of the P1 triode is in a high-resistance state, and the base electrode of the T1 is in a low level due to the pull-down action of the R2; t1 turns off, and its collector outputs a high level to U1 due to the pull-up action of R3; u1 outputs a low level, this transition is output to the system processor as a power down interrupt signal and is responded to by the processor; the low level output by U1 turns off U2 and U3, disconnecting the peripheral power supply VCC1 from the peripheral power supply output VCC _ OUT1, and disconnecting the peripheral power supply VCC2 from the peripheral power supply output VCC _ OUT 2.
As shown in fig. 5, in the power supply monitoring method, in order to further simplify the wiring structure of the hardware circuit and ensure further shortening of the processing time, the power supply monitoring module may be designed together with the switching power supply module as a circuit unit, that is, the power supply monitoring module physically becomes a part of the switching power supply. The output of the switching power supply designed in this way is directly used by the corresponding part of the tax-controlled cash register.

Claims (4)

1. A power supply monitoring method of a tax-control cash register is characterized in that: on the premise of removing the conventional battery component and battery charging circuit of the existing fiscal cash register, the electric energy released by the capacitor in the switching power supply module when the system is powered off is utilized to maintain the normal output voltage of the main power supply within a certain time, so that the processor, the data memory and the fiscal IC card perform necessary data and process storage for data recovery and normal reset after normal power supply.
2. The power supply monitoring method of a fiscal cash register according to claim 1, wherein: under the normal working state of the system, a power failure detection circuit of the power supply monitoring module directly detects whether the voltage of a 220V alternating current input end of the switching power supply module drops to a certain set value;
if not, continuing to detect and monitor in real time;
if so, indicating that the system is powered off accidentally, and rapidly reducing the AC input voltage of the switching power supply module to a set value at the first moment; at the moment, a power failure detection circuit of the power supply monitoring module generates a signal for cutting off all external power supplies to the output control circuit and simultaneously sends a power failure interrupt signal to the processor;
when the system is powered off accidentally, an energy storage element (mainly a capacitor) of the switching power supply module discharges, and main power supply output voltage is kept for a certain time; the maintaining voltage is directly input to a processor, a data memory and a tax control IC card on the mainboard;
after the processor responds to the power-down interrupt signal, the processor enters a power-down processing program and controls the data memory and the tax control IC card to finish the uninterruptible process and the storage of key data;
after the processor finishes the process and the data storage operation, entering a waiting reset state;
after the capacitor is discharged, the input voltage drops to zero, and the system is normally closed.
3. The power monitoring method of the fiscal cash register according to claim 2, wherein: the control flow of the power supply monitoring module applying the power supply monitoring method is that,
when the tax-control cash register normally works, the power-down detection circuit samples the high-voltage alternating current input of the switching power supply, the high-voltage alternating current signal is conducted by a P1 diode after M rectification, C1 filtering, R4 and R5 voltage division and R6 current limiting, and the e pole of a P1 triode outputs a high-level signal to the base electrode of T1; t1 is turned on, and its collector outputs a low level to U1; u1 outputs high level to U2, U3; u2 and U3 are turned on, the peripheral power supply VCC1 is connected to the peripheral power output VCC _ OUT1, and the peripheral power supply VCC2 is connected to the peripheral power output VCC _ OUT 2.
When the power is suddenly cut off, the high-voltage alternating current input voltage of the switching power supply is rapidly reduced, the direct current signal of the alternating current signal after being rectified by the M is rapidly reduced, the P1 diode is cut off, the e pole of the P1 triode is in a high-resistance state, and the base electrode of the T1 is in a low level due to the pull-down action of the R2; t1 turns off, and its collector outputs a high level to U1 due to the pull-up action of R3; u1 outputs a low level, this transition is output to the system processor as a power down interrupt signal and is responded to by the processor; the low level output by U1 turns off U2 and U3, disconnecting the peripheral power supply VCC1 from the peripheral power supply output VCC _ OUT1, and disconnecting the peripheral power supply VCC2 from the peripheral power supply output VCC _ OUT 2.
4. The power monitoring method of the fiscal cash register according to claim 3, wherein: in order to further simplify the wiring structure of the hardware circuit and shorten the processing time, the power supply monitoring module is designed together with the switching power supply module as a circuit unit, namely, the power supply monitoring module physically becomes a part of the switching power supply.
CNB2004100238035A 2004-03-17 2004-03-17 Power supply monitoring method for tax control machine Expired - Fee Related CN1328837C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100238035A CN1328837C (en) 2004-03-17 2004-03-17 Power supply monitoring method for tax control machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100238035A CN1328837C (en) 2004-03-17 2004-03-17 Power supply monitoring method for tax control machine

Publications (2)

Publication Number Publication Date
CN1671023A true CN1671023A (en) 2005-09-21
CN1328837C CN1328837C (en) 2007-07-25

Family

ID=35042130

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100238035A Expired - Fee Related CN1328837C (en) 2004-03-17 2004-03-17 Power supply monitoring method for tax control machine

Country Status (1)

Country Link
CN (1) CN1328837C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100592244C (en) * 2007-04-18 2010-02-24 鸿富锦精密工业(深圳)有限公司 Mainboard voltage monitoring apparatus
CN102496907A (en) * 2011-12-02 2012-06-13 北京赛科世纪数码科技有限公司 Set top box, power fail safeguard device and power fail data protection method
CN103064497A (en) * 2011-10-21 2013-04-24 研祥智能科技股份有限公司 Power source delayed power supply device, network main board and network host
CN108054724A (en) * 2017-12-30 2018-05-18 北京鼎汉技术股份有限公司 A kind of power-supply system and its control method
CN111106755A (en) * 2018-10-29 2020-05-05 群光电能科技股份有限公司 Power converter

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2573257B1 (en) * 1984-11-13 1987-01-02 Thomson Csf CIRCUIT FOR PROTECTION AGAINST POWER SUPPLY INTERRUPTIONS
FR2756984B1 (en) * 1996-12-05 1999-01-08 Gec Alsthom Syst Et Serv EMERGENCY POWER SUPPLY TEMPORARILY FOR A DEFICIENCY OF A MAIN POWER SOURCE

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100592244C (en) * 2007-04-18 2010-02-24 鸿富锦精密工业(深圳)有限公司 Mainboard voltage monitoring apparatus
CN103064497A (en) * 2011-10-21 2013-04-24 研祥智能科技股份有限公司 Power source delayed power supply device, network main board and network host
CN103064497B (en) * 2011-10-21 2017-11-24 研祥智能科技股份有限公司 Power supply Time-delay power supply unit, network main board and network host
CN102496907A (en) * 2011-12-02 2012-06-13 北京赛科世纪数码科技有限公司 Set top box, power fail safeguard device and power fail data protection method
CN102496907B (en) * 2011-12-02 2015-02-18 北京赛科世纪数码科技有限公司 Set top box, power fail safeguard device and power fail data protection method
CN108054724A (en) * 2017-12-30 2018-05-18 北京鼎汉技术股份有限公司 A kind of power-supply system and its control method
CN111106755A (en) * 2018-10-29 2020-05-05 群光电能科技股份有限公司 Power converter

Also Published As

Publication number Publication date
CN1328837C (en) 2007-07-25

Similar Documents

Publication Publication Date Title
CN1224179C (en) Portable electronic device with power source failture restoring function and failture restoring method
US20220006318A1 (en) Device charging system
CN1038962C (en) A data processing system, and a power supply apparatus and a method for its use with a data processing system
US20130031381A1 (en) Rack server system
CN102708031B (en) A kind of method of quick location failure memory
CN108123509B (en) Charging control method and related device thereof
CN110196628A (en) It is a kind of for extend tablet computer shutdown after service time of battery method and system
CN101431256A (en) Power-off protection apparatus
EP2065892A1 (en) Magnetic disk array device
CN2682506Y (en) Tax-control cashing machine with novel power supply monitoring module
CN106300642B (en) A kind of dual power supply redundancy cold standby circuit with power supply status output
CN1671023A (en) Power supply monitoring method for tax control machine
CN104850182A (en) Circuit structure applied to embedded system and power-fail protection method
CN117055822B (en) NVME SSD Raid card board power-carrying system and control method
CN109117404B (en) Server BBU device capable of hot plugging
CN217388303U (en) Embedded system power-down protection device based on super capacitor
CN116841373A (en) Embedded computing module switching circuit, carrier plate system and server
CN100487996C (en) User operating blocking-up device
CN102214952B (en) Uninterruptible power supply system for avoiding electric arc generation and cabinet with same
CN1897395A (en) DC uninterrupted power supplier, apparatus and system therewith
TWI240204B (en) Network apparatus and method capable of wake on LAN after abnormal shutdown
CN2702365Y (en) Electrical supply for computers
CN2852489Y (en) Power-off protection circuit of tax-controlled cash register
US20060221751A1 (en) Memory power supply backup system
CN202948397U (en) Computer and external type power supply module

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
ASS Succession or assignment of patent right

Owner name: QINGDAO HISENSE INTELLIGENT COMMERCIAL EQUIPMENT C

Free format text: FORMER OWNER: HAIXIN GROUP CO., LTD.

Effective date: 20090904

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20090904

Address after: No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao Province: 266100

Patentee after: Hisense Intelligent Commercial Equipment Co., Ltd.

Address before: 11 Jiangxi Road, Qingdao, Shandong, zip code: 266101

Co-patentee before: Hisense Intelligent Commercial Equipment Co., Ltd.

Patentee before: Hisense Group

C56 Change in the name or address of the patentee

Owner name: QINGDAO HISENSE INTELLIGENT COMMERCIAL SYSTEM CO.,

Free format text: FORMER NAME: HISENSE INTELLIGENT COMMERCIAL EQUIPMENT CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee after: Qingdao Hisense Intelligent Commercial System Co., Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee before: Hisense Intelligent Commercial Equipment Co., Ltd.

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070725

Termination date: 20140317