DE102016106690B3 - Method for forcefully resetting a microcontroller - Google Patents

Method for forcefully resetting a microcontroller Download PDF

Info

Publication number
DE102016106690B3
DE102016106690B3 DE102016106690.7A DE102016106690A DE102016106690B3 DE 102016106690 B3 DE102016106690 B3 DE 102016106690B3 DE 102016106690 A DE102016106690 A DE 102016106690A DE 102016106690 B3 DE102016106690 B3 DE 102016106690B3
Authority
DE
Germany
Prior art keywords
microcontroller
load
switching module
voltage level
port
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.)
Expired - Fee Related
Application number
DE102016106690.7A
Other languages
German (de)
Inventor
Tsun-Te Shih
Kuang-Lung Shih
Wen-Lung Li
Yu-Yuan Chang
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.)
Zippy Technology Corp
Original Assignee
Zippy Technology Corp
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 Zippy Technology Corp filed Critical Zippy Technology Corp
Priority to DE102016106690.7A priority Critical patent/DE102016106690B3/en
Application granted granted Critical
Publication of DE102016106690B3 publication Critical patent/DE102016106690B3/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof

Landscapes

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

Abstract

Ein Verfahren zum erzwungenen Zurücksetzen eines Mikrocontrollers wird bereitgestellt. Ein Schaltmodul (4) zum Betreiben eines Mikrocontrollers (1) wird bereitgestellt. Das Schaltmodul (4) erkennt mittels des Steuerungs-Anschluss (41) ob der Benachrichtigungs-Anschluss (31) einer Last (3) mit dem Steuerungs-Anschluss (41) verbunden ist und verändert sein Spannungspegel in Antwort auf einen Kommunikationsfehler zwischen der Last (3) und dem Mikrocontroller (1), der durch die Last (3) erkannt wurde. Wenn das Schaltmodul (4) von der Veränderung des Spannungspegels mittels des Benachrichtigungs-Anschlusses (31) erfährt, wird ein Stromversorgungs-Zustand des Schaltmoduls (4) geschaltet, um die Stromzufuhr an den Mikrocontroller (1) auszuschalten, damit der Mikrocontroller (1) seinen Betrieb abbricht. Mittels des Steuerungs-Anschluss (41) wird erkannt, ob die Last (3) wiederum das Spannungspegel des Benachrichtigungs-Anschlusses (31) verändert, in Antwort darauf, dass der Mikrocontroller (1) aufgehört hat zu arbeiten. Wenn die Veränderung erkannt wird, so wird der Stromversorgungs-Zustand des Schaltmoduls (4) geschaltet, um den Mikrocontroller (1) wieder zu betreiben und wieder zu aktivieren.A method of forcefully resetting a microcontroller is provided. A switching module (4) for operating a microcontroller (1) is provided. The switch module (4) detects, by means of the control terminal (41), whether the notification terminal (31) of a load (3) is connected to the control terminal (41) and changes its voltage level in response to a communication fault between the load (3). 3) and the microcontroller (1) detected by the load (3). When the switching module (4) learns of the change in the voltage level by means of the notification terminal (31), a power supply state of the switching module (4) is switched to turn off the power supply to the microcontroller (1), so that the microcontroller (1) stops his business. By means of the control terminal (41), it is detected whether the load (3) in turn changes the voltage level of the notification terminal (31) in response to the microcontroller (1) having stopped working. If the change is detected, then the power supply state of the switching module (4) is switched to operate the microcontroller (1) and reactivated.

Description

Gebiet der ErfindungField of the invention

Die vorliegende Erfindung betrifft ein Verfahren zum erzwungenen Zurücksetzen eines Mikrocontrollers, und betrifft insbesondere ein Verfahren zum erzwungenen Zurücksetzen eines Mikrocontrollers durch ein externes Schaltmodul.The present invention relates to a method of forcefully resetting a microcontroller, and more particularly to a method for forcefully resetting a microcontroller by an external switching module.

Hintergrund der ErfindungBackground of the invention

Aufgrund der kontinuierlichen Weiterentwicklung von informationstechnischen Geräten haben viele Hersteller Stromversorgungen mit einer Kommunikation- bzw. Datenübertragungsfunktion vorgeschlagen, um zu gewährleisten, dass diese informationstechnischen Geräte über eine stabile Stromversorgung verfügen. Solch eine Stromversorgung ist in der Lage, mit einer Last zu kommunizieren bzw. Daten auszutauschen, um zumindest einen Betriebs-Parameter der Stromversorgung während des Betriebs bereitzustellen. Die Last kann dann etwas über einen Betriebszustand der Stromversorgung entsprechend dem Betriebs-Parameter erfahren. Genauer gesagt ist die Last ein informationstechnisches Gerät, in dem ein Baseboard Management Controller (BMC; baseboard management controller) mit der Stromversorgung über einen Stromüberwachungs-Bus (PMbus; power management bus) kommuniziert, um den Betriebszustand der Stromversorgung zu erhalten.Due to the continuing evolution of information technology devices, many manufacturers have proposed power supplies with a communication function to ensure that these information technology devices have a stable power supply. Such a power supply is capable of communicating with a load or exchanging data to provide at least one operating parameter of the power supply during operation. The load may then learn about an operating condition of the power supply according to the operating parameter. More specifically, the load is an information technology device in which a baseboard management controller (BMC) communicates with power via a power management bus (PMbus) to maintain the power state of operation.

Die US 2010/0 095 138 A1 offenbart eine Steuerungsvorrichtung und ein Steuerungsverfahren zur Steuerung des Hochfahrens eines Computers. Die Steuerungsvorrichtung umfasst einen Chipsatz, einen Verzögerungs-Schaltkreis und einen logischen Ein-/Aus-gang. In dem Steuerungsverfahren wird zunächst ein Betriebsspannungs-Versorgungs-Signal von dem Chipsatz erzeugt und dann durch den Verzögerungs-Schaltkreis verzögert und über den logischen Ein-/Aus-gang ausgegeben, so dass ein Platinen-Steuerungs-Controller genug Zeit hat, um eine Initialisierung zu vollziehen. Das beschriebene Steuerungsverfahren umfasst also eine Möglichkeit, Fehler beim Initialisierungsprozess zu minimieren. Jedoch wird kein „Reset”- oder Neuboot-Vorgang beschrieben und insbesondere keine Möglichkeit einen fehlerhaften Chip zurückzusetzen, um einen fehlerfreien Neustart zu ermöglichen.The US 2010/0 095 138 A1 discloses a control device and a control method for controlling startup of a computer. The control device comprises a chipset, a delay circuit and a logical input / output. In the control method, first, an operating voltage supply signal is generated from the chipset and then delayed by the delay circuit and output through the logical input / output so that a board control controller has enough time to initialize to accomplish. The described control method thus includes a possibility to minimize errors in the initialization process. However, no "reset" or reboot operation is described, and in particular, no way to reset a bad chip to allow a clean boot.

Die US 2004/0 207 440 A1 umfasst einen Steuerungs-Schaltkreis und ein Steuerungs-Verfahren, wobei der Steuerungs-Schaltkreis ein Steuerungs-Signal bereitstellt, um einen ersten Schaltkreis zu steuern, und wobei ein „Heartbeat”-Signal durch einen zweiten Schaltkreis aufgrund dessen Zustandes bereitgestellt wird, das dem Steuerungs-Schaltkreis anzeigt, ob der zweite Schaltkreis funktionsbereit ist oder ob ein bestimmtes Zeitfenster überschritten ist. Durch das „Heartbeat”-Signal kann der erste Schaltkreis gesteuert werden, um initialisiert zu werden, oder es können Fehler vorliegen, die verhindern, dass das „Heartbeat”-Signal erzeugt wird, so dass der erste Schaltkreis nicht initialisiert wird. Dieses Verfahren kann insbesondere mit einem Reset-Verfahren kombiniert werden. Jedoch umfasst das Verfahren keine Möglichkeit, zum Zurücksetzen eines Schltkreises.The US 2004/0 207 440 A1 includes a control circuit and a control method, wherein the control circuit provides a control signal to control a first circuit, and wherein a "heartbeat" signal is provided by a second circuit due to its condition that the control Circuit indicates whether the second circuit is operational or whether a specific time window has been exceeded. The "heartbeat" signal may control the first circuit to be initialized, or there may be errors preventing the "heartbeat" signal from being generated so that the first circuit will not be initialized. This method can be combined in particular with a reset method. However, the method does not include a way to reset a loop.

Die US 2015/0 149 792 A1 offenbart ein Server-System und ein Steuerungsverfahren zum Steuern einer Betriebs-Terminierung nach dem Hochfahren. Das Server-System umfasst ein Spannungspegel-Überwachungs-Modul, ein logisches Steuerungs-Modul, einen Spanungs-Anzeige-Modul und eine Platinen-Steuerung. Das Steuerungsverfahren umfasst neben dem Hochfahren des Systems und dem Steuern einer Stromversorgung auch das Erzeugen eines „Power-Good”-Signals und eines „Reset”-Signals. Anhand des „Reset”-Signals kann die Platinen-Steuerung einen „Reset”-Prozess in Gang setzen, um das System neu zu starten. Jedoch beinhaltet das Verfahren keine Möglichkeit, das System gezwungen zurückzusetzen, so dass kein Vollständiges löschen des Systems stattfindet und das System nach dem Reseten wieder Störungen aufweisen kann.The US 2015/0 149 792 A1 discloses a server system and control method for controlling post-start up scheduling. The server system includes a voltage level monitoring module, a logic control module, a voltage display module, and a board controller. The control method includes not only booting up the system and controlling a power supply but also generating a "power good" signal and a "reset" signal. Based on the "reset" signal, the board controller can initiate a "reset" process to reboot the system. However, the method does not include a way to forcibly reset the system so that there is no complete erasure of the system and the system may be in trouble again after resetting.

Jedoch ist der PMbus im realen Betrieb anfällig für Unregelmäßigkeiten aufgrund externer Faktoren, so dass der BMC daran scheitern kann, zuverlässig den Betriebszustand der Stromversorgung zu erhalten, was sich nachteilig auf den Betrieb des informationstechnischen Gerätes auswirkt.However, in actual operation, the PMbus is susceptible to abnormalities due to external factors, so that the BMC can fail to reliably maintain the operating state of the power supply, which adversely affects the operation of the information technology apparatus.

Im Hinblick auf das obige Gesagte gibt es Entwickler, die technische Lösungen zum erneuten Aktivieren eines Mikrocontrollers in der Stromversorgung mittels einer Software vorgeschlagen haben, die zum Datenaustausch verwendet wird. Zum Beispiel umfassen diese herkömmlichen Lösungen die Offenbarung der taiwanesischen Offenlegungsschrift Nr. 201007444 und des taiwanesischen Patentes Nr. I305308 .In view of the above, there are developers who have proposed technical solutions for reactivating a microcontroller in the power supply by means of software used for data exchange. For example, these conventional solutions include the disclosure of Taiwanese Publication No. 201007444 and of Taiwanese Patent No. I305308 ,

In den obigen Offenbarungen werden technische Lösungen zur Selbst-Aktivierung des Mikrocontrollers durch eine Software bereitgestellt, wobei der Mikrocontroller lediglich erneut aktiviert wird und elektrische Signale des Mikrocontrollers nicht wirklich gelöscht bzw. zurückgesetzt werden. Daher bestehen, nachdem der Mikrocontroller erneut aktiviert wurde, die Unregelmäßigkeiten bzw. Störungen auf dem PMbus weiterhin fort und bewirken, dass die Software in konsistenter Weise den Mikrocontroller wieder aktiviert, was folglich den Lebenszyklus der Stromversorgung in ungewünschter Weise beeinflusst.In the above disclosures, technical solutions for self-activation of the microcontroller are provided by software, wherein the microcontroller is merely reactivated and electrical signals from the microcontroller are not actually cleared or reset. Therefore, after the microcontroller has been reactivated, the perturbations on the PMbus continue to persist, causing the software to re-enable the microcontroller in a consistent manner, thus undesirably affecting the power cycle of the power supply.

Beschreibung der Erfindung Description of the invention

Es ist eine Aufgabe der vorliegenden Erfindung, ein zuverlässigeres Verfahren zum erzwungenen Zurücksetzen eines Mikrocontrollers bereitzustellen.It is an object of the present invention to provide a more reliable method for forcefully resetting a microcontroller.

Diese Aufgabe wird durch das Verfahren zum erzwungenen Zurücksetzen eines Mikrocontrollers nach Anspruch 1 gelöst. Weitere bevorzugte Ausführungsformen sind Gegenstand der abhängigen Ansprüche.This object is solved by the forced reset method of a microcontroller according to claim 1. Further preferred embodiments are the subject of the dependent claims.

Gemäß der vorliegenden Erfindung kann insbesondere die Aufgabe in einer einfachen, effektiven und zuverlässigen Weise gelöst werden, dass ein Mikrocontroller mittels einer Software nicht zuverlässig zurückgesetzt werden kann.In particular, according to the present invention, the object can be achieved in a simple, effective and reliable manner so that a microcontroller can not be reliably reset by software.

Um die obige Aufgabe zu lösen, stellt die vorliegende Erfindung ein Verfahren zum erzwungenen Zurücksetzen eines Mikrocontrollers zur Verfügung. Das Verfahren umfasst die folgenden Schritte.In order to achieve the above object, the present invention provides a method for forcefully resetting a microcontroller. The method comprises the following steps.

In Schritt 1, wird ein Schaltmodul bereitgestellt, wobei das Schaltmodul veranlasst wird, eine Betriebsspannung von einer Stromquelle zu erhalten, um einen Mikrocontroller zu betreiben und wobei ein Steuerungs-Anschluss des Schaltmoduls mit einem Benachrichtigungs-Anschluss der Last verbunden ist.In step 1, a switching module is provided, wherein the switching module is caused to receive an operating voltage from a power source to operate a microcontroller, and wherein a control terminal of the switching module is connected to a notification terminal of the load.

In Schritt 2 wird der Mikrocontroller aktiviert und veranlasst, mit der Last zu kommunizieren. Das Schaltmodul erkennt mittels des Steuerungs-Anschluss ob die Last einen Spannungspegel des Benachrichtigungs-Anschlusses in Antwort auf einen Kommunikationsfehler zwischen der Last und dem Mikrocontroller verändert, welcher durch die Last erkannt wurde. Das Schaltmodul wird dazu veranlasst, dem Mikrocontroller weiterhin die Betriebsspannung bereitzustellen, wenn der Spannungspegel des Benachrichtigungs-Anschlusses sich nicht ändert oder das Verfahren schreitet mit einem nächsten Schritt fort.In step 2, the microcontroller is activated and caused to communicate with the load. The switching module detects, by means of the control terminal, whether the load changes a voltage level of the notification terminal in response to a communication error between the load and the microcontroller detected by the load. The switching module is caused to continue to provide the operating voltage to the microcontroller if the voltage level of the notification port does not change or the method proceeds to a next step.

In Schritt 3, wird die Änderung des Spannungspegels des Benachrichtigungs-Anschlusses empfangen und wird ein Stromversorgungs-Zustand des Schaltmoduls geschaltet, damit der Mikrocontroller nicht mehr mit der Betriebsspannung versorgt wird, damit der Mikrocontroller seinen Betrieb abbricht.In step 3, the change of the voltage level of the notification port is received and a power supply state of the switching module is switched to stop supplying the microcontroller with the operating voltage for the microcontroller to stop its operation.

In Schritt 4 wird mittels des Steuerungs-Anschlusses erkannt, ob Last in Antwort darauf, dass Mikrocontroller aufgehört hat zu arbeiten, wieder den Spannungspegel des Benachrichtigungs-Anschlusses verändert. Wenn erkannt wird, dass der Spannungspegel des Benachrichtigungs-Anschlusses verändert wurde, wird der Stromversorgungs-Zustand des Schaltmoduls geschaltet bzw. geändert, um den Mikrocontroller wieder mit der Betriebsspannung zu versorgen, um zu bewirken, dass Mikrocontroller wieder aktiviert wird.In step 4, it is detected by the control port whether load in response to microcontroller cessation has stopped working again to change the voltage level of the notification port. If it is detected that the voltage level of the notification port has been changed, the power supply state of the switching module is switched or changed to re-supply the operating voltage to the microcontroller to cause the microcontroller to be reactivated.

Nach einer Ausführungsform umfasst Schritt 2 des Weiteren den Unterschritt des Veranlassen der Last, in einen Kommunikationsfehler-Erkennungs-Modus einzutreten und einen Spannungspegel des Benachrichtigungs-Anschlusses zu verändern sobald die Last einen Kommunikationsfehler in dem Kommunikationsfehler-Erkennungs-Modus erkennt.In one embodiment, step 2 further includes the substep of causing the load to enter a communication error detection mode and to change a voltage level of the notification port as the load detects a communication error in the communication error detection mode.

Gemäß einer weiteren Ausführungsform verursacht die Last, dass der Spannungspegel des Benachrichtigungs-Anschlusses in einem niedrigen Spannungspegel ist, wenn die Last in dem Kommunikationsfehler-Erkennungs-Modus ist und erkennt, ob die Kommunikation bzw. der Datenaustausch zwischen der Last und dem Mikrocontroller normal ist oder der Mikrocontroller abgeschaltet ist bzw. wurde.According to another embodiment, the load causes the voltage level of the notification port to be in a low voltage level when the load is in the communication error detection mode and detects whether the communication between the load and the microcontroller is normal or the microcontroller is off.

Gemäß einer weiteren Ausführungsform umfasst das Schaltmodul einen Stromverbindungs-Anschluss, der mit der Stromquelle verbunden ist, einen Erdungs-Anschluss, der mit dem Mikrocontroller verbunden ist, und eine Schalteinheit, die gemäß dem Erkennungs-Resultat des Steuerungs-Anschlusses entscheidet, ob sie den Stromversorgungs-Anschluss mit dem Erdungs-Anschluss oder mit dem dem Stromverbindungs-Anschluss verbindet.According to a further embodiment, the switching module comprises a power connection terminal connected to the power source, a ground terminal connected to the microcontroller, and a switching unit that decides whether to connect the power source according to the detection result of the control terminal Power supply connection to the grounding terminal or to the power connection terminal.

Gemäß einer weiteren Ausführungsform umfasst Schritt 4 des Weiteren den Unterschritt des Einstellers einer Wartezeit der Last über eine Zurücksetzungs-Zeitdauer hinweg, bevor ermittelt wird, ob der Mikrocontroller zu arbeiten aufhört, um wieder den Spannungspegel des Benachrichtigungs-Anschlusses zu verändern.In accordance with another embodiment, step 4 further includes the sub-step of setting a load wait time over a reset period before determining whether the microcontroller stops operating to again change the voltage level of the notification port.

Gemäß einer weiteren Ausführungsform sind der Mikrocontroller und das Schaltmodul in eine Stromversorgung eingebaut und kommuniziert der Mikrocontroller mit der Last über einen Stromversorgungs-Bus (PMbus).According to another embodiment, the microcontroller and the switching module are built into a power supply and the microcontroller communicates with the load via a power bus (PMbus).

Gemäß einer weiteren Ausführungsform ist die Stromquelle eine Notstrom-Ausgabe-Schleife der Stromversorgung und ist die Betriebsspannung eine Bereitschafts- bzw. Notspannung, welche die Notstrom-Ausgabe-Schleife dem Schaltmodul zur Verfügung stellt.According to a further embodiment, the power source is an emergency power output loop of the power supply and the operating voltage is a standby voltage providing the emergency power output loop to the switching module.

Die Lösung nach der vorliegenden Erfindung beinhaltet im Vergleich zum bisherigen Stand der Technik insbesondere die folgenden Merkmale. Durch das Schaltmodul der vorliegenden Erfindung wird der Spannungspegel von allen Komponenten des Mikrocontrollers während das Rücksetzungs-Prozesses des Mikrocontrollers vollständig abgetrennt und gelöscht, um die Aufgabe des Zurücksetzen zuverlässig zu bewältigen und dabei das Problem nach dem Stand der Technik zu beheben, dass der Mikrocontroller nicht zuverlässig zurückgesetzt werden kann In particular, the solution according to the present invention includes the following features as compared with the prior art. By the switching module of the present invention, the voltage level of all components of the microcontroller during the reset Process of the microcontroller completely separated and cleared to reliably cope with the task of resetting and thereby solve the problem of the prior art that the microcontroller can not be reset reliably

Kurze Beschreibung der ZeichnungenBrief description of the drawings

Details und technische Inhalte der vorliegenden Erfindung werden nachfolgend anhand er beigefügten Zeichnungen dargelegt, wobei:Details and technical details of the present invention are set forth below with reference to the accompanying drawings, in which:

1 ein schematisches Diagramm von Komponenten gemäß einer Ausführung der vorliegenden Erfindung darstellt; 1 Fig. 10 is a schematic diagram of components according to an embodiment of the present invention;

2 ein schematisches Diagramm von Komponenten gemäß einer Ausführungsform der vorliegenden Erfindung angewandt auf eine Stromversorgung darstellt; 2 Figure 12 is a schematic diagram of components applied to a power supply according to an embodiment of the present invention;

3 ein Flussdiagramm eines Verfahrens gemäß einer Ausführungsform nach der vorliegenden Erfindung darstellt; 3 Fig. 10 is a flowchart of a method according to an embodiment of the present invention;

4 ein erstes schematisches Ausführungsdiagramm gemäß einer Ausführungsform nach der vorliegenden Erfindung darstellt; 4 FIG. 4 is a first schematic execution diagram according to an embodiment of the present invention; FIG.

5 ein zweites Ausführungsdiagramm einer Ausführungsform nach der vorliegenden Erfindung darstellt; und 5 Figure 2 is a second embodiment of an embodiment of the present invention; and

6 ein Flussdiagramm eines Verfahrens gemäß einer Ausführungsform der vorliegenden Erfindung darstellt. 6 FIG. 3 illustrates a flowchart of a method according to an embodiment of the present invention. FIG.

Ausführliche Beschreibung der bevorzugten AusführungsformenDetailed Description of the Preferred Embodiments

In Bezug auf 1 und 2 stellt die vorliegende Erfindung ein Verfahren zum erzwungenen Zurücksetzen eines Mikrocontrollers bereit. Der Mikrocontroller 1 ist in ein elektronisches Gerät eingebaut oder installiert. Zum Beispiel kann der Mikrocontroller 1 ein Mikrochip sein und dazu ausgelegt sein, um zu arbeiten und zumindest einen Funktionsprozess auszuführen. Um Einzelheiten der Umsetzung der vorliegenden Erfindung besser darzulegen, wird eine Ausführungsform des Mikrocontrollers 1 beschrieben, wobei dieser in eine Stromversorgung 2 eingebaut ist und dies nicht als Beschränkung der vorliegenden Erfindung auszulegen ist. Die Stromversorgung 2 umfasst zumindest eine Gleichrichter-Filtereinheit 21, die mit einer externen Stromversorgung verbunden ist, eine Leistungsfaktor-Korrektur-Einheit 22, die mit der Gleichrichter-Filtereinheit 21 verbunden ist, einen Transformator 23, der mit der Leistungsfaktor-Korrektur-Einheit 22 verbunden ist, ein Schaltelement 24, das mit dem Transformator 23 verbunden ist, und eine Spannungs-Modulations-Einheit 25, die mit dem Transformator 23 verbunden ist. Die Spannungs-Modulation-Einheit 25 ist mit einer Last 3 verbunden und betreibt die Last 3. Nach einer Ausführungsform ist die Last 3 ein Motherboard oder ein informationstechnisches Gerät und die Spannungs-Modulation-Einheit 25 ist ausgelegt, um die übertragene Leistung bzw. Spannung auf der Sekundärseite des Transformators 23 in verschiedene Spannungsarten zu wandeln, die durch die „Advanced Technology eXtended” (ATX) Motherboard-Spezifikationen benötigt werden. Die Spannungs-Modulations-Einheit 25 umfasst eine Haupt-Betriebs-Stromausgabe-Schleife 251 und eine Notstrom-Ausgabe-Schleife 252. Des Weiteren gibt die Haupt-Betriebs-Stromausgabe-Schleife 251 Spannungen von 12 V, 3,3 V und 5 V an die Last 3 aus und gibt die Notstrom-Ausgabe-Schleife 252 eine Not- bzw. Reservespannung von 5VSB an die Last 3 aus. Im Bezug auf 3, umfasst das Verfahren gemäß einer Ausführungsform nach der vorliegenden Erfindung die folgenden Schritte.In relation to 1 and 2 The present invention provides a method for forcefully resetting a microcontroller. The microcontroller 1 is installed or installed in an electronic device. For example, the microcontroller 1 be a microchip and be designed to work and perform at least one functional process. To better explain details of the practice of the present invention, an embodiment of the microcontroller will be described 1 described, this in a power supply 2 is incorporated and this is not construed as limiting the present invention. The power supply 2 comprises at least one rectifier filter unit 21 connected to an external power supply, a power factor correction unit 22 connected to the rectifier filter unit 21 connected to a transformer 23 that with the power factor correction unit 22 is connected, a switching element 24 that with the transformer 23 is connected, and a voltage modulation unit 25 that with the transformer 23 connected is. The voltage modulation unit 25 is with a load 3 connected and operates the load 3 , In one embodiment, the load is 3 a motherboard or information technology device and the voltage modulation unit 25 is designed to be the transmitted power or voltage on the secondary side of the transformer 23 into different voltage types required by Advanced Technology eXtended (ATX) motherboard specifications. The voltage modulation unit 25 includes a main operating power output loop 251 and an emergency power output loop 252 , Furthermore, there is the main operating power output loop 251 Voltages of 12 V, 3.3 V and 5 V to the load 3 off and gives the emergency power output loop 252 an emergency or reserve voltage of 5VSB to the load 3 out. Relating to 3 , the method according to an embodiment of the present invention comprises the following steps.

In Schritt 1 (500) wird ein Schaltmodul 4 bereitgestellt, wobei das Schaltmodul 4 veranlasst wird, eine Betriebsspannung von einer Stromquelle zu empfangen, um einen Mikrocontroller 1 zu betreiben, wobei ein Steuerungs-Anschluss 41 des Schaltmoduls 4 mit einem Benachrichtigungs-Anschluss 31 der Last 3 verbunden ist.In step 1 ( 500 ) becomes a switching module 4 provided, wherein the switching module 4 is caused to receive an operating voltage from a power source to a microcontroller 1 operate, with a control port 41 of the switching module 4 with a notification port 31 the load 3 connected is.

In Schritt 2 (501) wird der Mikrocontroller 1 aktiviert, um den Mikrocontroller 1 dazu zu veranlassen, mit der Last 3 zu kommunizieren, wobei das Schaltmodul 4 mittels des Steuerungs-Anschluss 41 erkennt, ob die Last 3 in Antwort auf einen Kommunikationsfehler zwischen der Last 3 und dem Mikrocontroller 1, welcher durch die Last 3 erkannt wurde, den Spannungspegel des Benachrichtigungs-Anschluss 31 verändert. Wenn der Spannungspegel des Benachrichtigungs-Anschlusses 31 nicht verändert wird, dann wird das Schaltmodul 4 dazu veranlasst, dem Mikrocontroller 1 kontinuierlich die Betriebsspannung zur Verfügung zu stellen oder das Verfahren fährt mit einem nächsten Schritt fort.In step 2 ( 501 ) becomes the microcontroller 1 activated to the microcontroller 1 to induce with the load 3 to communicate, the switching module 4 by means of the control connection 41 Detects if the load 3 in response to a communication error between the load 3 and the microcontroller 1 which by the load 3 was detected, the voltage level of the notification port 31 changed. When the voltage level of the notification port 31 is not changed, then the switching module 4 caused the microcontroller 1 continuously provide the operating voltage or the method continues with a next step.

In Schritt 3 (502) wird die Veränderung des Spannungspegels des Benachrichtigungs-Anschlusses 31 empfangen und der Stromversorgungs-Zustand des Schaltmoduls 4 wird gesteuert, damit die Bereitstellung der Betriebsspannung an den Mikrocontroller 1 eingestellt wird, damit der Mikrocontroller 1 seinen Betrieb abbricht.In step 3 ( 502 ) changes the voltage level of the notification port 31 received and the power supply state of the switching module 4 is controlled to allow the supply of the operating voltage to the microcontroller 1 is set to allow the microcontroller 1 stops his business.

In Schritt 4 (503) wird mittels des Steuerungs-Anschluss 41 erkannt, ob die Last 3 wiederum den Spannungspegel des Benachrichtigungs-Anschlusses 31 verändert, und zwar in Antwort darauf, dass der Mikrocontroller 1 aufgehört hat zu arbeiten, und wird, wenn die Veränderung des Spannungspegels des Benachrichtigungs-Anschlusses 31 erkannt wird, der Stromversorgungs-Zustand des Schaltmoduls 4 geschaltet bzw. geändert, um den Mikrocontroller 1 wieder mit der Betriebsspannung zu versorgen, um den Mikrocontroller 1 zu reaktivieren.In step 4 ( 503 ) is controlled by the control port 41 recognized if the load 3 turn the voltage level of the notification port 31 changed, and in response to that the microcontroller 1 stopped working, and is when the change in the voltage level of the notification port 31 is detected, the power supply state of the switching module 4 switched or changed to the microcontroller 1 again to supply the operating voltage to the microcontroller 1 to reactivate.

Der Mikrocontroller 1 und das Schaltmodul 4 sind nach der vorliegenden Erfindung in die Stromversorgung 2 eingebaut. Der Mikrocontroller 1 umfasst zumindest einen Stromeingangs-Anschluss 11, erhält über den Stromeingangs-Anschluss 11 eine Spannung für seinen Betrieb und führt Stromüberwachungs-Operationen durch, nachdem er eingeschaltet wurde. Zum Beispiel beinhalten die sogenannten Stromüberwachungs-Operation das Erkennen des Betriebszustandes der Stromversorgung 2, um mindestens einen Betriebs-Parameter auszugeben. Nach einer Ausführungsform kann der Mikrocontroller 1 auch ein Pulsbreiten-Modulations-(PWM)Signal an das Schaltelement 24 ausgeben. Des Weiteren kommuniziert der Mikrocontroller 1 mit der Last 3, nachdem er aktiviert wurde, um eine Nachricht an die Last 3 zu senden oder eine Nachricht von der Last 3 zu empfangen. In dieser Ausführungsform kommuniziert der Mikrocontroller 1 mit der Last 3 entsprechend den PMbus-Kommunikation-Spezifikationen.The microcontroller 1 and the switching module 4 are in the power supply according to the present invention 2 built-in. The microcontroller 1 includes at least one power input terminal 11 , receives via the power input connector 11 a voltage for its operation and performs current monitoring operations after it has been turned on. For example, the so-called current monitoring operation involves detecting the operating state of the power supply 2 to output at least one operating parameter. According to one embodiment, the microcontroller 1 also a pulse width modulation (PWM) signal to the switching element 24 output. Furthermore, the microcontroller communicates 1 with the load 3 after being activated to send a message to the load 3 to send or message from the load 3 to recieve. In this embodiment, the microcontroller communicates 1 with the load 3 according to the PMbus communication specifications.

Das Schaltmodul 4 kann nach der vorliegenden Erfindung durch einen Mikrochip implementiert sein und umfasst zumindest den Steuerungs-Anschluss 41, der mit dem Benachrichtigungs-Anschluss 31 verbunden ist. Der Steuerungs-Anschluss 41 ist direkt elektrisch mit dem Benachrichtigungs-Anschluss 31 verbunden, um die Änderung des Spannungspegels des Benachrichtigungs-Anschlusses 31 zu erhalten. Zusätzlich zu dem Steuerungs-Anschluss 41 umfasst das Schaltmodul 4 des Weiteren einen Erdungs-Anschluss 42, einen Stromversorgungs-Anschluss 43, der mit dem Stromeingangs-Anschluss 11 des Mikrocontrollers 1 verbunden ist, einen Stromverbindungs-Anschluss 44 und eine Schalteinheit 45, die entsprechend einem Erkennungs-Resultat des Steuerungs-Anschluss 41 bestimmt, ob der Stromversorgungs-Anschluss 43 mit dem Erdungs-Anschluss 42 oder mit dem Stromverbindungs-Anschluss 44 verbunden ist. Der Verbindungszustand der Schalteinheit 45 legt den Stromversorgungs-Zustand des Schaltmoduls 4 fest. Genauer gesagt verfügt das Schaltmodul 4 nach der vorliegenden Erfindung über den Stromversorgungs-Zustand und einen Stromversorgungs-Unterbrechungs-Zustand. In dem Stromversorgungs-Zustand ist der Stromversorgungs-Anschluss 43 mit dem Stromverbindungs-Anschluss 44 verbunden, um die Betriebsspannung an den Mikrocontroller 1 auszugeben. Im Stromversorgungs-Unterbrechungs-Zustand ist der Stromversorgungs-Anschluss 43 mit dem Erdungs-Anschluss 42 verbunden, so dass die Betriebsspannung nicht an den Mikrocontroller 1 ausgegeben werden kann. In der Ausführungsform ist der Stromverbindungs-Anschluss 44 des Schaltmoduls 4 mit der Notstrom-Ausgabe-Schleife 252 der Stromversorgung 2 in einer Art und Weise verbunden, dass die Notstrom-Ausgabe-Schleife 252 als Stromquelle betrachtet werden kann und die Not- bzw. Reservespannung von 5VSB, welche die Notstrom-Ausgabe-Schleife 252 dem Schaltmodul 4 zur Verfügung stellt, als Betriebsspannung dient. Das Schaltmodul 4 umfasst des Weiteren einen Stromversorgungs-Anschluss 46, der mit der Notstrom-Ausgabe-Schleife 252 verbunden ist. Der Stromversorgungs-Anschluss 46 empfängt die Notstrom-Leistung von 5VSB, um zu veranlassen, dass das Schaltmodul 4 wieder aktiviert wird und mit einer Not- bzw. Reservespannung von 5VSB betriebe wird.The switching module 4 may be implemented by a microchip according to the present invention and includes at least the control port 41 that with the notification port 31 connected is. The control port 41 is directly electrical with the notification port 31 connected to the change of the voltage level of the notification port 31 to obtain. In addition to the control port 41 includes the switching module 4 Furthermore, a ground connection 42 , a power supply connection 43 connected to the power input connector 11 of the microcontroller 1 connected, a power connection connection 44 and a switching unit 45 , which correspond to a detection result of the control port 41 determines if the power supply connection 43 with the ground connection 42 or with the power connection connector 44 connected is. The connection state of the switching unit 45 sets the power supply state of the switch module 4 firmly. More specifically, the switching module has 4 according to the present invention on the power supply state and a power supply interruption state. In the power state is the power supply port 43 with the power connection connector 44 connected to the operating voltage to the microcontroller 1 issue. In the power supply interruption state is the power supply connection 43 with the ground connection 42 connected so that the operating voltage is not connected to the microcontroller 1 can be issued. In the embodiment, the power connection terminal is 44 of the switching module 4 with the emergency power output loop 252 the power supply 2 connected in a way that the emergency power output loop 252 can be considered as a power source and the emergency or reserve voltage of 5VSB, which is the emergency power output loop 252 the switching module 4 provides as operating voltage is used. The switching module 4 further includes a power supply terminal 46 that with the emergency power output loop 252 connected is. The power supply connection 46 receives the emergency power of 5VSB to cause the switch module 4 is activated again and operated with an emergency or reserve voltage of 5VSB.

Gemäß 4 kommuniziert der Mikrocontroller 1, während des Prozesses von Schritt 501, nachdem der Mikrocontroller 1 aktiviert wurde, weiterhin mit der Last 3. An dieser Stelle erkennt das Schaltmodul 4 nach der vorliegenden Erfindung mittels des Steuerungs-Anschluss 41 in Antwort auf einen Kommunikationsfehler zwischen der Last 3 und dem Mikrocontroller 1, der durch die Last 3 erkannt wird, ob der Benachrichtigungs-Anschluss 31 des Spannungspegel des Benachrichtigungs-Anschlusses 31 verändert wurde. Genauer gesagt wird der Spannungspegel des Benachrichtigungs-Anschlusses 31, wenn der Mikrocontroller 1 und die Last 3 miteinander funktionsgemäß kommunizieren bzw. Daten austauschen, normalerweise auf einen niedriges Spannungspegel geschaltet und verbleibt dieser dann unverändert, wobei das Schaltmodul 4 sich normalerweise im Stromversorgungs-Zustand befindet, um dem Mikrocontroller 1 weiterhin die Betriebsspannung zur Verfügung zu stellen, damit der Mikrocontroller 1 weiter arbeitet. Wenn jedoch der Mikrocontroller 1 aufgrund externer Faktoren nicht funktionsgemäß mit der Last 3 kommunizieren kann, fordert die Last 3 den Mikrocontroller 1 zunächst mehrmals dazu auf, sich zu reaktivieren. Wenn der Kommunikationsfehler weiter besteht, verändert die Last 3 den Spannungspegel des Benachrichtigungs-Anschlusses 31 um zu bewirken, dass sich der Spannungspegel des Benachrichtigungs-Anschlusses 31 von einem niedrigen Pegel auf einen hohen Pegel ändert, so dass der Steuerungs-Anschluss 41 die Veränderung auf dem Benachrichtigungs-Anschluss 31 erkennen kann, und das Verfahren kann mit Schritt 502 fortfahren.According to 4 communicates the microcontroller 1 during the process of step 501 after the microcontroller 1 has been activated, continue with the load 3 , At this point, the switch module detects 4 according to the present invention by means of the control port 41 in response to a communication error between the load 3 and the microcontroller 1 that by the load 3 it detects if the notification port 31 the voltage level of the notification port 31 was changed. More specifically, the voltage level of the notification terminal becomes 31 if the microcontroller 1 and the load 3 functionally communicate with each other or exchange data, normally switched to a low voltage level and then remains unchanged, wherein the switching module 4 normally in the power state to the microcontroller 1 continue to provide the operating voltage, hence the microcontroller 1 continues to work. However, if the microcontroller 1 due to external factors not functionally with the load 3 can communicate, demands the load 3 the microcontroller 1 first several times to reactivate. If the communication error persists, the load changes 3 the voltage level of the notification port 31 to cause the voltage level of the notification port to increase 31 changes from a low level to a high level, allowing the control port 41 the change on the notification port 31 can recognize, and the process can with step 502 Continue.

Gemäß 5 wird während des Prozesses von Schritt 502, wenn der Steuerungs-Anschluss 41 eine Änderung des Spannungspegels des Benachrichtigungs-Anschlusses 31 erkennt, der Stromversorgungs-Zustand des Schaltmodul 4 geschaltet bzw. geändert. Daher unterbricht die Schalteinheit 45 entsprechend den Veränderungen, die durch den Steuerungs-Anschluss 41 empfangen wurden, die Verbindung zwischen dem Stromverbindungs-Anschluss 44 und dem Stromversorgungs-Anschluss 43 und verbindet den Stromversorgungs-Anschluss 43 mit dem Erdungs-Anschluss 42, um in den Stromversorgungs-Unterbrechungs-Zustand einzutreten. An dieser Stelle kann der Stromversorgungs-Anschluss 43 dem Mikrocontroller 1 keine Betriebsspannung zur Verfügung stellen, so dass der Mikrocontroller 1 die Betriebsspannung nicht mehr erhalten kann und zu arbeiten aufhört, um komplett ausgeschaltet zu sein. Das Verfahren fährt dann fort zu Schritt 503, in welchem durch den Steuerungs-Anschluss 41 erkannt wird, ob die Last 3 wiederum das Spannungspegel des Benachrichtigungs-Anschlusses 31 ändert, und zwar in Antwort darauf, dass der Mikrocontroller 1 aufgehört hat zu arbeiten. Genauer gesagt ist aus der obigen Beschreibung ersichtlich, dass die Last 3 nach der vorliegenden Erfindung dann, wenn ein Kommunikationsfehler zwischen dem Mikrocontroller 1 und der Last 3 auftritt, den Spannungspegel des Benachrichtigungs-Anschlusses 31 auf einen hohen Spannungspegel ändert um zu bewirken, dass das Schaltmodul 4 in den Stromversorgungs-Unterbrechungs-Zustand eintritt. Als solches verliert der Mikrocontroller 1 die Betriebsspannung vollständig und wird vollständig ausgeschaltet. Die Last 3 verändert dann später wiederum den Spannungspegel des Benachrichtigungs-Anschlusses 31 in Antwort darauf, dass der Mikrocontroller 1 mit dem Arbeiten aufgehört hat, um zu veranlassen, dass der Spannungspegel des Benachrichtigungs-Anschlusses 31 von einem hohen Spannungspegel in einen niedrigen Spannungspegel geändert wird.According to 5 will be during the process of step 502 when the control port 41 a change in the voltage level of the notification port 31 detects the power state of the switch module 4 switched or changed. Therefore, the switching unit interrupts 45 according to the changes made by the control port 41 received, the connection between the power connection port 44 and the power supply connection 43 and connects the power supply connection 43 with the ground connection 42 to enter the power interruption state. At this point, the power supply connection 43 the microcontroller 1 do not provide any operating voltage, leaving the microcontroller 1 the operating voltage can no longer be maintained and stops working to be completely off. The process then proceeds to step 503 in which through the control port 41 it detects if the load 3 again the voltage level of the notification port 31 changes, and in response to that the microcontroller 1 stopped working. More specifically, it is apparent from the above description that the load 3 according to the present invention, then, if a communication error between the microcontroller 1 and the load 3 occurs, the voltage level of the notification port 31 changes to a high voltage level to cause the switching module 4 enters the power interruption state. As such, the microcontroller loses 1 the operating voltage completely and is completely switched off. Weight 3 then changes the voltage level of the notification port later 31 in response to that the microcontroller 1 has stopped working to cause the voltage level of the notification port 31 is changed from a high voltage level to a low voltage level.

Währenddessen erkennt der Steuerungs-Anschluss 41, ob die Last 3 wiederum den Spannungspegel des Benachrichtigungs-Anschlusses 31 verändert, und zwar in Antwort darauf, dass der Mikrocontroller 1 zu arbeiten aufgehört hat. Wenn der Steuerungs-Anschluss 41 die Veränderung auf dem Benachrichtigungs-Anschluss 31 erkennt, schaltet das Schaltmodul 4 vom Stromversorgungs-Unterbrechungs-Zustand in den Stromversorgungs-Zustand, um den Mikrocontroller 1 wieder mit der Betriebsspannung zu versorgen, um den Mikrocontroller 1 wieder zu aktivieren. Daher kann mit der obige Lösung nach der vorliegenden Erfindung der Mikrocontroller 1 komplett ausgeschaltet werden, wodurch das Problem gelöst wird, dass der Mikrocontroller 1 nicht zuverlässig durch eine Software zurückgesetzt werden kann.Meanwhile, the controller connector detects 41 whether the load 3 turn the voltage level of the notification port 31 changed, and in response to that the microcontroller 1 to stop working. When the control port 41 the change on the notification port 31 detects, switches the switching module 4 from the power-off state to the power state to the microcontroller 1 again to supply the operating voltage to the microcontroller 1 to activate again. Therefore, with the above solution of the present invention, the microcontroller 1 be completely turned off, which solves the problem that the microcontroller 1 can not be reliably reset by software.

Gemäß 6 beinhaltet der Schritt 501 nach einer Ausführungsform des Verfahrens nach der vorliegenden Erfindung des Weiteren den Unterschritt 504. In Unterschritt 504 wird die Last 3 veranlasst, in einen Kommunikationsfehler-Erkennungs-Modus einzutreten. Der Spannungspegel des Benachrichtigungs-Anschlusses 31 wird verändert, wenn die Last 3 einen Kommunikationsfehler im Kommunikationsfehler-Erkennungs-Modus erkennt. Die Last 3 kann durch Ausführen eines Ingenieursprogramms, welches im Voraus in die Last 3 einprogrammiert wurde, in den Kommunikationsfehler-Erkennungs-Modus eintreten. Der Kommunikationsfehler-Erkennungs-Modus ist primär dazu vorgesehen um zu erkennen ob ein Kommunikationsfehler zwischen dem Mikrocontroller 1 und der Last 3 auftritt. Falls dies der Fall ist, wird der Spannungspegel des Benachrichtigungs-Anschlusses 31 verändert, um mit den folgenden Schritten fortfahren. Zugehörige Einzelheiten können der weiteren Beschreibung entnommen werden und sind an dieser Stelle ausgelassen.According to 6 includes the step 501 according to one embodiment of the method according to the present invention further the substep 504 , In sub-step 504 becomes the burden 3 causes to enter a communication error detection mode. The voltage level of the notification port 31 is changed when the load 3 detects a communication error in communication error detection mode. Weight 3 can by running an engineering program, which in advance in the load 3 has been programmed to enter the communication error detection mode. The communication error detection mode is primarily intended to detect if there is a communication error between the microcontroller 1 and the load 3 occurs. If so, the voltage level of the notification port becomes 31 changed to continue with the following steps. Related details may be found in the further description and are omitted here.

Um weiter zu gewährleisten, dass der Mikrocontroller 1 sich nicht wieder aktiviert, enthält Schritt 504 des Verfahrens der vorliegenden Erfindung den Unterschritt 505. In Unterschritt 505 wird die Last 3 zum Warten für eine Zurücksetzungs-Zeitdauer veranlasst, bevor diese erkennt, ob der Mikrocontroller 1 seinen Betrieb abbricht, um wiederum den Spannungspegel des Benachrichtigungs-Anschlusses 31 zu verändern.To further ensure that the microcontroller 1 does not reactivate, contains step 504 the process of the present invention, the substep 505 , In sub-step 505 becomes the burden 3 to wait for a reset period before it detects whether the microcontroller 1 stops its operation, in turn, the voltage level of the notification port 31 to change.

Claims (7)

Verfahren zum erzwungenen Zurücksetzen eines Mikrocontrollers, welches die folgenden Schritte umfasst: Schritt 1 (500): Bereitstellen eines Schaltmoduls (4), wobei das Schaltmodul (4) veranlasst wird, eine Betriebsspannung von einer Stromquelle zu erhalten, um einen Mikrocontroller (1) mit einer Betriebsspannung zu versorgen, und wobei ein Steuerungs-Anschluss (41) des Schaltmoduls (4) mit einem Benachrichtigungs-Anschluss (31) einer Last (3) verbunden wird; Schritt 2 (501): Aktivieren des Mikrocontrollers (1), um den Mikrocontroller (1) zu veranlassen mit der Last (3) zu kommunizieren, wobei durch das Schaltmodul (4) mittels des Steuerungs-Anschluss (41) erkannt wird, ob die Last (3) einen Spannungspegel des Benachrichtigungs-Anschlusses (31) in Antwort auf einen Kommunikations- bzw. Datenübertragungsfehler zwischen der Last (3) und dem Mikrocontroller (1), der durch die Last (3) erkannt wird, ändert und wobei das Schaltmodul (4) veranlasst wird, den Mikrocontroller (1) weiterhin mit der Betriebsspannung zu versorgen, wenn der Spannungspegel des Benachrichtigungs-Anschlusses (31) nicht verändert wurde, oder einen nächsten Schritt auszuführen, wenn der Spannungspegel des Benachrichtigungs-Anschlusses (31) geändert wurde; Schritt 3 (502): Empfangen der Veränderung des Spannungspegels des Benachrichtigungs-Anschlusses (31), wobei der Stromversorgungs-Zustand des Schaltmoduls (4) geschaltet wird, um eine Versorgung des Mikrocontrollers (1) mit der Betriebsspannung zu unterbrechen um zu veranlassen, dass der Mikrocontroller (1) seinen Betrieb abbricht; und Schritt 4 (503): Erkennen mittels des Steuerungs-Anschluss (41), ob die Last (3) den Spannungspegel des Benachrichtigungs-Anschlusses (31) in Antwort darauf, dass der Mikrocontroller (1) seinen Betrieb abgebrochen hat, wieder ändert und Schalten des Stromversorgungs-Zustands des Schaltmoduls (4), um den Mikrocontroller (1) wieder mit der Betriebsspannung zu versorgen, wenn die Änderung des Spannungspegels des Benachrichtigungs-Anschlusses (31) erkannt wird, um den Mikrocontroller (1) wieder zu aktivieren.A method of forcefully resetting a microcontroller, comprising the steps of: Step 1 ( 500 ): Provision of a switching module ( 4 ), wherein the switching module ( 4 ) is caused to receive an operating voltage from a power source to a microcontroller ( 1 ) with an operating voltage, and wherein a control connection ( 41 ) of the switching module ( 4 ) with a notification port ( 31 ) of a load ( 3 ) is connected; Step 2 ( 501 ): Activation of the microcontroller ( 1 ) to the microcontroller ( 1 ) with the load ( 3 ), whereby through the switching module ( 4 ) by means of the control connection ( 41 ) is detected, whether the load ( 3 ) a voltage level of the notification port ( 31 ) in response to a communication or data transmission error between the load ( 3 ) and the microcontroller ( 1 ), which by the load ( 3 ) is detected, changes and wherein the switching module ( 4 ) causes the microcontroller ( 1 ) continue to supply the operating voltage when the voltage level of the notification port ( 31 ), or to perform a next step if the voltage level of the notification port ( 31 ) was changed; Step 3 ( 502 ): Receiving the change in the voltage level of the notification port ( 31 ), wherein the power supply state of the switching module ( 4 ) is switched to supply the microcontroller ( 1 ) with the operating voltage to cause the microcontroller ( 1 ) breaks off his business; and Step 4 ( 503 ): Detected by the control port ( 41 ), whether the load ( 3 ) the voltage level of the notification port ( 31 ) in response to the microcontroller ( 1 ) has stopped operating, again changes and switching the power state of the switching module ( 4 ) to the microcontroller ( 1 ) to supply the operating voltage again when the change of the voltage level of the notification terminal ( 31 ) is detected to the microcontroller ( 1 ) again. Verfahren nach Anspruch 1, wobei Schritt 2 (501) des Weiteren den folgenden Unterschritt umfasst: die Last (3) wird veranlasst, in einen Kommunikationsfehler- bzw. Datenübertragungsfehler-Erkennungs-Modus einzutreten; und der Spannungspegel des Benachrichtigungs-Anschlusses (31) wird geändert, wenn die Last (3) einen Kommunikations- bzw. Datenübertragungsfehler in dem Kommunikationsfehler- bzw. Datenübertragungsfehler-Erkennungs-Modus erkennt.The method of claim 1, wherein step 2 ( 501 ) further comprises the substep of: the load ( 3 ) is caused to enter a communication error detection mode; and the voltage level of the notification port ( 31 ) is changed when the load ( 3 ) detects a communication error in the communication error detection mode. Verfahren nach Anspruch 2, wobei die Last (3) im Kommunikationsfehler- bzw. Datenübertragungsfehler-Erkennungs-Modus bewirkt, dass der Spannungspegel des Benachrichtigungs-Anschlusses (31) auf einem niedrigen Pegel verharrt, wenn erkannt wird, ob der Mikrocontroller (1) sich in einem normalen Betriebszustand befindet oder ausgeschaltet ist.Method according to claim 2, wherein the load ( 3 ) in the communication error detection mode causes the voltage level of the notification terminal ( 31 ) remains at a low level when it is detected whether the microcontroller ( 1 ) is in a normal operating state or is switched off. Verfahren nach einem der vorherigen Ansprüche, wobei das Schaltmodul (4) einen Erdungs-Anschluss (42), einen Stromverbindungs-Anschluss (44), der mit der Stromquelle verbunden ist, einen Stromversorgungs-Anschluss (43), der mit dem Mikrocontroller (1) verbunden ist, und eine Schalteinheit (45) umfasst, die entsprechend einem Erkennungs-Ergebnis des Steuerungs-Anschluss (41) entscheidet, ob mit dem Stromversorgungs-Anschluss (43) oder dem Erdungs-Anschluss (42) verbunden werden soll.Method according to one of the preceding claims, wherein the switching module ( 4 ) a ground connection ( 42 ), a power connection port ( 44 ), which is connected to the power source, a power supply connection ( 43 ) connected to the microcontroller ( 1 ), and a switching unit ( 45 ) corresponding to a detection result of the control port ( 41 ) decides whether to connect to the power supply 43 ) or the ground connection ( 42 ) should be connected. Verfahren nach einem der vorherigen Ansprüche, wobei Schritt 4 (503) den folgenden Unterschritt umfasst: Einstellen, dass die Last (3) eine Zurücksetzungs-Zeitdauer lang wartet, bevor erkannt wird, ob der Mikrocontroller (1) seinen Betrieb abbricht, um den Spannungspegel des Benachrichtigungs-Anschlusses (31) wieder zu ändern.Method according to one of the preceding claims, wherein step 4 ( 503 ) includes the following substep: setting the load ( 3 ) waits for a reset period before it is detected whether the microcontroller ( 1 ) aborts its operation to adjust the voltage level of the notification port ( 31 ) change again. Verfahren nach einem der vorherigen Ansprüche, wobei der Mikrocontroller (1) und die Last (3) in eine Stromversorgung eingebaut oder installiert sind, und wobei der Mikrocontroller (1) mit der Last (3) entsprechend einem Stromversorgungs-Bus (PMbus) kommuniziert bzw. Daten austauscht.Method according to one of the preceding claims, wherein the microcontroller ( 1 ) and the load ( 3 ) are installed or installed in a power supply, and wherein the microcontroller ( 1 ) with the load ( 3 ) communicates according to a power bus (PMbus) or exchanges data. Verfahren nach Anspruch 6, wobei die Stromquelle eine Notstrom-Ausgabeschleife (252) der Stromversorgung (2) ist, und wobei die Betriebsspannung eine Notstrom-Leistung Ersatzspannung ist, welche die Notstrom-Ausgabeschleife (252) dem Schaltmodul (4) bereitstellt.The method of claim 6, wherein the power source is an emergency power output loop ( 252 ) of the power supply ( 2 ), and wherein the operating voltage is an emergency power backup backup voltage that the emergency power output loop ( 252 ) the switching module ( 4 ).
DE102016106690.7A 2016-04-12 2016-04-12 Method for forcefully resetting a microcontroller Expired - Fee Related DE102016106690B3 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE102016106690.7A DE102016106690B3 (en) 2016-04-12 2016-04-12 Method for forcefully resetting a microcontroller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE102016106690.7A DE102016106690B3 (en) 2016-04-12 2016-04-12 Method for forcefully resetting a microcontroller

Publications (1)

Publication Number Publication Date
DE102016106690B3 true DE102016106690B3 (en) 2017-02-09

Family

ID=57854013

Family Applications (1)

Application Number Title Priority Date Filing Date
DE102016106690.7A Expired - Fee Related DE102016106690B3 (en) 2016-04-12 2016-04-12 Method for forcefully resetting a microcontroller

Country Status (1)

Country Link
DE (1) DE102016106690B3 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040207440A1 (en) * 2003-04-17 2004-10-21 Naysen Robertson Electrical circuit for controling another circuit or system
US20100095138A1 (en) * 2008-10-10 2010-04-15 Inventec Corporation Computer start-up timing control device and method thereof
US20150149792A1 (en) * 2013-11-28 2015-05-28 Inventec (Pudong) Technology Corporation Server system and controlling method for operation timing after being powered up

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040207440A1 (en) * 2003-04-17 2004-10-21 Naysen Robertson Electrical circuit for controling another circuit or system
US20100095138A1 (en) * 2008-10-10 2010-04-15 Inventec Corporation Computer start-up timing control device and method thereof
US20150149792A1 (en) * 2013-11-28 2015-05-28 Inventec (Pudong) Technology Corporation Server system and controlling method for operation timing after being powered up

Similar Documents

Publication Publication Date Title
DE102013015172A1 (en) Security system challenge-and-response procedure using a modified watchdog timer
DE102013103291A1 (en) Server cabinet and power control process for this
DE102008061034B3 (en) Arrangement comprising at least two power supply units and at least one power-consuming component, computer system and method for controlling an arrangement
DE102015003194A1 (en) Method and device for handling safety-critical errors
DE10231938A1 (en) Backup management system for computer system, generates backup control signal, when operating state signal of management processor is detected to be non-active
WO1985002475A1 (en) Process for monitoring electronic computing elements, particularly microprocessors
DE102013209058A1 (en) Control a fault-tolerant group of transducers
EP0543821B1 (en) Device for monitoring the functions of external synchronisation units in a multi-computer system
EP2159667B1 (en) Computer system and method for energy-efficient operation of a computer system
DE102016106690B3 (en) Method for forcefully resetting a microcontroller
EP2228723B1 (en) Method for error treatment of a computer system
EP1807760A2 (en) Data processing system with a variable clock speed
DE102015200862A1 (en) Electronic control unit
DE10312553B3 (en) Automobile with several control devices switched between active and inactive conditions and central monitoring control device providing watch-dog function
DE102018103286B4 (en) Computer system, operating method for a microcontroller and computer program product
EP2287742B1 (en) Program controlled unit
DE19624140A1 (en) System for transferring data
DE112020000249T5 (en) REASSIGNMENT OF REGULATOR PHASES WITHIN A PHASE REDUNDANT VOLTAGE REGULATOR DEVICE
DE102020203550A1 (en) Energy management device and energy management system
DE202012103506U1 (en) Module for determining the operating state of a power supply
EP3616027B1 (en) Method for controlling a low consumption mode of an electronic circuit unit, control device, and motor vehicle
EP2495636B1 (en) Method for operating an electric device comprising a mass storage device
DE102010019711B4 (en) Power supply circuit, computer system, method of automatically configuring a multi-phase voltage converter and computer program product
DE102017213687A1 (en) ELECTRONIC CONTROL UNIT
CH708109B1 (en) Uninterruptible Power Supply (UPS) for electronic devices.

Legal Events

Date Code Title Description
R012 Request for examination validly filed
R082 Change of representative

Representative=s name: 2K PATENTANWAELTE BLASBERG KEWITZ & REICHEL PA, DE

R016 Response to examination communication
R018 Grant decision by examination section/examining division
R020 Patent grant now final
R119 Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal fee