Semiconductor circuit, vehicle, and method for controlling semiconductor circuit
The semiconductor circuit addresses EMC-related malfunctions in in-vehicle networks by using a voltage clamp to manage noise, ensuring compliance with EMC standards and reducing signal transition errors.
Patent Information
- Application Number
- US19/564519
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-30
- Filing Date
- 2026-03-12
- Publication Date
- 2026-12-03
Smart Images

Figure US20260389727A1-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2025-091026, filed May 30, 2025, the entire contents of which are incorporated herein by reference.FIELD
[0002] Embodiments described herein relate generally to a semiconductor circuit, a vehicle, and a method for controlling a semiconductor circuit.BACKGROUND
[0003] In-vehicle communication network technology such as Local Interconnect Network (LIN) or Clock Extension Peripheral Interface (CXPI) is being researched and developed to reduce the vehicle wiring harness.BRIEF DESCRIPTION OF THE DRAWINGS
[0004] FIG. 1 is a block diagram showing an example of a configuration of a network including a semiconductor circuit of an embodiment.
[0005] FIG. 2 is a circuit diagram showing a basic configuration of the semiconductor circuit of the embodiment.
[0006] FIG. 3 is a circuit diagram showing a specific example of the semiconductor circuit of the embodiment.
[0007] FIG. 4 is a waveform diagram showing an example of an operation of the semiconductor circuit of the embodiment.
[0008] FIG. 5 is a waveform diagram showing characteristics of the semiconductor circuit of the embodiment.DETAILED DESCRIPTION
[0009] In general, according to one embodiment, a semiconductor circuit includes: a first terminal coupled to a communication bus; a second terminal to which a first power supply voltage is applied; a first transistor including one end coupled to the first terminal, another end coupled to the second terminal, and a gate coupled to a control line; a capacitor coupled between the first terminal and the control line; a first control circuit coupled to the gate of the first transistor via the control line and configured to control a potential of the control line in accordance with a first signal communicated between the first terminal and the communication bus based on a standard; and a second control circuit configured to prevent malfunctioning of the first transistor, wherein if noise is applied to the control line during a first period in which a signal level of the first signal transitions from a first level to a second level lower than the first level, the second control circuit passes a first current from the control line to the second terminal.
[0010] A semiconductor circuit, a vehicle, and a method for controlling a semiconductor circuit of an embodiment will be described with reference to FIGS. 1 to 5.
[0011] The description below will use the same symbols for elements having substantially the same functions and configurations. Where elements having the same or substantially the same functions and configurations are to be distinguished from each other, different characters or numerals may be attached to the end of the same symbols. The dimensions and ratios of the elements in the drawings are not necessarily the same as the actual ones.Embodiment(1) Configuration Example
[0012] An example of a configuration of a semiconductor circuit of an embodiment will be described with reference to FIGS. 1 and 2.
[0013] FIG. 1 is a block diagram showing an example of a configuration of an in-vehicle communication network including a semiconductor circuit of an embodiment.
[0014] As shown in FIG. 1, an in-vehicle communication network (also referred to as a “vehicle control system”) 100 including a semiconductor circuit 1 of the present embodiment is installed in a vehicle (e.g., an automobile) 1000. The in-vehicle communication network 100 includes a plurality of nodes ND.
[0015] The plurality of nodes ND are coupled to a communication line WH. The communication line WH is also referred to as a “wiring harness WH.” The plurality of nodes ND are devices (circuits) that handle communication between a user and a plurality of devices (parts) 1001 in the vehicle 1000 for controlling each of the devices 1001. The devices 1001 are, for example, a door, a seat, lighting, a lock, a mirror, or the like. The node ND alone or a collection of one node ND and one device 1001 is also referred to as an “electronic control unit (ECU).”
[0016] The plurality of nodes ND communicate with each other via the communication line WH in accordance with the Local Interconnect Network (LIN) standard or the Clock Extension Peripheral Interface (CXPI) standard. The LIN standard is configured to meet the IEC62228-2 EMC specification. The CXPI standard is configured to meet the IEC62228-7 EMC specification.
[0017] A case where the CXPI standard is applied to the nodes ND will be explained below. In the CXPI standard, at least one of the nodes ND is a commander node (also referred to as a “master node”). One or more nodes ND other than the commander node among the plurality of nodes ND are responder nodes (also referred to as a “slave node”). The commander node ND and the responder node can communicate bi-directionally.
[0018] Each node ND includes a microcontroller (also referred to as a “microcomputer”) MC and the semiconductor circuit 1 of the present embodiment. Instead of a microcontroller MC, hardware logic may be used for the node ND.
[0019] The microcontroller MC (or hardware logic) controls the entire node ND corresponding thereto.
[0020] The semiconductor circuit 1 receives signals from other nodes ND via the communication line WH. The semiconductor circuit 1 sends the signals from other nodes ND to the microcontroller MC. The semiconductor circuit 1 sends the signals from the microcontroller MC to other nodes ND via the communication line WH.
[0021] The semiconductor circuit 1 of the present embodiment is a communication circuit that performs communication in accordance with the CXPI standard. The semiconductor circuit 1 functions as an interface circuit of the nodes ND. Hereinafter, the semiconductor circuit 1 will be referred to as a “CXPI communication circuit 1” or simply as a “communication circuit 1.”
[0022] FIG. 2 is a circuit diagram showing an example of a basic configuration of the semiconductor circuit (CXPI communication circuit) 1 of the present embodiment.
[0023] In the present embodiment, the CXPI communication circuit 1 includes a transmission circuit 10, a reception circuit 11, a logic circuit 13, a malfunction prevention circuit 16, a plurality of terminals BAT, BUS, GND, TXD, and RXD, and the like, as shown in FIG. 2.
[0024] The CXPI communication circuit 1 is coupled to the communication line WH via the terminals BAT, BUS, and GND. The communication line WH includes a plurality of wirings W1, W2, and W3.
[0025] The terminal BAT is a power supply terminal on a high-potential side of the CXPI communication circuit 1. The terminal BAT is coupled to the wiring (power supply line) W1 to which a power supply voltage VBAT is applied. For example, the voltage VBAT is supplied from a battery (not shown). Hereinafter, the terminal BAT will be referred to as a “power supply terminal BAT.”
[0026] The terminal BUS is a signal terminal for forwarding (inputting / outputting) a signal SBUS based on the CXPI standard. The terminal BUS is coupled to the wiring (hereinafter also referred to as a “CXPI bus” or a “communication bus”) W2 as a communication bus of the CXPI standard. Hereinafter, the terminal BUS will be referred to as a “bus terminal BUS.” The signal SBUS input or output between the communication bus W2 and the bus terminal BUS is referred to as a “bus signal SBUS.”
[0027] For example, the bus terminal BUS is coupled to the power supply terminal BAT via a diode D0 and a resistor R0. The anode of the diode D0 is coupled to the power supply terminal BAT. The cathode of the diode D0 is coupled to the bus terminal BUS via the resistor R0. The diode D0 and the resistor R0 prevent current from flowing from the bus terminal BUS to the power supply terminal BAT.
[0028] The terminal GND is a power supply terminal on a low-potential side of the CXPI communication circuit 1. The terminal GND is coupled to the wiring W3 to which a ground voltage VGND is applied. Hereinafter, the terminal GND will be referred to as a “ground terminal GND.” In the CXPI communication circuit 1, the ground terminal GND is coupled to a ground line (wiring) 190.
[0029] The CXPI communication circuit 1 is coupled to the microcontroller MC via the terminals TXD and RXD.
[0030] The terminal TXD is a signal terminal supplied with a signal STXD that is forwarded from the microcontroller MC to the CXPI bus W2. The terminal TXD is a signal terminal on a reception side when viewed from the CXPI communication circuit 1 side. Hereinafter, the terminal TXD will be referred to as a “reception signal terminal TXD.”
[0031] The terminal RXD is a signal terminal supplied with a signal SRXD that is forwarded from the CXPI bus W2 to the microcontroller MC. The terminal RXD is a signal terminal on a transmission side when viewed from the CXPI communication circuit 1 side. Hereinafter, the terminal RXD will be referred to as a “transmission signal terminal RXD.”
[0032] The CXPI communication circuit 1 may further include a plurality of terminals other than the above-described terminals BAT, BUS, GND, TXD, and RXD, such as a terminal for a voltage VCC, a terminal for a clock signal, or a terminal for switching operational modes (e.g., switching between commander and responder).
[0033] The transmission circuit 10 is coupled to the bus terminal BUS and the logic circuit 13. The transmission circuit 10 receives the signal STXD from the reception signal terminal TXD via the logic circuit 13. The transmission circuit 10 sends the bus signal SBUS corresponding to the signal STXD to the CXPI bus W2 via the bus terminal BUS.
[0034] The transmission circuit 10 includes an output circuit 101, a slope control circuit 102, and a capacitor C1.
[0035] The output circuit 101 includes a transistor M6. The transistor M6 is, for example, an N-channel high-voltage MOS field-effect transistor. One end (e.g., drain) of a current path of the transistor M6 is coupled to the bus terminal BUS via a diode D1. The other end (e.g., source) of the current path of the transistor M6 is coupled to the ground terminal GND. A gate of the transistor M6 is coupled to the slope control circuit 102 via a control line (control signal line) 109. An operation of the transistor M6 is controlled by the slope control circuit 102. The transistor M6 is turned on or off in accordance with a potential of the control line 109.
[0036] The output circuit 101 may further include a resistor. The resistor is an element for detecting a voltage between the bus terminal BUS and the ground terminal GND.
[0037] The slope control circuit 102 controls a slope of a transition between a recessive level (“R” level) and a dominant level (“D” level) of the signal SBUS of the bus terminal BUS. The slope control circuit 102 controls an operation of the output circuit 101 such that a signal level of the bus signal SBUS (a potential of the bus terminal BUS) transitions from a recessive level (e.g., a “H (high)” signal level) to a dominant level (e.g., an “L (low)” signal level) or from a dominant level to a recessive level during a period based on the CXPI standard. A voltage value in a recessive level is, for example, a voltage value that is approximately a voltage value of the power supply voltage VBAT. A voltage value in a dominant level is, for example, a voltage value within a range of approximately 0.5 V from the ground voltage VGND.
[0038] The slope control circuit 102 is coupled to the gate of the transistor M6 of the output circuit 101 via the control line 109. The slope control circuit 102 controls a signal value of a slope control signal (a potential of the control line 109) VM6GT supplied to the control line 109 and controls the magnitude of the output (drain current) of the transistor M6. Thus, a slope during a transition of a signal level of the bus signal SBUS of the bus terminal BUS (a signal level transition time) is controlled so as to comply with the CXPI standard.
[0039] For example, the slope control circuit 102 receives the signal STXD from the reception signal terminal TXD from the logic circuit 13. The slope control circuit 102 controls a potential of the control line 109 in accordance with the signal STXD.
[0040] The control line 109 is coupled to the bus terminal BUS via the capacitor C1 and the diode D1.
[0041] One end of the capacitor C1 is coupled to the bus terminal BUS via the diode D1. The other end of the capacitor C1 is coupled to the gate of the transistor M6 via the control line 109. The capacitor C1 is a feedback capacitor for controlling a slope of a transition between a recessive level and a dominant level of the signal SBUS of the bus terminal BUS via control of the output of the transistor M6.
[0042] The anode of the diode D1 is coupled to the bus terminal BUS. The cathode of the diode D1 is coupled to one end of the capacitor C1 and one end of the current path of the transistor M6. The diode D1 is an element for preventing the current flowing from the bus terminal BUS to the ground terminal GND via the transistor M6 from flowing in reverse.
[0043] The reception circuit 11 is coupled to the bus terminal BUS and the logic circuit 13. The reception circuit 11 receives the bus signal SBUS from the bus terminal BUS. The reception circuit 11 sends the bus signal SBUS to the logic circuit 13.
[0044] The logic circuit 13 is coupled to the transmission signal terminal RXD, the reception signal terminal TXD, the transmission circuit 10, the reception circuit 11, and the malfunction prevention circuit 16. The logic circuit 13 controls the entire CXPI communication circuit 1 based on various signals from the microcontroller MC.
[0045] The logic circuit 13 receives the signal STXD from the microcontroller MC via the reception signal terminal TXD. The logic circuit 13 controls the transmission circuit 10 in accordance with the signal STXD. Thus, the bus signal SBUS corresponding to the signal STXD is output from the bus terminal BUS. The logic circuit 13 receives the bus signal SBUS input to the bus terminal BUS via the reception circuit 11. The logic circuit 13 sends the signal SRXD corresponding to the received bus signal SBUS to the microcontroller MC via the transmission signal terminal RXD. For example, a signal level of the signal SRXD transitions in synchronization with a transition of a signal level of the bus signal SBUS.
[0046] The logic circuit 13 sends a control signal CNT2 to the malfunction prevention circuit 16.
[0047] The malfunction prevention circuit (control circuit) 16 is coupled to the transmission circuit 10 and the logic circuit 13. The voltage VCC is applied to the malfunction prevention circuit 16. The malfunction prevention circuit 16 operates in accordance with the control signal CNT2 from the logic circuit 13. The malfunction prevention circuit 16 is a control circuit for preventing (suppressing) malfunctioning of the transmission circuit 10 occurring when noise NS is applied to the bus terminal BUS.
[0048] The malfunction prevention circuit 16 can detect the presence or absence of noise NS included in the bus signal SBUS. If noise NS is detected, the malfunction prevention circuit 16 can control the operation of the transmission circuit 10 so as to prevent malfunctioning of the transmission circuit 10 caused by the noise NS.
[0049] For example, noise NS applied to the bus terminal BUS may propagate to the control line 109 in the transmission circuit 10 via the capacitor C1. If noise NS oscillating continuously propagates from the bus terminal BUS to the control line 109, a potential of the control line 109 repeatedly rises and falls.
[0050] If the transistor M6 of the output circuit 101 repeats switching between on and off due to the noise NS oscillating continuously, a period during which a signal level of the bus signal SBUS (a potential of the bus terminal BUS) transitions from a recessive level to a dominant level (or a period during which a signal level of the bus signal SBUS (a potential of the bus terminal BUS) transitions from a dominant level to a recessive level) may vary.
[0051] In the present embodiment, the malfunction prevention circuit 16 detects noise NS including multiple continuous amplitudes applied to the bus terminal BUS when a signal level of the bus signal SBUS falls from a recessive level (an “H” level) to a dominant level (an “L” level). The malfunction prevention circuit 16 controls the operation of the output circuit 101 of the transmission circuit 10 in accordance with the detected noise NS. For example, the malfunction prevention circuit 16 executes control for preventing malfunctioning based on detection of noise NS during a period in which a signal level of the bus signal SBUS transitions from a recessive level (a “H” level) to a dominant level (an “L” level) in accordance with the time (time instance) at which a signal level of the signal STXD supplied to the reception signal terminal TXD transitions from an “H” level to an “L” level.
[0052] The malfunction prevention circuit 16 includes a voltage clamp circuit 160.
[0053] The voltage clamp circuit 160 receives the control signal CNT2 from the logic circuit 13. The control signal CNT2 is a signal that is set to an enabled state (detection enabled state or activated state) and a disabled state (detection disabled state or inactivated state) of the voltage clamp circuit 160. A signal level of the control signal CNT2 is set to a first level (e.g., an “L” level) or a second level (e.g., an “H” level).
[0054] The voltage clamp circuit 160 can detect noise NS that has propagated from the bus terminal BUS to the control line 109 via the capacitor C1. The voltage clamp circuit 160 is set to an off state during a period in which a signal level of the control signal CNT2 is set to the first level. The voltage clamp circuit 160 in an off state does not detect noise NS. The voltage clamp circuit 160 is set to an enabled state during a period in which a signal level of the control signal CNT2 is set to the second level. The voltage clamp circuit 160 in an enabled state detects noise NS. For example, a period in which a signal level of the control signal CNT2 is set to the second level (a period in which the voltage clamp circuit 160 detects noise) is set to a time that meets the specifications for propagation delay of the bus signal SBUS in the CXPI standard. A period in which a signal level of the control signal CNT2 is set to the second level is managed by a timer (not shown) in the logic circuit 13.
[0055] The voltage clamp circuit 160 controls an operation of the output circuit 101 via the control of a potential of the control line 109 based on a result of the detection of noise NS.
[0056] If the voltage clamp circuit 160 detects noise NS having a continuous amplitude that may cause malfunctioning of the transmission circuit 10, the voltage clamp circuit 160 controls the operation of the output circuit 101. If noise NS having a continuous amplitude is detected, the voltage clamp circuit 160 passes a current Ix from the control line 109 to the ground line 190. Thus, the control line 109 is discharged to a certain potential. The voltage clamp circuit 160 can clamp a potential of the control line 109 to a certain potential. Thus, the voltage clamp circuit 160 suppresses variation (amplitude) in the potential of the control line 109 applied to the transistor M6 as a gate voltage.
[0057] If the voltage clamp circuit 160 is always in an enabled state during a period in which a signal level of the bus signal SBUS is set to a dominant level, a signal level of the bus signal SBUS may not be able to transition from a dominant level to a recessive level. Thus, a period in which the control signal CNT2 is in the second level is desirably set such that the voltage clamp circuit 160 is not always in an enabled state when the bus signal SBUS is in a dominant level. For example, a period in which the control signal CNT2 is in the second level is shorter than a period in which a signal level of the bus signal SBUS is set to a dominant level. One example is that a period in which the control signal CNT2 is in the second level is equal to a period in which a signal level of the bus signal SBUS transitions from a recessive level to a dominant level.
[0058] If the voltage clamp circuit 160 does not detect noise NS that may cause malfunctioning of the transmission circuit 10, the output circuit 101 operates in accordance with the control of a potential of the control line 109 performed by the slope control circuit 102.
[0059] Thus, when continuous noise NS that will cause malfunctioning of the transmission circuit 10 is generated, the CXPI communication circuit 1 of the present embodiment can alleviate the effect of the noise NS propagating through the control line 109 via the clamping of the potential of the control line 109 performed by the voltage clamp circuit 160.
[0060] Accordingly, the CXPI communication circuit 1 of the present embodiment can suppress a phenomenon in which the transistor M6 repeats on and off due to a gate voltage including continuous noise NS.
[0061] As a result, the CXPI communication circuit 1 of the present embodiment can prevent malfunctioning of the transmission circuit 10.(2) Specific Example
[0062] A specific example of the semiconductor circuit (CXPI communication circuit) 1 of the present embodiment will be described with reference to FIG. 3.
[0063] FIG. 3 is a circuit diagram showing a more detailed example of a configuration of the malfunction prevention circuit 16 in the CXPI communication circuit 1 of the present embodiment.
[0064] In the malfunction prevention circuit 16, the voltage clamp circuit 160 includes a reference voltage generation circuit 60 and a discharge circuit 61, as shown in FIG. 3.
[0065] The reference voltage generation circuit 60 generates a reference voltage (detection threshold) VREF2 for detecting noise that may cause malfunctioning of the transmission circuit 10.
[0066] The reference voltage generation circuit 60 includes a plurality of transistors M1 and M2, a plurality of resistors R1 and R2, and a current source 601.
[0067] The current source 601 is a constant current source. The current source 601 is coupled between a terminal 90 to which the voltage VCC is applied and a coupling node N0. The current source 601 outputs the current I0.
[0068] The transistor M1 is an N-channel high-voltage MOS field-effect transistor. One end (drain) of a current path of the transistor M1 is coupled to the terminal 90. The other end (source) of the current path of the transistor M1 is coupled to a coupling node N1. A gate of the transistor M1 is coupled to an output node of the current source 601 via the coupling node N0.
[0069] One end of the resistor R1 is coupled to the other end of the current path of the transistor M1 via the coupling node N1. The other end of the resistor R1 is coupled to a gate of the transistor M2 via a coupling node N2.
[0070] One end of the resistor R2 is coupled to the coupling node N2. The other end of the resistor R2 is coupled to the ground line 190.
[0071] The transistor M2 is an N-channel high-voltage MOS field-effect transistor. The transistor M2 is a replica device of the transistor M6. One end (drain) of a current path of the transistor M2 is coupled to the coupling node N0. The other end (source) of the current path of the transistor M2 is coupled to the ground line 190. A gate of the transistor M2 is coupled to the coupling node N2.
[0072] If the output circuit 101 is to include a resistor, a resistor as a replica device may be provided in the reference voltage generation circuit 60. A resistor as a replica device is coupled between the transistor M2 and the ground line 190.
[0073] The coupling node N1 functions as an output node of the reference voltage generation circuit 60. The reference voltage VREF2 is output from the coupling node N1 to the discharge circuit 61.
[0074] Thus, the reference voltage generation circuit 60 is formed to include the replica device M2 of the device M6 of the output circuit 101.
[0075] The reference voltage generation circuit 60 generates a voltage where a gate voltage applied to the transistor M6 is offset in a positive direction by a voltage generated in the resistor R1 and the current I0 output from the current source 601. The voltage generated is used as the reference voltage VREF2. The reference voltage VREF2 has a constant voltage value. For example, the reference voltage VREF2 is higher than a voltage value of a gate voltage supplied from the slope control circuit 102 to the transistor M6 during a period in which a signal level of the bus signal SBUS transitions from a recessive level to a dominant level.
[0076] The discharge circuit 61 controls discharge of the control line 109 in accordance with the reference voltage VREF2 and a potential VM6GT of the control line 109.
[0077] The discharge circuit 61 includes transistors M3, M4, and M5 and a current source 611.
[0078] The transistor M3 is a P-channel MOS field-effect transistor. One end (source) of a current path of the transistor M3 is coupled to the output node (coupling node) N1 of the reference voltage generation circuit 60. The other end (drain) of the current path of the transistor M3 is coupled to a coupling node N4. A gate of the transistor M3 is coupled to the coupling node N4.
[0079] The transistor M4 is a P-channel MOS field-effect transistor. One end (source) of a current path of the transistor M4 is coupled to the control line 109. The other end (drain) of the current path of the transistor M4 is coupled to a coupling node N5. A gate of the transistor M4 is coupled to the coupling node N4 and the gate of the transistor M3.
[0080] The current source 611 is a constant current source. The current source 611 is coupled between the coupling node N4 and the ground line 190. The current source 611 outputs the current I1.
[0081] The transistor M5 is an N-channel MOS field-effect transistor. One end (drain) of a current path of the transistor M5 is coupled to the coupling node N5. The other end (source) of the current path of the transistor M5 is coupled to the ground line 190. A gate of the transistor M5 is coupled to the logic circuit 13.
[0082] The transistor M5 functions as a switching device for on and off of the discharge circuit 61. The control signal CNT2 from the logic circuit 13 is supplied to the gate of the transistor M5. The transistor M5 is turned on or off in accordance with a signal level of the control signal CNT2. If a signal level of the control signal CNT2 is the first level (e.g., “L” level), the transistor M5 is turned off. Thus, an operation of the discharge circuit 61 is disabled. If a signal level of the control signal CNT2 transitions from the first level to the second level (e.g., “H” level), the transistor M5 is turned on. Thus, an operation of the discharge circuit 61 is enabled.
[0083] The transistors M3 and M4 form a source follower. The gate and the drain of the transistor M3 are shorted to the gate of the transistor M4. A potential of the gate of the transistor M4 becomes equal to a potential of the gate of the transistor M3 and a potential of the drain of the transistor M3. If gate voltages of the two transistors M3 and M4 are a common voltage, a drain voltage of the transistor M3 corresponds to the reference voltage VREF2 applied to the source of the transistor M3, and a drain voltage of the transistor M4 corresponds to a potential of the control line 109 applied to the source of the transistor M4.
[0084] The source of the transistor M3 receives the reference voltage VREF2, which is a fixed voltage. The transistor M3 passes a current corresponding to the reference voltage VREF2. Thus, a gate voltage and a drain voltage of the transistor M3 have a fixed voltage value corresponding to the reference voltage VREF2.
[0085] The source of the transistor M4 receives a potential VM6GT that may vary in accordance with noise of the control line 109. A gate voltage of the transistor M4 is equal to a drain voltage of the transistor M3 (a gate voltage of the transistor M3). Thus, an operation of the transistor M4 varies in accordance with a magnitude relationship between a drain voltage of the transistor M4 and a drain voltage of the transistor M3.
[0086] If a drain voltage of the transistor M4 is higher than a drain voltage of the transistor M3 corresponding to the reference voltage VREF2 (a gate voltage of the transistor M4), the transistor M4 passes a current Ix from the control line 109 to the ground line 190 via the transistor M5 in an on state. Thus, the control line 109 is discharged in accordance with the current Ix passed by the transistor M4.
[0087] If a drain voltage of the transistor M4 is equal to or less than a drain voltage of the transistor M3 corresponding to the reference voltage VREF2, the transistor M4 is turned off. Thus, the control line 109 is not discharged.
[0088] In this manner, the operations of the transistors M3 and M4 of the discharge circuit 61 are substantially equal to a comparison of a magnitude relationship between the reference voltage VREF2 and the potential VM6GT of the control line 109.
[0089] With such operations of the transistors M3 and M4 as described above, the transistor M6 is driven by a voltage clamp operation in which a gate voltage of the transistor M6 is limited in accordance with the reference voltage VREF2. When the voltage clamp circuit 160 is operating, the potential VM6GT of the control line 109 is, for example, clamped approximately to a voltage equal to or less than the reference voltage VREF2.
[0090] As a result, the effect of noise applied from the control line 109 to the gate of the transistor M6 is suppressed.(3) Operation Example
[0091] An example of an operation of the CXPI communication circuit 1 of the present embodiment will be described with reference to FIG. 4. An example of an operation of the CXPI communication circuit 1 of the present embodiment corresponds to a method for controlling a semiconductor circuit of the present embodiment.
[0092] FIG. 4 is a timing chart showing an example of an operation of the CXPI communication circuit 1 of the present embodiment. In FIG. 4, the horizontal axis corresponds to time, and the vertical axis corresponds to a voltage value or a signal level.
[0093] At time t20, the CXPI communication circuit 1 of a certain node ND starts communicating with another node ND via the communication bus W2.
[0094] At time t21, a signal level of the signal STXD of the reception signal terminal TXD transitions from an “H” level to an “L” level via the control of the microcontroller MC. If a hardware logic is used in place of the microcontroller MC, the hardware logic performs various types of control on the CXPI communication circuit 1.
[0095] The slope control circuit 102 outputs a slope control signal (VM6GT) having a voltage value V1 in accordance with a transition of the signal STXD from an “H” level to an “L” level. Thus, the slope control circuit 102 sets the potential VM6GT of the control line 109 to the voltage value V1 higher than a voltage value V0. The voltage value V0 is less than a threshold voltage of the transistor M6. The voltage value V1 is equal to or greater than the threshold voltage of the transistor M6.
[0096] The potential VM6GT of the control line 109 set to the voltage value V1 is applied to the transistor M6 of the output circuit 101 as a gate voltage. Thus, the transistor M6 is turned on. The transistor M6 passes a drain current between the bus terminal BUS and the ground line 190 with a drive force corresponding to the voltage value V1 of the potential VM6GT of the control line 109. The bus terminal BUS is discharged by generation of the drain current of the transistor M6.
[0097] Thus, a signal level of the bus signal SBUS of the bus terminal BUS decreases from a recessive level (an “R” (“H”) level) in a slope corresponding to a drive force of the transistor M6.
[0098] The malfunction prevention circuit 16 receives a signal CNT2 from the logic circuit 13. The logic circuit 13 changes a signal level of the control signal CNT2 from an “L” level to an “H” level in accordance with a transition of the signal STXD from an “H” level to an “L” level. In the malfunction prevention circuit 16, the voltage clamp circuit 160 receives the control signal CNT2 in an “H” level. The voltage clamp circuit 160 is set to an enabled state. Thus, the voltage clamp circuit 160 starts detecting noise propagating from the bus terminal BUS to the control line 109.
[0099] For example, noise NS having a continuous amplitude may be applied to the bus terminal BUS during a period Trd in which a signal level of the bus signal SBUS transitions from a recessive level to a dominant level (a “D” (“L”) level). The noise NS propagates from the bus terminal BUS to the control line 109 via the capacitor C1. The potential VM6GT of the control line 109 oscillates due to superposition of the noise NS.
[0100] The voltage clamp circuit 160 detects the noise NS having propagated from the bus terminal BUS to the control line 109 through a comparison of a magnitude relationship between the reference voltage VREF2 and the potential of the control line 109. For example, a voltage value of the reference voltage VREF2 is higher than the voltage value (signal value) V1 of the slope control signal VM6GT output from the slope control circuit 102 by only a certain offset amount.
[0101] If a potential of the control line 109 is equal to or greater than the reference voltage VREF2, the voltage clamp circuit 160 determines that noise NS that may cause malfunctioning of the output circuit 101 is propagating to the control line 109. The voltage clamp circuit 160 passes the current Ix from the control line 109 to the ground line 190. Thus, the potential VM6GT of the control line 109 is clamped approximately to the reference voltage VREF2. Accordingly, the transistor M6 of the output circuit 101 operates at a potential in which an amplitude of the control line 109 is suppressed to equal to or less than the reference voltage VREF2.
[0102] As a result, a steep change in a potential of the bus terminal BUS due to the noise NS can be suppressed.
[0103] At time t22, if a signal level of the bus signal SBUS reaches a certain level (voltage value) LV0, a signal level of the signal SRXD of the transmission signal terminal RXD transitions from an “H” level to an “L” level via the control of the logic circuit 13.
[0104] At time t23, when a period T1 has elapsed since the time t21, the logic circuit 13 changes a signal level of the control signal CNT2 from an “H” level to an “L” level. The voltage clamp circuit 160 receives the control signal CNT2 in an “L” level. The voltage clamp circuit 160 is set to a disabled state. Thus, the voltage clamp circuit 160 terminates the control of the discharge of the control line 109 corresponding to the detection of the noise NS.
[0105] For example, the period T1 corresponds to a period in which a signal level of the bus signal SBUS based on the CXPI standard (a potential of the bus terminal BUS) transitions from a recessive level to a dominant level.
[0106] For example, at the time t23, the logic circuit 13 determines that a signal level of the bus signal SBUS has reached a dominant level.
[0107] The slope control circuit 102 increases a magnitude of the potential VM6GT of the control line 109 from the voltage value V1 to a voltage value V2 in accordance with the control of the logic circuit 13. The potential VM6GT of the control line 109 is set to the voltage value V2. The transistor M6 operates at a gate voltage corresponding to the voltage value V2 higher than the voltage value V1. For example, the transistor M6 operates at full-swing output characteristics with the voltage value V2. A voltage value of the reference voltage VREF2 is lower than the voltage value V2.
[0108] At time t24, a signal level of the signal STXD transitions from an “L” level to a “H” level under the control of the microcontroller MC.
[0109] In accordance with the transition of the signal STXD from an “L” level to an “H” level, the slope control circuit 102 decreases the potential VM6GT of the control line 109 from the voltage value V2 to the voltage value V1.
[0110] A signal level of the bus signal SBUS rises from a dominant level (an “L” level) in a slope corresponding to a drive force of the transistor M6.
[0111] At time t25, a signal level of the signal SRXD is transitioned from an “L” level to an “H” level under the control of the logic circuit 13 in accordance with the timing at which a signal level of the bus signal SBUS reaches a certain level LV0.
[0112] At time t26, the slope control circuit 102 decreases the signal value VM6GT of the slope control signal (the potential VM6GT of the control line 109) from the voltage value V1 to the voltage value V0 in accordance with the control of the logic circuit 13. Thus, the transistor M6 of the output circuit 101 is turned off.
[0113] Through the above operations, the CXPI communication circuit 1 of the present embodiment ends its operation.
[0114] For example, if the potential VM6GT of the control line 109 changes steeply due to noise NS, a signal level of the signal SRXD may transition from an “H” level to an “L” level at a time tx earlier than the time t22. The transition of the signal SRXD from an “H” level to an “L” level at the time tx may not meet the CXPI standard.
[0115] The CXPI communication circuit 1 of the present embodiment can suppress reduction of the time in which a signal level of the signal SRXD is transitioned from an “H” level to an “L” level.(4) Characteristics
[0116] Operational characteristics of the CXPI communication circuit 1 of the present embodiment will be described with reference to FIG. 5.
[0117] FIG. 5 is a waveform diagram showing operational characteristics of the CXPI communication circuit 1 of the present embodiment. (a) of FIG. 5 shows operational characteristics of the CXPI communication circuit 1 of the present embodiment when no noise is applied to the bus terminal BUS. (b) of FIG. 5 shows operational characteristics of the CXPI communication circuit 1 of the present embodiment when noise is applied to the bus terminal BUS. (a) of FIG. 5 and (b) of FIG. 5 show voltage waveforms of the signal STXD, the signal SRXD, and the signal SBUS.
[0118] As shown in (a) of FIG. 5, if no noise is applied to the bus terminal BUS, the CXPI communication circuit 1 of the present embodiment can control a transition of the signal levels of the signals STXD and SRXD in a propagation time corresponding to the CXPI standard and EMC specifications without being affected by the operation of the malfunction prevention circuit 16 (voltage clamp circuit 160).
[0119] As shown in (b) of FIG. 5, if noise including a continuous amplitude is applied to the bus terminal BUS, a signal level of the bus signal SBUS oscillates due to the noise NS.
[0120] In the CXPI communication circuit 1 of the present embodiment, with the voltage clamp circuit 160, the malfunction prevention circuit 16 clamps the potential VM6GT of the control line 109 to a certain potential during a transition period Trd from a recessive level to a dominant level of a signal level of the bus signal SBUS.
[0121] Thus, the CXPI communication circuit 1 of the present embodiment can suppress reduction of the time at which a signal level of the signal SRXD is transitioned from an “H” level to an “L” level caused by a steep change in a potential of the bus signal SBUS due to the noise NS.
[0122] Accordingly, the CXPI communication circuit 1 of the present embodiment can keep the time (timing) of a transition of a signal level of the signal SRXD within a response time (propagation delay time) that meets the CXPI standard.(5) Summary
[0123] In recent years, many devices installed in automobiles have become computerized due to rapid development of electronic devices. Malfunctioning of electronic devices due to electromagnetic noise has a major impact on the safety of automobiles. Thus, compatibility with standards related to electromagnetic compatibility (EMC) in automobiles is strongly desired.
[0124] In a vehicle communication network, the EMC specifications of the LIN standard are determined based on IEC62228-2, and the EMC specifications of the CXPI standard are determined based on IEC62228-7.
[0125] In a communication circuit to which the LIN standard or the CXPI standard is applied, if external noise including a continuous amplitude is applied to the communication circuit as in the time of performing EMC testing such as the direct radio frequency power injection (DPI) method or the time of passing near a radio tower, malfunctioning of the communication circuit may occur due to the external noise. In this case, the communication circuit may not meet the EMC specifications.
[0126] If a transmission circuit that outputs a signal to a communication bus is controlled at a high speed as a measure against noise, switching noise of the transmission circuit increases. In this case, the communication circuit may not meet the specifications related to electromagnetic interference (EMI).
[0127] The CXPI communication circuit 1 of the present embodiment includes the malfunction prevention circuit 16 that prevents malfunctioning of the transmission circuit 10.
[0128] The malfunction prevention circuit 16 prevents malfunctioning of the output circuit 101 of the transmission circuit 10 if noise oscillating continuously is applied to the bus terminal BUS during a transition period from a recessive level (a “H” level) to a dominant level (an “L” level) of the bus signal SBUS.
[0129] If the malfunction prevention circuit 16 detects noise including a continuous amplitude that may cause malfunctioning of the output circuit 101, the malfunction prevention circuit 16 passes a current from the control line 109 to the ground line 190. Thus, in the present embodiment, a potential of the control line 109 is clamped to a certain potential. Accordingly, in the CXPI communication circuit 1 of the present embodiment, the effect of noise on the output circuit 101 is suppressed.
[0130] As a result, the CXPI communication circuit 1 of the present embodiment can suppress reduction of a propagation time of a signal further than a time based on a certain communication standard due to noise.
[0131] As described above, the semiconductor circuit 1 of the present embodiment can improve the characteristics of semiconductor circuits.(6) Other Examples
[0132] In the semiconductor circuit 1 of the embodiment described above, mainly the communication circuit 1 to which the CXPI standard is applied has been described. However, the semiconductor circuit 1 of the present embodiment may be a communication circuit 1 to which the LIN standard is applied. The communication circuit 1 with the LIN standard as the semiconductor circuit of the present embodiment can obtain the above-described advantageous effects.
[0133] While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Claims
1. A semiconductor circuit comprising:a first terminal coupled to a communication bus;a second terminal to which a first power supply voltage is applied;a first transistor including one end coupled to the first terminal, another end coupled to the second terminal, and a gate coupled to a control line;a capacitor coupled between the first terminal and the control line;a first control circuit coupled to the gate of the first transistor via the control line and configured to control a potential of the control line in accordance with a first signal communicated between the first terminal and the communication bus based on a standard; anda second control circuit configured to prevent malfunctioning of the first transistor,wherein if noise is applied to the control line during a first period in which a signal level of the first signal transitions from a first level to a second level lower than the first level, the second control circuit passes a first current from the control line to the second terminal.
2. The semiconductor circuit according to claim 1, whereinthe first control circuit is configured to supply a first voltage to the control line, andthe second control circuit is configured to control the potential of the control line such that the potential of the control line is equal to or less than a second voltage higher than the first voltage during the first period.
3. The semiconductor circuit according to claim 1, wherein the second control circuit includes:a first circuit configured to generate a second voltage higher than a first voltage supplied from the first control circuit to the control line; anda second circuit configured to pass the first current in accordance with a magnitude relationship between the second voltage and the potential of the control line.
4. The semiconductor circuit according to claim 3, wherein the first circuit includes:a second transistor including one end coupled to a first node to which a third voltage is applied, another end coupled to a second node, and a gate coupled to a third node;a first current source coupled between the first node and the third node;a first resistor coupled between the second node and a fourth node;a second resistor coupled between the fourth node and a wiring coupled to the second terminal; anda third transistor including one end coupled to the third node, another end coupled to the wiring, and a gate coupled to the fourth node.
5. The semiconductor circuit according to claim 4, wherein the first circuit is configured to output the second voltage from the second node.
6. The semiconductor circuit according to claim 3, wherein the second circuit includes:a fourth transistor including one end to which the second voltage is applied, another end coupled to a fifth node, and a gate coupled to the fifth node;a second current source coupled between the fifth node and a wiring coupled to the second terminal;a fifth transistor including one end coupled to the control line, another end coupled to a sixth node, and a gate coupled to the fifth node; anda sixth transistor including one end coupled to the sixth node, another end coupled to the wiring, and a gate configured to receive a control signal.
7. The semiconductor circuit according to claim 6, wherein if a potential of the another end of the fifth transistor is higher than a potential of the another end of the fourth transistor, the fifth transistor passes the first current via the sixth transistor in an on state.
8. The semiconductor circuit according to claim 7, wherein the sixth transistor is turned on based on the control signal during the first period.
9. The semiconductor circuit according to claim 1, further comprising a logic circuit configured to control the first and second control circuits,whereinthe logic circuit is configured to supply a control signal having a signal level of a third level to the second control circuit during the first period, and the second control circuit is set to an enabled state by the control signal in the third level, andthe logic circuit is configured to supply the control signal having a signal level of a fourth level different from the third level to the second control circuit after the first period, and the second control circuit is set to a disabled state by the control signal in the fourth level.
10. The semiconductor circuit according to claim 9, wherein a signal level of the control signal is transitioned from the third level to the fourth level before a time at which a signal level of the first signal is transitioned from the second level to the first level.
11. The semiconductor circuit according to claim 9, further comprising a third terminal configured to receive a second signal forwarded from a controller to the communication bus,wherein a signal level of the control signal is transitioned from the fourth level to the third level at a time when a signal level of the second signal is transitioned from a fifth level to a sixth level.
12. The semiconductor circuit according to claim 11, further comprising a fourth terminal configured to receive a third signal forwarded from the communication bus to the controller,wherein a signal level of the third signal transitions from the fifth level to the sixth level at a timing when a signal level of the first signal reaches a seventh level between the first level and the second level.
13. The semiconductor circuit according to claim 1, wherein the second control circuit is configured to generate a reference voltage in accordance with a first voltage supplied from the first control circuit to the control line and pass the first current based on the reference voltage and the potential of the control line.
14. The semiconductor circuit according to claim 1, wherein the standard is a Local Interconnect Network (LIN) standard or a Clock Extension Peripheral Interface (CXPI) standard.
15. A vehicle comprising:the semiconductor circuit of claim 1;a controller configured to control the semiconductor circuit; anda device coupled to the semiconductor circuit.
16. A method for controlling a semiconductor circuit,the semiconductor circuit including: a first terminal coupled to a communication bus; a second terminal to which a first power supply voltage is applied; a first transistor including one end coupled to the first terminal, another end coupled to the second terminal, and a gate coupled to a control line; and a capacitor coupled between the first terminal and the control line,the method comprising:controlling a potential of the control line in accordance with a first signal communicated between the first terminal and the communication bus based on a standard; andpassing a first current from the control line to the second terminal if noise is applied to the control line during a first period in which a signal level of the first signal transitions from a first level to a second level lower than the first level.
17. The method according to claim 16, further comprising:supplying a first voltage to the control line; andcontrolling the potential of the control line such that the potential of the control line is equal to or less than a second voltage higher than the first voltage by passing the first current during the first period.
18. The method according to claim 16, wherein the first current passes when a second transistor between the second terminal and the control line is turned on.
19. The method according to claim 16, wherein the standard is a Local Interconnect Network (LIN) standard or a Clock Extension Peripheral Interface (CXPI) standard.
