The present invention relates to the field of safety in electronic control systems, in particular for vehicles with combustion engine, electrical engine or both (hybrid vehicles). More specifically, the present invention relates to methods, devices and computer programs for verifying a function of a power supply monitor in a digital control system, wherein the power supply monitor is adapted to monitor whether or not a power supply voltage is in a desired range between a lower threshold value and an upper threshold value.
In order to get ASIL D (Automotive Safety Integrity Level D) ranking, which is the highest level of safety in automotive applications), for functional safety integrated circuits, all common cause failures must be monitored. Power supplies are one of the usual common cause failures, including a digital power supply block. Since the digital power supply block operates properly only between a minimum voltage and a maximum voltage, and it must manage all operations (such as wake-up, power supply management, data processing, etc . . . ), its supply monitoring is safety related. Hence, the power supply monitoring needs to be verified from time to time in order to detect a malfunction and react by moving the Integrated Circuit (IC) into a safe state (e.g. performing a reset).
Detection of a malfunction in the power supply monitoring can be avoided by utilizing monitoring redundancy, i.e. by having two or more redundant monitoring units. However, such redundancy costs die size and current consumption.
There may thus be a need for a simple and reliably way of verifying the power supply monitoring without the drawbacks caused by monitor redundancy.
This need may be met by the subject matter according to the independent claims. Advantageous embodiments of the present invention are set forth in the dependent claims.
According to a first aspect, there is provided a method of verifying a function of a power supply monitor in a digital control system, wherein the power supply monitor is adapted to monitor whether or not a power supply voltage is between a lower threshold value and an upper threshold value (i.e. within an operating range delimited by the lower and upper threshold values). The digital control system may in particular be a digital vehicle control system. The method comprises (a) setting the power supply voltage to a first value, the first value being below the lower threshold value, (b) checking, as a first check, that the power supply monitor indicates that the power supply voltage is below the lower threshold value, (c) setting the power supply voltage to a second value, the second value being above the lower threshold value and below the upper threshold value, (d) checking, as a second check, that the power supply monitor indicates that the power supply voltage is above the lower threshold value, and (e) verifying the function of the power supply monitor if both the first check and the second check are successful.
This aspect is based on the idea that the power supply is controlled to first provide a voltage (first value) below the lower threshold value and then, after checking that the output from the power supply monitor indicates a low supply voltage, to provide a voltage (second value) above the lower threshold value. If this increase (from the first value to the second value) in the power supply voltage causes the output from the power supply monitor to switch accordingly (i.e. from indicating a low voltage to indicating a proper voltage), then the ability of the power supply monitor to detect whether the supply voltage is below or above the lower threshold value has been verified.
This simple verification process may be performed on a regular basis, e.g. when starting and stopping a vehicle (at the beginning or end of a ride) or even during use, e.g. when stopping the vehicle at a red light. Furthermore, the verification process may also be performed before or during a battery charging operation.
The method according to this aspect provides a simple and reliably way of verifying the function of the power supply monitor, in particular with regard to the lower threshold value, without utilizing redundancy.
According to an embodiment, the method further comprises resetting the digital control system and/or issuing an error message if at least one of the first check and the second check is not successful. In the case of an error message, this will usually be issued by a main control system upon becoming aware of the failed verification.
If one or both of the first and second checks is/are not successful, the power supply monitor does not function properly. In this case, at least one of the actions of resetting the digital control system and issuing an error message is performed. By resetting the control system, the vehicle is put in a safe state or operational mode or it may even be prevented from starting. An error message is useful for the vehicle owner in order to take appropriate action to get the vehicle back in a fully functional state.
According to a further embodiment, the first value is larger than a minimum safe operating voltage of the digital control system.
In other words, the first value is below the lower threshold value but above the minimum safe operating voltage. Thus, although the first value is outside of the operating voltage range defined by the lower and upper threshold values, the control system will be able to operate when the supply voltage is set to the first value.
The second value is preferably within the operating range defined by the lower and upper threshold values.
According to a further embodiment, the first value is 1.9 V and/or the second value is 2.5 V.
According to a further embodiment, the lower threshold value is 2.0 V and/or the upper threshold value is 2.6 V.
According to a further embodiment, the method further comprises (a) setting the power supply voltage to a third value, the third value being above the upper threshold value, (b) checking, as a third check, that the power supply monitor indicates that the power supply voltage is above the upper threshold value, (c) setting the power supply voltage to a fourth value, the fourth value being below the upper threshold value and above the lower threshold value, and (d) checking, as a fourth check, that the power supply monitor changes to indicate that the power supply voltage is below the upper threshold value, wherein the function of the power supply monitor is verified if, in addition to the first check and the second check, also the third check and the fourth check are successful.
In this embodiment, the ability of the power supply monitor to properly detect whether the supply voltage is below or above the upper threshold value is also verified. More specifically, the power supply is controlled to first provide a voltage (third value) above the upper threshold value and then, after checking that the output from the power supply monitor indicates a high supply voltage, to provide a voltage (fourth value) below the upper threshold value. If this decrease (from the third value to the fourth value) in the power supply voltage causes the output from the power supply monitor to switch accordingly (i.e. from indicating a high voltage to indicating a proper voltage), then the ability of the power supply monitor to detect whether the supply voltage is below or above the upper threshold value has been verified.
The method according to this embodiment is also capable of verifying the function of the power supply monitor with regard to the upper threshold value without utilizing redundancy.
According to a further embodiment, the method further comprises resetting the digital control system and/or issuing an error message if at least one of the first check, the second check, the third check, and the fourth check is not successful.
If one or more of the first to fourth checks is/are not successful, the power supply monitor does not function properly. In this case, at least one of the actions of resetting the digital control system and issuing an error message is performed. By resetting the control system, the vehicle is put in a safe state or operational mode or it may even be prevented from starting. An error message is useful for the vehicle owner in order to take appropriate action to get the vehicle back in a fully functional state.
According to a further embodiment, the third value is less than a maximum safe operating voltage of the digital control system.
In other words, the third value is above the upper threshold value but below the maximum safe operating voltage. Thus, although the third value is outside of the operating voltage range defined by the lower and upper threshold values, the control system will be able to operate when the supply voltage is set to the third value.
The fourth value is preferably within the operating range between the lower and upper threshold values. The fourth value may be equal to the second value.
According to a further embodiment, the digital control system is ASIL D (Automotive Safety Integrity Level D) compliant.
According to a further embodiment, the power supply monitor comprises (a) an undervoltage monitoring unit configured to compare the power supply voltage with the lower threshold value and to output a signal indicative of whether the power supply voltage is below or above the lower threshold value, and (b) at least one overvoltage monitoring unit configured to compare the power supply voltage with the upper threshold value and to output a signal indicative of whether the power supply voltage is below or above the upper threshold value.
In other words, the power supply monitor comprises at least two monitoring units: an undervoltage monitoring unit for monitoring voltage fluctuations around the lower threshold value, and an overvoltage monitoring unit for monitoring voltage fluctuations around the upper threshold value. Each of these units preferably outputs a binary value indicating whether the supply voltage is above or below the respective threshold value.
According to a second aspect, there is provided a device for verifying a function of a power supply monitor in a digital control system, wherein the power supply monitor is adapted to monitor whether or not a power supply voltage is between a lower threshold value and an upper threshold value (i.e. within an operating range delimited by the lower and upper threshold values). The digital control system may in particular be a digital vehicle control system. The device comprises a controller in communication with a power supply voltage regulator and the power supply monitor, wherein the controller is configured to (a) send a first control signal to the power supply voltage regulator to set the power supply voltage to a first value, the first value being below the lower threshold value, (b) check, as a first check, that a first feedback signal received from the power supply monitor indicates that the power supply voltage is below the lower threshold value, (c) send a second control signal to the power supply voltage regulator to set the power supply voltage to a second value, the second value being above the lower threshold value and below the upper threshold value, (d) check, as a second check, that a second feedback signal received from the power supply monitor indicates that the power supply voltage is above the lower threshold value, and (e) verify the function of the power supply monitor if both the first check and the second check are successful.
This aspect is essentially based on the same idea as the first aspect discussed above and provides a device capable of implementing and performing the method according to the first aspect. The device may perform the simple verification process on a regular basis, e.g. when starting and stopping a vehicle (at the beginning or end of a ride) or even during use, e.g. when stopping at a red light.
The device according to this embodiment is also capable of verifying the function of the power supply monitor, in particular with regard to the lower threshold value, without utilizing redundancy.
According to a further embodiment, the controller is further configured to reset the digital control system and/or issue an error message if at least one of the first check and the second check is not successful. In the case of an error message, this will usually be issued by a main control system upon becoming aware of the failed verification.
If one or both of the first and second checks is/are not successful, the power supply monitor does not function properly. In this case, at least one of the actions of resetting the digital control system and issuing an error message is performed. By resetting the control system, the vehicle is put in a safe state or operational mode or it may even be prevented from starting. An error message is useful for the vehicle owner in order to take appropriate action to get the vehicle back in a fully functional state.
According to a further embodiment, the first value is larger than a minimum safe operating voltage of the digital control system.
In other words, the first value is below the lower threshold value but above the minimum safe operating voltage. Thus, although the first value is outside of the operating voltage range defined by the lower and upper threshold values, the control system will be able to operate when the supply voltage is set to the first value.
According to a further embodiment, the first value is 1.9 V and/or the second value is 2.5 V, and/or the lower threshold value is 2.0 V and/or the upper threshold value is 2.6 V.
According to a further embodiment, the controller is further configured to (a) send a third control signal to the power supply voltage regulator to set the power supply voltage to a third value, the third value being above the upper threshold value, (b) check, as a third check, that a third feedback signal received from the power supply monitor indicates that the power supply voltage is above the upper threshold value, (c) send a fourth control signal to the power supply voltage regulator to set the power supply voltage to a fourth value, the fourth value being below the upper threshold value and above the lower threshold value, and (d) check, as a fourth check, that a fourth feedback signal received from the power supply monitor indicates that the power supply voltage is below the upper threshold value, wherein the function of the power supply monitor is verified if, in addition to the first check and the second check, also the third check and the fourth check are successful.
In this embodiment, the device also verifies the ability of the power supply monitor to properly detect whether the supply voltage is below or above the upper threshold value. More specifically, the power supply is controlled to first provide a voltage (third value) above the upper threshold value and then, after checking that the output from the power supply monitor indicates a high supply voltage, to provide a voltage (fourth value) below the upper threshold value. If this decrease (from the third value to the fourth value) in the power supply voltage causes the output from the power supply monitor to switch accordingly (i.e. from indicating a high voltage to indicating a proper voltage), then the ability of the power supply monitor to detect whether the supply voltage is below or above the upper threshold value has been verified.
The device according to this embodiment is also capable of verifying the function of the power supply monitor with regard to the upper threshold value without utilizing redundancy.
According to a further embodiment, the controller is further configured to reset the digital control system and/or issue an error message if at least one of the first check, the second check, the third check, and the fourth check is not successful.
If one or more of the first to fourth checks is/are not successful, the power supply monitor does not function properly. In this case, at least one of the actions of resetting the digital control system and issuing an error message is performed. By resetting the control system, the vehicle is put in a safe state or operational mode or it may even be prevented from starting. An error message is useful for the vehicle owner in order to take appropriate action to get the vehicle back in a fully functional state.
According to a further embodiment, the third value is less than a maximum safe operating voltage of the digital control system.
In other words, the third value is above the upper threshold value but below the maximum safe operating voltage. Thus, although the third value is outside of the operating voltage range defined by the lower and upper threshold values, the control system will be able to operate when the supply voltage is set to the third value.
The fourth value is preferably within the operating range, i.e. between the lower and upper threshold values. The fourth value may be equal to the second value.
According to a further embodiment, the digital control system is ASIL D (Automotive Safety Integrity Level D) compliant.
According to a further embodiment, the power supply monitor comprises (a) an undervoltage monitoring unit configured to compare the power supply voltage with the lower threshold value and to output a signal indicative of whether the power supply voltage is below or above the lower threshold value, and (b) at least one overvoltage monitoring unit configured to compare the power supply voltage with the upper threshold value and to output a signal indicative of whether the power supply voltage is below or above the upper threshold value.
In other words, the power supply monitor comprises at least two monitoring units: an undervoltage monitoring unit for monitoring voltage fluctuations around the lower threshold value, and an overvoltage monitoring unit for monitoring voltage fluctuations around the upper threshold value. Each of these units preferably outputs a binary value indicating whether the supply voltage is above or below the respective threshold value.
According to a third aspect, there is provided a computer program comprising computer executable instructions which, when executed by a computer, causes the computer to perform a method of verifying a function of a power supply monitor in a digital control system, wherein the power supply monitor is adapted to monitor whether or not a power supply voltage is between a lower threshold value and an upper threshold value. The method comprises (a) setting the power supply voltage to a first value, the first value being below the lower threshold value, (b) checking, as a first check, that the power supply monitor indicates that the power supply voltage is below the lower threshold value, (c) setting the power supply voltage to a second value, the second value being above the lower threshold value and below the upper threshold value, (d) checking, as a second check, that the power supply monitor indicates that the power supply voltage is above the lower threshold value, and (e) verifying the function of the power supply monitor if both the first check and the second check are successful.
This aspect is essentially based on the same idea as the first and second aspects described above and provides a computer program capable of implementing and performing the method according to the first aspect.
It should be noted that embodiments of the invention have been described with reference to different subject matters. In particular, some embodiments have been described with reference to method type claims whereas other embodiments have been described with reference to apparatus type claims. However, a person skilled in the art will gather from the above and the following description that, unless otherwise indicated, in addition to any combination of features belonging to one type of subject matter also any combination of features relating to different subject matters, in particular a combination of features of the method type claims and features of the apparatus type claims, is also disclosed with this document.
The aspects defined above and further aspects of the present invention will be apparent from the examples of embodiment to be described hereinafter and are explained with reference to the examples of embodiment. The invention will be described in more detail hereinafter with reference to examples of embodiment to which the invention is, however, not limited.
The illustration in the drawing is schematic. It is noted that in different figures, similar or identical elements are provided with the same reference signs or with reference signs, which differ only within the first digit.
In order to get functional digital block operation, both junction temperature and digital block power supply must be within certain (minimum and maximum) limits. These limits depend on the particular technology, especially with regard to the power supply voltage.
The goal of the power management IC function is to guarantee that the digital block will operate only within this rectangular safe operating area SOA. This may involve a voltage monitor with an undervoltage monitor and an overvoltage monitor. It follows that the undervoltage monitor must have its lower limit set somewhat above the minimum supply voltage Vmin (1.8 V in this example). Similarly, the overvoltage monitor must have its upper limit lower set somewhat below the maximum supply voltage Vmax (2.85 V in this example). To meet all these requirements, the power management sequencer needs to supply the digital block within a certain voltage range to avoid occurrence of wrong under or overvoltage monitoring.
One way of obtaining ASIL D compliance is (as mentioned in the introduction) to use redundancy, i.e. several undervoltage monitors and several overvoltage monitors to allow detection of latent faults in the monitoring functions. However, the present invention provides a different solution that is capable of reliably detecting a power supply voltage monitoring malfunction without the increased die size and additional power consumption of the redundancy-based solution.
The method 300 begins at 310 where the supply voltage VDDD 222 is to a first value V1 which is below the lower threshold value. As will be further explained, the lower threshold value is a voltage value somewhat above the minimum operating voltage Vmin. Referring back to
Then, at 320, a first check is performed by checking that the power supply monitor 230, more specifically the signal 232 from the undervoltage monitor UV in
At 330, the supply voltage VDDD 222 is set to a second value V2 which is within the safe operating range between the lower threshold value and the upper threshold value. In particular, the second value V2 may correspond to the supply voltage desired for operation.
Then, at 340, a second check is performed by checking that the power supply monitor 230, more specifically the signal 232 from the undervoltage monitor UV in
Thanks to this solution which combines a programmable VDDD output voltage regulator 220 and an Active mode digital block UV monitor having its output connected to the sleep mode digital block 210, any failure of the UVN monitor can be detected and registered. Moreover, the active mode digital block 240 will be unpowered in case of failure, which is a safe state. Thus, an effective way of assuring ASIL D compliance without space and power consuming redundancy has been obtained.
It should be noted that although the specific examples shown in the Figures and discussed above only verifies the function of the undervoltage monitoring unit UV of the power supply monitor 230, the redundant overvoltage monitoring units OV1, OV2 shown in
It is noted that, unless otherwise indicated, the use of terms such as “upper”, “lower”, “left”, and “right” refers solely to the orientation of the corresponding drawing.
It is noted that the term “comprising” does not exclude other elements or steps and that the use of the articles “a” or “an” does not exclude a plurality. Also elements described in association with different embodiments may be combined. It should also be noted that reference signs in the claims should not be construed as limiting the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
20290063.5 | Sep 2020 | EP | regional |