Voltage diagnostic circuit

The status signal of the voltage supply unit is read in through the serial input end of the microcontroller and stored in the shift register, which solves the problem of resource occupation and complexity in the existing technology and realizes the flexibility and reliability of voltage supply monitoring.

CN111602125BActive Publication Date: 2024-08-23WAGO VERW GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201880085887.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-01-08
Filing Date
2018-12-17
Publication Date
2024-08-23
Estimated Expiration
2038-12-17

AI Technical Summary

Technical Problem

In the prior art, the microcontroller that monitors the voltage supply requires a separate diagnostic input pin to read in the status signal, resulting in increased resource usage and complexity.

Method used

The status signal is read through the serial input of the microcontroller, and a shift register is used to store and output the signal. This avoids a separate diagnostic input pin and enables reading of the status value without a time clock signal.

Benefits of technology

The circuit structure is simplified, microcontroller pins are saved, the flexibility and reliability of voltage supply monitoring are improved, the voltage status can be continuously monitored under adverse conditions, and the possibility of false identification is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111602125B_ABST
    Figure CN111602125B_ABST
Patent Text Reader

Abstract

A circuit for monitoring the output voltage of a voltage supply is shown. The circuit includes a microcontroller, a shift register and a diagnostic circuit for controlling a device. The microcontroller has an input for receiving serial output data of the shift register, wherein the input is connected to the serial output of the shift register. The diagnostic circuit is configured to diagnose the voltage supply and has a diagnostic output, which is connected to the data input of the shift register for inputting a diagnostic bit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a circuit for monitoring a voltage supply. Background Art

[0002] For monitoring the voltage supply, microcontrollers are known from the prior art which have a separate diagnostic input pin for connection to a diagnostic circuit, wherein the microcontroller is provided to read in and evaluate a status signal about the voltage supply provided by the diagnostic circuit via the separate diagnostic input pin. Summary of the invention

[0003] In this context, the present invention expands upon the prior art by eliminating the need for a separate diagnostic input pin as a microcontroller of the circuit according to the present invention for reading in the status signal provided by the diagnostic circuit. Instead, according to the present invention, the status signal is read in via a serial input of the microcontroller, wherein the serial input is connected to a serial output of a shift register. The shift register has at least one data input, which is connected to a diagnostic output of the diagnostic circuit for inputting the status signal.

[0004] Here, the term "serial input", as used in the specification and claims, is to be understood in particular as a terminal (or input pin) through which data can be read in successively with a certain time clock. Here, the term "serial output", as used in the specification and claims, is to be understood in particular as a terminal (or output pin) through which data can be read out successively with a certain time clock.

[0005] Furthermore, the term "shift register" as used in the description and claims is to be understood in particular as a circuit having a plurality of serially connected storage cells (e.g. flip-flops), whose storage content (e.g. 1 bit each) is shifted further by one storage cell per operating clock. Furthermore, the term "diagnostic circuit" as used in the description and claims is to be understood in particular as a circuit which checks the correctness of the function of the circuit or its prerequisites and signals detected actual or possible damage.

[0006] The data input is preferably a component of a parallel interface of the shift register.

[0007] The term “parallel interface” as used in the description and the claims is to be understood here in particular as an interface by which a plurality of (particularly mutually independent) signals can be sampled in parallel (and therefore in particular simultaneously).

[0008] Preferably, the data input of the shift register is provided for storing the diagnostic bit in a memory location whose content is output first during the serial output.

[0009] The term "diagnostic bit" as used in the description and claims is to be understood in particular as a signal that represents one of two different values, wherein these values ​​characterize the state of the voltage supply, for example, the voltage supply "not faulty" and the voltage supply "faulty". Furthermore, the expression "output first" as used in the description and claims is to be understood in particular as an output that occurs temporally before the output of another bit that is also stored in the shift register.

[0010] Preferably, the shift register is designed to apply a value corresponding to the diagnostic bit to an input of the microcontroller without applying a clock signal to a clock input of the shift register and / or to a logic voltage at the shift register.

[0011] The expression “no clock signal applied” used in the description and claims is to be understood in this context to mean, in particular, that there is no positive causal relationship between applying a value corresponding to the diagnostic bit at the input of the microcontroller and applying the clock signal.

[0012] Preferably, the circuit further comprises one or more sensors which are designed to be connected to the second voltage supply, wherein one or more data inputs of the shift register are connected to the one or more sensors for inputting sensor data.

[0013] The term “sensor” as used in the description and the claims is to be understood here in particular as a unit which is provided to derive an electrical signal from an environmental change, which electrical signal characterizes the environmental change within the range of measuring accuracy.

[0014] Preferably, the diagnostic circuit is designed to be connected to the second voltage supply.

[0015] The term “voltage supply” as used in the description and the claims is understood here to mean, in particular, a circuit which provides a (substantially) constant supply voltage or a supply voltage having a substantially constant effective value on the output side.

[0016] Preferably, the diagnostic circuit is designed to signal an undervoltage or overvoltage of the second voltage supply by means of a bit value.

[0017] The term “undervoltage / overvoltage” as used in the description and claims is to be understood as meaning, in particular, a voltage, which or its effective value falls below or exceeds a predetermined threshold value, which is below or above a nominal value.

[0018] The microcontroller according to the invention (or a circuit comprising a microcontroller, which may include some or all of the aforementioned elements) can further be used in a method for monitoring the output voltage of a voltage supply. For example, it can be monitored (via a diagnostic circuit) whether the output voltage is within a rated voltage range and a bit value representing the result of the sign is written into a read position of a shift register, which can be read first by the microcontroller via a serial interface of the shift register.

[0019] The term “microcontroller” as used in the description and claims is to be understood here in particular as an integrated circuit which comprises a processor and whose housing has a plurality of connection pins assigned to inputs for connecting the microcontroller to other circuit parts.

[0020] A voltage representing the bit value stored in the first read position of the shift register can be continuously applied to a signal line connected to the serial interface, which connects the microcontroller to the shift register, so that the status value can be provided to the microcontroller even without a clock signal.

[0021] For example, the signal line can be connected to a connection pin of the microcontroller housing (if necessary via a potential isolation device, such as an optocoupler), so that the level given on the signal line during the read pause and corresponding to the diagnostic bit value is continuously available (in updated form) via the serial input of the microcontroller and can be read in and evaluated by the microcontroller at any time to check the supply voltage.

[0022] The method may further comprise controlling a device based on measurement data read from the shift register, wherein the measurement data is generated by a sensor at which the output voltage or a (generated) voltage derived from the output voltage is applied.

[0023] The term "device" as used in the description and claims is understood here in particular to mean an automation system which includes sensors and actuators which are supplied with a local power supply, for example 24 V. The possibility of checking the supply voltage thus allows the identification of situations in which measurement data were made under unfavorable conditions and are therefore (possibly) more likely to be incorrect. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The invention is explained below in the detailed description using exemplary embodiments, with reference to the accompanying drawings, in which:

[0025] Figure 1 is a block diagram of an example circuit for monitoring an output voltage of a voltage supply;

[0026] Figure 2a According to the first example Figure 1A schematic diagram of a voltage variation curve at a selected input terminal / output terminal in an exemplary circuit of;

[0027] Figure 2b According to the second example Figure 1 A schematic diagram of a voltage variation curve at a selected input terminal / output terminal in an exemplary circuit of;

[0028] Figure 2c Based on another example Figure 1 A schematic diagram of signals at selected input / output terminals in an exemplary circuit of;

[0029] Figure 3 yes Figure 1 A block diagram of additional components of an example circuit;

[0030] Figure 4 yes Figure 3 block diagrams of additional elements of example circuits; and

[0031] Figure 5 This is a flow chart for monitoring the output voltage of a voltage supply unit.

[0032] Here, the same elements in the figures are denoted by the same reference numerals. DETAILED DESCRIPTION

[0033] Figure 1 1 is a block diagram of an example circuit 10 for monitoring the output voltage of a voltage supply 12. The circuit 10 includes a circuit for controlling a device ( Figure 1 The microcontroller 14 (not shown), a plurality of shift registers 16a-16c and a diagnostic circuit 18. The diagnostic circuit 18 is used to monitor the undervoltage of the output voltage U1 of the voltage supply unit 12 (for example, a 24V field power supply). Figure 2a and 2b As shown, the output voltage U1 of the voltage supply unit 12 drops to the threshold value U GRENZ Thereafter, diagnostic circuit 18 signals this at diagnostic output 22 by a change in the status signal (for example, by a change in the level of the status signal).

[0034] The diagnostic output 22 of the diagnostic circuit 18 is connected to the data input D7 of the shift register 16a for inputting diagnostic bits. The microcontroller 14 has an input for receiving the serial output data of the shift registers 16a-16c, wherein the input is connected to the serial output Q7 of the shift register 16a via an (optional) potential isolation device 24 (e.g., an optocoupler or a digital isolator). Thus, the status signal can be read in as a diagnostic bit via the shift register 16a and the serial input of the microcontroller 14.

[0035] For example (such as Figure 2a and 2b ), an undervoltage (U1 < U1 ) can be signaled by outputting a certain logic level, for example by outputting a low level or a high level at the diagnostic output 22. GRENZ ). Furthermore, the diagnostic circuit 18 is not limited to identifying an undervoltage. For example, instead of monitoring the undervoltage of the output voltage U1 or in addition to monitoring the undervoltage of the output voltage, the diagnostic circuit 18 can be configured to monitor the overvoltage of the output voltage U1. Furthermore, if the diagnostic circuit 18 is configured to monitor the undervoltage and overvoltage of the output voltage U1, a status signal can be output, the level of which signals whether an undervoltage or an overvoltage is present.

[0036] Furthermore, instead of a single status signal, two status signals may be output, wherein, for example, the level of the status signal is associated with the signal representation of an undervoltage and the level of the remaining status signal is associated with the signal representation of an overvoltage. Alternatively, the level of the status signal may signal whether an undervoltage or an overvoltage (or neither an undervoltage nor an overvoltage) is present and in the case of an undervoltage or an overvoltage, the level of the remaining status signal signals whether an undervoltage or an overvoltage is present. For example, the status signals may be output serially via the diagnostic output 22 or in parallel via two diagnostic outputs (not shown).

[0037] By outputting a low level for signaling a voltage supply problem (i.e. undervoltage or overvoltage), in an embodiment in which the supply voltage U2 (logic voltage) of the diagnostic circuit 18 is generated from the output voltage U1 of the monitored voltage supply 12 (via the voltage converter 20), it can be avoided that, in the event of a complete collapse of the output voltage U1, e.g. Figure 2a In the case of the case where, starting at time t4, a distorted status signal caused by the voltage drop is output at diagnostic output 22 of diagnostic circuit 18 .

[0038] However, it may also be advantageous to signal a voltage supply problem (ie undervoltage or overvoltage) by outputting a high level. For example, the (optional) potential isolation device 24 may be arranged to completely fail the voltage supply 12, e.g. Figure 2b In FIG. 2 , at time t4 , a high level is generated. When a high level is used to signal a voltage supply problem, a distorted transmission of the status signal level via the potential isolation device 24 caused by a voltage drop can be avoided.

[0039] Figure 2a For this purpose, Figure 1 Schematic diagram of the voltage profile at selected inputs / outputs of a circuit of FIG. 1 , wherein an undervoltage is signaled by the diagnostic circuit 18 by outputting a low level at the diagnostic output 22. Figure 2aIn the diagram shown in FIG. 1 , the output voltage U1 begins to drop at time t1. For example, the connection to the voltage supply 12 may have been interrupted. As long as the output voltage U1 is still at the critical voltage U GRENZ However, when the output voltage U1 drops to the critical voltage U GRENZ Thereafter, a low level is generated at the diagnostic output 22 of the diagnostic circuit 18 , which low level signals a problem with the voltage supply.

[0040] like Figure 2a As shown in FIG. 1 , a bit value (diagnostic bit) corresponding to the corresponding level of the status signal is stored at the first bit position of the shift register 16a connected to the diagnostic circuit 18. In addition, a level corresponding to the bit value stored at the first bit position is generated at the serial output terminal Q7 of the shift register 16a connected to the input terminal of the microcontroller 14. As a result, the diagnostic bit value is available to the microcontroller 14 (or allows monitoring by the microcontroller 14) without having to read the (complete) shift register 16a by the microcontroller 14. Since the status signal is continuously read in at the corresponding level of the LOAD signal, the bit value changes again at the time point t2, at which the output voltage U1 rises to a value exceeding the critical voltage U GRENZ As a result, it is also possible to signal to the microcontroller 14 that a (temporary) voltage supply problem has been overcome without the (complete) shift register 16 a having to be read by the microcontroller 14 .

[0041] Then, the shift register 16a connected to the input terminal of the microcontroller 14 can be read (in the case of LOAD level inversion) by applying the clock signal SCLK to the clock input terminal of the shift register 16a-16c. By applying the clock signal SCLK to the clock input terminal of the shift register 16a-16c, the data stored in the shift register 16a-16c is shifted in the clock of the clock signal SCLK along the shift direction to the serial output terminal Q7 connected to the input terminal of the microcontroller 14, so that the bit values ​​stored in the shift register 16a-16c are successively output through the serial output terminal Q7.

[0042] At time point t3, the output voltage U1 drops to the critical voltage U GRENZ Although it cannot be detected by the microcontroller 14 (in the embodiment shown); however, since the output voltage U1 is higher than the threshold voltage U GRENZ The data stored in the shift registers 16a-16c are detected at the time point of t3, so this does not cause problems with the integrity of the detected data. However, when the shift registers 16a-16c are powered by the voltage supply unit 12, the output voltage U1 drops to the critical voltage U1 at the time point t3.GRENZ The following may affect the functionality of the shift registers 16a-16c.

[0043] To take this into account, the (optional) potential isolation device 24 can be arranged to signal a complete drop in the output voltage U1 starting at the time t4 by outputting a quiescent level. This can be detected by the microcontroller 14, and the microcontroller 14 can be configured to output a (reversed) LOAD level that causes the read-in status signal in response to detecting the quiescent level, so that overcoming the voltage supply problem can be detected when the output voltage U1 returns.

[0044] Figure 2b Show Figure 1 1 is a schematic diagram of voltage profiles at selected inputs / outputs of a circuit of FIG. 1 , wherein an undervoltage is signaled by the diagnostic circuit 18 by outputting a high level at the diagnostic output 22. In this case, the potential isolation device 24 generates a high level at the MISO input of the microcontroller 14 at time t4, which signals a voltage supply problem to the microcontroller 14 when the SCLK signal stops.

[0045] Figure 2c According to another example, Figure 1 Schematic diagram of signals at selected inputs / outputs in an exemplary circuit of , wherein an erroneous output voltage U1 is signaled by the diagnostic circuit 18 by outputting a high level at the diagnostic output 22. In this case, at time t0, a normal operation is performed, in which there is no voltage supply problem and the data stored in the shift registers 16a-16c are read in via the MISO input of the microcontroller 14. The LOAD line is regularly serviced and the SCLK signal clocks the data into the microcontroller 14.

[0046] At time t1, the output voltage U1 is lower than the critical value U Grenz If the output voltage U1 is 24 V in standard operation, the critical value is, for example, 18 V. The logic supply (for example, a 3.3 V or 5 V logic supply) is generated from the output voltage U1 via a switching regulator / voltage converter. The logic supply can be generated from an output voltage U1 that is below the critical value UGrenz (without a fault), as long as this output voltage is above the voltage UMin.

[0047] After a certain processing time tSWCalc, the microcontroller 14 detects that the diagnostic bit (DIAG bit) in the data stream that signals the state of the output voltage U1 signals an erroneous output voltage U1 and regulates the data communication with the shift registers 16 a-16 c by no longer clocking the SCLK line by the microcontroller 14. The LOAD line is then kept at a static low level (it can also be a high level in another embodiment), so that the DIAG signal is switched statically to the MISO line.

[0048] The microcontroller 14 now continuously polls the MISO input and checks whether the DIAG bit or the status signal signals a return of the output voltage U1. Grenz , the DIAG bit changes its value "without error" to the output voltage U1. Since the microcontroller 14 continuously polls the port pin of the data input signal (MISO), the software recognizes that the output voltage U1 is again in the normal range. Data communication can then be resumed. This means that the LOAD signal can operate periodically again and the SCLK signal clocks the input data.

[0049] If the output voltage U1 completely collapses and falls below UMin, as at time t3, the microcontroller 14 detects this at the DIAG bit and regulates the data communication. The regular query of the port pins is then carried out as at time t1+SWCALC, with the only difference that the output voltage U1 completely collapses. This can be detected by the microcontroller 14 as a completely collapsed output voltage U1 in a corresponding circuit design.

[0050] For example, the potential isolation device 24 can have a digital isolator, which permanently outputs a fixed level on the microcontroller side when the output voltage U1 completely collapses. The fixed level can correspond exactly to the level that represents the erroneous output voltage U1. As soon as the output voltage U1 is restored again at the time t4, the DIAG bit again signals the correct state of the output voltage U1.

[0051] Therefore, before and after the clock signal SCLK is applied, the diagnostic bit value can be output through the serial output terminal Q7, and during the application of the clock signal SCLK, the output data stored in the shift registers 16a-16c can be continuously output through the serial output terminal Q7. However, in another embodiment, the shift register 16a can be designed so that the reading of the diagnostic bit value is caused only by applying the clock signal SCLK, so that the diagnostic bit value is not output through the serial output terminal Q7 before and after the clock signal SCLK is applied.

[0052] In addition, the bit values ​​corresponding to the respective levels of the status signal can also be stored at another bit position different from the first bit position of the shift register 16a connected to the diagnostic circuit 18. In addition, the shift registers 16a-16c can have two shift directions and the reading and output of data are performed through the shift registers 16a-16c.

[0053] Figure 3 Show Figure 1 A block diagram of additional components of an example circuit 10. In particular, Figure 3 A sensor circuit 26 is shown, which comprises one or more sensors and a plurality of parallel outputs for providing measurement data. The outputs of the sensor circuit 26 are connected to the parallel inputs D0-D7 of the shift registers 16a-16c. Thus, the sensor data can be loaded into the shift registers 16a-16c in parallel. The sensor circuit 26 is also powered by the voltage supply 12. If an undervoltage or overvoltage occurs, the function of the sensor circuit 26 may be affected and therefore no sensor data can be provided or incorrect sensor data is provided.

[0054] This problem can be mitigated by providing a diagnostic bit value (or multiple diagnostic bit values), as long as the microcontroller 14 can reduce the risk of using incorrect data by analyzing a diagnostic bit value (or multiple diagnostic bit values) and discarding the (possibly) involved sensor data when an undervoltage or overvoltage occurs. For example, when an undervoltage or overvoltage occurs, the microcontroller 14 can make the sensor data trustworthy, use sensor data from a redundant sensor circuit (not shown), or stop a process controlled based on the sensor data.

[0055] Figure 4 Show Figure 3 A block diagram of additional components of the example circuit 10 is shown. In particular, in addition to Figure 3 In addition to the sensor circuit 26 shown in FIG. Figure 4 Also shown is an actuator circuit 28 which is likewise supplied by the voltage supply 12. The sensor circuit 26 and the actuator circuit 28 are part of a device 30 which is controlled by the microcontroller 14. For example, the microcontroller 14 controls one or more actuators of the actuator circuit 28 based on sensor data of the sensor circuit 26. Here, one or more actuators of the actuator circuit 28 can be included in a process influenced / controlled by the actuator. For example, when an undervoltage is detected, the microcontroller 14 can stop the actuator or switch it to a predetermined state in order to avoid a possible uncontrolled (undesired) state of the device 30.

[0056] Figure 51 shows a flow chart for monitoring the output voltage of the voltage supply 12. At 32, the output voltage of the voltage supply 12 is monitored to see whether it is in the rated voltage range. At 34, a bit value representing the sign of the monitoring result is written into the first read position of the shift register 16a, which is read by the microcontroller 14 via the serial interface Q7 of the shift register 16a. Writing the bit value into the first read position of the shift register 16a can be performed without the clock of the shift register 16a.

[0057] In order to transmit the monitoring results to the microcontroller 14, it is possible here as in Figure 1 , 3 As shown in FIG4, an I / O transmission link is used, which is operated via a serial synchronous interface. Here, the I / O transmission link can control shift registers 16a-16c configured as parallel-serial converters, which are operated on the field side and supplied via a logic supply U2 on the field side, wherein the logic supply U2 on the field side can be generated from (field voltage of 24V) U1. In addition, the logic supply U2 can also be generated by a voltage of a logic potential.

[0058] U1 and U2 can be monitored for undervoltage and overvoltage by the diagnostic circuit 18. Based on this monitoring, the diagnostic circuit 18 generates a state signal which corresponds, for example, to a low level when the supply voltage U1 / U2 is fault-free and, for example, to a high level when the supply voltage U1 / U2 is faulty, wherein the opposite behavior is also possible.

[0059] Via the shift register 16a designed as a parallel-serial converter, the status signal can be read in at logic level and further processed by the microcontroller (or microcontrollers) 14. In this case, the status signal can be written to the first bit position of the parallel-serial converter, whereby the diagnostic bit is the first bit read in by the microcontroller (or microcontrollers) 14 during the clock cycle of the I / O transmission link.

[0060] If Figure 2a-2c As shown, the parallel-serial converter is structured such that, even without the clock of the I / O transmission link, the signal state of the connection pin for the first bit is also output to the serial output terminal Q7, so that the state signal can be read in even without the clock of the transmission link. Thus, the state of the voltage supply unit 12 (field power supply) can be queried and checked by simply querying the signal state on the corresponding connection pin (MISO) of the microcontroller 14 and without the operation of the serial synchronous interface (that is, without the clock) and returning it.

[0061] In addition, optocouplers / digital isolators and terminal / port pins on the microcontroller 14 can be saved because the optical couplers / digital isolators and terminal / port pins that would otherwise be needed (such as the optical couplers) are used on the port expander instead of on the microcontroller 14. Figure 3 and Figure 4 Furthermore, port expander enlargement (by adding another shift register 16) is possible at any time, whereas the number of microcontroller pins is usually limited.

[0062] If the circuit 10 is part of a safety-related system, a dual-channel structure of the hardware may be required due to standard requirements. In particular, the system may include two microcontrollers 14, two I / O transmission links and two diagnostic circuits 18.

[0063] Reference numerals list

[0064] 10 Circuit

[0065] 12 Voltage supply unit

[0066] 14 Microcontroller

[0067] 16 Shift register

[0068] 18 Diagnostic circuit

[0069] 20 Voltage Converter

[0070] 22 Diagnostic output

[0071] 24 Potential isolation device

[0072] 26 Sensor circuit

[0073] 28 Actuator circuit

[0074] 30 Equipment

[0075] 32 Process Steps

[0076] 34 Process Steps

Claims

1. A circuit (10), comprising: a microcontroller (14) for controlling the device; ShiftRegister(16); and Diagnostic circuit (18); in The microcontroller (14) is designed to be connected to a first voltage supply and has an input (MISO) for receiving serial output data of the shift register (16), wherein the input (MISO) is connected to the serial output of the shift register (16). The shift register has at least one data input terminal (D7), The diagnostic circuit (18) is designed to diagnose the second voltage supply (12), and a diagnostic output (22) of the diagnostic circuit (18) is connected to a data input (D7) of the shift register (16) to input a diagnostic bit.

2. The circuit (10) according to claim 1, wherein the data input (D7) is a component of a parallel interface of the shift register (16).

3. The circuit (10) according to claim 1, wherein the data input terminal (D7) of the shift register (16) is configured to store the diagnostic bit in a storage location, the content of which is output first during the serial output.

4. The circuit (10) according to claim 2, wherein the data input terminal (D7) of the shift register (16) is configured to store the diagnostic bit in a storage location, the content of which is output first during the serial output.

5. A circuit (10) according to claim 3, wherein the shift register (16) is configured to apply the value corresponding to the diagnostic bit to the input (MISO) of the microcontroller (14) without applying a clock signal (SCLK) to the clock input of the shift register (16) and / or to a logic voltage on the shift register (16).

6. A circuit (10) according to claim 4, wherein the shift register (16) is configured to apply the value corresponding to the diagnostic bit to the input (MISO) of the microcontroller (14) without applying a clock signal (SCLK) to the clock input of the shift register (16) and / or to a logic voltage on the shift register (16).

7. The circuit (10) according to any one of claims 1 to 6, further comprising: one or more sensors, the sensors being configured to be connected to the second voltage supply (12); in One or more data input terminals of the shift register (16) are connected to the one or more sensors for inputting sensor data.

8. The circuit (10) according to claim 1, wherein the diagnostic circuit (18) is designed to be connected to a second voltage supply (12).

9. The circuit (10) according to claim 8, wherein the diagnostic circuit (18) is configured to signal an undervoltage or overvoltage of the second voltage supply (12) by means of a bit value.

10. A method for monitoring an output voltage (U1) of a voltage supply unit (12), comprising: Monitor whether the output voltage (U1) is within the rated voltage range; and The monitoring result is represented by a signal to a microcontroller (14); Features: A bit value representing the sign of the result is written into a read position of a shift register (16), which is first read by the microcontroller (14) via the serial interface of the shift register (16).

11. The method according to claim 10, further comprising: A voltage representing the bit value stored in a first read position of the shift register (16) is continuously applied to a signal line connected to the serial interface, the signal line connecting the microcontroller (14) to the shift register (16).

12. The method according to claim 10 or 11, further comprising: controlling a device (30) based on the measurement data read from the shift register (16); wherein The measurement data are generated by a sensor, to which an output voltage (U1) or a voltage derived from the output voltage (U1) is applied.