GB2133909A - A control circuit for a microcomputer - Google Patents

A control circuit for a microcomputer Download PDF

Info

Publication number
GB2133909A
GB2133909A GB08400753A GB8400753A GB2133909A GB 2133909 A GB2133909 A GB 2133909A GB 08400753 A GB08400753 A GB 08400753A GB 8400753 A GB8400753 A GB 8400753A GB 2133909 A GB2133909 A GB 2133909A
Authority
GB
United Kingdom
Prior art keywords
microprocessor
operating voltage
control circuit
microcomputer
reset
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
GB08400753A
Other versions
GB8400753D0 (en
GB2133909B (en
Inventor
Tilmann Kruger
Hans Grasser
Peter Ennen
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.)
Diehl Verwaltungs Stiftung
Original Assignee
Diehl GmbH and Co
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 Diehl GmbH and Co filed Critical Diehl GmbH and Co
Publication of GB8400753D0 publication Critical patent/GB8400753D0/en
Publication of GB2133909A publication Critical patent/GB2133909A/en
Application granted granted Critical
Publication of GB2133909B publication Critical patent/GB2133909B/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1417Boot up procedures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Power Sources (AREA)

Abstract

In an operating-voltage-dependent control circuit(s) for a microcomputer (MC) a reset circuit (RS) is provided which resets and starts the microprocessor of the microcomputer. On the one hand, long mainsfailure bridging times for the microprocessor and the working store of the microcomputer are desirable but, on the other hand, superfluous re- loadings of the working store are not. A bistable storage circuit (FF) is provided which changes over, in the event of an operating voltage which is too low for the operation of the working store, into its first switching state. In this switching state, upon occurrence of a reset signal of the reset circuit (RS) an initialisation (re-loading) signal for the working store is obtained. The second switching state of the storage circuit is switched after the start of the microprocessor. If the operating voltage does not fall to a value which endangers data safety in the store, on a following rise in operating voltage the microprocessor is reset and started without initialisation of the store. <IMAGE>

Description

SPECIFICATION A control circuit for a microcomputer This invention relates to a control circuit for a microcomputer having a microprocessor with a working store, the circuit being dependent upon the operating voltage and having a reset circuit which generates a reset signal which resets and starts the microprocessor in the event of the operating voltage becoming sufficiently high and stops it in the event of the operating voltage becoming too low.
A control circuit of this kind is described in German Patent Specification No. 31 03 489.
There, after a break in the operating voltage, the reset circuit is intended to start the microprocessor only when a voltage state suitable for operation has been safely reached.
The operating voltage of microcomputers is derived from the mains electricity supply. In order to be able to bridge or cover a failure of mains electricity for a period of time, a storage capacitor is provided. Depending on the capacitance thereof and the load current, certain mains failure times can be compensated or allow for without adversely affecting the running of the microcomputer.
With known microcomputers, the peripheral equipment is switched off in the event of mains failure (load decrease). This means that the mains failure time which can be bridged or covered by the storage capacitor is effectively extended so that a longer mains failure time is allowed for than would otherwise be the case.
Microcomputers constructed using P-channel MOS technology are known in which the operating voltage of the microprocessor can be switched off independently of the operating voltage which is feeding the working store (RAM).
If, in the event of mains failure, the operating voltage of the microprocessor were to be switched off, then the energy of the storage capacitor could be available solely for maintaining the loading of the working store. However, the microprocessor would have to be reset and started afresh after every mains failure, even though the mains failure may only be for a brief time. Moreover, in the event of a mains failure which lasts for a long time and during which the operating voltage applied to the working store drops below a minimum value, indefinable data accumulated in the working store would have to be reckoned with. Initialising the working store after each mains failure in order to avoid the introduction of such data into the working store would in practice nullify the possible benefit to be gained by bridging mains failure times.
An object of the present invention is to provide a circuit with which, on the one hand, relatively long mains-failure bridging times for the microprocessor and the working store may be achievable, but with which, on the other hand, superfluous initialisations are not effected.
According to the present invention there is provided an operating-voltage-dependent control circuit for a microcomputer having a microprocessor with a working store, comprising a reset circuit which is capable of generating a reset signal which, in the event of an operating voltage becoming sufficiently high, resets and starts the microprocessor and stops it in the event of the operating voltage becoming too low, characterised in that a bistable storage circuit is provided which, in the event of an operating voltage too low for the operation of the working store, goes into its first switching state, in that the first switching state, upon occurrence of a reset signal, leads to an initialisation signal for the working store and in that a second switching state of the storage circuit is selectable after starting of the microprocessor so that during the second switching state the reset signal only resets and starts the microprocessor.
Further according to the present invention there is provided a microcomputer with at least one control circuit as described in the immediately preceding paragraph.
The operating voltage range in which the data of the working store is s."l ensured to be not adversely affected is greater than the operating voltage range in which the microprocessor can work. Through the present invention the result may be achieved that, in the event of a drop in the operating voltage as a result of mains failure, initially the microprocessor stops, but the working store is still maintained by the operating voltage.
If the operating voltage only drops to a value (bearing in mind the specifications of the working store) where the data safety is still guaranteed, when the reset signal occurs in the course of a following rise in the operating voltage, the data of the working store is still ensured, so that its initialisation (reloading) is superfluous and therefore does not take place. Thus the result is achieved that the microcomputer rapidly resumes its operation even after a fairly long failure time of the mains supply.
Only when, in the appropriate circumstances, a low enough operating voltage is reached that the data safety of the working store is no longer guaranteed does the storage circuit register this low operating voltage being reached. Upon later rising operating voltage, in this case upon occurrence of the reset signal, the working store is loaded anew, so that the necessary data safety is guaranteed for following operation of the microcomputer.
In a further development of the invention, the storage circuit is switched from the first switching state into the second one only when the initialisation of the working store is terminated.
Thus the result is achieved that breaks in voltage occurring during initialisation cannot lead to the second switching state (which is a sign of definitely protected data) being selected before the working store is actually loaded with the correct data.
To extend the mains-failure bridging time, the microprocessor may be switched off at a value of the operating voltage which lies between the value at which the storage circuit goes into the first switching state and that value at which the reset circuit responds.
Further according to the present invention there is provided a control circuit for a microcomputer having a microprocessor with a working or read/write store, said control circuit comprising a reset circuit capable of generating a reset signal which resets and starts the microprocessor when the oerating voltage of the microprocessor reaches a sufficiently high value and the reset signal also being capable of stopping the microprocessor, whilst still maintaining the working store, should the operating voltage drop to a sufficiently low value, said control circuit being such that, provided the operating voltage does not fall to a value which endangers data safety in the store, on a following rise in operating voltage the microprocessor is reset and started without initialisation (re-loading) of the working store, but where the operating voltage falls to a value which endangers data safety in the store, on a following rise in operating voltage the microprocessor is reset and started and the working store is initialised (re-loaded).
Still further according to the present invention there is provided a microcomputer with at least one control circuit as described in the immediately preceding paragraph.
An embodiment of a control circuit for a microcomputer in accordance with the present invention will now be described, by way of only, with reference to the accompanying drawings in which:~ FIGURE 1 shows the control circuit in a microcomputer; FIGURE 2 shows a reset circuit of the control circuit; FIGURE 3 shows a switch-off stage of the control circuit; FIGURE 4 shows a bistable storage circuit of the control circuit; and FIGURE 5 shows voltage diagrams of the control circuit.
A P-channel-MOS microcomputer MC (for example from the Series Hitachi HMCS 40) has in particular a microprocessor and a working store or a write/read store (RAM). The microprocessor is wired up with an oscillator (not shown in more detail) for internal timing frequency generation.
Connected to the microcomputer MC are a data display device B, a data input device E and a switching-relay output device A.
The microcomputer MC is connected by way of a control circuit S to a mains-operated power supply part which consists of a rectifier G, a storage capacitor C1 as well as a stabilisation stage H.
The frequency (50 Hz) of the mains feeding the rectifier G is applied to an input 1 of the microcomputer MC. If the mains fails, then the microcomputer MC switches off the devices A, B and E (load drop) by way of its input 1.
The earth potential of the rectifier G is connected to an input 2 of the microcomputer MC.
The negative rectifier potential is applied in unstabilised manner to an input 3.
The stabilisation stage H has a resistor R1, a Zener diode Z and a resistor R2 connected in series. Lying in parallel with the resistor R2 is the base-collector section of a transistor T1, the emitter of which supplies an operating voltage (stabilised within certain limits) to an input 4 of the microcomputer MC.
The control circuit S has a reset circuit RS, a switch-off stage AS and a bistable storage circuit FF, in the form of a flip-flop. The output of the reset circuit RS is applied to a reset input 5 of the microcomputer MC. A signal at this input 5 causes the program cycle of the microprocessor to be reset to "0" and started at the commencement of the signal; during the reset signal RES the program takes its course and stops with the end of the reset signal RES (see FIGURE 5c).
The output of the storage circuit FF is connected to an input 7 of the microcomputer MC.
At the input 7 there stands a signal WS which corresponds to the first or second switching state of the storage circuit FF (see FIGURE 5d). The microcomputer MC is so designed that, when the reset signal RES is applied to the input 5 and a low level signal stands at the input 7, it not only resets and starts the microprocessor, but also loads or charges the working store afresh. If, on the other hand, in the case of a "high" level of the signal WS, the reset signal RES occurs, the working store is not loaded or charged afresh; only the microprocessor is reset and started.
In the reset circuit RS in accordance with FIGURE 2, lying between the inputs 2 and 3 and parallel to one another are series connections consisting of resistors R3 and R4 as well as the emitter-collector section of a transistor T2 and of a resistor R5. Between the inputs 2 and 4 there lies the series connection consisting of a resistor R6, R7 and the collector-emitter section of a transistor T3. The base of the transistor T2 lies between the resistors R6 and R7. The base of the transistorT3 lies between the resistors R3 and R4.
The input 5 is connected to the collector of the transistorT2. Moreover, it is applied, by way of a resistor R8, to the base of the transistor T3.
The switch-off stage AS in accordance with FIGURE 3 has, between the inputs 2 and 4, a series connection consisting of the emittercollector section of a transistor T4, of a resistor R9 and of a resistor R10. The base of the transistor T4 lies between the Zener diode Z and the resistor R1. Connected in parallel with the resistor R10 is the base-emitter section of a transistor T5, the collector of which is applied to the input 6.
With the storage circuit FF in accordance with FIGURE 4, lying in parallel between the inputs 2 and 4 are series connections of the emittercollector section of a transistor T6 and of a resistor Tri 1, as well as of the emitter-collector section of a transistor T7 and of a resistor R12. The collector of the transistor T7 is connected to the input 7 and, by way of a resistor Tri 3, to the base of the transistor T6. The collector of the transistor T6 lies, by way of a resistor R 14, at the base of the transistor T7. The base of the transistor T7 is connected by way of a resistor R15 to the input 2.
Lying parallel to the resistor R15 is the series connection consisting of a resistor R16 and a diode D. Connected to the resistor R16 and the diode D is an RC-member, consisting of a capacitor C2 and a resistor R17. Applied to the RC-member is a signal SWS which is derived from the impulses of the oscillator of the microprocessor and which occurs as soon as the data display device B is activated (see FIGURE sue).
Illustrated, by way of example only, is a particular plotted course or curve of the operating voltage US indicated in FIGURE 5a. At the point in time to, the mains-operated power supply part of the microcomputer MC1 is switched on. The capacitor C1 is then charged up. At a point in time tl a voltage U1 is reached at which the operating voltage UP is applied to the microprocessor (see FIGURE 5c). At a point in time t2 a voltage U2 is reached at which the reset signal RES (see FIGURE 5b) begins and thus sets the microprocessor to "0" and starts it.Since, at this point in time, the storage circuit FF stands in its first switching state (see FIGURE 5d), the working store is also charged or loaded. As soon as the loading has taken place, at a point in time t3, the data input device E and the switching-relay output device A, as well as more particularly the data display device B, are switched on. By device B, the impulses of the internal oscillator of the microcomputer MC are applied to the storage circuit FF, whereby this switches over into its second switching state.
The microcomputer MC is now entirely operational. The charging of the capacitor C1 increases up to a point in time t4.
A mains failure occurs at a point in time t5. In this way the data display device B switches off and oscillator impulses no longer arrive at the storage circuit FF (see FIGURE 5e).
As a result of the failure at the point in time t5, the operating voltage US drops. With a voltage U3 at a point in time t6, which voltage is lower than the voltage U2, the reset signal RES ends (see FIGURE Sb) and stops the microprocessor. With a voltage which has dropped to U1 at the point in time t7, the microprocessor is separated from its operating voltage UP (see FIGURE 5c). Through this reduction of current consumption, the discharge of the capacitor C1 flattens out, so that the voltage drop does not follow the line L, but the line L'. As should be evident from FIGURE 5a, it is possible that an extended mains failure time can be bridged by the capacitor C1.
At a point in time t8 the mains switches on again. At this point in time the operating voltage UP has still not fallen below the minimum value U4 necessary for the working store. Accordingly, the storage circuit FF is not reset to its first switching state (see FIGURE 5d). As from the point in time t8 the operating voltage US rises. At a point in time t9 when the voltage U1 is reached, the switch-off stage AS switches on the supply voltage UP (see FIGURE 5c) for the microprocessor. At a following point in time t10 the microprocessor is reset and started. The oscillator signals are subsequently then delivered to the storage circuit FF (see FIGURE 5e).
At a point in time t11, then again the same switching state as at t4 is reached.
At a point in time ti 2 the mains voltage fails again. At points in time t13 and t14 the same procedures as previously described in relation points in time t6 and t7 take place.
The time-span between points in time ti 4 and tl 5 is longer than the time-span between the points in time t7 and t8. At the point in time ti S, the voltage US drops to a voltage which is lower than the voltage U4. This voltage is not sufficient to keep the data of the working store protected.
At point in time t16 the mains starts up again.
Between the point in time tl 5 and ti 6 the storage circuit FF has switched back into its first switching state (see FIGURE 5d). The capacitor C1 is recharged with the mains voltage. At point in time ti 7 the switch-off stage AS applies the operating voltage UP to the microprocessor. Following on the point in time ti 8 at which the voltage U2 is reached, the microprocessor is reset and started.
Moreover, the working store is loaded, as has already been described for the point in time t2 or t3 respectively.

Claims (10)

1. A control circuit for a microcomputer having a microprocessor with a working or read/write store, said control circuit comprising a reset circuit capable of generating a reset signal which resets and starts the microprocessor when the operating voltage for the microprocessor reaches a sufficiently high value and the reset signal also being capable of stopping the microprocessor, whilst still maintaining the working store, should the operating voltage drop to a sufficiently low value, said control circuit being such that: provided the operating voltage does not fall to a value which endangers data safety in the store, on a following rise in operating voltage the microprocessor is reset and started without initialisation (reloading) of the working store; but where the operating voltage falls to a value which endangers data safety in the store, on a following rise in operating voltage the microprocessor is reset and started and the working store is initialised (re-loaded).
2. An operating-voltage-dependent control circuit for a microcomputer having a microprocessor with a working store, comprising a reset circuit which is capable of generating a reset signal which, in the event of the operating voltage becoming sufficiently high, resets and starts the microprocessor and stops it in the event of an operating voltage becoming too low, characterised in that a bistable storage circuit is provided which, in the event of an operating voltage too low for the operation of the working store, goes into its first switching state, in that the first switching state, upon occurrence of a reset signal, leads to an initialisation signal for the working store and in that a second switching state of the storage circuit is selectable after starting of the microprocessor so that during the second switching state the reset signal only resets and starts the microprocessor.
3. A control circuit as claimed in Claim 2, in which the storage circuit is switched from the first switching state into the second switching state only when initialisation of the working store is concluded.
4. A control circuit as claimed in Claim 2 or Claim 3 by which, on a mains failure, the peripherals of a microcomputer are switched off, and in which the second switching state is selected with switching-on of a data display device by impulses of an internal oscillator of the microcomputer being applied to the storage circuit.
5. A control circuit as claimed in any one of claims 2 to 4, in which the microprocessor is switched off at a value of the operating voltage which lies between the value at which the storage circuit goes into its first switching state and the value at which the reset circuit responds.
6. A control circuit for a microcomputer substantially as herein described and illustrated with reference to FIGURES 1 and 5 of the accompanying drawings.
7. A control circuit as claimed in Claim 1 or Claim 2 in which the reset circuit is substantially as herein described and illustrated with reference to FIGURE 2 of the accompanying drawings.
8. A control circuit as claimed in Claim 1 or Claim 2 comprising a switch-off stage substantially as herein described and illustrated with reference to FIGURE 3 of the accompanying drawings.
9. A control circuit as claimed in Claim 1 or Claim 2 in which a, or the, bistable storage circuit is substantially as herein described and illustrated with reference to FiGURE 4 of the accompanying drawings.
10. A microcomputer with at least one control circuit as claimed in any one of the preceding claims.
GB08400753A 1983-01-19 1984-01-12 A control circuit for a microcomputer Expired GB2133909B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE3301603A DE3301603C1 (en) 1983-01-19 1983-01-19 Control circuit for a microcomputer

Publications (3)

Publication Number Publication Date
GB8400753D0 GB8400753D0 (en) 1984-02-15
GB2133909A true GB2133909A (en) 1984-08-01
GB2133909B GB2133909B (en) 1986-05-21

Family

ID=6188612

Family Applications (1)

Application Number Title Priority Date Filing Date
GB08400753A Expired GB2133909B (en) 1983-01-19 1984-01-12 A control circuit for a microcomputer

Country Status (4)

Country Link
DE (1) DE3301603C1 (en)
FR (1) FR2539527B1 (en)
GB (1) GB2133909B (en)
IT (2) IT8420565V0 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0254875A2 (en) * 1986-07-10 1988-02-03 Deutsche Thomson-Brandt GmbH Circuit arrangement for the supply of current to electronic devices
GB2199675A (en) * 1986-12-31 1988-07-13 Samsung Electronics Co Ltd Tableware washer control
GB2216303A (en) * 1988-02-16 1989-10-04 Citizen Watch Co Ltd Ic card initialisation
FR2638867A1 (en) * 1988-11-04 1990-05-11 Sgs Thomson Microelectronics Method and circuit for reinitialising the operation of a circuit
EP0613077A1 (en) * 1993-01-25 1994-08-31 Siemens Aktiengesellschaft Method for generating a reset signal in a data processing system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3534574C3 (en) * 1984-09-29 1998-05-20 Pioneer Electronic Corp Information display device in a motor vehicle

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT1118947B (en) * 1979-10-04 1986-03-03 Indesit ELECTRONIC CIRCUIT FOR STORING DATA IN A HOME APPLIANCE APPARATUS
JPS56114020A (en) * 1980-02-12 1981-09-08 Toshiba Corp Electronic machinery
US4324252A (en) * 1980-08-04 1982-04-13 Medtronic, Inc. Memory control circuitry for implantable medical devices
JPS57127220A (en) * 1981-01-29 1982-08-07 Fujitsu Ltd System for detecting turning-off of backup power source for memory
DE3103489C2 (en) * 1981-02-03 1982-11-04 Diehl GmbH & Co, 8500 Nürnberg Reset circuit for microprocessors
JPS57191899A (en) * 1981-05-20 1982-11-25 Nippon Denso Co Ltd Integrated circuit for storage

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0254875A2 (en) * 1986-07-10 1988-02-03 Deutsche Thomson-Brandt GmbH Circuit arrangement for the supply of current to electronic devices
EP0254875A3 (en) * 1986-07-10 1988-11-02 Deutsche Thomson-Brandt Gmbh Circuit arrangement for the supply of current to electronic devices
GB2199675A (en) * 1986-12-31 1988-07-13 Samsung Electronics Co Ltd Tableware washer control
GB2216303A (en) * 1988-02-16 1989-10-04 Citizen Watch Co Ltd Ic card initialisation
GB2216303B (en) * 1988-02-16 1992-07-01 Citizen Watch Co Ltd Ic card
FR2638867A1 (en) * 1988-11-04 1990-05-11 Sgs Thomson Microelectronics Method and circuit for reinitialising the operation of a circuit
EP0613077A1 (en) * 1993-01-25 1994-08-31 Siemens Aktiengesellschaft Method for generating a reset signal in a data processing system

Also Published As

Publication number Publication date
IT1195997B (en) 1988-11-03
DE3301603C1 (en) 1984-07-05
FR2539527A1 (en) 1984-07-20
IT8420565V0 (en) 1984-01-18
GB8400753D0 (en) 1984-02-15
GB2133909B (en) 1986-05-21
IT8419212A0 (en) 1984-01-18
FR2539527B1 (en) 1991-04-05

Similar Documents

Publication Publication Date Title
KR870001255Y1 (en) Power supply circuit for microcomputer
DE59708459D1 (en) ARRANGEMENT FOR MONITORING A MICROPROCESSOR
US5473201A (en) Control circuit means for controlling the after-running of an operating device in a motor vehicle
CN201061142Y (en) Protector for power supply flexible starting instant power off anti-restarting
GB2133909A (en) A control circuit for a microcomputer
JPH046973B2 (en)
JP2007020245A (en) Charging circuit and semiconductor device equipepd with charging circuit
US5157270A (en) Reset signal generating circuit
US5023470A (en) Electronic flash charging circuit
JPH01198235A (en) Current supply circuit arrangement
JP2731528B2 (en) DC power supply instantaneous interruption detection device
US4469990A (en) Electronic flash device
JP3535520B2 (en) Reset circuit
CN1312918C (en) Projection device and protective method for operation of projector
JPH0212546A (en) Memory holding system
CN111371067B (en) Load overload step-by-step delay protection circuit
CN215120098U (en) Protection circuit and power supply equipment
JP3224177B2 (en) Power ON / OFF control circuit
JPS62269413A (en) Power-on reset circuit
JP3285975B2 (en) Bipolar IC for camera control
JP2528131B2 (en) Circuit device that supplies current to electronic equipment
KR920002337Y1 (en) Timer reset circuit using condensors
KR930004905Y1 (en) Buzzer control circuit for p.c.
SU1238229A1 (en) Transistor switch
JPS63164709A (en) Power supply reset circuit

Legal Events

Date Code Title Description
732 Registration of transactions, instruments or events in the register (sect. 32/1977)
PCNP Patent ceased through non-payment of renewal fee

Effective date: 19940112