Power electronics technology experimental device and experimental method

By introducing DSP chips and digital-to-analog conversion boards into the power electronics technology experimental device, the compatibility of analog and digital control experiments is achieved, which solves the problem that existing devices cannot support analog and digital experiments at the same time, and simplifies the transition from analog to digital for experimenters. The transition process of control and meets the digital control needs of actual projects.

CN114842716BActive Publication Date: 2024-08-27HEFEI UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210640243.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-08
Publication Date
2024-08-27
Estimated Expiration
2042-06-08

AI Technical Summary

Technical Problem

Existing power electronics technology experimental equipment cannot support analog and digital experiments at the same time, limiting students' ability to complete experiments within limited experimental time, especially for experimenters without DSP programming experience.

Method used

A power electronics technology experimental device is designed, including an analog experimental circuit, a digital-to-analog conversion board, a digital control module and a DSP chip. By introducing a DSP chip into the analog experimental circuit, the digital-to-analog conversion board is used to replace the analog control experiment with digital The control module realizes digital control of the circuit and supports analog and digital control experiments.

Benefits of technology

It realizes simultaneous simulation and digital control experiments in the same test chamber, reduces the difficulty of the experimenter's transition from analog control to digital control, meets the needs of digital control in actual projects, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114842716B
    Figure CN114842716B
Patent Text Reader

Abstract

The invention discloses a power electronics technology experimental device and an experimental method, belonging to the technical field of power electronics teaching experiments. The device comprises: an analog experimental circuit, a digital-to-analog conversion board, a digital control module and a DSP chip. The digital-to-analog conversion board matches the control chip of the analog experimental circuit. The DSP chip is connected to the digital-to-analog conversion board via the digital control module. A digital control program or a CCS engineering file runs in the RAM of the DSP chip. The digital control module comprises a voltage divider circuit and a conditioning circuit. The digital-to-analog conversion board is connected to the socket of the control chip of the analog experimental circuit and is connected to the input of the digital control module via the voltage divider circuit. The output of the digital control module is connected to the digital-to-analog conversion board via the conditioning circuit. The invention introduces a DSP chip on the basis of retaining all analog control experimental circuits in the experimental device, and can simultaneously support analog control experiments and digital control experiments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of power electronics teaching experiments, and in particular to a power electronics technology experimental device and an experimental method. Background Art

[0002] Power electronics technology is a technology applied in the field of power formed by the intersection of multiple disciplines. It plays a vital role in traditional industries such as electricity, machinery and metallurgy, as well as emerging industries such as aerospace, communications and new energy. The development of power electronics technology and related technology industries will be the key path to achieving the "dual carbon" goal. For students of electrical engineering and related majors, the basic knowledge of power electronics technology must be mastered and applied proficiently. This course requires students to have a solid theoretical foundation and strong practical ability. Through course practice, students can deepen their understanding of theoretical knowledge and improve their hands-on practical ability. Therefore, in order for students to quickly master power electronics technology, the opening of experimental courses is crucial.

[0003] The core of power electronics technology is to control strong electricity by controlling weak electricity. In fact, power electronics control technology is the technology for controlling power semiconductor devices. With the continuous iteration and update of power electronics technology and market demand, its control technology started from analog control. With the rapid development of high-performance digital signal processors (DSP) and grid-connected inverters (this product is basically digital), digital power supply technology has gradually become popular. At present, power electronics technology shows a situation where analog and digital control coexist in large quantities.

[0004] From the perspective of cultivating students' power electronics technology in colleges and universities, the first thing to master is the basic principles of power electronics conversion. Both analog and digital control can achieve the purpose of the experiment. If the digital control experimental device is directly used, most experimenters cannot complete the experiment within the limited experimental time because they do not have the programming ability of DSP. Therefore, the power electronics experiments currently carried out are still mainly based on analog control, and a few use specially developed digital power electronics experimental devices to open digital control power electronics experiments.

[0005] The Chinese invention patent application with application publication number CN106205305A discloses a power electronics and motor drive experimental platform and operation method, including: the components of the DSP core control circuit include a DSP chip, which is connected to the computer device through a USB interface and performs real-time two-way communication; the components of the FPGA expansion circuit include an FPGA board and an expansion interface connected to the outside, and connected to the DSP core control circuit; the signal conversion circuit is composed of a multi-channel current sensor, a voltage sensor and a peripheral circuit, which is used to obtain the current and voltage during the experiment; the signal protection drive circuit is composed of a CPLD logic protection circuit, a drive circuit and an overvoltage and overcurrent protection circuit, which is suitable for conducting open power electronics and electrical transmission digital real-time control experiments. However, this experimental platform is a purely digital experimental device and cannot achieve analog control. Summary of the invention

[0006] The technical problem to be solved by the present invention is how to provide a power electronics technology experiment box that supports both analog and digital experiments.

[0007] The present invention solves the above technical problems through the following technical means:

[0008] The present invention proposes a power electronics technology experimental device, which comprises: an analog experimental circuit, a digital-to-analog conversion board, a digital control module and a DSP chip. The digital-to-analog conversion board matches the control chip of the analog experimental circuit, the DSP chip is connected to the digital-to-analog conversion board via the digital control module, and a digital control program runs in the RAM of the DSP chip.

[0009] The digital control module includes a voltage divider circuit and a conditioning circuit. The digital-to-analog conversion board is connected to the socket of the control chip of the analog experimental circuit and is connected to the input of the digital control module via the voltage divider circuit. The output of the digital control module is connected to the digital-to-analog conversion board via the conditioning circuit.

[0010] The present invention introduces a DSP chip on the basis of retaining all analog control experimental circuits in the experimental device. When performing analog control experiments, the analog experimental circuit is used to complete the experiment. When performing digital control experiments, the control chip of the analog experimental circuit is unplugged from the socket and replaced with a matching digital-to-analog conversion board, and the DSP chip is connected to the digital-to-analog conversion board through a digital control module, so that the digital control experiment of the circuit can be performed. The experimental device in the present invention can simultaneously support analog control experiments and digital control experiments, meet the needs of digital control in practical engineering, and has low cost. At the same time, because the analog integrated circuit chip in the original analog control circuit is replaced by the DSP chip in conjunction with the digital control module and the digital-to-analog conversion board, the original other driving circuits, the main circuit and the like are still retained. On the basis of being familiar with the corresponding circuits in the analog control experiment, the experimenter can focus on the familiarity with the DSP chip and the experiment of the control algorithm in the digital control experiment, which greatly simplifies the familiarity process of the experimenter from analog control to digital control.

[0011] Furthermore, the simulation experimental circuit includes a flyback switching power supply experimental circuit, an isolated bridge DC / DC converter experimental circuit, a variable frequency speed regulation experimental circuit and a three-phase inverter experimental circuit.

[0012] Further, the conditioning circuit includes a buffer driver and four in-phase / inverting buffers, the input of the buffer driver is connected to the output of the DSP chip, the output of the buffer driver is connected to the input of the four in-phase / inverting buffers, and the output of the four in-phase / inverting buffers is connected to the digital-to-analog conversion board;

[0013] A resistor R is connected between the output of the buffer driver and the input of the four in-phase / inverting buffers, the resistor is connected to the output of a power supply, and the power supply is connected to a bypass capacitor.

[0014] Further, the voltage divider circuit includes a first voltage divider resistor, a second voltage divider resistor, a capacitor and a switch diode, one end of the first voltage divider resistor is connected to the analog-to-digital conversion board, the other end is connected to one end of the second voltage divider resistor, the other end of the second voltage divider resistor is grounded, one end of the capacitor is connected to the other end of the second voltage divider resistor, the other end is connected to the anode of the switch diode, and the cathode of the switch diode is connected to the input voltage;

[0015] One end of the second voltage-dividing resistor is connected to the other end of the capacitor and then connected to the DSP chip.

[0016] Furthermore, the input of the digital-to-analog conversion board is connected to the steering signal output, fundamental frequency control signal output and voltage output of the analog experimental circuit; the output drive signal of the digital-to-analog conversion board is connected to the drive chip of the analog experimental circuit.

[0017] In addition, the present invention also proposes an experimental method of a power electronics technology experimental device, which uses an analog experimental circuit to perform an analog-controlled power electronics experiment. When performing a digitally controlled power electronics experiment, the method includes:

[0018] Replace the control chip of the analog experimental circuit on the socket with a digital-to-analog conversion board, connect the digital-to-analog conversion board with the digital control module, and connect the digital control module with the DSP chip;

[0019] The digital control module receives the PWM control signal output by the DSP chip, and converts the PWM control signal into a driving signal that can be used to drive the analog experimental circuit, so that the analog experimental circuit generates experimental data according to the driving signal;

[0020] The digital control module receives the experimental data, performs voltage division processing on the experimental data, and then sends the data to the DSP chip.

[0021] Furthermore, when the analog experimental circuit is a three-phase inverter experimental circuit, the digital control program writing step of the DSP chip includes:

[0022] Under SPWM regular sampling, the three-phase continuous modulation wave is obtained as follows:

[0023]

[0024] After SPWM regular sampling and discrete processing of the three-phase continuous modulation wave, the following is obtained:

[0025]

[0026] Based on the value of the period register TBPRD in the DSP chip, it is determined that the carrier amplitude and carrier offset are both TBPRD / 2, and the pulse width of each switching cycle is:

[0027]

[0028] Where: CMPx is the value of the comparison register of the DSP chip, M is the modulation index, f s is the carrier frequency, f fund is the sine wave frequency, N is the carrier ratio, pi is π, and t is time.

[0029] Furthermore, when the analog experimental circuit is a variable frequency speed regulation experimental circuit, the digital control program writing step of the DSP chip includes:

[0030] System initialization;

[0031] Calculate the fundamental frequency;

[0032] When rotating forward, the output phase sequence remains unchanged, otherwise the output phase sequence changes;

[0033] Compute discrete time;

[0034] Calculate the CMPx value, and recalculate the fundamental frequency after loading the CMPx wave;

[0035] The calculation formula of CMPx value is:

[0036]

[0037] Where: CMPx is the value of the comparison register of the DSP chip, M is the modulation index, f s is the carrier frequency, f fund is the sine wave frequency, N is the carrier ratio, and pi is π.

[0038] Furthermore, when the analog experimental circuit is an isolated bridge DC / DC converter experimental circuit, when the digital control program of the DSP chip is written, the driving time of the upper tube and the lower tube of the half bridge are equal within one cycle.

[0039] Furthermore, the method further comprises:

[0040] By establishing a circuit topology on the simulation software to perform digital simulation, a digital simulation model is obtained;

[0041] Replacing the functional modules of the DSP chip with the functional modules in the digital simulation model and setting parameters;

[0042] The CCS project file is generated online by using a simulation software toolkit, and the CCS project file is downloaded into the RAM of the DSP chip through the simulator.

[0043] The advantages of the present invention are:

[0044] (1) The present invention introduces a DSP chip on the basis of retaining all analog control experimental circuits in the experimental device. When conducting analog control experiments, the analog experimental circuit is used to complete the experiment. When conducting digital control experiments, the control chip of the analog experimental circuit is unplugged from the socket and replaced with a matching digital-to-analog conversion board, and the DSP chip is connected to the digital-to-analog conversion board through a digital control module, so that the digital control experiment of the circuit can be carried out; the experimental device in the present invention can support both analog control experiments and digital control experiments, meeting the needs of digital control in actual engineering, and the cost is low. At the same time, because the analog integrated circuit chip in the original analog control circuit is replaced by the DSP chip in conjunction with the digital control module and the digital-to-analog conversion board, the original other driving circuits, main circuits, etc. are still retained. On the basis of being familiar with the corresponding circuits in the analog control experiment, the experimenter can focus on familiarizing himself with the DSP chip and experimenting with the control algorithm in the digital control experiment, which greatly simplifies the familiarization process of the experimenter from analog control to digital control.

[0045] (2) Although power supply technology shows a clear trend towards digital control, it is very difficult for the experimenter to complete the digital control experiment of the experimental box within the experimental period if he has no experience in DSP programming. In the present invention, digital control can be achieved through programming or through simulation software modeling, which lowers the user threshold and is conducive to the popularization of digital control experiments.

[0046] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a structural schematic diagram of a power electronics technology experimental device proposed in the first embodiment of the present invention;

[0048] Figure 2 is a circuit structure diagram of a digital control module in a first embodiment of the present invention;

[0049] Figure 3 This is a block diagram of an experimental circuit of a digitally controlled isolated bridge DC / DC converter in the first embodiment of the present invention;

[0050] Figure 4 is a circuit structure diagram of a DC / DC digital control module in a first embodiment of the present invention;

[0051] Figure 5 It is a block diagram of a digitally controlled three-phase inverter experimental circuit in the first embodiment of the present invention;

[0052] Figure 6 is a circuit structure diagram of a three-phase inverter digital control module in a first embodiment of the present invention;

[0053] Figure 7 This is a block diagram of a digital control variable frequency speed regulation experimental circuit in the first embodiment of the present invention;

[0054] Figure 8 Schematic diagram of the baseband and steering signal acquisition circuit in the first embodiment of the present invention;

[0055] Fig. 9 is a flow chart of an experimental method of a power electronics technology experimental device in a second embodiment of the present invention;

[0056] Fig.10 This is a schematic diagram of the SPWM regular sampling principle in the second real-time of the present invention;

[0057] Fig.11 It is a digital control program flow chart of the variable frequency speed regulation experimental circuit in the second embodiment of the present invention;

[0058] Fig.12 Schematic diagram of the PWM wave generation principle in the second embodiment of the present invention;

[0059] Fig.13 It is a schematic diagram of an experimental software simulation model of an isolated bridge DC / DC converter based on MATLAB in the second embodiment of the present invention;

[0060] Fig.14 It is a schematic diagram of an experimental code generation model of an isolated bridge DC / DC converter based on MATLAB in the second embodiment of the present invention;

[0061] Fig.15 1 is a schematic diagram of a simulation model of an isolated bridge DC / DC converter experimental software based on PSIM in a second embodiment of the present invention;

[0062] Fig.16 It is a schematic diagram of a simulation model of a variable frequency speed regulation experiment software based on MATLAB in the second embodiment of the present invention;

[0063] Fig.17 It is a schematic diagram of a variable frequency speed regulation experiment code generation model based on MATLAB in the second embodiment of the present invention. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in combination with the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] like Figure 1As shown, the first embodiment of the present invention proposes a power electronics technology experimental device, the device comprising: an analog experimental circuit 10, a digital-to-analog conversion board 20, a digital control module 30 and a DSP chip 40, the digital-to-analog conversion board 20 matches the control chip of the analog experimental circuit 10, the DSP chip 40 is connected to the digital-to-analog conversion board 20 via the digital control module 30, and a digital control program or a CCS project file runs in the RAM of the DSP chip 40;

[0066] The digital control module 30 includes a voltage divider circuit and a conditioning circuit. The digital-to-analog conversion board 20 is connected to the socket of the control chip of the mode experiment circuit 10 and is connected to the input of the digital control module 30 via the voltage divider circuit. The output of the digital control module 30 is connected to the digital-to-analog conversion board 20 via the conditioning circuit.

[0067] It should be noted that with the widespread application of high-performance digital signal processors, namely DSP chips, power supply technology has shown an obvious trend of digital control, and pure analog control methods can no longer meet the experimental requirements of digital power supply technology. In view of the need for digital control in actual projects, this embodiment introduces a DSP chip on the basis of retaining all analog control experimental circuits in the experimental device. When conducting analog control experiments, the analog experimental circuits are used to complete them. When conducting digital control experiments, the control chip of the analog experimental circuit is unplugged from the socket and replaced with a matching digital-to-analog conversion board. The DSP chip is connected to the digital-to-analog conversion board through a digital control module, and the digital control experiment of the circuit can be carried out. The experimental device in the present invention can support analog control experiments and digital control experiments at the same time, which not only meets the needs of digital control in actual projects, but also can complete analog control experiments and digital control experiments in the same test box, making the experiments convenient and low-cost.

[0068] In addition, it should be noted that students' knowledge learning is a gradual accumulation process. For junior undergraduate students, most of them do not have programming ability and cannot conduct digital control power electronics technology experiments. Therefore, power electronics experiments are still based on analog control, or digital control power electronics experiments are opened for some students with higher quality. If the analog control and digital control of power electronics experiments are completely separated, it is not conducive to the cultivation of students' abilities. In order to avoid the shortcomings of the above-mentioned existing power electronics technology experimental devices, this embodiment provides a power electronics technology experimental box that supports both analog control and digital control, so that students can unplug the control chip of the analog experiment circuit from the socket while being familiar with the analog control experiment, replace it with a matching digital-to-analog conversion board, and connect the DSP chip to the digital-to-analog conversion board through the digital control module. The other circuits remain unchanged, and the digital control experiment of the circuit can be carried out, which is conducive to the students' integration of relevant knowledge and the cultivation of students' innovative consciousness and hands-on ability.

[0069] In one embodiment, the simulation experimental circuit includes a flyback switching power supply experimental circuit, an isolated bridge DC / DC converter experimental circuit, a variable frequency speed regulation experimental circuit and a three-phase inverter experimental circuit.

[0070] It should be understood that the type of analog experimental circuits provided on the experimental device in this embodiment is only for illustration, and those skilled in the art may make specific settings according to actual conditions.

[0071] In one embodiment, if Figure 2 As shown, the conditioning circuit includes a buffer driver and four in-phase / inverting buffers, the input of the buffer driver is connected to the output of the DSP chip, the output of the buffer driver is connected to the input of the four in-phase / inverting buffers, and the output of the four in-phase / inverting buffers is connected to the digital-to-analog conversion board; a resistor is connected between the output of the buffer driver and the input of the four in-phase / inverting buffers, the resistor is connected to the output of a power supply, and the power supply is connected to a bypass capacitor.

[0072] It should be noted that the conditioning circuit is used to receive the PWM control signal output by the DSP chip and convert the PWM control signal into a driving signal that can be used to drive the analog experimental circuit, so that the analog experimental circuit generates experimental data according to the driving signal.

[0073] In one embodiment, the voltage divider circuit includes a first voltage divider resistor, a second voltage divider resistor, a capacitor and a switching diode, one end of the first voltage divider resistor is connected to the analog-to-digital conversion board, and the other end is connected to one end of the second voltage divider resistor, the other end of the second voltage divider resistor is grounded, one end of the capacitor is connected to the other end of the second voltage divider resistor, and the other end is connected to the anode of the switching diode, and the cathode of the switching diode is connected to the input voltage; one end of the second voltage divider resistor is connected to the other end of the capacitor and then connected to the DSP chip.

[0074] It should be noted that the voltage divider circuit is used to perform voltage division processing on the experimental data received through the digital-to-analog conversion circuit and then send the data to the DSP chip.

[0075] In one embodiment, the input of the digital-to-analog conversion board is connected to the steering signal output, fundamental frequency control signal output and voltage output of the analog experimental circuit; the output drive signal of the digital-to-analog conversion board is connected to the drive chip of the analog experimental circuit.

[0076] The following is a detailed description of several commonly used circuit experiments:

[0077] (1) Digital Control Isolated Bridge DC / DC Converter Experiment

[0078] like Figure 3 As shown in the figure, the experimental principle of the digital control isolated bridge DC / DC converter is as follows: DC24V is used as input, two power MOSFETs are used to form a half bridge, and a digital processor DSP is used to generate PWM pulses. The DSP outputs two PWM waves and is converted by the digital control module into a driving signal for driving the analog experimental circuit control chip. After conversion by the digital-to-analog conversion board, the power MOSFET is driven by the IR2110 driver chip to control the primary side of the high-frequency transformer to be powered on. The secondary side uses full-wave rectification, and the rated output is +48V. The output voltage is isolated and sampled by the Hall sensor as the voltage closed-loop feedback of the DSP chip to achieve voltage regulated output.

[0079] The equipment used in the laboratory includes: isolated bridge DC-DC converter experiment board, ±15V output switching power supply, digital control module, digital-to-analog conversion board and DF1731 DC regulated power supply, oscilloscope, digital multimeter and small flat-blade screwdriver.

[0080] During the experiment, if Figure 4As shown, the SG3525 chip is pulled out of the socket from the experimental box, and the matching digital-to-analog conversion board is directly inserted into the DIP16 socket of the SG3525 chip, and the 14-core flat cable on the digital-to-analog conversion board is connected to the digital control module. The digital control module uses the conditioning circuit, D3A and D3B are output buffers, and their output signals are inversely proportional to the input signals. The PWM7 and PWM9 control signals of the DSP chip are converted into drive signals OA and OB that can replace SG3525, namely, the EPWM4A (PWM7) and EPWM5A (PWM9) of the DSP chip to output symmetrical PWM pulses to control the opening of the bridge arm. Then, it is transmitted to the control circuit of the isolated bridge DC / DC converter experiment through the digital-to-analog conversion board; the digital-to-analog conversion board includes a voltage sensor, which is used to feedback the output voltage analog signal of the experimental circuit. The digital control module transmits the feedback analog signal VFB of the output voltage of the digital-to-analog conversion board to the ADCINA0 (AD0) channel of the DSP chip for ADC conversion after voltage division. The theoretical value of the output voltage scaling ratio, i.e., Uo / AD0, is 28.56.

[0081] (2) Digital control three-phase inverter experiment

[0082] like Figure 5 As shown in the figure, the principle of the digital control three-phase inverter experiment is: take DC32V as input, use 6 power MOSFETs to form a three-phase inverter bridge. Use DSP as the control chip, DSP generates 3 pulses with a phase difference of 120°, and after the drive signal is amplified by 3 IR2110 chips, it controls the opening and closing of the inverter bridge switch device, changes the output voltage, and realizes three-phase inverter.

[0083] The experimental equipment includes: variable frequency speed regulation converter experimental board, 12V output switching power supply, DC regulated power supply, oscilloscope, digital multimeter, small flat-blade screwdriver, digital control module and digital-to-analog conversion board.

[0084] like Figure 6 As shown in the figure, the working principle of the digital control module used in the digital control three-phase inverter experiment is as follows: EPWM1A (PWM1), EPWM1B (PWM2), EPWM2A (PWM3), EPWM2B (PWM4), EPWM3A (PWM5), and EPWM3B (PWM6) are the PWM output ports of the DSP chip, which are used to output three-phase SPWM waves, which are amplified to drive the switches of the inverter bridge MOSFET to achieve three-phase inverter. D1A, D1B, D1C, D1D, D2A, and D2B are buffers, and their output signals are inversely proportional to the input signals.

[0085] During the experiment, remove the control chip HEF4752 of the three-phase inverter circuit, directly insert the D / A converter board into the DIP28 socket of the HEF4752 chip, and connect it to the digital control module through the 20-core flat cable on the D / A converter board. Pay attention to the direction of the D / A converter board when inserting it. Turn on the control power supply of the experimental box device, do not turn on the main power (DC 32V) for the time being, power on the DSP chip, and download the compiled .out executable file to the DSP RAM for execution.

[0086] (3) Digital control variable frequency speed regulation experiment

[0087] like Figure 7 As shown in the figure, the experimental principle of the digital control variable frequency speed regulation experiment is: take DC32V as input, use 6 power MOSFETs to form a three-phase inverter bridge. DSP generates 3 pulses with a phase difference of 120°, and after the drive signal is amplified by 3 IR2110s, it controls the switching of the inverter bridge switch device, changes the frequency of the output voltage, and realizes the variable frequency speed regulation of the asynchronous motor.

[0088] The experimental equipment used includes: variable frequency speed regulation converter experimental board, 12V output switching power supply, DC regulated power supply, oscilloscope, 12V / 220V single-phase 10W isolation transformer, special three-phase induction motor for experiment, digital multimeter, small flat screwdriver, digital control module and digital-to-analog conversion board.

[0089] The experimental process is as follows: pull out the HEF4752 chip from the socket on the experimental device, insert the matching digital-to-analog conversion board directly into the DIP28 socket of the HEF4752 chip, and connect it to the digital control module through the 20-core flat cable on the digital-to-analog conversion board. The digital control module converts the PWM1~PWM6 control signals of the DSP chip into drive signals ORM1, ORM2, OYM1, OYM2, OBM1, and OBM2 that can replace HEF4752 through the conditioning circuit, and then transmits them to the control circuit of the variable frequency speed regulation experiment through the digital-to-analog conversion board; the digital control module transmits the positive and reverse control signals CW and the frequency setting signal FCT in the original HEF4752 chip to the AD1 and AD2 ports of the DSP chip after voltage division, which can replace the HEF4752 chip to collect the positive and reverse control signals and frequency setting signals. Then let the DSP chip run the corresponding program, and the digital chip can replace the analog chip HEF4752 to achieve digital control.

[0090] Furthermore, the experiment uses a digital control module such as Figure 6As shown in the figure, CW is the steering signal on the experimental box, and FCT is the signal for controlling the fundamental frequency generated by CD4046 on the experimental box. The motor steering command is collected and converted through the ADCINA1 (AD1) channel. The fundamental frequency signal is input into the DSP chip through the eQEP1A (GPIO50) pin for calculation. The relationship between the FCT frequency and the fundamental frequency is: fr = fFCT / 3360. Where fr is the fundamental frequency.

[0091] Furthermore, the digital-to-analog conversion board includes a baseband and steering signal acquisition circuit, such as Figure 8 shown.

[0092] Furthermore, the DSP chip used in this embodiment includes but is not limited to a digital processing chip of the TMS320F28335 model.

[0093] In addition, if Fig. 9 As shown, the second embodiment of the present invention proposes an experimental method of a power electronics technology experimental device, which is used to use the power electronics technology experimental device proposed in the first embodiment to perform analog control experiments and digital control experiments. When performing analog control experiments, the analog experimental circuit is directly used. When performing digitally controlled power electronics experiments, the method includes:

[0094] S10, replacing the control chip of the analog experimental circuit on the socket with a digital-to-analog conversion board, connecting the digital-to-analog conversion board with the digital control module, and connecting the digital control module with the DSP chip;

[0095] S20, the digital control module receives the PWM control signal output by the DSP chip, and converts the PWM control signal into a driving signal that can be used to drive the analog experimental circuit, so that the analog experimental circuit generates experimental data according to the driving signal;

[0096] S30, the digital control module receives the experimental data, performs voltage division processing on the experimental data, and then sends the data to the DSP chip.

[0097] It should be noted that this embodiment introduces a DSP chip on the basis of retaining all the analog control experimental circuits in the experimental device. When conducting analog control experiments, the analog experimental circuits are used to complete them. When conducting digital control experiments, the control chip of the analog experimental circuit is unplugged from the socket and replaced with a matching digital-to-analog conversion board. The DSP chip is connected to the digital-to-analog conversion board through a digital control module, and the digital control experiment of the circuit can be carried out. The experimental device in the present invention can support analog control experiments and digital control experiments at the same time, meeting the needs of digital control in actual engineering.

[0098] Furthermore, a digital control program or a CCS engineering file runs in the DSP chip.

[0099] It should be noted that although power supply technology shows a clear trend towards digital control, if the experimenter has no DSP programming experience, it is very difficult to complete the digital control experiment of the experimental box within the experimental cycle. In this embodiment, digital control can be achieved through programming or through simulation software modeling, which lowers the user threshold.

[0100] In one embodiment, when the analog experimental circuit is a three-phase inverter experimental circuit, the digital control program writing step of the DSP chip includes:

[0101] like Fig.10 As shown, under SPWM regular sampling, the three-phase continuous modulation wave is obtained as follows:

[0102]

[0103] After SPWM regular sampling and discrete processing of the three-phase continuous modulation wave, the following is obtained:

[0104]

[0105] Based on the value of the period register TBPRD in the DSP chip, it is determined that the carrier amplitude and carrier offset are both TBPRD / 2, and the pulse width of each switching cycle is:

[0106]

[0107] Where: CMPx is the value of the comparison register of the DSP chip, M is the modulation index, f s is the carrier frequency, f fund is the sine wave frequency, N is the carrier ratio, pi is π, and t is time.

[0108] Furthermore, in order to prevent the upper and lower bridge arms from being directly connected during program writing, the present embodiment adds a dead time, which can be directly configured and generated by the dead time generation module in the DSP chip. The dead time of the MOSFET on the experimental box can be 2.5us according to the empirical value.

[0109] Due to the access of D1A, D1B, D1C, D1D, D2A, and D2B buffers, the "dead zone" output by the DSP chip is that both the upper and lower bridge arms are at high level.

[0110] In one embodiment, if Fig.11 As shown, when the analog experimental circuit is a variable frequency speed regulation experimental circuit, the digital control program writing steps of the DSP chip include:

[0111] System initialization;

[0112] Calculate the fundamental frequency;

[0113] When rotating forward, the output phase sequence remains unchanged, otherwise the output phase sequence changes;

[0114] Compute discrete time;

[0115] Calculate the CMPx value, and recalculate the fundamental frequency after loading the CMPx wave;

[0116] The calculation formula of CMPx value is:

[0117]

[0118] Where: CMPx is the value of the comparison register of the DSP chip, M is the modulation index, f s is the carrier frequency, f fund is the sine wave frequency, N is the carrier ratio, and pi is π.

[0119] It should be noted that when the base frequency instruction is read to change, the value of ffund can be changed in the program. When the steering instruction is changed, the phase sequence of two phases can be exchanged.

[0120] In one embodiment, when the analog experimental circuit is an isolated bridge DC / DC converter experimental circuit, when the digital control program of the DSP chip is written, the driving time of the upper tube and the lower tube of the half bridge are equal in one cycle.

[0121] It should be noted that in isolated bridge DC / DC conversion, the driving time of the upper and lower tubes of the half bridge should be equal in one cycle. The ePWM resource can be configured as an increase or decrease counting mode, and the switching frequency is configured as 40k. It can be concluded that the PWM wave generation principle is as follows: Fig.12 As shown in the figure, TBPRD is the value of the period register in the DSP chip, CMPx is the value of the comparison register, and Lim is the corresponding count value when the theoretical limit duty cycle (the theoretical limit duty cycle is 0.5. In actual design, the maximum duty cycle is less than 0.5, and 0.48 is often used.) is used. D3 output is the DSP output Figure 4 The waveform after the buffer. EPWM4A is Figure 4 PWM7 port and EPWM5A are Figure 4 Medium PWM9 port.

[0122] In one embodiment, the compilation process of the CCS project file includes:

[0123] By establishing a circuit topology on the simulation software to perform digital simulation, a digital simulation model is obtained;

[0124] Replacing the functional modules of the DSP chip with the functional modules in the digital simulation model and setting parameters;

[0125] The CCS project file is generated online by using a simulation software toolkit, and the CCS project file is downloaded into the RAM of the DSP chip through the simulator.

[0126] It should be noted that if the experimental value does not have the programming ability of TMS320F28335, digital control can also be achieved through simulation software modeling. The experimenter first establishes the circuit topology on MATLAB or Psim simulation software for digital simulation. After the digital simulation is successful, some modules in the model are replaced with the functional modules of TMS320F28335, and the corresponding parameters are set. Then, the simulation software toolkit is used to automatically generate CCS project files for DSP online, and then the simulator is downloaded to the RAM of DSP to run to complete the digital control function.

[0127] It should be noted that the simulation software includes but is not limited to MATLAB / Simulink or Psim and other simulation software.

[0128] Take the full physical simulation experiment of isolated bridge DC / DC converter as an example:

[0129] Establish as Fig.13 The MATLAB-based isolated bridge DC / DC converter experimental software simulation model shown in the figure cannot contain Chinese characters in the model name; Fig.13 In the example, 1 / z is Unit Delay, which is the discrete time for PI regulation. Simulink simulation is performed, and PI parameters are adjusted during the Simulink simulation process to ensure that the dynamic process and steady-state process of the output voltage are in good condition. After the Simulink simulation is completed, the circuit topology and powergui modules are removed, and the control loop model is changed to establish a code generation model; Fig.13 The Uo input of the control loop in the Simulink Library>>Embedded CoderSupport Package for Texas Instruments C2000 Processors>>C2833x is replaced with the ADC module. Fig.13 The G1 and G2 drivers in the Simulink Library>>Embedded CoderSupportPackage for Texas Instruments C2000 Processors>>C2833x are replaced with the ePWM module. The replaced model is as follows Fig.14 shown.

[0130] Fig.14In the figure, Zero-Order Hold is a zero-order holder, which is used to control the reading rate of the ADC. The output of the ADC module is the high 12-bit value of the result register, so multiply it by 3 / 4095 to get the voltage value entering the DSPADC sampling port, and then multiply it by the reduction factor of the output voltage in the circuit 28.56 to get the actual output voltage. Among them, the ADC used in the isolated bridge DC / DC experiment is the ADCINA0 (AD0) channel.

[0131] exist Fig.13 The ePWM modules used are EPWM4A (PWM7) and EPWM5A (PWM9), which are configured for up / down counting mode. In the up / down counting mode, the period register TBPRD is 150MHz / 40kHz / 2=1875. The dead time is calculated as 150MHz*2.5us=375, and its value can be 380 after leaving a certain margin.

[0132] In the digital control module, an LED light is reserved for program operation indication, which is connected to GPIO34. The Sample time of the 1 / z module (Unit Delay module) in the flashing light model is configured to 0.5, indicating that the flashing frequency is 1Hz.

[0133] After configuring the parameters, select the option shown in the figure through the Build action option to compile the model in MATLAB and then download it to the DSP chip to run the experimental software simulation model. Fig.15 As shown, you no longer need to use CCS software to download. If you just choose to generate the project (Build) here, you need to use CCS software to open the project, compile and download.

[0134] Similarly, the variable frequency speed regulation experimental software simulation model based on MATLAB is as follows Fig.16 As shown in the figure, the variable frequency speed regulation experiment code generation model based on MATLAB is as follows Fig.17 shown.

[0135] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0136] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0137] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A power electronics technology experimental device, characterized in that: The device comprises: an analog experiment circuit, a digital-to-analog conversion board, a digital control module and a DSP chip, wherein the digital-to-analog conversion board matches the control chip of the analog experiment circuit, the DSP chip is connected to the digital-to-analog conversion board via the digital control module, and a digital control program or a CCS engineering file is run in the RAM of the DSP chip; The digital control module includes a voltage divider circuit and a conditioning circuit. The digital-to-analog conversion board is connected to the socket of the control chip of the analog experimental circuit and is connected to the input of the digital control module via the voltage divider circuit. The output of the digital control module is connected to the digital-to-analog conversion board via the conditioning circuit.

2. The power electronics technology experimental device according to claim 1, characterized in that: The simulation experimental circuit includes a flyback switching power supply experimental circuit, an isolated bridge DC / DC converter experimental circuit, a variable frequency speed regulation experimental circuit and a three-phase inverter experimental circuit.

3. The power electronics technology experimental device according to claim 1, characterized in that: The conditioning circuit includes a buffer driver and four in-phase / inverting buffers, the input of the buffer driver is connected to the output of the DSP chip, the output of the buffer driver is connected to the input of the four in-phase / inverting buffers, and the output of the four in-phase / inverting buffers is connected to the digital-to-analog conversion board; A resistor is connected between the output of the buffer driver and the input of the four in-phase / inverting buffers, the resistor is connected to the output of a power supply, and the power supply is connected to a bypass capacitor.

4. The power electronics technology experimental device according to claim 1, characterized in that: The voltage divider circuit includes a first voltage divider resistor, a second voltage divider resistor, a capacitor and a switch diode, one end of the first voltage divider resistor is connected to the digital-to-analog conversion board, and the other end is connected to one end of the second voltage divider resistor, the other end of the second voltage divider resistor is grounded, one end of the capacitor is connected to the other end of the second voltage divider resistor, and the other end is connected to the anode of the switch diode, and the cathode of the switch diode is connected to the input voltage; One end of the second voltage-dividing resistor is connected to the other end of the capacitor and then connected to the DSP chip.

5. The power electronics technology experimental device according to claim 1, characterized in that: The input of the digital-to-analog conversion board is connected to the steering signal output, fundamental frequency control signal output and voltage output of the analog experimental circuit; the output drive signal of the digital-to-analog conversion board is connected to the drive chip of the analog experimental circuit.

6. An experimental method for the power electronics technology experimental device according to any one of claims 1 to 5, characterized in that: The power electronics experiment with analog control is carried out by using an analog experimental circuit. When the power electronics experiment with digital control is carried out, the method includes: Replace the control chip of the analog experimental circuit on the socket with a digital-to-analog conversion board, connect the digital-to-analog conversion board with the digital control module, and connect the digital control module with the DSP chip; The digital control module receives the PWM control signal output by the DSP chip, and converts the PWM control signal into a driving signal that can be used to drive the analog experimental circuit, so that the analog experimental circuit generates experimental data according to the driving signal; The digital control module receives the experimental data, performs voltage division processing on the experimental data, and then sends the data to the DSP chip.

7. The experimental method of the power electronics technology experimental device according to claim 6, characterized in that: When the analog experimental circuit is a three-phase inverter experimental circuit, the digital control program writing steps of the DSP chip include: Under SPWM regular sampling, the three-phase continuous modulation wave is obtained as follows: After SPWM regular sampling and discrete processing of the three-phase continuous modulation wave, the following is obtained: Based on the value of the period register TBPRD in the DSP chip, it is determined that the carrier amplitude and carrier offset are both TBPRD / 2, and the pulse width of each switching cycle is: Where: CMPx is the value of the comparison register of the DSP chip, M is the modulation index, f s is the carrier frequency, f fund is the sine wave frequency, N is the carrier ratio, pi is π, and t is time.

8. The experimental method of the power electronics technology experimental device according to claim 6, characterized in that: When the analog experimental circuit is a variable frequency speed regulation experimental circuit, the digital control program writing steps of the DSP chip include: System initialization; Calculate the fundamental frequency; When rotating forward, the output phase sequence remains unchanged, otherwise the output phase sequence changes; Compute discrete time; Calculate the CMPx value, and recalculate the fundamental frequency after loading the CMPx wave; The calculation formula of CMPx value is: Where: CMPx is the value of the comparison register of the DSP chip, M is the modulation index, f s is the carrier frequency, f fund is the sine wave frequency, N is the carrier ratio, and pi is π.

9. The experimental method of the power electronics technology experimental device according to claim 6, characterized in that: When the analog experimental circuit is an isolated bridge DC / DC converter experimental circuit, when the digital control program of the DSP chip is written, the driving time of the upper tube and the lower tube of the half bridge are equal in one cycle.

10. The experimental method of the power electronics technology experimental device according to claim 6, characterized in that: The method further comprises: By establishing a circuit topology on the simulation software to perform digital simulation, a digital simulation model is obtained; Replacing the functional modules of the DSP chip with the functional modules in the digital simulation model and setting parameters; The CCS project file is generated online by using a simulation software toolkit, and the CCS project file is downloaded into the RAM of the DSP chip through the simulator.