Monitoring circuit, semiconductor integrated circuit device, and vehicle
By using oscillators, frequency dividers and counters in the monitoring circuit, combined with determination and identification components, the problem of being unable to determine clock signal abnormalities is solved, clock signal switching and fault detection under abnormal conditions are realized, and system stability is enhanced .
Patent Information
- Application Number
- CN202280092882.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-01
- Filing Date
- 2022-12-09
- Publication Date
- 2024-10-15
AI Technical Summary
The existing monitoring circuit cannot determine which clock signal of the two oscillators is abnormal, resulting in the inability to determine which clock signal should be used for protection operation under abnormal circumstances.
A monitoring circuit is designed, which can determine which of the two clock signals is in an abnormal state by using the first and second oscillators, frequency dividers and counters, combined with the determination and identification components, and select the normal clock signal for use.
It achieves correct identification and switching when abnormal conditions are determined in two clock signals, ensuring that even if one clock signal is abnormal, the normal clock signal can continue to be used, which enhances the stability and fault detection capabilities of the system.
Smart Images

Figure CN118786402A_ABST
Abstract
Description
Technical Field
[0001] The invention disclosed in this specification relates to a monitoring circuit, and to a semiconductor integrated circuit device and a vehicle each including the monitoring circuit. Background Art
[0002] In the field of vehicle-mounted devices, it has been required to monitor the operating status of ICs (integrated circuits) and perform protection operations for abnormalities when abnormalities occur. In addition, especially in products that are required to achieve standardized functional safety levels such as ISO 26262, it is not only desired to simply perform protection operations when abnormalities occur, but also to maintain operations even when abnormalities occur.
[0003] As a circuit for performing abnormal monitoring, a circuit operating based on a clock signal output from an oscillator is generally used. Therefore, in the case where the oscillator stops abnormally, it is no longer possible to perform abnormal monitoring and thus perform a protection operation or a maintenance operation. Therefore, it is extremely critical to maintain the operation of the oscillator.
[0004] Prior art literature
[0005] Patent Literature
[0006] Patent Document 1: Japanese Patent Application Publication No. 2020-190828 ( Figure 5 ) Summary of the invention
[0007] Problems to be solved by the invention
[0008] Patent document 1 proposes a monitoring circuit capable of performing mutual abnormality monitoring between two oscillators. The monitoring circuit proposed in Patent document 1 can monitor whether an abnormality has occurred in any one of the first clock signal and the second clock signal. However, the monitoring circuit proposed in Patent document 1 cannot monitor in which of the first clock signal and the second clock signal the abnormality has occurred. Therefore, when an abnormality occurs in any one of the first clock signal and the second clock signal, the monitoring circuit proposed in Patent document 1 cannot determine which of the first clock signal and the second clock signal should be used.
[0009] Means of solving problems
[0010] The monitoring circuit disclosed in the present specification includes: a first oscillator, the first oscillator is configured to output a first clock signal; a second oscillator, the second oscillator is configured to output a second clock signal; a first frequency divider, the first frequency divider is configured to divide the frequency of the first clock signal; a second frequency divider, the second frequency divider is configured to divide the frequency of the second clock signal; a first counter, the first counter is configured to count the number of clocks of the second clock signal with a first number of cycles of the first divided signal output from the first frequency divider; a second counter, the second counter is configured to count the number of clocks of the first clock signal with a second number of cycles of the second divided signal output from the second frequency divider; a determination unit, the determination unit is configured to determine whether an abnormality has occurred in any one of the first clock signal and the second clock signal based on the counting results of the first counter and the second counter; and an identification unit, the identification unit is configured to identify which one of the first clock signal and the second clock signal is in an abnormal state when an abnormality occurs in any one of the first clock signal and the second clock signal.
[0011] The semiconductor integrated circuit device disclosed in this specification includes the monitoring circuit having the above-mentioned structure.
[0012] The vehicle disclosed in this specification includes the monitoring circuit having the above-mentioned structure.
[0013] Effects of the Invention
[0014] According to the invention disclosed in this specification, it is possible to monitor in which of the first clock signal and the second clock signal an abnormality has occurred. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a view showing the structure of a monitoring circuit according to the first embodiment.
[0016] Figure 2 is a diagram showing the relationship between the frequency-divided signal and the clock signal.
[0017] Figure 3 is a diagram showing the combinational logic of the combinational circuit in the first embodiment.
[0018] Figure 4 is a view showing the structure of a monitoring circuit according to the second embodiment.
[0019] Figure 5 is a diagram showing the combinational logic of the combinational circuit in the second embodiment.
[0020] Figure 6 is a diagram showing a structural example of a first charge and discharge circuit.
[0021] Figure 7 It is a waveform diagram of the ramp voltage.
[0022] Figure 8 is a view showing a schematic structure of a semiconductor integrated circuit device.
[0023] Fig. 9 This is the exterior view of the vehicle.
[0024] Fig.10 is a diagram showing a structure of a monitoring circuit according to a modified example. DETAILED DESCRIPTION
[0025] In this specification, the reference voltage refers to a voltage that is constant in an ideal state, and is actually a voltage that may slightly vary depending on temperature changes or the like.
[0026] In this specification, constant voltage refers to a current that is constant in an ideal state, and is actually a current that may slightly change depending on temperature changes and the like.
[0027] <First Embodiment>
[0028] Figure 1 1 is a diagram showing a structure of a monitoring circuit 11 (hereinafter referred to as the monitoring circuit 11) according to the first embodiment. The monitoring circuit 11 includes a first reference voltage source 1A and a second reference voltage source 1B, first to third oscillators 2A to 2C, a first frequency divider 3A and a second frequency divider 3B, first to third counters 4A to 4C, a combinational circuit 5, and a selector 6.
[0029] The first reference voltage source 1A generates a first reference voltage VREF1. Although this embodiment uses a bandgap reference circuit as the first reference voltage source 1A, any other type of reference voltage source other than the bandgap reference circuit may be used as the first reference voltage source 1A. The first reference voltage VREF1 is supplied to each of the first oscillator 2A and the third oscillator 2C.
[0030] The second reference voltage source 1B generates a second reference voltage VREF2. Although this embodiment uses a bandgap reference circuit as the second reference voltage source 1B, any other type of reference voltage source other than a bandgap reference circuit may be used as the second reference voltage source 1B. The second reference voltage VREF2 is supplied to the second oscillator 2B.
[0031] The setting value of the second reference voltage VREF2 may be equal to or different from the setting value of the first reference voltage VREF1 .
[0032] The first oscillator 2A operates upon receiving a supply of the first reference voltage VREF1 and generates a first clock signal CLK1. The first oscillator 2A outputs the first clock signal CLK1.
[0033] The second oscillator 2B operates upon receiving the supply of the second reference voltage VREF2 and generates a second clock signal CLK2. The second oscillator 2B outputs the second clock signal CLK2.
[0034] The third oscillator 2C operates upon receiving the supply of the first reference voltage VREF1 and generates a third clock signal CLK3. The third oscillator 2C outputs the third clock signal CLK3.
[0035] The setting frequency of the first clock signal CLK1 is equal to the setting frequency of the second clock signal CLK2. The setting frequency of the third clock signal CLK3 may be equal to or different from each of the setting frequency of the first clock signal CLK1 and the setting frequency of the second clock signal CLK2. In the following description, it is assumed that the setting frequency of the third clock signal CLK3 is equal to each of the setting frequency of the first clock signal CLK1 and the setting frequency of the second clock signal CLK2.
[0036] The first frequency divider 3A divides the frequency of the first clock signal CLK1 to generate a first frequency-divided signal SDIV1. The first frequency divider 3A outputs the first frequency-divided signal SDIV1.
[0037] The second frequency divider 3B divides the frequency of the second clock signal CLK2 to generate a second frequency-divided signal SDIV2. The second frequency divider 3B outputs the second frequency-divided signal SDIV2.
[0038] The first counter 4A counts the number of clocks of the second clock signal CLK2 with the first cycle number of the first frequency-divided signal SDIV1. Although the first cycle number is one cycle in this embodiment, the first cycle number may be, for example, half a cycle, two cycles, or three cycles. In addition, this embodiment assumes that the first frequency divider 3A divides the frequency by 5. Therefore, when the first clock signal CLK1 and the second clock signal CLK2 are in a normal state, the first counter 4A has a count number of 10. Taking into account various types of existing errors, for example, when the first counter 4A has not less than 9 and not more than 11, the first clock signal CLK1 and the second clock signal CLK2 can be considered to be in a normal state.
[0039] The second counter 4B counts the number of clocks of the first clock signal CLK1 with the second cycle number of the second frequency division signal SDIV2. Although the second cycle number is one cycle in this embodiment, the second cycle number can be, for example, half a cycle, two cycles or three cycles. In addition, this embodiment assumes that the second frequency divider 3A divides the frequency by 5. Therefore, when the first clock signal CLK1 and the second clock signal CLK2 are in a normal state, the second counter 4B has a count number of 10. Taking into account various types of existing errors, for example, when the second counter 4B has not less than 9 and not more than 11, the first clock signal CLK1 and the second clock signal CLK2 can be considered to be in a normal state.
[0040] The third counter 4C counts the number of clocks of the third clock signal CLK3 with the third number of cycles of the second frequency-divided signal SDIV2. Although the third number of cycles is one cycle in this embodiment, the third number of cycles may be, for example, half a cycle, two cycles, or three cycles. In addition, this embodiment assumes that the second frequency divider 3B divides the frequency by 5. Therefore, when the second clock signal CLK2 and the third clock signal CLK3 are in a normal state, the third counter 4C has a counted number of 10. Taking into account various types of existing errors, for example, when the third counter 4C has not less than 9 and not more than 11, the second clock signal CLK2 and the third clock signal CLK3 can be considered to be in a normal state.
[0041] Figure 2 is a view showing the relationship between the frequency-divided signal SDIV and the clock signal CLK supplied to each of the first to third counters 4A to 4C.
[0042] When the frequency division signal SDIV and the clock signal CLK are in a normal state, each counter outputs a low level signal.
[0043] In the case where the frequency division signal SDIV has a higher frequency than usual and the clock signal CLK is in a normal state, each counter has a count number less than usual and outputs a high-level signal.
[0044] In the case where the frequency division signal SDIV has a frequency lower than usual and the clock signal CLK is in a normal state, each counter has a count number greater than usual and outputs a high-level signal.
[0045] In the case where the frequency division signal SDIV is fixed to a low level and the clock signal CLK is in a normal state, each counter has a count number of 0 and outputs a high level signal.
[0046] In the case where the frequency division signal SDIV is fixed to a high level and the clock signal CLK is in a normal state, each counter has a count number of 0 and outputs a high level signal.
[0047] In the case where the frequency division signal SDIV is in a normal state and the clock signal CLK has a higher frequency than normal, each counter has a count number greater than normal and outputs a high-level signal.
[0048] In the case where the frequency division signal SDIV is in a normal state and the clock signal CLK has a frequency lower than normal, each counter has a count number smaller than normal and outputs a high-level signal.
[0049] In the case where the frequency division signal SDIV is in a normal state and the clock signal CLK is fixed to a low level, each counter has a count number of 0 and outputs a high-level signal.
[0050] In the case where the frequency division signal SDIV is in a normal state and the clock signal CLK is fixed to a high level, each counter has a count number of 0 and outputs a high-level signal.
[0051] Return to reference Figure 1 , a further description of the structure of the monitoring circuit 11 is given.
[0052] The combinational circuit 5 receives the output OUT4A of the first counter 4A, the output OUT4B of the second counter 4B, and the output OUT4C of the third counter 4C. Figure 3 is a diagram showing the combinational logic of the combinational circuit 5 .
[0053] When at least one of the output OUT4A of the first counter 4A, the output OUT4B of the second counter 4B, and the output OUT4C of the third counter 4C is at a high level, the combinational circuit 5 sets the detection result DET to a high level. That is, the detection result DET at a high level indicates that an abnormality has occurred in at least one of the first to third clock signals CLK1 to CLK3. In addition, the detection result DET at a low level indicates that no abnormality has occurred in the first to third clock signals CLK1 to CLK3.
[0054] In the case where both the output OUT4A of the first counter 4A and the output OUT4B of the second counter 4B are at a high level, the combinational circuit 5 determines that an abnormality has occurred in either of the first clock signal CLK1 and the second clock signal CLK2 .
[0055] Furthermore, in the case where an abnormality has occurred in any one of the first clock signal CLK1 and the second clock signal CLK2, when the output OUT4C of the third counter 4C is at a low level, the combinational circuit 5 recognizes that the second clock signal CLK2 and the third clock signal CLK3 are in a normal state and the first clock signal CLK1 is in an abnormal state. Then, the combinational circuit 5 outputs a signal for causing the selector 6 to output the second clock signal CLK2 as the selection signal SEL.
[0056] On the other hand, in the case where an abnormality has occurred in either of the first clock signal CLK1 and the second clock signal CLK2, when the output OUT4C of the third counter 4C is at a high level, the combinational circuit 5 recognizes that the second clock signal CLK2 is in an abnormal state. Then, the combinational circuit 5 outputs a signal for causing the selector 6 to output the first clock signal CLK1 as the selection signal SEL.
[0057] The selector 6 selects any one of the first clock signal CLK1 and the second clock signal CLK2 based on the selection signal SEL output from the combinational circuit 5. The selection signal SEL output from the combinational circuit 5 is a signal based on the recognition result of the combinational circuit 5. Therefore, based on the recognition result of the combinational circuit 5, the selector 6 selects any one of the first clock signal CLK1 and the second clock signal CLK2. To be more specific, based on the recognition result of the combinational circuit 5, the selector 6 selects the normal-state clock signal from the first clock signal CLK1 and the second clock signal CLK2. This makes it possible to continue to use the normal-state clock signal even when an abnormality occurs in any one of the first clock signal CLK1 and the second clock signal CLK2.
[0058] Although this embodiment has a structure in which the selection signal SEL is directly supplied to the selector 6 , for example, a microcomputer may receive the selection signal SEL to control the selector 6 based on the selection signal SEL.
[0059] The monitoring circuit 11 does not need to provide a charge and discharge circuit, and can therefore be reduced in circuit scale.
[0060] Furthermore, the monitoring circuit 11 uses separate reference voltage sources for the first oscillator 2A and the second oscillator 2B, and therefore, neither reference voltage source constitutes a common cause of failure for the first oscillator 2A and the second oscillator 2B. This enhances the abnormality detection capability of the monitoring circuit 11.
[0061] Furthermore, in the monitoring circuit 11, one of the reference voltage sources can constitute a common fault cause for the first oscillator 2A and the third oscillator 2C, and one of the frequency dividers can constitute a common fault cause for the second counter 4B and the third counter 4C. Nesting common fault causes in this way further enhances the abnormality detection capability of the monitoring circuit 11.
[0062] <Second Embodiment>
[0063] Figure 4 1 is a diagram showing the structure of a monitoring circuit 12 (hereinafter referred to as a monitoring circuit 12) according to the second embodiment. Figure 4 In the drawings, the same reference numerals denote Figure 1 The same components are used in the embodiment of the present invention, so they will not be described in detail.
[0064] The monitoring circuit 12 has a structure obtained by excluding the third counter 4C from the monitoring circuit 11 and additionally including the first charge and discharge circuit 7A, the second charge and discharge circuit 7B and the OR gate 8. Furthermore, the combinational logic of the combinational circuit 5 in this embodiment is different from that in the first embodiment. Figure 5 : is a diagram showing the combinational logic of the combinational circuit 5 in the second embodiment.
[0065] The first charge and discharge circuit 7A performs charging and discharging based on the first clock signal CLK1. The second charge and discharge circuit 7B performs charging and discharging based on the second clock signal CLK2.
[0066] When at least one of the respective outputs of the first counter 4A, the second counter 4B, the first charge and discharge circuit 7A and the second charge and discharge circuit 7B is a signal indicating detection of abnormality, the OR gate 8 sets the detection result DET to a high level as an output signal of the OR gate 8 .
[0067] Figure 6 is a diagram showing a structural example of the first charge and discharge circuit 7A. Figure 6 The first charge and discharge circuit 7A of the illustrated structural example includes a constant current source 71 , a capacitor 72 , a MOSFET 73 , hysteresis comparators 74 and 75 , and an OR gate 76 .
[0068] The power supply voltage VCC is applied to one end of the constant current source 71. The other end of the constant current source 71 is connected to one end of the capacitor 72. The other end of the capacitor 72 is connected to the ground potential.
[0069] The MOSFET 73 is connected in parallel to the capacitor 72. When the MOSFET 73 is in the off state, the capacitor 72 is charged with a constant current output from the constant current source 71. When the MOSFET 73 is in the on state, the capacitor 72 discharges. One continuous off-time of the MOSFET 73 is equal in length to one period of the first clock signal CKL1. The MOSFET 73 is turned on, for example, in synchronization with the rising edge of the first clock signal CKL1. With this configuration, a ramp voltage VRMP having the waveform shown in Figure 7 is generated at the connection node between the constant current source 71 and the capacitor 72.
[0070] When the ramp voltage VRMP exceeds the second threshold voltage VTH2, the hysteresis comparator 74 outputs a high-level signal. When the first clock signal CKL1 has a frequency lower than normal, the output signal of the hysteresis comparator 74 is at a high level. Two comparators can be used instead of the hysteresis comparator 74.
[0071] When the ramp voltage VRMP becomes less than the first threshold voltage VTH1 (<VTH2), the hysteresis comparator 75 outputs a high-level signal. When the first clock signal CKL1 has a frequency higher than normal, the output signal of the hysteresis comparator 75 is at a high level. Two comparators can be used instead of the hysteresis comparator 75.
[0072] The OR gate 76 outputs the logical sum of the outputs of the hysteresis comparator 74 and the hysteresis comparator 75. The output of the OR gate 76 is output as the output of the first charge / discharge circuit 7A. Therefore, when the first clock signal CKL1 is in an abnormal state, the output of the first charge / discharge circuit 7A is at a high level.
[0073] An example of the structure of the second charge / discharge circuit 7B is similar to the example of the structure of the first charge / discharge circuit 7A. However, in the second charge / discharge circuit 7B, the MOSFET 73 is turned on / off based on the second clock signal CLK2 instead of the first clock signal CLK1. The first charge / discharge circuit 7A and the second charge / discharge circuit 7B can be configured differently from each other.
[0074] Different from this embodiment, a structure in which the second charge / discharge circuit 7B is not provided can be adopted, or a structure in which the first charge / discharge circuit 7A is not provided and the output of the second charge / discharge circuit 7B is supplied to the combinational circuit 5 can be adopted.
[0075] <Application examples, etc.>
[0076] Figure 81 is a diagram showing a schematic structure of semiconductor integrated circuit devices D1 and D2. The semiconductor integrated circuit device D1 includes a monitoring circuit 11 and a charge pump circuit 13 that operates based on a clock signal output from the monitoring circuit 11. The semiconductor integrated circuit device D1 includes a monitoring circuit 11 and a communication circuit 14 that operates based on a clock signal output from the monitoring circuit 11. In each of the semiconductor integrated circuit devices D1 and D2, a monitoring circuit 12 may be used instead of the monitoring circuit 11.
[0077] Fig. 9 1 is an external view of a vehicle X. The vehicle X according to this structural example has mounted therein various types of electronic devices X11 to X18 that operate when supplied with a voltage output from a battery not shown. For ease of drawing, the respective installation positions of the electronic devices X11 to X18 shown in the figure may be different from their actual installation positions.
[0078] The electronic device X11 is an engine control unit that performs engine-related controls such as injection control, electronic throttle control, idle speed control, oxygen sensor heater control, and automatic cruise control.
[0079] The electronic device X12 is a lamp control unit that controls on / off of HID (High Intensity Discharge Lamp), DRL (Daytime Running Lamp), and the like.
[0080] The electronic device X13 is a transmission control unit that performs transmission-related control.
[0081] The electronic device X14 is a brake unit that performs control related to the movement of the vehicle X, such as ABS [Anti-lock Braking System] control and electronic suspension control.
[0082] The electronic device X15 is a security control unit that performs drive control of door locks, anti-theft alarms, and the like.
[0083] The electronic device X16 is an electronic device incorporated into the vehicle X as a piece of standard equipment or a manufacturer optional product at the factory shipping stage, examples of which include wipers, electric mirrors, electric windows, dampers (shock absorbers), electric sunroofs, and electric seats.
[0084] The electronic device X17 is an electronic device optionally installed in the vehicle X as a user-optional product, examples of which include an in-vehicle A / V (audio / visual) device, a car navigation system, and an ETC (electronic toll collection system).
[0085] The electronic device X18 is an electronic device including a high withstand voltage motor, examples of which include EPS [electric power steering], a vehicle-mounted blower, an oil pump, a water pump, and a battery cooling fan.
[0086] In the electronic devices X11 to X18, the previously described monitoring circuit 11 or monitoring circuit 12 can be incorporated in any device requiring an oscillator. From the functional safety point of view, it is desirable to incorporate the monitoring circuit 11 or monitoring circuit 12, in particular at least one of the electronic devices X13 and X14.
[0087] The above embodiments are interpreted as illustrative rather than restrictive in all aspects. It should be understood that the technical scope of the present invention disclosed in this specification is indicated by the appended claims rather than the description of the foregoing embodiments, and all changes falling within the meaning and scope of the equivalents of the claims are intended to be included therein.
[0088] The monitoring circuit 11 described previously has a structure in which the first reference voltage source 1A can constitute a common failure cause of the first oscillator 2A and the third oscillator 2C, and the second frequency divider 3B can constitute a common failure cause of the second counter 4B and the third counter 4C. For example, it can be adopted Fig.10 The structure of the monitoring circuit 11' shown in FIG. 1 is a structure of the monitoring circuit 11', wherein the common fault cause is different from the common fault cause in the monitoring circuit 11. In the monitoring circuit 11', the third counter 4C counts the number of clocks of the third clock signal CLK3 with the fourth cycle number of the first frequency-divided signal SDIV1. The fourth cycle number may be, for example, one cycle, or may be half a cycle, two cycles, or three cycles.
[0089] The monitoring circuit 11' has a structure in which the second reference voltage source 1B can constitute a common fault cause of the second oscillator 2B and the third oscillator 2C, and the first frequency divider 3A can constitute a common fault cause of the first counter 4A and the third counter 4C. Similar to the monitoring circuit 11, the monitoring circuit 11' is configured to nest common fault causes. Therefore, the monitoring circuit 11' has the same abnormality detection capability level as that of the monitoring circuit 11.
[0090] The monitoring circuit (11, 12) described so far has a structure (first structure) comprising: a first oscillator (2A), the first oscillator being configured to output a first clock signal; a second oscillator (2B), the second oscillator being configured to output a second clock signal; a first frequency divider (3A), the first frequency divider being configured to divide the frequency of the first clock signal; a second frequency divider (3B), the second frequency divider being configured to divide the frequency of the second clock signal; a first counter (4A), the first counter being configured to count the number of clocks of the second clock signal by the number of first cycles of the first frequency divided signal output from the first frequency divider. counting; a second counter (4B), the second counter being configured to count the number of clocks of the first clock signal with the second number of cycles of the second divided signal output from the second frequency divider; a determination unit (5, 8), the determination unit being configured to determine whether an abnormality has occurred in either the first clock signal or the second clock signal based on the counting results of the first counter and the second counter; and an identification unit (2C, 4C, 5, 7A, 7B), the identification unit being configured to identify which of the first clock signal and the second clock signal is in an abnormal state when an abnormality occurs in either of the first clock signal and the second clock signal.
[0091] The monitoring circuit according to the above-described first structure can monitor in which of the first clock signal and the second clock signal an abnormality has occurred.
[0092] According to the above-mentioned first structure, the monitoring circuit can have a structure (second structure), wherein the identification unit includes a third oscillator (2C) and a third counter (4C), the third oscillator is configured to output a third clock signal, the third counter is configured to count the number of clocks of the third clock signal with the third cycle number of the second frequency-divided signal or the fourth cycle number of the first frequency-divided signal, and is configured to identify which of the first clock signal and the second clock signal is in an abnormal state based on the counting results of the first counter, the second counter and the third counter when an abnormality occurs in either of the first clock signal and the second clock signal.
[0093] The monitoring circuit according to the above-described second structure does not need to provide a charge and discharge circuit, and can therefore be reduced in circuit scale.
[0094] According to the above-mentioned second structure, the monitoring circuit can have a structure (third structure) in which the first oscillator is configured to oscillate based on a first reference voltage supplied from a first reference voltage source (1A), and the second oscillator is configured to oscillate based on a second reference voltage supplied from a second reference voltage source (1B).
[0095] In the monitoring circuit according to the third structure, the reference voltage source will not be a common cause of failure of the first oscillator and the second oscillator, which can enhance the abnormality detection capability of the monitoring circuit.
[0096] According to the above-mentioned third structure, the monitoring circuit can have a structure (fourth structure) in which the third counter is configured to count the number of clocks of the third clock signal with the third number of cycles of the second frequency-divided signal, and the third oscillator is configured to oscillate based on the first reference voltage, or alternatively, the third counter is configured to count the number of clocks of the third clock signal with the fourth number of cycles of the first frequency-divided signal, and the third oscillator is configured to oscillate based on the second reference voltage.
[0097] In the monitoring circuit according to the fourth structure described above, when the third counter counts the number of clocks of the third clock signal with the third number of cycles of the second frequency-divided signal, one of the reference voltage sources may constitute a common fault cause of the first oscillator and the third oscillator, and one of the frequency dividers may constitute a common fault cause of the second counter and the third counter. In addition, in the monitoring circuit according to the fourth structure described above, when the third counter counts the number of clocks of the third clock signal with the fourth number of cycles of the first frequency-divided signal, one of the reference voltage sources may constitute a common fault cause of the second oscillator and the third oscillator, and one of the frequency dividers may constitute a common fault cause of the first counter and the third counter. Nesting common fault causes in this way further enhances the abnormality detection capability of the monitoring circuit.
[0098] The monitoring circuit according to the above-mentioned first structure can have a structure (fifth structure) in which the identification unit includes at least one of a first charge and discharge circuit (7A) configured to perform charging and discharging based on the first clock signal and a second charge and discharge circuit (7B) configured to perform charging and discharging based on the second clock signal, and is configured to identify which of the first clock signal and the second clock signal is in an abnormal state based on the output of at least one of the first charge and discharge circuit and the second charge and discharge circuit when an abnormality occurs in either of the first clock signal and the second clock signal.
[0099] The monitoring circuit according to the fifth configuration can identify which of the first clock signal and the second clock signal is in an abnormal state without providing a third counter.
[0100] According to the above-mentioned fifth structure, the monitoring circuit can have a structure (sixth structure) in which the first oscillator is configured to oscillate based on a first reference voltage supplied from a first reference voltage source (1A), and the second oscillator is configured to oscillate based on a second reference voltage supplied from a second reference voltage source (1B).
[0101] In the monitoring circuit according to the sixth structure, the reference voltage source will not be a common cause of failure of the first clock signal and the second clock signal, which can enhance the abnormality detection capability of the monitoring circuit.
[0102] The monitoring circuit according to any one of the first to sixth structures described above may have a structure (seventh structure) including a selector (6) configured to select any one of the first clock signal and the second clock signal.
[0103] The monitoring circuit according to the seventh configuration described above can switch the clock signal to be used.
[0104] The monitoring circuit according to the above-mentioned seventh structure can have a structure (eighth structure) in which, when the determination unit determines that an abnormality has occurred in either the first clock signal or the second clock signal, the selector selects a normal state clock signal from the first clock signal and the second clock signal based on the identification result of the identification unit.
[0105] Even when an abnormality occurs in any one of the first clock signal and the second clock signal, the monitoring circuit according to the above-described eighth structure can continue to use the normal-state clock signal.
[0106] The semiconductor integrated circuit device (D1, D2) described so far has a structure (ninth structure) including the monitor circuit according to any one of the first to eighth structures described above.
[0107] The semiconductor integrated circuit device according to the above-mentioned ninth structure can monitor in which of the first clock signal and the second clock signal an abnormality has occurred.
[0108] The vehicle (X) described so far has a structure (tenth structure) including the monitoring circuit according to any one of the first to eighth structures described above.
[0109] The vehicle according to the above-described tenth structure is capable of monitoring in the monitoring circuit in which of the first clock signal and the second clock signal an abnormality has occurred.
[0110] Reference numerals list
[0111] 1A, 1B first and second reference voltage sources
[0112] 2A to 2C 1st to 3rd oscillators
[0113] 3A, 3B first and second frequency divider
[0114] 4A to 4C 1st to 3rd counters
[0115] 5 Combinational Circuits
[0116] 6 Selector
[0117] 7A, 7B First and second charging and discharging circuits
[0118] 8. 76 doors
[0119] 11 Monitoring Circuit According to First Embodiment
[0120] 11' Monitoring circuit according to a modified example
[0121] 12 Monitoring Circuit According to Second Embodiment
[0122] 13 Charge Pump Circuit
[0123] 14 Communication circuit
[0124] 71 Constant current source
[0125] 72 Capacitor
[0126] 73MOSFET
[0127] 74, 75 hysteresis comparator
[0128] D1, D2 semiconductor integrated circuit device
[0129] XVehicle
[0130] X11 to X18 electronic devices.
Claims
1. A monitoring circuit, comprising: a first oscillator configured to output a first clock signal; a second oscillator configured to output a second clock signal; a first frequency divider, the first frequency divider being configured to divide the frequency of the first clock signal; a second frequency divider, the second frequency divider being configured to divide the frequency of the second clock signal; a first counter configured to count the number of clocks of the second clock signal with a first number of cycles of the first frequency-divided signal output from the first frequency divider; a second counter configured to count the number of clocks of the first clock signal with a second number of cycles of the second frequency-divided signal output from the second frequency divider; a determination section configured to determine whether an abnormality has occurred in either of the first clock signal and the second clock signal based on count results of the first counter and the second counter; as well as A recognition unit configured to recognize which of the first clock signal and the second clock signal is in an abnormal state when an abnormality occurs in either of the first clock signal and the second clock signal.
2. The monitoring circuit according to claim 1, wherein The identification unit includes: a third oscillator configured to output a third clock signal; as well as a third counter configured to count the number of clocks of the third clock signal with a third number of cycles of the second frequency-divided signal or a fourth number of cycles of the first frequency-divided signal, and The identification unit is configured to identify which of the first clock signal and the second clock signal is in an abnormal state based on counting results of the first counter, the second counter, and the third counter when an abnormality occurs in either of the first clock signal and the second clock signal.
3. The monitoring circuit according to claim 2, wherein The first oscillator is configured to oscillate based on a first reference voltage supplied from a first reference voltage source, and The second oscillator is configured to oscillate based on a second reference voltage supplied from a second reference voltage source.
4. The monitoring circuit according to claim 3, wherein The third counter is configured to count the number of clocks of the third clock signal with the third number of cycles of the second frequency-divided signal, and the third oscillator is configured to oscillate based on the first reference voltage, or The third counter is configured to count the number of clocks of the third clock signal with the fourth number of cycles of the first frequency-divided signal, and the third oscillator is configured to oscillate based on the second reference voltage.
5. The monitoring circuit according to claim 1, wherein The identification section includes at least one of a first charge and discharge circuit configured to perform charge and discharge based on the first clock signal and a second charge and discharge circuit configured to perform charge and discharge based on the second clock signal, and The identification unit is configured to identify which of the first clock signal and the second clock signal is in an abnormal state based on an output of at least one of the first charge and discharge circuit and the second charge and discharge circuit when an abnormality occurs in either of the first clock signal and the second clock signal.
6. The monitoring circuit according to claim 5, wherein The first oscillator is configured to oscillate based on a first reference voltage supplied from a first reference voltage source, and The second oscillator is configured to oscillate based on a second reference voltage supplied from a second reference voltage source.
7. The monitoring circuit according to any one of claims 1 to 6, further comprising: A selector configured to select either the first clock signal or the second clock signal.
8. The monitoring circuit according to claim 7, wherein When the determination section determines that an abnormality has occurred in either one of the first clock signal and the second clock signal, the selector selects a normal-state clock signal from among the first clock signal and the second clock signal based on a recognition result of the recognition section.
9. A semiconductor integrated circuit device comprising the monitoring circuit according to any one of claims 1 to 8.
10. A vehicle comprising a monitoring circuit according to any one of claims 1 to 8.
Citation Information
Patent Citations
Frequency abnormality protection circuit
JP2020190828A
