Power Module

By using a systematic write port and a daisy-chain-connected level converter in the power module, the problem of large module size and high cost caused by the separation of high-side and low-side programmable circuit write circuits is solved, and the power module is realized. Miniaturization of modules.

CN111769730BActive Publication Date: 2024-09-24FUJI ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010487762.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2016-07-13
Filing Date
2017-05-24
Publication Date
2024-09-24
Estimated Expiration
2037-09-15

AI Technical Summary

Technical Problem

In existing power modules, the programmable circuit writing circuits on the high-end side and the low-end side need to be written in separate systems, resulting in large-scale and high-cost modules.

Method used

A system write port is used to connect the high-side and low-side programmable circuits through a daisy chain, and a level converter is set up in the internal wiring to connect the high-side and low-side signal systems to achieve signal level conversion.

Benefits of technology

Through this structure, the signals input by the programmable circuit are set into a system, which reduces the size and cost of the power module and achieves miniaturization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111769730B_ABST
    Figure CN111769730B_ABST
Patent Text Reader

Abstract

The present invention provides a power module that realizes miniaturization by using a program control signal input to a programmable circuit as a system. The power module (10) daisy-chains a built-in high-side programmable circuit (12) and a low-side programmable circuit (13), and is set to be a system in which a JTAG control signal as a program control signal input to the power module (10) is shared by the high-side programmable circuit (12) and the low-side programmable circuit (13). A level converter (14) is set at the input and output position of the high-side programmable circuit (12), and the program control signal input to the power module (10) is mutually level-converted between a signal based on the potential of a ground terminal (GND) of a low-side circuit (LS) and a signal based on the potential of a reference potential terminal (VS) of a high-side circuit (HS).
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of an application with an international application date of May 24, 2017, an international application number of PCT / JP2017 / 019333, an application number entering China of 201780005492.5, and an invention name of “Power Module”. Technical Field

[0002] The present invention relates to a power module, which includes half-bridge-connected switching elements and a drive circuit for driving the switching elements, and can arbitrarily set a logic function or parameter of the drive circuit. Background Art

[0003] In industrial motor drive devices, servo power supply devices, etc., power modules that operate by controlling the on / off of switching elements obtained by half-bridge connection are used. In the power module, a high-voltage integrated circuit (hereinafter referred to as HVIC: High Voltage Integrated Circuit) is used as a control integrated circuit for driving the switching elements obtained by half-bridge connection. The HVIC has a high-side circuit that controls the switching elements on the upper side of the half-bridge circuit and a low-side circuit that controls the switching elements on the lower side. Both the semiconductor elements on the upper side and the lower side can be driven by one IC.

[0004] In such an HVIC, it is required to be able to arbitrarily set the logical actions or parameters of the half-bridge circuit and the low-side circuit. For example, as a protection function of the power module, it has the function of protecting the power supply voltage drop, overcurrent and overheating, but it is required to be able to change the priority of the output alarm when a voltage drop, overcurrent or overheating is detected. In addition, it is also required to be able to appropriately change the threshold for detecting voltage drop, overcurrent or overheating.

[0005] Such a requirement can be achieved by providing a programmable circuit in the power module and writing data forming a logic function or parameter data constituting a threshold value into the programmable circuit. It is known that such a programmable circuit uses a level conversion circuit when isolating from other circuits or converting voltage levels while using ground as a reference potential (for example, refer to Patent Document 1). In addition, in the circuit described in Patent Document 1, a JTAG (Joint Test Action Group) interface is used for writing program data into the programmable circuit.

[0006] However, in the power module, the high-side programmable circuit connected to the high-side circuit uses the midpoint of the half bridge as the reference potential, and the low-side programmable circuit connected to the low-side circuit uses the ground as the reference potential. In particular, by making the two switching elements complementary to each other turn on / off, the reference potential of the high-side circuit and the high-side programmable circuit changes between 0 volts (V) and the power supply voltage (for example, hundreds of V). On the other hand, although the power supply system of the programmable circuit for which the write circuit of the circuit recorded in Patent Document 1 is the object is different from the power supply system of the write circuit, they are all one system, and the reference potential does not change all the time like the high-side circuit of the power module. Therefore, the high-side programmable circuit and the low-side programmable circuit cannot use the write circuit like the circuit structure recorded in Patent Document 1. That is, the power module needs to have a write circuit for the high-side programmable circuit and a write circuit for the low-side programmable circuit separately. In addition, the reference potential of the high-side sometimes becomes a very high voltage, so the write circuit of the high-side and the write circuit of the low-side need to be set to be physically isolated.

[0007] Prior art literature

[0008] Patent Literature

[0009] Patent Document 1: Japanese Patent Publication No. 2014-515843 (Paragraphs 0078, 0087, Figure 2 ) Summary of the invention

[0010] Technical issues

[0011] However, in the above-mentioned power module, the program and data writing circuits need to be set up on the high-end side and the low-end side respectively. There are two writing circuits, so the writing port also needs to be divided into two systems, which will lead to the problem of large-scale and high-cost power modules.

[0012] In view of the above problems, an object of the present invention is to provide a power module that is miniaturized by making a program control signal input to a programmable circuit into a single system.

[0013] Technical Solution

[0014] In order to solve the above problems, the present invention provides a power module, which comprises: a first switch element on the high side and a second switch element on the low side of a half-bridge connection; an integrated circuit having a high side circuit for driving the first switch element and a low side circuit for driving the second switch element; a high side programmable circuit that can arbitrarily configure a first logic function or parameter used in the high side circuit; and a low side programmable circuit that can arbitrarily configure a second logic function or parameter used in the low side circuit. The integrated circuit comprises: a write port for inputting data of a system for program control signals written to the high side programmable circuit and the low side programmable circuit; an internal wiring that daisy-chains the high side programmable circuit and the low side programmable circuit; and a level converter that is provided on the internal wiring connected to the high side programmable circuit and is used to connect the low side signal system and the high side signal system.

[0015] Effects of the Invention

[0016] The power module of the above structure has the advantage that the power module can be miniaturized by making the signals input to the programmable circuit into one system and forming a daisy chain using a level converter.

[0017] The above and other objects, features and advantages of the present invention will become more apparent from the following description in conjunction with the accompanying drawings showing preferred embodiments as examples of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a circuit diagram showing the configuration of a power module according to the present invention.

[0019] Figure 2 This is a circuit diagram showing a configuration example of a power module according to the first embodiment.

[0020] Figure 3 This is a diagram showing the connection relationship of signal lines focusing on JTAG control signals.

[0021] Figure 4 This is a waveform diagram showing the relationship between the reference potentials of the high-side circuit and the low-side circuit.

[0022] Figure 5 is a circuit diagram showing a configuration example of a power module according to the second embodiment.

[0023] Figure 6 is a circuit diagram showing a configuration example of a power module according to a third embodiment.

[0024] Figure 7 is a circuit diagram showing a configuration example of a power module according to a fourth embodiment.

[0025] Figure 8 It is a diagram showing a modified example of the power module according to the first to fourth embodiments.

[0026] Explanation of symbols

[0027] 10, 10a, 10b, 10c: Power module

[0028] 11: HVIC

[0029] 12: Programmable circuit for high-side

[0030] 12a: Logical Unit

[0031] 13: Programmable circuit for low-end side

[0032] 13a: Logical Unit

[0033] 14: Level Converter

[0034] 15: Voltage Regulator

[0035] 16: High-side drive circuit

[0036] 17: Voltage Regulator

[0037] 18: Low-end side control circuit

[0038] 19: Differential pulse generator

[0039] 20: Control circuit

[0040] 21: JTAG signal control circuit

[0041] AND1-AND5: Logical product circuit

[0042] C1H, C1L: Capacitors

[0043] D1-D6: diodes

[0044] GND: Ground terminal

[0045] HO: Output terminal

[0046] HS: High-side circuit

[0047] HV: High Voltage Power Supply

[0048] INV1-INV4: Inverter

[0049] IOH, IOL: Input and output bus

[0050] LO: Output terminal

[0051] LS: Low-side circuit

[0052] MN1-MN5, MP1: Transistor

[0053] R1-R6: Resistors

[0054] VB, VCC: power supply terminals

[0055] V5H, V5L: Power supply terminals

[0056] VCCH, VCCL: power supply

[0057] VS: Reference potential terminal

[0058] XMH, XML: Switching elements

[0059] TCK, TMS, TDI, TDO: Terminals DETAILED DESCRIPTION

[0060] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. It should be noted that each embodiment can be implemented by partially combining a plurality of embodiments within a range that does not contradict each other.

[0061] Figure 1 is a circuit diagram showing the configuration of a power module according to the present invention.

[0062] The power module 10 of the present invention includes half-bridge-connected switching elements XMH, XML, HVIC11, a high-side programmable circuit 12, a low-side programmable circuit 13, and power supplies VCCH and VCCL.

[0063] Here, the switch elements XMH and XML use MOSFET (Metal-Oxide-Semiconduct or Field Effect Transistor), but other power switch elements may also be used. The drain terminal of the switch element XMH is connected to the anode terminal of the high voltage power supply HV, and the source terminal of the switch element XML is connected to the cathode terminal of the high voltage power supply HV and the ground terminal GND of HVIC11.

[0064] HVIC11 has a high-side circuit HS and a low-side circuit LS. The high-side circuit HS is a circuit for driving the switch element XMH on the upper side, and has an output terminal HO connected to the gate terminal of the switch element XMH. The high-side circuit HS also has a power supply terminal VB connected to the anode terminal of the power supply VCCH, and a reference potential terminal VS connected to the cathode terminal of the power supply VCCH, and the reference potential terminal VS is connected to the common connection point of the switch elements XMH and XML. The low-side circuit LS is a circuit for driving the switch element XML on the lower side, and has an output terminal LO connected to the gate terminal of the switch element XML. The low-side circuit LS also has a power supply terminal VCC connected to the anode terminal of the power supply VCCL, and a ground terminal GND connected to the cathode terminal of the power supply VCCL.

[0065] The high-side programmable circuit 12 is connected to the high-side circuit HS via the input / output bus 10H. The power supply terminal V5H and the reference potential terminal VS of the high-side circuit HS are connected to the two power supply terminals of the high-side programmable circuit 12 and the two terminals of the capacitor C1H. The low-side programmable circuit 13 is connected to the low-side circuit LS via the input / output bus IOL. The power supply terminal V5L and the ground terminal GND of the low-side circuit LS are connected to the two power supply terminals of the low-side programmable circuit 13 and the two terminals of the capacitor C1L.

[0066] The low-end circuit LS of the HVIC 11 of the power module 10 is connected through a signal line that receives a signal HIN for high-end control and a signal LIN for low-end control from the control circuit 20. In addition, the power module 10 has a write port for receiving data for program control signals written to the high-end programmable circuit 12 and the low-end programmable circuit 13, and the low-end circuit LS and the control circuit 20 are connected via the write port. The program control signal is, for example, a JTAG control signal, and the low-end circuit LS and the control circuit 20 are connected through four signal lines that transmit and receive signals TMS (Test Mode Select), TCK (Test Clock), TDI (Test Data In), and TDO (Test Data Out). In addition, the terminal to which these four signal lines are connected is a write port for a system.

[0067] The high-side circuit HS and the low-side circuit LS of the HVIC 11 are connected by signal lines for transmitting signals SET and RESET corresponding to the signal HIN for high-side control. The high-side circuit HS and the low-side circuit LS are also connected by signal lines for transmitting signals HTMS, HTCK, HTDI, and HTDO corresponding to the signals TMS, TCK, TDI, and TDO. A level converter is provided in the low-side circuit LS, which increases the level of the signals TMS, TCK, and TDI to generate the signals HTMS, HTCK, and HTDI, and decreases the level of the signal HTDO received from the high-side circuit HS.

[0068] According to the power module 10, data is written or rewritten to the high-side programmable circuit 12 and the low-side programmable circuit 13 by the control circuit 20. That is, the signals TMS and TCK input from the control circuit 20 to the power module 10 are directly supplied to the low-side programmable circuit 13, and the level-converted signals HTMS and HTCK are supplied to the high-side programmable circuit 12. The signal TDI is directly supplied to the low-side programmable circuit 13, and the level-converted signal HTDI is supplied to the high-side programmable circuit 12. The signal TDO is directly output from the low-side programmable circuit 13, and the signal HTDO is output from the high-side programmable circuit 12.

[0069] The program control signals of the high-side programmable circuit 12 and the low-side programmable circuit 13 are transmitted in a daisy chain manner. That is, the signal TDI input from the control circuit 20 is level-converted into the signal HTDI and input to the high-side programmable circuit 12, the signal HTDO output from the high-side programmable circuit 12 is level-converted through the level converter and input to the low-side programmable circuit 13, and the low-side programmable circuit 13 outputs the signal TDO. Alternatively, the signal TDI input from the control circuit 20 is input to the low-side programmable circuit 13, the signal TDO output from the low-side programmable circuit 13 is level-converted into the signal HTDI and input to the high-side programmable circuit 12, and the signal HTDO output from the high-side programmable circuit 12 is level-converted into the signal TDO.

[0070] In addition, if the power module 10 receives a signal HIN from the control circuit 20, the signal HIN is converted into signals SET and RESET and input into the high-side circuit HS, and the high-side circuit HS generates a gate drive signal based on the signals SET and RESET. The gate drive signal is output from the output terminal HO and supplied to the gate terminal of the switch element XMH to control the switch element XMH to be turned on / off. On the other hand, if the power module 10 receives a signal LIN from the control circuit 20, the signal LIN is input into the low-side circuit LS, and the low-side circuit LS generates a gate drive signal based on the signal LIN. The gate drive signal is output from the output terminal LO and supplied to the gate terminal of the switch element XML to control the switch element XML to be turned on / off.

[0071] Figure 2 is a circuit diagram showing a configuration example of a power module according to the first embodiment. Figure 3 This is a diagram showing the connection relationship of the signal lines of the JTAG control signal. Figure 4 is a waveform diagram showing the relationship between the reference potentials of the high-side circuit and the low-side circuit. Figure 2 and Figure 3 In, with Figure 1 The same or equivalent components are denoted by the same reference numerals, and detailed description thereof is omitted.

[0072] like Figure 2 As shown, the HVIC 11 of the power module 10 of the first embodiment includes a high side circuit HS and a low side circuit LS. A level converter 14 for connecting the high side signal system and the low side signal system is formed at the connection portion between the high side circuit HS and the low side circuit LS.

[0073] The high side circuit HS includes: a 5V regulator 15 connected to the power supply terminal VB and generating a voltage of 5V from the voltage of the power supply VCCH; a high side drive circuit 16 outputting a gate drive signal of the switching element XMH to the output terminal HO; and inverters INV1-INV4.

[0074] The high-side driving circuit 16 is connected to the high-side programmable circuit 12 via the input / output bus 10H. The high-side programmable circuit 12 is composed of, for example, an FPGA (Field programmable Gate Array) capable of arbitrarily setting logic functions or parameters. The terminals tms, tck, and tdi of the high-side programmable circuit 12 are connected to the output terminals of the inverters INV1, INV2, and INV3 of the high-side circuit HS. The terminal tdo of the high-side programmable circuit 12 is connected to the input terminal of the inverter INV4 of the high-side circuit HS. The high-side programmable circuit 12 has a logic unit 12a connected to the terminals tdi and tdo and capable of forming a desired logic function or the like. In the logic unit 12a, for example, the detection threshold (parameter) of the protection circuit built into the high-side driving circuit 16 is written according to the data received from the terminal tdi, and the written parameter is transmitted to the high-side driving circuit 16 through the input / output bus 10H during normal operation. The high-side programmable circuit 12 is connected to a power supply terminal V5H and a high-side reference potential terminal VS and is powered by a 5V regulator 15 .

[0075] The low-side circuit LS includes a 5V regulator 17 connected to the power supply terminal VCC and generating a voltage of 5V from the voltage of the power supply VCCL, a low-side control circuit 18 , and a differential pulse generator 19 .

[0076] The low-end control circuit 18 is connected to the low-end programmable circuit 13 via the input / output bus IOL. The low-end programmable circuit 13 is composed of, for example, an FPGA. The terminals tms, tck, tdi, and tdo of the low-end programmable circuit 13 are connected to the signal lines corresponding to the write port of the JTAG control signal set in the low-end circuit LS. The low-end programmable circuit 13 has a logic unit 13a connected to the terminals tdi and tdo and capable of forming a desired logic function. In the logic unit 13a, for example, the detection threshold (parameter) of the protection circuit built into the low-end control circuit 18 is written according to the data input from the terminal tdi, and the written parameter is transmitted to the low-end control circuit 18 through the input / output bus IOL during normal operation. The low-end programmable circuit 13 is connected to the power supply terminal V5L and the ground terminal GND as the reference potential of the low-end side and is powered by the 5V regulator 17.

[0077] The low-side control circuit 18 receives the signals HIN and LIN, outputs a gate drive signal of the switching element XML to the output terminal LO based on the signal LIN, and outputs the signal HIN to the differential pulse generator 19. The differential pulse generator 19 receives the signal HIN and outputs the signal SET at the rising edge of the signal HIN, and outputs the signal RESET at the falling edge of the signal HIN.

[0078] The level converter 14 has high withstand voltage transistors MN1-MN5, MP1, resistors R1-R6 and diodes D1-D6. The gate terminals of the transistors MN1 and MN2 are connected to the output terminal of the differential pulse generator 19, the drain terminals are connected to the high-side drive circuit 16, and the source terminals are connected to the ground terminal GND. The drain terminal of the transistor MN1 is connected to one end of the resistor R1 and the cathode terminal of the diode D1, the other end of the resistor R1 is connected to the power supply of the high-side circuit HS, and the anode terminal of the diode D1 is connected to the reference potential terminal VS of the high-side circuit HS. The drain terminal of the transistor MN2 is connected to one end of the resistor R2 and the cathode terminal of the diode D2, the other end of the resistor R2 is connected to the power supply of the high-side circuit HS, and the anode terminal of the diode D2 is connected to the reference potential terminal VS of the high-side circuit HS.

[0079] The gate terminal of the transistor MN3 is connected to a terminal receiving a signal TMS through the low-side circuit LS, the drain terminal is connected to an input terminal of the inverter INV1 of the high-side circuit HS, and the source terminal is connected to the ground terminal GND. The drain terminal of the transistor MN3 is connected to one end of the resistor R3 and a cathode terminal of the diode D3, the other end of the resistor R3 is connected to a power supply of the high-side circuit HS, and the anode terminal of the diode D3 is connected to a reference potential terminal VS of the high-side circuit HS.

[0080] The gate terminal of the transistor MN4 is connected to a terminal receiving a signal TCK through the low-side circuit LS, the drain terminal is connected to an input terminal of the inverter INV2 of the high-side circuit HS, and the source terminal is connected to the ground terminal GND. The drain terminal of the transistor MN4 is connected to one end of the resistor R4 and a cathode terminal of the diode D4, the other end of the resistor R4 is connected to a power supply of the high-side circuit HS, and the anode terminal of the diode D4 is connected to a reference potential terminal VS of the high-side circuit HS.

[0081] The gate terminal of the transistor MN5 is connected to a terminal receiving a signal TDI through the low-side circuit LS, the drain terminal is connected to an input terminal of the inverter INV3 of the high-side circuit HS, and the source terminal is connected to the ground terminal GND. The drain terminal of the transistor MN5 is connected to one end of the resistor R5 and a cathode terminal of the diode D5, the other end of the resistor R5 is connected to a power supply of the high-side circuit HS, and the anode terminal of the diode D5 is connected to a reference potential terminal VS of the high-side circuit HS.

[0082] The gate terminal of the transistor MP1 is connected to the output terminal of the inverter INV4 of the high-side circuit HS, the source terminal is connected to the power supply of the high-side circuit HS, and the drain terminal is connected to the terminal tdi of the low-side programmable circuit 13. The drain terminal of the transistor MP1 is connected to one end of the resistor R6 and the cathode terminal of the diode D6, and the other end of the resistor R6 and the anode terminal of the diode D6 are connected to the ground terminal GND of the low-side circuit LS.

[0083] Here, the connection relationship between the JTAG signal line and the high-side programmable circuit 12 and the low-side programmable circuit 13 is described. Figure 3 As shown, the JTAG control signal signals TMS and TCK are transmitted in parallel to the high-side programmable circuit 12 and the low-side programmable circuit 13. Among them, the signals TMS and TCK are input to the high-side programmable circuit 12 via the level converter 14. The signal TDI is transmitted serially to the high-side programmable circuit 12 and the low-side programmable circuit 13 connected in a daisy-chain manner using internal wiring (at this time, the logic units 12a and 13a keep the input data basically unchanged and output at the timing of the clock delay required for the operation), and the signal TDO is output from the low-side programmable circuit 13. In this case, the input and output to the high-side programmable circuit 12 are also performed via the level converter 14.

[0084] In the power module 10 of the above structure, if the signal HIN is input to the low-end control circuit 18, the signal HIN is input to the differential pulse generator 19, where differential pulses are output at the rising and falling edges of the signal HIN. These differential pulses are respectively input to the gate terminals of the transistors MN1 and MN2, and are output from the drain terminals as signals SET and RESET, respectively, and input to the high-end drive circuit 16. In the high-end drive circuit 16, the gate drive signal of the switching element XMH is restored according to the signals SET and RESET, and is output from the output terminal HO. On the other hand, when the signal LIN is input to the low-end control circuit 18, the signal LIN is output from the output terminal LO as the gate drive signal of the switching element XML.

[0085] When the switching elements XMH and XML perform switching operations, the potential of the reference potential terminal VS changes as shown in FIG. Figure 4 That is, when the switch element XMH on the high side is turned off and the switch element XML on the low side is turned on, the potential of the reference potential terminal VS is substantially equal to the potential of the ground terminal GND. Therefore, the power supply voltage of the high-side programmable circuit 12, that is, the voltage of the power supply terminal V5H is substantially equal to the voltage of the power supply terminal V5L in the low-side circuit LS of the ground reference.

[0086] When the switch element XMH on the high side is turned on and the switch element XML on the low side is turned off, the voltage of the reference potential terminal VS is substantially equal to the voltage of the high voltage power supply HV. In this embodiment, the high voltage power supply HV is lower than 1200V, for example, it is assumed to be a voltage of about 400V. Therefore, the power supply voltage of the high side programmable circuit 12, that is, the voltage of the power supply terminal V5H, becomes a voltage 5V higher than the reference potential terminal VS from the ground reference. Therefore, for the JTAG control signal input with the ground reference to be input and output to the high side programmable circuit 12, a level converter 14 is required.

[0087] Figure 5 2 is a circuit diagram showing a configuration example of a power module according to the second embodiment. Figure 5 In, with Figure 2 The same or equivalent components are denoted by the same reference numerals, and detailed description thereof will be omitted.

[0088] Compared with the power module 10 of the first embodiment, the power module 10a of the second embodiment limits the time of writing based on the JTAG control signal. That is, in the power module 10 of the first embodiment, writing or rewriting based on the JTAG control signal can be performed at any time. In contrast, in the power module 10a of the second embodiment, writing based on the JTAG control signal can be performed only when the potential of the reference potential terminal VS on the high-end side is low. Therefore, the low-end side circuit LS of the HVIC 11 has a JTAG signal control circuit 21 as a transmission timing control circuit that controls the moment of transmitting the JTAG control signal.

[0089] The JTAG signal control circuit 21 includes logical product circuits AND1-AND5. The negative logic input terminal of the logical product circuit AND1 receives the signal HIN, the positive logic input terminal of the logical product circuit AND1 receives the signal LIN, and the output terminal of the logical product circuit AND1 is connected to one input terminal of the logical product circuits AND2-AND5. The other input terminal of the logical product circuit AND2 receives the signal TMS, and the output terminal of the logical product circuit AND2 is connected to the gate terminal of the transistor MN3. The other input terminal of the logical product circuit AND3 receives the signal TCK, and the output terminal of the logical product circuit AND3 is connected to the gate terminal of the transistor MN4. The other input terminal of the logical product circuit AND4 receives the signal TDI, and the output terminal of the logical product circuit AND4 is connected to the gate terminal of the transistor MN5. The other input terminal of the logical product circuit AND5 receives the signal HTDO, and the output terminal of the logical product circuit AND5 is connected to the terminal tdi of the low-side programmable circuit 13.

[0090] When the signal HIN is at a low (L) level and the signal LIN is at a high (H) level, the output terminal of the logical product circuit AND1 of the JTAG signal control circuit 21 becomes an H level, and the H level signal is input to one input terminal of the logical product circuits AND2-AND5. As a result, the logical product circuits AND2-AND4 allow the transmission of the signals TMS, TCK, and TDI, and the logical product circuit AND5 allows the transmission of the signal HTDO. That is, the JTAG signal control circuit 21 can write data to the high-side programmable circuit 12 and the low-side programmable circuit 13.

[0091] Except for the condition that the signal HIN is at L level and the signal LIN is at H level, the output terminal of the logical product circuit AND1 becomes L level, so the logical product circuits AND2-AND5 prohibit the transmission of signals. That is, the JTAG signal control circuit 21 prohibits the writing of data to the high-side programmable circuit 12 and the low-side programmable circuit 13.

[0092] Thus, the data of the JTAG control signal can be written only when the potential of the reference potential terminal VS on the high side is low. Since the writing to the high-side programmable circuit 12 and the low-side programmable circuit 13 is performed by the ground reference signal when the reference potential is the same as the ground potential, it can be performed safely and reliably.

[0093] In this case, when the voltage of the reference potential terminal VS is substantially equal to the voltage of the high voltage power supply HV, the low-side signal system and the high-side signal system are not directly connected, and therefore the level shifter 14 is required.

[0094] Figure 6 2 is a circuit diagram showing a configuration example of a power module according to a third embodiment. Figure 6 In, with Figure 5 The same or equivalent components are denoted by the same reference numerals, and detailed description thereof will be omitted.

[0095] The power module 10b of the third embodiment has the opposite conditions when writing compared to the power module 10a of the second embodiment. Therefore, in the HVIC 11 of the power module 10b, the logical product circuit AND1 in the JTAG signal control circuit 21 is configured to receive the signal HIN at the positive logic input terminal and the signal LIN at the negative logic input terminal.

[0096] In the third embodiment, data is written to the high-side programmable circuit 12 and the low-side programmable circuit 13 only while the signal HIN is at H level. At this time, the level shifter 14 is effectively operated to input and output signals to and from the high-side programmable circuit 12.

[0097] Figure 7 1 is a circuit diagram showing a configuration example of a power module according to a fourth embodiment. Figure 7 In, with Figure 5 The same or equivalent components are denoted by the same reference numerals, and detailed description thereof is omitted.

[0098] The power module 10c of the fourth embodiment sets the condition for writing to the high-side programmable circuit 12 and the low-side programmable circuit 13 as when the signals HIN and LIN are at L level. Therefore, in the HVIC 11 of the power module 10c, the logical product circuit AND1 in the JTAG signal control circuit 21 is configured to receive the signals HIN and LIN at two negative logic input terminals.

[0099] In the fourth embodiment, writing to the high-side programmable circuit 12 and the low-side programmable circuit 13 is performed when the input signals HIN and LIN are both at low level and the switch elements XMH and XML are not switching. Therefore, the JTAG control signal is not transmitted when the switch elements XMH and XML are switching, so it is possible to write safely without being affected by switching noise.

[0100] Figure 8 FIG. 1 is a diagram showing a modified example of the power module of the first embodiment to the fourth embodiment. Figure 8 In, with Figure 3 The same or equivalent components are denoted by the same reference numerals, and detailed description thereof will be omitted.

[0101] According to the Figure 8 In the modification shown, the order of writing to the high-side programmable circuit 12 and the low-side programmable circuit 13 is opposite to that of the power modules 10, 10a, 10b, and 10c of the first to fourth embodiments. That is, the signal TDI is first transmitted to the low-side programmable circuit 13, and then transmitted to the high-side programmable circuit 12 via the level converter 14.

[0102] At this time, when the low-side circuit LS uses the JTAG signal control circuit 21, the signal TDI of the write port is input to the terminal tdi of the low-side programmable circuit 13. In addition, the terminal tdo of the low-side programmable circuit 13 is connected to the input terminal of the logical product circuit AND4, and the signal of the output terminal of the logical product circuit AND5 becomes the signal TDO of the write port.

[0103] The configuration of this modification is only that the order of writing to the high-side programmable circuit 12 and the low-side programmable circuit 13 is reversed, but the operation is the same as the power modules 10, 10a, 10b, 10c of the first to fourth embodiments.

[0104] It should be noted that, although the program control signal of this embodiment uses the JTAG control signal, a program control signal that replaces the JTAG control signal may be used. In addition, the program control signal that replaces the JTAG control signal may be 4 or more, or may be 4 or less.

[0105] The above only represents the principle of the present invention. Furthermore, those skilled in the art may make many modifications and changes. The present invention is not limited to the correct structure and application examples shown above, and all corresponding modifications and equivalents can be considered to be within the scope of the present invention based on the claims and their equivalents.

Claims

1. A power module, characterized in that: have: A first switching element and a second switching element connected in a half-bridge; a high-side circuit, which drives the first switching element; a low-side circuit for driving the second switching element; a high-side programmable circuit configured to implement a first logic function or parameter used in the high-side circuit; a low-side programmable circuit configured to implement a second logic function or parameter used in the low-side circuit; an external write port for receiving a control signal including a selection signal and write data to be written to the high-side programmable circuit and the low-side programmable circuit; internal wiring connecting the external write port, the high-side programmable circuit, and the low-side programmable circuit; as well as a level converter provided in the internal wiring, When the control signal is input to the external write port and the selection signal indicates a selection state, a write operation is performed. When the control signal is input to the external write port and the selection signal indicates a non-selection state, no write operation is performed. In the write operation, the write data is transferred from the external write port to the high-side programmable circuit via the level converter in the internal wiring, and then the write data is transferred from the high-side programmable circuit to the low-side programmable circuit via the level converter in the internal wiring. The write data written into the high-side programmable circuit changes the first logic function or parameter used in the high-side circuit, The write data written to the low-side programmable circuit changes the second logic function or parameter used in the low-side circuit.

2. The power module according to claim 1, characterized in that: The high-side programmable circuit and the low-side programmable circuit are daisy-chain connected via the level converter. The write data input to the external write port is transferred to the high-side programmable circuit via the level converter, and the write data transferred to the high-side programmable circuit is also transferred to the low-side programmable circuit via the level converter.

3. The power module according to claim 1, characterized in that: Also features: A transfer timing control circuit controls a timing of transferring the write data input to the external write port to the high-side programmable circuit and the low-side programmable circuit.

4. The power module according to claim 3, characterized in that: The transfer timing control circuit allows the write data to be transferred to the high-side programmable circuit and the low-side programmable circuit only while the low-side circuit inputs a signal to turn on the first switch element and turn off the second switch element.

5. The power module according to claim 3, characterized in that: The transfer timing control circuit allows the write data to be transferred to the high-side programmable circuit and the low-side programmable circuit only while the low-side circuit inputs a signal to turn off the first switch element and turn on the second switch element.

6. The power module according to claim 3, characterized in that: The transfer timing control circuit allows the write data to be transferred to the high-side programmable circuit and the low-side programmable circuit only while the low-side circuit inputs a signal for turning off both the first switching element and the second switching element.

7. A power module, characterized in that: have: A first switching element and a second switching element connected in a half-bridge; a high-side circuit, which drives the first switching element; a low-side circuit for driving the second switching element; a high-side programmable circuit configured to implement a first logic function or parameter used in the high-side circuit; a low-side programmable circuit configured to implement a second logic function or parameter used in the low-side circuit; an external write port for receiving a control signal including a selection signal and write data to be written to the high-side programmable circuit and the low-side programmable circuit; internal wiring connecting the external write port, the high-side programmable circuit, and the low-side programmable circuit; as well as a level converter provided in the internal wiring, When the control signal is input to the external write port and the selection signal indicates a selection state, a write operation is performed. When the control signal is input to the external write port and the selection signal indicates a non-selection state, no write operation is performed. In the write operation, the write data is transferred from the external write port to the low-side programmable circuit, and then the write data is transferred from the low-side programmable circuit to the high-side programmable circuit via the level converter in the internal wiring. The write data written into the high-side programmable circuit changes the first logic function or parameter used in the high-side circuit, The write data written to the low-side programmable circuit changes the second logic function or parameter used in the low-side circuit.

8. The power module according to claim 7, characterized in that: The low-side programmable circuit and the high-side programmable circuit are daisy-chain connected via the level converter. The write data input to the external write port is transferred to the low-side programmable circuit, and the write data transferred to the low-side programmable circuit is also transferred to the high-side programmable circuit via the level converter.

9. The power module according to claim 7, characterized in that: Also features: A transfer timing control circuit controls a timing of transferring the write data input to the external write port to the high-side programmable circuit and the low-side programmable circuit.

10. The power module according to claim 9, characterized in that: The transfer timing control circuit allows the write data to be transferred to the high-side programmable circuit and the low-side programmable circuit only while the low-side circuit inputs a signal to turn on the first switch element and turn off the second switch element.

11. The power module according to claim 9, characterized in that: The transfer timing control circuit allows the write data to be transferred to the high-side programmable circuit and the low-side programmable circuit only while the low-side circuit inputs a signal to turn off the first switch element and turn on the second switch element.

12. The power module according to claim 9, characterized in that: The transfer timing control circuit allows the write data to be transferred to the high-side programmable circuit and the low-side programmable circuit only while the low-side circuit inputs a signal for turning off both the first switching element and the second switching element.

13. A power module, characterized in that: have: A first switching element and a second switching element connected in a half-bridge; a high-side circuit, which drives the first switching element; a low-side circuit for driving the second switching element; a high-side programmable circuit configured to implement a first logic function or parameter used in the high-side circuit; a low-side programmable circuit configured to implement a second logic function or parameter used in the low-side circuit; an external write port that receives a control signal including write data to be written into the high-side programmable circuit and the low-side programmable circuit; an external output port for outputting output data outputted from the high-side programmable circuit and the low-side programmable circuit; internal wiring that sequentially connects the external write port, the high-side programmable circuit, the low-side programmable circuit, and the external output port; as well as a level converter provided in the internal wiring, In the write action and the output action, the write data is transmitted from the external write port to the high-side programmable circuit via the level converter in the internal wiring, and the output data is transmitted as the write data from the high-side programmable circuit to the low-side programmable circuit via the level converter in the internal wiring, and then the output data is transmitted from the low-side programmable circuit to the external output port, The write data written into the high-side programmable circuit changes the first logic function or parameter used in the high-side circuit, The write data written to the low-side programmable circuit changes the second logic function or parameter used in the low-side circuit.

14. The power module according to claim 13, characterized in that: The high-side programmable circuit and the low-side programmable circuit are daisy-chain connected via the level converter.

15. The power module according to claim 13, characterized in that: Also features: A transfer timing control circuit controls the timing of transferring the write data input to the external write port and the output data output from the low-side programmable circuit to the high-side programmable circuit and the low-side programmable circuit.

16. The power module according to claim 15, characterized in that: The transfer timing control circuit allows the write data to be transferred to the high-side programmable circuit and the low-side programmable circuit only while the low-side circuit inputs a signal to turn on the first switch element and turn off the second switch element.

17. The power module according to claim 15, characterized in that: The transfer timing control circuit allows the write data to be transferred to the high-side programmable circuit and the low-side programmable circuit only while the low-side circuit inputs a signal to turn off the first switch element and turn on the second switch element.

18. The power module according to claim 15, characterized in that: The transfer timing control circuit allows the write data to be transferred to the high-side programmable circuit and the low-side programmable circuit only while the low-side circuit inputs a signal for turning off both the first switching element and the second switching element.

19. The power module according to claim 13, characterized in that: The control signal includes a selection signal, When the control signal is input to the external write port and the selection signal indicates a selection state, the write operation and the output operation are performed, When the control signal is input to the external write port and the selection signal indicates a non-selection state, the write operation and the output operation are not performed.

20. A power module, characterized in that: have: A first switching element and a second switching element connected in a half-bridge; a high-side circuit, which drives the first switching element; a low-side circuit for driving the second switching element; a high-side programmable circuit configured to implement a first logic function or parameter used in the high-side circuit; a low-side programmable circuit configured to implement a second logic function or parameter used in the low-side circuit; an external write port that receives a control signal including write data to be written into the high-side programmable circuit and the low-side programmable circuit; an external output port for outputting output data outputted from the high-side programmable circuit and the low-side programmable circuit; internal wiring that sequentially connects the external write port, the low-side programmable circuit, the high-side programmable circuit, and the external output port; as well as a level converter provided in the internal wiring, In the write action and the output action, the write data is transferred from the external write port to the low-side programmable circuit, and the output data is transferred as the write data from the low-side programmable circuit to the high-side programmable circuit via the level converter in the internal wiring, and then the output data is transferred from the high-side programmable circuit to the external output port via the level converter in the internal wiring, The write data written into the high-side programmable circuit changes the first logic function or parameter used in the high-side circuit, The write data written to the low-side programmable circuit changes the second logic function or parameter used in the low-side circuit.

21. The power module according to claim 20, characterized in that: The high-side programmable circuit and the low-side programmable circuit are daisy-chain connected via the level converter.

22. The power module according to claim 20, characterized in that: Also features: A transfer timing control circuit controls the timing of transferring the write data input to the external write port and the output data output from the high-side programmable circuit to the low-side programmable circuit and the high-side programmable circuit.

23. The power module according to claim 22, characterized in that: The transfer timing control circuit allows the write data to be transferred to the high-side programmable circuit and the low-side programmable circuit only while the low-side circuit inputs a signal to turn on the first switch element and turn off the second switch element.

24. The power module according to claim 22, characterized in that: The transfer timing control circuit allows the write data to be transferred to the high-side programmable circuit and the low-side programmable circuit only while the low-side circuit inputs a signal to turn off the first switch element and turn on the second switch element.

25. The power module according to claim 22, characterized in that: The transfer timing control circuit allows the write data to be transferred to the high-side programmable circuit and the low-side programmable circuit only while the low-side circuit inputs a signal for turning off both the first switching element and the second switching element.

26. The power module according to claim 20, characterized in that: The control signal includes a selection signal, When the control signal is input to the external write port and the selection signal indicates a selection state, the write operation and the output operation are performed, When the control signal is input to the external write port and the selection signal indicates a non-selection state, the write operation and the output operation are not performed.