Power converter, signal generation method, and program

The power conversion device uses a control circuit with synchronized PWM signal generation to stabilize output voltage by calculating and updating PWM parameters, resolving synchronization issues in MCU-based power conversion devices.

JP2026084791APending Publication Date: 2026-05-22MINEBEAMITSUMI INC
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
MINEBEAMITSUMI INC
Filing Date
2024-11-12
Publication Date
2026-05-22

AI Technical Summary

Technical Problem

Existing power conversion devices using general-purpose microcontrollers (MCUs) face issues with synchronized PWM signal generation due to overlapping processes, leading to improper generation of some PWM signals, especially when the MCU's setting disable period coincides with synchronization timing.

Method used

A power conversion device with a control circuit that includes a voltage acquisition unit, storage unit, and control parameter setting unit to calculate and update PWM signal parameters, ensuring synchronized start times for multiple PWM signals, using a master-slave synchronization method to stabilize output voltage.

Benefits of technology

Stable generation of multiple PWM signals is achieved, ensuring accurate and synchronized output voltage control, addressing the synchronization issues in existing technologies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026084791000001_ABST
    Figure 2026084791000001_ABST
Patent Text Reader

Abstract

To enable stable generation of multiple PWM signals in a power conversion device. [Solution] The power converter 2 includes a conversion circuit 3 that converts and outputs power based on a plurality of PWM signals Sp, and a control circuit 7 that generates a plurality of PWM signals Sp. The control circuit 7 performs a control parameter calculation process that calculates at least one of a value that specifies the PWM period and a value that specifies the duty cycle of each PWM signal Sp so that the error between the output voltage Vout and the target voltage Vtgt approaches zero, and a control parameter update process that updates the values ​​of the control parameters 20 for each PWM signal Sp stored in the storage unit 12 with the values ​​calculated by the control parameter calculation process. The control circuit 7 starts the control parameter update process in response to the start of the PWM period of the PWM signal Sp, and completes the control parameter update process before the next PWM period starts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a power conversion device, a signal generation method, and a program, and more particularly, to a power conversion device that converts and outputs input power by control in a pulse width modulation (PWM) system.

Background Art

[0002] In power conversion devices such as DC / DC converters, a technique of converting and outputting input power by a PWM signal is known (see Patent Document 1).

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0004] Prior to the present application, the inventors of the present application considered developing a power conversion device that converts an input voltage into a DC voltage of a desired magnitude and outputs it by PWM control using a general-purpose microcontroller (MCU).

[0005] The power conversion device according to the prior study example by the inventors of the present application includes a transformer, an inverter circuit connected to the primary side of the transformer, a rectifier circuit connected to the secondary side of the transformer, and an MCU having a function of generating a plurality of PWM signals.

[0006] In the power converter described above, the MCU performs feedback control to generate multiple PWM signals to individually drive multiple transistors constituting the inverter circuit so that the DC voltage (output voltage) output from the rectifier circuit matches the target voltage. Specifically, the MCU calculates and updates the values ​​of control parameters, including at least one of the duty cycle of the PWM signal and one period of the PWM signal (hereinafter also referred to as the "PWM period"), for each PWM signal so that the error between the output voltage and the target voltage is minimized. As a result, at least one of the duty cycle and PWM period of each PWM signal is dynamically adjusted, and the output voltage of the power converter is controlled to match the target voltage.

[0007] In order to stabilize the output voltage in the above power converter, it is necessary that the timing of the start of the PWM cycle is synchronized with each other.

[0008] However, the inventors' research has revealed that even when the start timing of the PWM cycle is synchronized between each PWM signal, depending on the functions of the MCU used as the control circuit, some of the multiple PWM signals may not be generated properly.

[0009] Specifically, it has become clear that when the timing of two processes being executed in an MCU overlaps, the MCU may not be able to properly perform one of the processes, resulting in some PWM signals not being generated. For example, when the period during which the MCU updates the control parameters of each PWM signal overlaps with the timing at which the MCU synchronizes each PWM signal (the start timing of the PWM cycle), some PWM signals may not be output.

[0010] This issue arises from the specifications of the MCU used as the control circuit. Specifically, in an MCU that has a function to enable control parameter updates after a setting disable period has elapsed, which disables the updating of control parameters while PWM signals are being generated, if the setting disable period and the timing for synchronizing each PWM signal coincide, the signal for synchronizing each PWM signal may not be output, and some PWM signals may not be generated properly.

[0011] The present invention aims to solve the above-mentioned problems and to enable the stable generation of multiple PWM signals in a power conversion device. [Means for solving the problem]

[0012] A power conversion device according to a typical embodiment of the present invention includes a conversion circuit that converts and outputs input power based on a plurality of PWM signals, and a control circuit that generates the plurality of PWM signals so that the output voltage of the conversion circuit approaches a target voltage, wherein the control circuit includes a voltage acquisition unit that acquires the value of the output voltage, a storage unit that stores control parameters for each PWM signal, including a value that specifies the PWM period which is one period of the PWM signal and a value that specifies the duty cycle of the PWM signal, and a function that reduces the value that specifies the PWM period and the duty cycle of each PWM signal so that the error between the output voltage value acquired by the voltage acquisition unit and the target voltage value approaches zero The system includes a control parameter setting unit that performs a control parameter calculation process to calculate at least one of the PWM signals, a control parameter update process that updates the value of the control parameter for each PWM signal stored in the storage unit with the value calculated by the control parameter calculation process, and a PWM signal generation unit that generates the plurality of PWM signals based on the control parameters stored in the storage unit so that the timing of when the PWM cycles of the plurality of PWM signals start is synchronized, wherein the control parameter setting unit starts the control parameter update process in response to the start of the PWM cycle and completes the control parameter update process before the next PWM cycle starts. [Effects of the Invention]

[0013] According to one aspect of the present invention, it is possible to stably generate multiple PWM signals in a power conversion device. [Brief explanation of the drawing]

[0014] [Figure 1] This figure shows the configuration of a power supply device equipped with a power conversion device according to an embodiment. [Figure 2] This figure shows an example of the circuit configuration of a power conversion device according to an embodiment. [Figure 3] This diagram shows the configuration of the control circuit according to the embodiment. [Figure 4] This is a timing chart showing an example of a PWM signal. [Figure 5] This flowchart shows an example of the PWM signal generation process flow in a power conversion device according to an embodiment. [Modes for carrying out the invention]

[0015] 1. Overview of the Embodiment First, a general overview of a typical embodiment of the invention disclosed in this application will be provided. In the following description, as an example, reference numerals on the drawings corresponding to the components of the invention are indicated in parentheses.

[0016] [1] A power conversion device (2) according to a typical embodiment of the present invention includes a conversion circuit (3) that converts and outputs input power based on a plurality of PWM signals, and a control circuit (7) that generates the plurality of PWM signals such that the output voltage (Vout) of the conversion circuit approaches a target voltage (Vtgt), wherein the control circuit includes a voltage acquisition unit (10) that acquires the value of the output voltage, a storage unit (12) that stores control parameters (20_1~20_12) for each PWM signal, including a value (Ctc) that specifies the PWM period which is one period of the PWM signal and a value (Cdt1~Cdt12) that specifies the duty cycle of the PWM signal, and the PWM frequency of each PWM signal such that the error between the value of the output voltage acquired by the voltage acquisition unit and the value of the target voltage approaches zero The system includes a control parameter setting unit (11) that performs a control parameter calculation process to calculate at least one of a value that specifies the period and a value that specifies the duty cycle, and a control parameter update process that updates the value of the control parameter for each PWM signal stored in the storage unit with the value calculated by the control parameter calculation process, and a PWM signal generation unit (13) that generates the plurality of PWM signals based on the control parameters stored in the storage unit so that the timing of when the PWM cycles of the plurality of PWM signals start is synchronized, wherein the control parameter setting unit starts the control parameter update process in response to the start of the PWM cycle and completes the control parameter update process before the next PWM cycle starts.

[0017] [2] In the power conversion device described in [1] above, the PWM signal generation unit includes a first signal generation unit (14_1) that generates the PWM signal (Sp1) as a master, and a plurality of second signal generation units (14_2 to 14_12) that generate the PWM signals (Sp2 to Sp12) as slaves to the master, wherein the second signal generation unit starts the PWM period of the slave PWM signal in synchronization with the timing at which the PWM period of the master PWM signal starts, and the control parameter setting unit may start the control parameter update process after a predetermined time (Td) has elapsed since detecting the start of the PWM period of the master PWM signal.

[0018] [3] In the power conversion device described in [2] above, the first signal generation unit and the second signal generation unit each include a counter (15) for counting a clock signal, a comparison unit (16) for comparing the count value of the counter with a value that specifies the duty cycle included in the control parameters, and an output unit (17) for generating a binary signal according to the comparison result by the comparison unit and outputting it as the PWM signal. The counter clears the count value and restarts counting the clock signal when the count value reaches a value that specifies the PWM period included in the control parameters, and the control parameter setting unit may start the control parameter update process after a predetermined time has elapsed since detecting that the count value of the counter of the first signal generation unit has been cleared.

[0019] 〔4〕The signal generation method according to a representative embodiment of the present invention is a method for generating a plurality of PWM signals for controlling a conversion circuit (3) that converts and outputs input power by a microcontroller (7). In this method, the microcontroller has a storage unit (12) that stores control parameters including a value specifying a PWM period, which is one period of the PWM signal, and a value specifying a duty ratio of the PWM signal for each PWM signal. This method includes: a first step (S1) in which the microcontroller acquires a value of an output voltage of the conversion circuit; a second step (S2) in which the microcontroller performs a control parameter calculation process for calculating at least one of a value specifying the PWM period and a value specifying the duty ratio of each PWM signal so that an error between the value of the output voltage acquired in the first step and a value of a target voltage approaches zero; a third step (S3 to S6) in which the microcontroller performs a control parameter update process for updating a value of the control parameter for each PWM signal stored in the storage unit with the value calculated in the second step; and a fourth step (S7) in which the microcontroller generates the plurality of PWM signals in which timings at which the PWM periods start are synchronized based on the value of the control parameter stored in the storage unit. The third step includes a step (S3 to S6) in which the microcontroller starts the control parameter update process in response to the start of the PWM period and completes the control parameter update process before the start of the next PWM period.

[0020] 〔5〕The program according to a representative embodiment of the present invention causes the microcontroller to execute each step in the signal generation method described in the above 〔4〕.

[0021] 2. Specific Examples of Embodiments Hereinafter, specific examples of embodiments of the present invention will be described with reference to the drawings.

[0022] ≪Embodiment≫ Figure 1 shows the configuration of a power supply device 100 equipped with a power converter 2 according to an embodiment.

[0023] The power supply device 100 shown in Figure 1 is, for example, a device that generates DC power from AC power input from an external source and supplies it to a load. For example, the power supply device 100 is a charger, and is a fast charger for charging the battery of an electric vehicle.

[0024] The power supply device 100 includes an AC / DC converter 1 and a power converter 2 as modules for generating DC power. Although Figure 1 shows one set of AC / DC converter 1 and power converter 2, the power supply device 100 may have multiple sets of AC / DC converter 1 and power converter 2.

[0025] The AC / DC converter 1 is a circuit that converts alternating current (AC) power to direct current (DC) power. A smoothing capacitor Cin is connected to the output terminal of the AC / DC converter 1. For example, the AC / DC converter 1 generates and outputs a DC voltage Vin based on a three-phase AC voltage (e.g., 200V) input from an external source. Various known circuit configurations can be used for the AC / DC converter 1.

[0026] Power converter 2 is a circuit that converts and outputs the input power. Power converter 2 is, for example, a DC / DC converter that converts the input voltage Vin into an output voltage Vout of a predetermined magnitude and outputs it. For example, power converter 2 generates an output voltage Vout of a predetermined magnitude within the range of 500V to 1000V.

[0027] As shown in Figure 1, the power converter 2 has a conversion circuit 3, a control circuit 7, and a pre-drive circuit 8.

[0028] The conversion circuit 3 is a circuit that converts and outputs input power based on multiple PWM signals Sp1 to Spn (where n is an integer of 2 or more). The conversion circuit 3 constitutes, for example, an isolated DC / DC converter. The conversion circuit 3 converts the input voltage Vin to an output voltage Vout of a predetermined magnitude based on multiple PWM signals Sp1 to Spn and outputs it. For example, the conversion circuit 3 has an inverter circuit 4, a transformer 5, and a rectifier circuit 6.

[0029] The control circuit 7 is a circuit that controls the driving of the conversion circuit 3. The control circuit 7 generates multiple PWM signals so that the output voltage Vout of the conversion circuit approaches the target voltage Vtgt. The detailed configuration of the control circuit 7 will be described later.

[0030] The pre-drive circuit 8 is a circuit that drives the conversion circuit 3 based on a plurality of PWM signals Sp1 to Spn generated by the control circuit 7. For example, the pre-drive circuit 8 generates and outputs binary drive signals Sd1 to Sdm that have sufficient power to drive the inverter circuit 4 of the conversion circuit 3, based on the plurality of PWM signals Sp1 to Spn generated by the control circuit 7.

[0031] Furthermore, if the inverter circuit 4 can be driven without power shortage by the PWM signals Sp1 to Spn generated by the control circuit 7, the pre-drive circuit 8 does not need to be provided.

[0032] Figure 2 shows an example of the circuit configuration of the power converter 2 according to the embodiment.

[0033] In this embodiment, we will describe the case where the control circuit 7 generates 12 (n=12) PWM signals Sp1 to Sp12 and the pre-drive circuit 8 generates 6 (m=6) drive signals Sd1 to Sd6. However, the number of PWM signals generated can be changed in various ways depending on the configuration of the inverter circuit 4 to be driven. Also, in the following description, when PWM signals Sp1 to Spn are not distinguished, they will be referred to as "PWM signal Sp".

[0034] As shown in Figure 2, the conversion circuit 3 constitutes, for example, a three-phase transformer. The transformer 5 has, for example, primary coils L1u, L1v, L1w connected in a star configuration (Y configuration) and secondary coils L2u, L2v, L2w connected in a star configuration. The combination of the connection methods for the primary coils and the secondary coils is not particularly limited.

[0035] The inverter circuit 4 is a circuit that drives the primary coils L1u, L1v, and L1w of the transformer 5. The inverter circuit 4 is, for example, a bridge circuit. Specifically, the inverter circuit 4 has a switching leg consisting of transistors Muu and Mlu that drives the primary coil L1u, a switching leg consisting of transistors Muv and Mlv that drives the primary coil L1v, and a switching leg consisting of transistors Muw and Mlw that drives the primary coil L1w.

[0036] For example, transistors Muu and Mlu are connected in series between the power line LNp and the ground line LG. Transistors Muv and Mlv are connected in series between the power line LNp and the ground line LG. Transistors Muw and Mlw are connected in series between the power line LNp and the ground line LG. Transistors Muu, Mlu, Muv, Mlv, Muw, Mlw are power transistors such as MOSFETs (Metal-Oxide-Semiconductor Field-Effect Transistors) and IGBTs (Insulated Gate Bipolar Transistors).

[0037] The inverter circuit 4 converts the input voltage Vin into an AC voltage and supplies it to the primary coils L1u, L1v, and L1w of the transformer 5 by switching the on / off state of transistors Muu, Mlu, Muv, Mlv, Muw, and Mlw according to the drive signals Sd1 to Sd6. In other words, the inverter circuit 4 functions as an AC / DC converter.

[0038] The rectifier circuit 6 is a circuit that converts an AC voltage to a DC voltage and outputs it. The rectifier circuit 6 is, for example, a full-wave rectifier circuit. Specifically, the rectifier circuit 6 has a diode bridge circuit consisting of multiple diodes Duu, Dlu, Duv, Dlv, Duw, Dlw and a smoothing capacitor Cout. The rectifier circuit 6 rectifies the AC voltage supplied from the secondary side coils L2u, L2v, L2w of the transformer 5 using the diode bridge circuit and smooths it with the smoothing capacitor Cout, thereby outputting an output voltage Vout between it and the output terminals Po1, Po2.

[0039] The pre-drive circuit 8 generates drive signals Sd1 to Sd6 based on PWM signals Sp1 to Sp12 generated by the control circuit 7. The pre-drive circuit 8 has logic circuits 80_1 to 80_6 that, for example, generate one drive signal from two PWM signals. Logic circuit 80_1 generates drive signal Sd1 based on PWM signals Sp1 and Sp2. Logic circuit 80_2 generates drive signal Sd2 based on PWM signals Sp3 and Sp4. Logic circuit 80_3 generates drive signal Sd3 based on PWM signals Sp5 and Sp6. Logic circuit 80_4 generates drive signal Sd4 based on PWM signals Sp7 and Sp8. Logic circuit 80_5 generates drive signal Sd5 based on PWM signals Sp9 and Sp10. Logic circuit 80_6 generates drive signal Sd6 based on PWM signals Sp11 and Sp12.

[0040] As mentioned above, if the control circuit 7 can generate drive signals Sd1 to Sd6 with sufficient power to drive the transistors Muu, Mlu, Muv, Mlv, Muw, Mlw that constitute the inverter circuit 4, then the pre-drive circuit 8 does not need to be provided.

[0041] Furthermore, the circuit configurations of the inverter circuit 4, transformer 5, and rectifier circuit 6 are not limited to the examples described above, and various known circuits can be used depending on the control method of the DC / DC converter.

[0042] The control circuit 7 is a program processing unit that has components (hardware elements) such as a processor (CPU, Central Processing Unit), various memories such as ROM (Read Only Memory) and RAM (Random Access Memory), timers, counters, A / D conversion circuits, input / output I / F circuits, and clock generation circuits, with each component connected to the others via a bus or dedicated line. The control circuit 7 is, for example, an MCU. The control circuit 7 has a rewritable non-volatile memory such as flash memory or EEPROM (Electrically Erasable Programmable Read-Only Memory) as its memory. For example, the value of the target voltage Vtgt, which will be described later, can be rewritten to the above non-volatile memory.

[0043] In this embodiment, the control circuit 7 is packaged as an IC (integrated circuit), but is not limited to this. For example, the control circuit 7 and the pre-drive circuit 8 may be packaged together, or the control circuit 7, pre-drive circuit 8, and inverter circuit 4 may be packaged together.

[0044] The control circuit 7 has the function of generating multiple PWM signals Sp1 to Sp12 so that the output voltage Vout of the conversion circuit 3 approaches the target voltage Vtgt. Specifically, the control circuit 7 has the function of monitoring the output voltage Vout and generating multiple PWM signals Sp1 to Sp12 to drive the transistors Muu, Mlu, Muv, Mlv, Muw, Mlw of the inverter circuit 4 so that the error between the output voltage Vout and the target voltage Vtgt approaches zero.

[0045] Figure 3 shows the configuration of the control circuit 7 according to the embodiment.

[0046] As shown in Figure 3, the control circuit 7 includes, for example, a voltage acquisition unit 10, a control parameter setting unit 11, a memory unit 12, and a PWM signal generation unit 13 as functional blocks for realizing the above-described functions. These functional blocks are realized, for example, by the processor within the MCU, which acts as the control circuit 7, executing various calculations according to a program stored in memory, and controlling peripheral circuits such as timers and counters, A / D conversion circuits, and input / output I / F circuits. Some of these functional blocks may be realized by dedicated hardware circuits (logic circuits, etc.). In addition, the control circuit 7 may have functional blocks for realizing other functions besides those described above.

[0047] The voltage acquisition unit 10 is a functional unit that detects the output voltage Vout. The voltage acquisition unit 10 detects the value of the output voltage Vout by converting the voltage obtained by dividing the output voltage Vout, which is input to the control circuit 7 via, for example, a resistive voltage divider circuit (not shown), into a digital signal using an A / D conversion circuit.

[0048] The memory unit 12 is a functional unit for storing data necessary for the overall control of the power converter 2 by the control circuit 7. For example, the memory unit 12 stores the values ​​of control parameters 20_1 to 20_12, which are data necessary for generating each of the PWM signals Sp1 to Sp12. In the following explanation, when control parameters 20_1 to 20_12 are not distinguished, they will be referred to as "control parameter 20".

[0049] The control parameter 20 includes a value Ctc that specifies the PWM period, which is one period of the PWM signal Sp to be generated, and a value Cdtn that specifies the duty cycle of the PWM signal Sp to be generated. For example, the control parameter 20_1 for generating PWM signal Sp1 includes a value Ctc that specifies the PWM period of PWM signal Sp1 and a value Cdt1 that specifies the duty cycle of PWM signal Sp1, and the control parameters 20_2~20_12 for generating PWM signals Sp2~Sp12 include a value Ctc that specifies the respective PWM period of PWM signals Sp2~Sp12 and values ​​Cdt2~Cdt12 that specify the respective duty cycles of PWM signals Sp2~Sp12.

[0050] In this embodiment, the values ​​that specify the PWM period for each PWM signal Sp1 to Sp12 are common to all of them. For example, if the PWM period value of PWM signal Sp1 is changed, the PWM periods of the other PWM signals Sp2 to Sp12 are similarly changed to the same value as the PWM period value of PWM signal Sp1.

[0051] The control parameter setting unit 11 is a functional unit that sets the values ​​of the control parameters 20. The control parameter setting unit 11 performs the following: a process to calculate at least one of the values ​​Ctc, which specifies the PWM period of each PWM signal Sp1 to Sp12, and the values ​​Cdt1 to Cdt12, which specify the duty cycle, so that the error between the output voltage Vout value detected by the voltage acquisition unit 10 and the target voltage Vtgt value approaches zero (hereinafter also referred to as the "control parameter calculation process"), and a process to update the values ​​of the control parameters 20_1 to 20_12 for each PWM signal Sp1 to Sp12 stored in the storage unit 12 (hereinafter also referred to as the "control parameter update process").

[0052] The control parameter setting unit 11 performs a control parameter calculation process, for example, by calculating a voltage command value to make the error between the output voltage Vout and the target voltage Vtgt zero using a known feedback control calculation (e.g., PI control calculation or PID control calculation), and then calculates at least one of the values ​​Cdt1 to Cdt12 that specify the duty cycle of the PWM signals Sp1 to Sp12 and the value Ctc that specifies the PWM period, based on the above voltage command value using a known calculation method (e.g., a known spatial vector transformation). The control parameter setting unit 11 performs the control parameter calculation process periodically. For example, the control parameter calculation process is performed every PWM period.

[0053] The control parameter setting unit 11 updates the values ​​of the control parameters 20 calculated by the control parameter calculation process in the storage unit 12 through a control parameter update process. Here, the control parameter update process is performed at predetermined timings, which will be described later.

[0054] The PWM signal generation unit 13 is a functional unit that generates PWM signals Sp1 to Sp12. The PWM signal generation unit 13 generates multiple PWM signals Sp1 to Sp12 based on control parameters 20_1 to 20_12 stored in the memory unit 12 so that the timing of when the PWM periods of the multiple PWM signals Sp1 to Sp12 start is synchronized.

[0055] For example, the PWM signal generation unit 13 includes a first signal generation unit 14_1 that generates a PWM signal Sp1 as a master, and a plurality of second signal generation units 14_2 to 14_12 that generate PWM signals Sp2 to Sp12 as slaves to the master.

[0056] The first signal generation unit 14_1 generates a PWM signal Sp1 based on the value of the control parameter 20_1 stored in the memory unit 12. That is, the first signal generation unit 14_1 generates and outputs a PWM signal Sp1 having a period corresponding to the value Ctc that specifies the PWM period of the control parameter 20_1, and a duty cycle corresponding to the value Cdt1 that specifies the duty cycle of the control parameter 20_1.

[0057] The second signal generation units 14_2 to 14_12 generate PWM signals Sp2 to Sp12, respectively, based on the control parameters 20_2 to 20_12 stored in the memory unit 12. For example, the second signal generation unit 14_2 generates and outputs PWM signals Sp2, each having a period corresponding to the value Ctc that specifies the PWM period of the control parameter 20_2, and a duty cycle corresponding to the values ​​Cdt2 to Cdt12 that specify the duty cycle of the control parameters 20_2 to 20_12.

[0058] Here, the second signal generation units 14_2 to 14_12 start the PWM cycles of the slave PWM signals Sp2 to Sp12 in synchronization with the timing at which the PWM cycle of the master PWM signal Sp1 starts.

[0059] Specifically, the first signal generation unit 14_1 and the second signal generation unit 14_2 each include a counter (CNTR) 15, a comparison unit 16, and an output unit (OTPU) 17, respectively.

[0060] Counter 15 is a functional unit that counts the clock signal CLK. The clock signal CLK may be a binary signal generated internally by a known clock generation circuit within the MCU7, or it may be a binary signal input from an external source.

[0061] The counter 15 of the first signal generation unit 14_1, acting as a master, for example counts the number of pulses of the clock signal CLK and updates the count value sequentially. When the count value reaches a value Ctc that specifies the PWM period, which is included in the control parameter 20 stored in the memory unit 12, the counter 15 clears the count value and restarts counting the clock signal CLK.

[0062] Here, the count value of counter 15 corresponds to the carrier signal in PWM, and this carrier signal is sawtooth waveform. Hereafter, the count value of counter 15 of the first signal generation unit 14_1 will be referred to as "count value CNT1", and the count values ​​of counter 15 of the second signal generation units 14_2 to 14_12 will be referred to as "count values ​​CNT2 to CNT12", respectively. Also, if count values ​​CNT1 to CNT2 are not distinguished, they will be referred to as "count value CNT".

[0063] The counters 15 of the second signal generation units 14_2 to 14_12, acting as slaves, start counting the clock signal CLK in synchronization with the counter 15 of the first signal generation unit 14_1, acting as a master. For example, the counters 15 of the second signal generation units 14_2 to 14_12 monitor the count value CNT1 of the counter 15 of the first signal generation unit 14_1, and when they detect that the count value CNT1 has been cleared, they clear their own count values ​​CNT2 to CNT12 and restart counting the clock signal CLK. This makes it possible to synchronize the timing at which the PWM cycle of PWM signals Sp2 to Sp12 starts with the timing at which the PWM cycle of PWM signal Sp1 starts.

[0064] The comparison unit 16 is a functional unit that compares the count values ​​CNT1 to CNT12 of the counter 15 with the values ​​Cdt1 to Cdt12 that specify the duty cycle of the control parameter 20. For example, the comparison unit 16 of the first signal generation unit 14_1 determines whether the count value CNT1 is greater than or equal to the duty cycle value Cdt1 and outputs the determination result. Similarly, the comparison unit 16 of the second signal generation unit 14_2 determines whether the count value CNT2 is greater than or equal to the duty cycle value Cdt2 and outputs the determination result. The comparison units 16 of the second signal generation units 14_3 to 14_12 output the determination result using a similar method.

[0065] Here, the values ​​Cdt1 to Cdt12 that specify the duty cycle correspond to the reference value (reference signal) in PWM, and this reference value is a constant value that is updated in accordance with the update of the control parameter 20.

[0066] The output unit 17 is a functional unit that generates a binary signal according to the comparison result by the comparison unit 16 and outputs it as PWM signals Sp1 to Sp12. For example, the output unit 17 of the first signal generation unit 14_1 sets the voltage of the PWM signal Sp1 to a first logic level (e.g., high level) when the count value CNT1 is lower than the value Cdt1 which specifies the duty cycle, and sets the voltage of the PWM signal Sp1 to a second logic level (e.g., low level) when the count value CNT1 is equal to or greater than the value Cdt1 which specifies the duty cycle. Similarly, the output unit 17 of the second signal generation unit 14_2 sets the voltage of the PWM signal Sp2 to a first logic level (e.g., high level) when the count value CNT2 is lower than the value Cdt2 which specifies the duty cycle, and sets the voltage of the PWM signal Sp2 to a second logic level (e.g., low level) when the count value CNT2 is equal to or greater than the value Cdt2 which specifies the duty cycle. The output section 17 of the second signal generation section 14_3 to 14_12 generates PWM signals Sp2 to Sp12 using a similar method.

[0067] Next, an example of a PWM signal Sp generated by the PWM signal generation unit 13 is shown.

[0068] Figure 4 is a timing chart showing an example of a PWM signal Sp according to the embodiment.

[0069] In Figure 4, the horizontal axis represents time. In Figure 4, the waveforms of count value CNT1, PWM signal Sp1, count value CNT2, and PWM signal Sp2 are shown side by side from the top to the bottom of the page. Figure 4 also shows PWM signals Sp1 and Sp2 for four periods, from the first PWM period T1 to the fourth PWM period T4.

[0070] For example, at time t0 in Figure 4, the PWM signal generation unit 13 starts generating the PWM signal Sp. At this time, the counters 15 and comparison units 16 in the first signal generation unit 14_1 and the second signal generation units 14_2 to 14_12 are assumed to already have the control parameters 20_1 to 20_12 (value Ctc specifying the PWM period and values ​​Cdt1 to Cdt12 specifying the duty cycle) stored in the memory unit 12 set, respectively.

[0071] First, at time t0, the count value CNT1 of the counter 15 of the first signal generation unit 14_1, which acts as the master, is cleared. Next, the counter 15 starts counting the clock signal CLK. This starts the first PWM period T1.

[0072] Meanwhile, each counter 15 of the second signal generation unit 14_2 to 14_12, acting as a slave, clears its own count values ​​CNT2 to CNT12 and starts counting the clock signal CLK when it detects that the count value CNT1 has been cleared.

[0073] Each comparison unit 16 of the first signal generation unit 14_1 and the second signal generation units 14_2 to 14_12 compares the count value CNT of the counter 15 with the values ​​Cdt1 to Cdt12 that specify the duty cycle of each control parameter 20_1 to 20_12, and outputs a value indicating whether the count value CNT is greater than or equal to the value Cdt that specifies the duty cycle. Each output unit 17 of the first signal generation unit 14_1 and the second signal generation units 14_2 to 14_12 generates a binary signal with high and low levels determined based on the value output from the comparison unit 16 as the comparison result, and outputs it as PWM signals Sp1 to Sp12, respectively.

[0074] For example, as shown in Figure 4, the output unit 17 of the first signal generation unit 14_1 sets the PWM signal Sp1 to a high level during the period from time t0 to time t2 when the value specifying the duty cycle Cdt1 is greater than the count value CNT1 in the first PWM period T1, and sets the PWM signal Sp1 to a low level from time t2 onward when the count value CNT1 becomes greater than or equal to the value specifying the duty cycle Cdt1.

[0075] Similarly, as shown in Figure 4, the output unit 17 of the second signal generation unit 14_2 sets the PWM signal Sp2 to a high level during the period from time t0 to time t3 when the value specifying the duty cycle Cdt2 is greater than the count value CNT2 in the first PWM period T1, and sets the PWM signal Sp2 to a low level from time t3 onwards when the count value CNT2 becomes greater than or equal to the value specifying the duty cycle Cdt2.

[0076] Subsequently, at time t4, when the count value CNT1 of the first signal generation unit 14_1 matches the value Ctc that specifies the PWM period of the control parameter 20_1, the counter 15 clears the count value CNT1 and restarts counting the clock signal CLK. Also, each counter 15 of the second signal generation units 14_2 to 14_12 clears the count value CNT1 when the count values ​​CNT1 to CNT12 match the value Ctc that specifies the PWM period of the control parameters 20_2 to 20_12. Then, each counter 15 of the second signal generation units 14_2 to 14_12 restarts counting the clock signal CLK when it detects that the count value CNT1 has been cleared at time t4. As a result, the first PWM period T1 ends and the next second PWM period T2 begins. In the third PWM period T3 and the fourth PWM period T4, following the second PWM period T2, the PWM signals Sp1 to Sp12 are generated using the same method as described above for the first PWM period T1.

[0077] Here, we will explain the timing of when the control parameter 20 is updated.

[0078] The control parameter setting unit 11 starts and completes the control parameter update process during the period from the start of one PWM cycle to the start of the next PWM cycle. Specifically, the control parameter setting unit 11 starts the control parameter update process in response to the start of one PWM cycle and completes the process before the start of the next second PWM cycle T2. For example, in Figure 4, the control parameter setting unit 11 starts the control parameter update process during the period from the start of the first PWM cycle T1 (time t0) to the start of the next second PWM cycle T2 (time t4), and completes updating the control parameters 20_1 to 20_12 stored in the storage unit 12.

[0079] More specifically, the control parameter setting unit 11 starts the control parameter update process after a predetermined time Td has elapsed since detecting the start of the PWM period of the master PWM signal Sp1. Preferably, the control parameter setting unit 11 updates the control parameters 20 of each PWM signal stored in the storage unit 12 after a predetermined time Td has elapsed since detecting that the count value CNT1 of the counter 15 of the first signal generation unit 14_1 has been cleared.

[0080] For example, the control parameter setting unit 11 starts the control parameter update process using the timer interrupt function of the MCU. When the control parameter setting unit 11 detects that the count value CNT1 has been cleared, it starts the timer and starts measuring time t, and when the time t measured by the timer reaches a predetermined time Td (t≧Td), it executes the control parameter update process.

[0081] For example, in the first PWM period T1 shown in Figure 4, the control parameter setting unit 11 updates the control parameters 20_1 to 20_n of each PWM signal stored in the storage unit 12 at time t1, a predetermined time Td has elapsed from time t0, when it detects that the count value CNT1 of the counter 15 of the first signal generation unit 14_1 has been cleared. Similarly, in the second PWM period T2 shown in Figure 4, the control parameter setting unit 11 updates the control parameters 20_1 to 20_n of each PWM signal stored in the storage unit 12 at time t5, a predetermined time Td has elapsed from time t4, when it detects that the count value CNT1 of the counter 15 of the first signal generation unit 14_1 has been cleared.

[0082] Here, the predetermined time Td should be set considering the time required for the control parameter update process and the time from the start of one PWM period to the start of the next PWM period. In other words, the predetermined time Td should be set so that the control parameter update process is completed before the start of the next PWM period. For example, if the value specifying the PWM period is CTc, then the predetermined time Td is CTc / 100 <Td≦CTc / 10であってもよい。

[0083] When a new PWM period begins, the first signal generation unit 14_1 and the second signal generation units 14_2 to 14_12 generate the PWM signals Sp1 to Sp12 for the new PWM period using the control parameters 20_1 to 20_12 updated in the previous PWM period, in the manner described above. For example, in Figure 4, the PWM signals Sp1 to Sp12 for the third PWM period T3 are generated based on the control parameters 20_1 to 20_12 updated at time t5 in the second PWM period T2, which precedes the third PWM period T3.

[0084] Next, the process flow for generating PWM signals Sp1 to Sp12 in the power conversion device 2 according to the embodiment will be described.

[0085] Figure 5 is a flowchart showing an example of the process flow for generating PWM signals Sp1 to Sp12 in the power conversion device 2 according to the embodiment.

[0086] For example, when a three-phase AC voltage (200V) is supplied to the power supply device 100 from an external source, the AC / DC converter 1 generates an input voltage Vin and inputs it to the power converter 2. This starts up the power converter 2.

[0087] After the power converter 2 is started, the control circuit 7 first obtains the value of the output voltage Vout using the method described above (step S1). Next, the control circuit 7 performs the control parameter calculation process (step S2). Specifically, as described above, the control circuit 7 generates a value Ctc that specifies the PWM period and values ​​Cdt1 to Cdt12 that specify the duty cycle, which are the control parameters 20, for each of the PWM signals Sp1 to Sp12 to be generated, so that the output voltage Vout approaches the target voltage Vtgt.

[0088] The control circuit 7 determines whether or not the start of the PWM period has been detected (step S3). Specifically, as described above, the control circuit 7 determines whether or not the count value CNT1 of the counter 15 of the first signal generation unit 14_1, which generates the master PWM signal Sp1, has been cleared.

[0089] If the start of the PWM period has not been detected, i.e., if the count value CNT1 has not been cleared (step S3: NO), the control circuit 7 waits until the start of the PWM period is detected.

[0090] If the start of the PWM period is detected, that is, if the count value CNT1 is cleared (Step S3: YES), the control circuit 7 starts measuring time t using the timer interrupt function described above (Step S4). Next, the control circuit 7 determines whether the measured time t has reached a predetermined time Td (Step S5). If the measured time t has not reached the predetermined time Td (Step S5: NO), the control circuit 7 continues measuring time t. On the other hand, if the measured time t has reached the predetermined time Td (Step S5: YES), the control circuit 7 executes the control parameter update process using the method described above (Step S6).

[0091] Subsequently, the control circuit 7 reads the control parameters 20 updated in step S6 in response to the start of the next PWM period (clearing of the count value CNT1) and generates PWM signals Sp1 to Sp12 for the next PWM period (step S7).

[0092] As the control circuit 7 repeatedly executes the above-described processes (steps S1 to S7), the control parameters 20 are updated with each PWM period, and PWM signals Sp1 to Sp12 corresponding to the updated control parameters 20 are periodically generated.

[0093] In the power converter 2 according to the embodiment described above, the control circuit 7 performs a control parameter calculation process to calculate at least one of the values ​​Ctc, which specifies the PWM period for each PWM signal Sp1 to Sp12, and Cdt1 to Cdt12, which specifies the duty cycle, so that the error between the output voltage Vout and the target voltage Vtgt approaches zero, and a control parameter update process to update the values ​​of the control parameters 20_1 to 20_12 for each PWM signal Sp1 to Sp12 stored in the storage unit 12 with the values ​​calculated by the control parameter calculation process. The control circuit 7 starts the control parameter update process in response to the start of the PWM period and completes the control parameter update process before the next PWM period starts.

[0094] According to this, the timing of synchronously starting the PWM periods of multiple PWM signals Sp1 to Sp12 and the period during which the control parameter update process is performed can be reliably staggered. As a result, the MCU, which acts as the control circuit 7, will not fall into a state where it is unable to perform either the PWM period synchronization process or the control parameter update process. This makes it possible to generate all PWM signals Sp1 to Sp12 appropriately. Furthermore, since the update of control parameters 20_1 to 20_12 is completed before the start of the next PWM period, it is possible to generate PWM signals Sp1 to Sp12 according to the updated control parameters 20_1 to 20_12 appropriately in the next PWM period. Thus, the power conversion device 2 according to this embodiment makes it possible to stably generate multiple PWM signals Sp1 to Sp12.

[0095] Furthermore, in the power converter 2, the control circuit 7 includes, as described above, a first signal generation unit 14_1 that generates a master PWM signal Sp1, and a plurality of second signal generation units 14_2 to 14_12 that generate slave PWM signals Sp2 to Sp12 for the master. As described above, the second signal generation units 14_2 to 14_12 start the PWM cycles of the slave PWM signals Sp2 to Sp12 in synchronization with the timing at which the PWM cycle of the master PWM signal Sp1 starts. The control circuit 7 starts the control parameter update process after a predetermined time Td has elapsed since detecting the start of the PWM cycle of the master PWM signal Sp1. According to this, the control parameter update process is executed triggered by the detection of the start of the PWM period of the PWM signal Sp1. This makes it easy to stagger the timing of the synchronized start of the PWM periods of multiple PWM signals Sp1 to Sp12 and the period during which the control parameter update process is performed. Furthermore, by adjusting a predetermined time Td, it is easy to control the system to start the control parameter update process at a desired timing after the start of the PWM period.

[0096] Furthermore, as described above, the first signal generation unit 14_1 and the second signal generation units 14_2 to 14_12 each include a counter 15, a comparison unit 16 that compares the count value CNT of the counter 15 with a value Cdt that specifies the duty cycle included in the control parameter 20, and an output unit 17 that generates a binary signal according to the comparison result by the comparison unit 16 and outputs it as a PWM signal. The control circuit 7 starts the control parameter update process after a predetermined time Td has elapsed since detecting that the count value CNT1 of the counter 15 of the first signal generation unit 14_1 has been cleared. This makes it easier to control the timing of starting the measurement of a predetermined time Td, that is, the timing of starting the control parameter update process.

[0097] <<Extension of the Embodiment>> Although the present invention has been specifically described above based on embodiments, it goes without saying that the present invention is not limited thereto and can be modified in various ways without departing from its essence.

[0098] For example, in the above embodiment, the case where the conversion circuit 3 is an isolated DC / DC converter was shown, but the type of conversion circuit 3 is not limited to this. For example, the conversion circuit 3 may be any circuit equipped with a drive circuit such as an inverter circuit driven by multiple PWM signals, and the conversion circuit 3 may be an LLC converter or a dual active bridge (DAB) converter, in addition to general boost converters and buck converters. [Explanation of Symbols]

[0099] 100...Power supply device, 1...AC / DC converter, 2...Power conversion device, 3...Conversion circuit, 4...Inverter circuit, 5...Transformer, 6...Rectifier circuit, 7...Control circuit, 8...Pre-drive circuit, 10...Voltage acquisition unit, 11...Control parameter setting unit, 12...Memory unit, 13...PWM signal generation unit, 14_1...First signal generation unit, 14_2~14_12...Second signal generation unit, 15...Counter, 16...Comparison unit, 17...Output unit, 20_1~20_12...Control parameters, Cdt1~Cdt12...Values ​​that specify the duty cycle, Ctc...Values ​​that specify the PWM period, CNT1~CNT12...Count value, Vin...Input voltage, Vout...Output voltage, Vtgt...Target voltage, Td...Determined time, Sd1~Sd6...Drive signal, Sp1~Sp12...PWM signal, Po1,Po2...Output terminals.

Claims

1. A conversion circuit that converts and outputs the input power based on multiple PWM signals, The circuit includes a control circuit that generates the plurality of PWM signals so that the output voltage of the conversion circuit approaches the target voltage, The aforementioned control circuit is A voltage acquisition unit that acquires the value of the output voltage, A storage unit stores control parameters for each PWM signal, including a value that specifies the PWM period, which is one period of the PWM signal, and a value that specifies the duty cycle of the PWM signal. A control parameter setting unit performs a control parameter calculation process that calculates at least one of a value that specifies the PWM period and a value that specifies the duty cycle of each PWM signal so that the error between the output voltage value obtained by the voltage acquisition unit and the target voltage value approaches zero, and a control parameter update process that updates the values ​​of the control parameters for each PWM signal stored in the storage unit with the values ​​calculated by the control parameter calculation process. A PWM signal generation unit generates the plurality of PWM signals based on the control parameters stored in the storage unit so that the timing of the start of the PWM cycle of the plurality of PWM signals is synchronized, The control parameter setting unit starts the control parameter update process in response to the start of the PWM cycle and completes the control parameter update process before the next PWM cycle starts. Power converter.

2. In the power conversion device according to claim 1, The PWM signal generation unit includes a first signal generation unit that generates the PWM signal as a master, and a plurality of second signal generation units that generate the PWM signal as a slave to the master. The second signal generation unit starts the PWM period of the PWM signal as a slave in synchronization with the timing at which the PWM period of the PWM signal as a master starts. The control parameter setting unit starts the control parameter update process after a predetermined time has elapsed since detecting the start of the PWM cycle of the PWM signal acting as the master. Power converter.

3. In the power conversion device according to claim 2, The first signal generation unit and the second signal generation unit are: A counter that counts the clock signal, A comparison unit that compares the count value of the counter with a value that specifies the duty cycle included in the control parameters, The system includes an output unit that generates a binary signal according to the comparison result from the comparison unit and outputs it as the PWM signal. When the counter reaches a value that specifies the PWM period included in the control parameters, it clears the count value and restarts counting the clock signal. The control parameter setting unit starts the control parameter update process after a predetermined time has elapsed following detection that the count value of the counter in the first signal generation unit has been cleared. Power converter.

4. A signal generation method for generating multiple PWM signals by a microcontroller to control a conversion circuit that converts input power and outputs it, The microcontroller has a storage unit that stores control parameters for each PWM signal, including a value that specifies the PWM period, which is one period of the PWM signal, and a value that specifies the duty cycle of the PWM signal. The first step of the microcontroller is to acquire the output voltage value of the conversion circuit, The second step involves the microcontroller performing a control parameter calculation process to calculate at least one of a value specifying the PWM period and a value specifying the duty cycle of each PWM signal such that the error between the output voltage value detected in the first step and the target voltage value approaches zero. The third step involves the microcontroller performing a control parameter update process, which updates the values ​​of the control parameters for each PWM signal stored in the memory unit with the values ​​calculated in the second step. The microcontroller includes a fourth step of generating a plurality of PWM signals whose timing of the start of the PWM period is synchronized, based on the values ​​of the control parameters stored in the memory unit. The third step includes the microcontroller starting the control parameter update process in response to the start of the PWM cycle and completing the control parameter update process before the next PWM cycle starts. Signal generation method.

5. A program that causes the microcontroller to execute each step in the signal generation method described in claim 4.