[go: up one dir, main page]

CN103812476B - Sine Wave Pulse Width Modulation Controller - Google Patents

Sine Wave Pulse Width Modulation Controller Download PDF

Info

Publication number
CN103812476B
CN103812476B CN201210449076.3A CN201210449076A CN103812476B CN 103812476 B CN103812476 B CN 103812476B CN 201210449076 A CN201210449076 A CN 201210449076A CN 103812476 B CN103812476 B CN 103812476B
Authority
CN
China
Prior art keywords
sine wave
signal
pulse width
drive
drive transistor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210449076.3A
Other languages
Chinese (zh)
Other versions
CN103812476A (en
Inventor
林敬渊
谢文岳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inno Tech Co Ltd
Original Assignee
Inno Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inno Tech Co Ltd filed Critical Inno Tech Co Ltd
Priority to CN201210449076.3A priority Critical patent/CN103812476B/en
Publication of CN103812476A publication Critical patent/CN103812476A/en
Application granted granted Critical
Publication of CN103812476B publication Critical patent/CN103812476B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Inverter Devices (AREA)
  • Control Of Stepping Motors (AREA)

Abstract

The invention relates to a sine wave pulse width modulation controller, which comprises an edge detection unit, a register, an angle increasing unit, a sine wave calculation unit, a multiplication unit and a sine wave output unit, wherein the edge detection unit receives a feedback input signal of an external electric device, to generate edge signal, the buffer stores and outputs parameter signal, the angle increasing unit receives edge signal and parameter signal, determines the number of pulse width modulation cycle to generate angle signal, the sine wave calculating unit receives and generates sine wave calculated value by recursive algorithm of coordinate rotation digital calculation according to the angle signal, the multiplying unit receives sine wave calculated value and multiplies the amplitude signal to generate pulse width signal, the sine wave output unit receives the voltage signal to generate a driving signal, so as to drive an external electric device to generate a terminal voltage with a sine wave on the action element.

Description

正弦波脉冲宽度调变控制器Sine Wave Pulse Width Modulation Controller

技术领域technical field

本发明是有关于一种脉冲宽度调变控制器,尤其是可用于产生正弦波脉冲宽度调变驱动信号。The invention relates to a pulse width modulation controller, especially for generating a sine wave pulse width modulation driving signal.

背景技术Background technique

在电机领域及电子领域,尤其是电源转换领域,很需要高精确度的正弦波,而现有技术一般是以查表方式将大量的正弦数值储存至内存中,并在使用时,依据所需的角度读取内存中相对应的正弦数值。In the field of motors and electronics, especially in the field of power conversion, high-precision sine waves are required. However, the existing technology generally stores a large number of sine waves in the memory in the form of a look-up table, and when used, according to the required Read the corresponding sine value in memory.

然而,现有技术的缺点在于需要很大容量的内存,且对精确度的改善相当有限。因此,需要一种正弦波脉冲宽度调变控制器,利用适当的算法进行计算,以节省内存,并简化整体系统架构,进而解决上述现有技术的问题。However, the disadvantages of the prior art are that a large amount of memory is required, and the improvement of the accuracy is rather limited. Therefore, there is a need for a sine wave pulse width modulation controller that utilizes an appropriate algorithm for calculation to save memory and simplify the overall system architecture, thereby solving the above-mentioned problems in the prior art.

发明内容Contents of the invention

本发明的主要目的在于提供一种正弦波脉冲宽度调变控制器,包括边缘侦测单元、缓存器、角度递增单元、正弦波计算单元、乘法单元以及正弦波输出单元,用以驱动外部电气装置产生正弦波,其中外部电气装置至少包括一动作元件。The main purpose of the present invention is to provide a sine wave pulse width modulation controller, which includes an edge detection unit, a register, an angle increment unit, a sine wave calculation unit, a multiplication unit and a sine wave output unit for driving external electrical devices A sine wave is generated, wherein the external electrical device includes at least one action element.

边缘侦测单元接收外部电气装置的回授输入信号,并进行边缘侦测以产生边缘信号,缓存器储存至少一参数,并至少输出参数信号、振幅信号及操作模式,且缓存器的参数是由系统预设或由使用者设定,角度递增单元接收边缘信号及参数信号,以决定脉冲宽度调变循环次数,进而产生角度信号。The edge detection unit receives the feedback input signal of the external electrical device, and performs edge detection to generate an edge signal. The register stores at least one parameter, and at least outputs the parameter signal, the amplitude signal and the operation mode, and the parameter of the register is determined by The system defaults or is set by the user. The angle increment unit receives the edge signal and the parameter signal to determine the number of pulse width modulation cycles, and then generates the angle signal.

正弦波计算单元接收并依据角度信号以进行坐标旋转数字计算的递归算法,进而产生正弦波计算值,乘法单元接收正弦波计算值,并与来自缓存器的振幅信号进行乘法操作,产生脉冲宽度信号,正弦波输出单元接收脉冲宽度信号而以脉冲宽度调变方式产生多个正弦波驱动信号。The sine wave calculation unit receives and performs a recursive algorithm for coordinate rotation digital calculation based on the angle signal, and then generates a sine wave calculation value. The multiplication unit receives the sine wave calculation value and performs multiplication operation with the amplitude signal from the buffer to generate a pulse width signal. The sine wave output unit receives the pulse width signal and generates a plurality of sine wave driving signals in a pulse width modulation manner.

因此,正弦波输出单元所产生的正弦波驱动信号,可驱动外部电气装置而在动作元件上产生具有正弦波的端电压。Therefore, the sine wave driving signal generated by the sine wave output unit can drive the external electrical device to generate a sine wave terminal voltage on the operating element.

附图说明Description of drawings

图1为显示本发明正弦波脉冲宽度调变控制器的示意图;Fig. 1 is the schematic diagram showing the sine wave pulse width modulation controller of the present invention;

图2为本发明正弦波脉冲宽度调变控制器所驱动的全桥式电气装置的示意图;2 is a schematic diagram of a full-bridge electrical device driven by a sine wave pulse width modulation controller of the present invention;

图3为本发明正弦波脉冲宽度调变控制器所驱动的半桥式电气装置的示意图;3 is a schematic diagram of a half-bridge electrical device driven by a sine wave pulse width modulation controller of the present invention;

图4为显示本发明中CORDIC递归算法的示意图;Fig. 4 is the schematic diagram showing CORDIC recursive algorithm among the present invention;

图5为显示本发明正弦波脉冲宽度调变控制器的输出波形图。FIG. 5 is a diagram showing output waveforms of the sine wave PWM controller of the present invention.

其中,附图标记说明如下:Wherein, the reference signs are explained as follows:

10 边缘侦测单元10 edge detection unit

20 缓存器20 buffers

30 角度递增单元30 Angle Incremental Units

40 正弦波计算单元40 sine wave calculation units

50 乘法单元50 multiply units

60 正弦波输出单元60 sine wave output unit

70 外部电气装置70 External electrical installations

AM 振幅信号AM amplitude signal

AN 角度信号AN angle signal

C 滤波电容C filter capacitor

ED 边缘信号ED edge signal

FB 回授输入信号FB feedback input signal

L 动作元件L action element

L1 滤波电感L1 filter inductor

MD 操作模式MD mode of operation

PR 参数信号PR parameter signal

SQ1 第一正弦波驱动信号SQ1 first sine wave drive signal

SQ2 第二正弦波驱动信号SQ2 second sine wave drive signal

SQ3 第三正弦波驱动信号SQ3 The third sine wave driving signal

SQ4 第四正弦波驱动信号SQ4 The fourth sine wave drive signal

ST 正弦波计算值ST Calculated value of sine wave

SW 脉冲宽度信号SW pulse width signal

T1 第一驱动晶体管T1 first drive transistor

T2 第二驱动晶体管T2 second drive transistor

T3 第三驱动晶体管T3 third drive transistor

T4 第四驱动晶体管T4 Fourth drive transistor

VH 高压电源线VH high voltage power cord

VL 低压电源线VL low voltage power cord

VO 端电压VO terminal voltage

具体实施方式detailed description

以下配合图式及元件符号对本发明的实施方式做更详细的说明,以使熟悉本领域的技术人员在研读本说明书后能据以实施。The implementation of the present invention will be described in more detail below with reference to the figures and symbol numbers, so that those skilled in the art can implement it after studying this specification.

参考图1,为本发明正弦波脉冲宽度调变控制器的示意图。如图1所示,本发明的正弦波脉冲宽度调变(Sine Pulse Width Modulation,SIN PWM)控制器包括边缘侦测单元10、缓存器20、角度递增单元30、正弦波计算单元40、乘法单元50以及正弦波输出单元60,用以具体实现坐标旋转数字计算(Coordinate Rotation Digital Computer,CORDIC)的递归算法,驱动外部电气装置70以产生正弦波,而进一步而言,本发明的正弦波脉冲宽度调变控制器主要是形成回授回路,可对外部电气装置70提供稳定的回授控制。Referring to FIG. 1 , it is a schematic diagram of a sine wave pulse width modulation controller of the present invention. As shown in FIG. 1, the sine wave pulse width modulation (Sine Pulse Width Modulation, SIN PWM) controller of the present invention includes an edge detection unit 10, a buffer 20, an angle increment unit 30, a sine wave calculation unit 40, and a multiplication unit 50 and the sine wave output unit 60, in order to specifically realize the recursive algorithm of the coordinate rotation digital calculation (Coordinate Rotation Digital Computer, CORDIC), drive the external electrical device 70 to generate the sine wave, and further, the sine wave pulse width of the present invention The modulation controller mainly forms a feedback loop, which can provide stable feedback control to the external electrical device 70 .

上述的外部电气装置70可包括图2或图3所示的装置,分别为全桥式电气装置及半桥式电气装置。不过,要注意的是,图2或图3的装置只是用以说明本发明的技术特征而已,并非用以限定本发明的范围。The aforementioned external electrical device 70 may include the devices shown in FIG. 2 or FIG. 3 , which are full-bridge electrical devices and half-bridge electrical devices, respectively. However, it should be noted that the device shown in FIG. 2 or FIG. 3 is only used to illustrate the technical features of the present invention, and is not intended to limit the scope of the present invention.

首先,说明图2的全桥式电气装置,主要包括第一驱动晶体管T1、第二驱动晶体管T2、第三驱动晶体管T3、第四驱动晶体管T4、动作元件L、滤波电感L1及滤波电容C,其中第一驱动晶体管T1、第二驱动晶体管T2、第三驱动晶体管T3及第四驱动晶体管T4分别由第一正弦波驱动信号SQ1、第二正弦波驱动信号SQ2、第三正弦波驱动信号SQ3及第四正弦波驱动信号SQ4驱动。第一驱动晶体管T1及第二驱动晶体管T2串接而连接至高压电源线VH及低压电源线VL之间。类似地,第三驱动晶体管T3及第四驱动晶体管T4串接而连接至高压电源线VH及低压电源线VL之间。此外,滤波电感L1及滤波电容C串接而连接至第一驱动晶体管T1及第二驱动晶体管T2的串接点以及第三驱动晶体管T3及第四驱动晶体管T4的串接点,而动作元件L是当作负载,且并联至滤波电容C。First, the full-bridge electrical device in FIG. 2 is described, which mainly includes a first drive transistor T1, a second drive transistor T2, a third drive transistor T3, a fourth drive transistor T4, an operating element L, a filter inductor L1 and a filter capacitor C. Wherein the first drive transistor T1, the second drive transistor T2, the third drive transistor T3 and the fourth drive transistor T4 are respectively controlled by the first sine wave drive signal SQ1, the second sine wave drive signal SQ2, the third sine wave drive signal SQ3 and Driven by the fourth sine wave drive signal SQ4. The first driving transistor T1 and the second driving transistor T2 are connected in series between the high voltage power line VH and the low voltage power line VL. Similarly, the third driving transistor T3 and the fourth driving transistor T4 are connected in series between the high voltage power line VH and the low voltage power line VL. In addition, the filter inductor L1 and the filter capacitor C are connected in series to the series connection point of the first driving transistor T1 and the second driving transistor T2 and the series connection point of the third driving transistor T3 and the fourth driving transistor T4, and the operating element L is when As a load, and connected in parallel to the filter capacitor C.

参考图3,半桥式电气装置是类似于图2的全桥架构,包括第一驱动晶体管T1、第二驱动晶体管T2、第一电容C1、第二电容C2、动作元件L、滤波电感L1及滤波电容C,其中第一驱动晶体管T1、第二驱动晶体管T2分别由第一正弦波驱动信号SQ1、第二正弦波驱动信号SQ2驱动,第一驱动晶体管T1、第二驱动晶体管T2串接且第一电容C1、第二电容C2串接而进一步连接至高压电源线VH及低压电源线VL之间。滤波电感L1及滤波电容C串接而连接至第一驱动晶体管T1及第二驱动晶体管T2的串接点以及动作元件L的一端,而动作元件L并联滤波电容C,且动作元件L的另一端连接至第一电容C1、第二电容C2的串接点。Referring to FIG. 3, the half-bridge electrical device is a full-bridge structure similar to that of FIG. The filter capacitor C, wherein the first drive transistor T1 and the second drive transistor T2 are respectively driven by the first sine wave drive signal SQ1 and the second sine wave drive signal SQ2, the first drive transistor T1 and the second drive transistor T2 are connected in series and the second A capacitor C1 and a second capacitor C2 are connected in series and further connected between the high voltage power line VH and the low voltage power line VL. The filter inductor L1 and the filter capacitor C are connected in series and connected to the series connection point of the first drive transistor T1 and the second drive transistor T2 and one end of the operating element L, and the operating element L is connected in parallel with the filter capacitor C, and the other end of the operating element L is connected to To the series connection point of the first capacitor C1 and the second capacitor C2.

上述动作元件L的端电压VO可经电压衰减器(图未示)而形成图1的回授输入信号FB,或者可用流过动作元件L的电流经电流衰减器(图未示)而形成回授输入信号FB。The terminal voltage VO of the above action element L can pass through a voltage attenuator (not shown) to form the feedback input signal FB in Figure 1, or the current flowing through the action element L can be used to form a feedback signal FB through a current attenuator (not shown). grant input signal FB.

在图1中,正弦波脉冲宽度调变控制器的边缘侦测单元10接收来自外部电气装置70的回授输入信号FB,进行边缘侦测以决定现在的波形为正半周或者是负半周,进而产生边缘信号ED。缓存器20储存至少一参数,并至少输出参数信号PR、振幅信号AM、操作模式MD,且缓存器20的参数可由系统预设或由使用者设定,并可包括递增的输入角度(比如1°或1.5°)、正弦波的振幅、失效时间(dead time)、正弦波宽度调变的启动控制位。In FIG. 1, the edge detection unit 10 of the sine wave pulse width modulation controller receives the feedback input signal FB from the external electrical device 70, and performs edge detection to determine whether the current waveform is a positive half cycle or a negative half cycle, and then An edge signal ED is generated. The register 20 stores at least one parameter, and at least outputs the parameter signal PR, the amplitude signal AM, and the operation mode MD, and the parameters of the register 20 can be preset by the system or set by the user, and can include incremental input angles (such as 1 ° or 1.5°), the amplitude of the sine wave, the dead time (dead time), and the start control bit of the sine wave width modulation.

角度递增单元30接收来自边缘侦测单元10的边缘信号ED以及来自缓存器20的参数信号PR,以决定半周中PWM循环次数(PWM cycles),进而产生角度信号AN。例如,参数信号PR为1时,每个半周有180个PWM循环,而在参数信号PR为0.5时,每个半周有360个PWM循环。The angle increment unit 30 receives the edge signal ED from the edge detection unit 10 and the parameter signal PR from the register 20 to determine the number of PWM cycles in a half cycle (PWM cycles), and then generate the angle signal AN. For example, when the parameter signal PR is 1, there are 180 PWM cycles per half cycle, and when the parameter signal PR is 0.5, there are 360 PWM cycles per half cycle.

正弦波计算单元40接收并依据角度递增单元30的角度信号AN,进行右位移处理,以实现CORDIC的递归算法,而产生正弦波计算值ST。以下简要说明CORDIC的递归算法。The sine wave calculation unit 40 receives and performs right shift processing according to the angle signal AN of the angle increment unit 30 to implement the recursive algorithm of CORDIC to generate a sine wave calculation value ST. The following briefly describes the recursive algorithm of CORDIC.

正弦波目前的振幅,sin(θ),可由前一角度的振幅决定,因此,可由角度为0°开始,以均等分布的角度求出下一角度的振幅。具体而言,参考图4,平面直角坐标中的二点分别具有坐标(X1,Y1)及(X2,Y2),表示如下:The current amplitude of the sine wave, sin(θ), can be determined by the amplitude of the previous angle. Therefore, starting from the angle of 0°, the amplitude of the next angle can be obtained with evenly distributed angles. Specifically, referring to FIG. 4 , two points in the plane Cartesian coordinates have coordinates (X1, Y1) and (X2, Y2) respectively, expressed as follows:

(X1,Y1)=(cos(θ1),sin(θ1))(X1, Y1) = (cos(θ1), sin(θ1))

(X2,Y2)=(cos(θ2),sin(θ2))(X2, Y2) = (cos(θ2), sin(θ2))

其中θ1及θ2分别为坐标(X1,Y1)及(X2,Y2)在极坐标的角度,且如图中所示,角度θ为θ2及θ1的差(θ=θ2-θ1),因此,坐标(X2,Y2)可藉坐标(X1,Y1)表示如下:Among them, θ1 and θ2 are the angles of the coordinates (X1, Y1) and (X2, Y2) in polar coordinates respectively, and as shown in the figure, the angle θ is the difference between θ2 and θ1 (θ=θ2-θ1), therefore, the coordinates (X2, Y2) can be expressed by coordinates (X1, Y1) as follows:

X2=X1*cos(θ)-Y1*sin(θ)X2=X1*cos(θ)-Y1*sin(θ)

Y2=Y1*sin(θ)+Y1*cos(θ)Y2=Y1*sin(θ)+Y1*cos(θ)

或进一步整理成:or further organized into:

X2=cos(θ)*[X1-Y1*tan(θ)]X2=cos(θ)*[X1-Y1*tan(θ)]

Y2=cos(θ)*[X1*tan(θ)+Y1]Y2=cos(θ)*[X1*tan(θ)+Y1]

以下为上述坐标的一般表示式:The general expression for the above coordinates is as follows:

Xn=cos(θn)*[Xn-1-Yn-1*tan(θn)]Xn=cos(θn)*[X n-1 -Y n-1 *tan(θn)]

Yn=cos(θn)*[Xn-1*tan(θn)+Yn-1]Yn=cos(θn)*[X n-1 *tan(θn)+Y n-1 ]

其中n为非负整数(n=0、1、2、3等等),而θn为第n个坐标(Xn,Yn)相对于前一第n-1个坐标(Xn-1,Yn-1)所夹的角度,且θn(n=0)的初始值为0°,而之后n=1、2、3时,θn角度分别为45°、26.565°、14.0362°,亦即θn=tan-1(1/2n-1)。Where n is a non-negative integer (n=0, 1, 2, 3, etc.), and θn is the nth coordinate (Xn, Yn) relative to the previous n-1th coordinate (Xn-1, Yn-1 ), and the initial value of θn(n=0) is 0°, and then when n=1, 2, and 3, the θn angles are 45°, 26.565°, and 14.0362° respectively, that is, θn=tan - 1 (1/2 n-1 ).

因此,正弦波计算单元40的具体操作是依据CORDIC递归算法将目前数值进行右移一位运算而计算出tan(θn),而正弦波计算单元40所产生的正弦波计算值ST是指tan(θn),亦即1/2n-1Therefore, the specific operation of the sine wave calculation unit 40 is to calculate tan(θn) by shifting the current value by one bit according to the CORDIC recursive algorithm, and the sine wave calculation value ST generated by the sine wave calculation unit 40 refers to tan( θn), that is, 1/2 n-1 .

乘法单元50接收来自正弦波计算单元40的正弦波计算值ST,并与来自缓存器20的振幅信号AM进行乘法操作,以产生脉冲宽度信号SW,并由正弦波输出单元60接收而以PWM方式产生第一正弦波驱动信号SQ1、第二正弦波驱动信号SQ2、第三正弦波驱动信号SQ3及第四正弦波驱动信号SQ4,藉以驱动外部电气装置70产生正弦波的端电压VO,如图5所示。要注意的是,图3中的半桥式电气装置需要第一正弦波驱动信号SQ1、第二正弦波驱动信号SQ2驱动即可。The multiplication unit 50 receives the sine wave calculation value ST from the sine wave calculation unit 40, and performs a multiplication operation with the amplitude signal AM from the buffer 20 to generate a pulse width signal SW, which is received by the sine wave output unit 60 in PWM mode Generate the first sine wave drive signal SQ1, the second sine wave drive signal SQ2, the third sine wave drive signal SQ3 and the fourth sine wave drive signal SQ4, so as to drive the external electrical device 70 to generate a sine wave terminal voltage VO, as shown in Figure 5 shown. It should be noted that the half-bridge electrical device in FIG. 3 needs to be driven by the first sine wave driving signal SQ1 and the second sine wave driving signal SQ2 .

因此,本发明的特点主要是在于利用右移一位的正弦波计算单元以计算下一角度的正切值(tan),用以后续产生所需的正弦波驱动信号,可避免使用大量的查表以存放精确度较高的三角函数值,节省内存,并可简化整体架构,提高操作速度及效率。Therefore, the feature of the present invention is mainly to use the sine wave calculation unit shifted to the right by one bit to calculate the tangent value (tan) of the next angle for subsequent generation of the required sine wave drive signal, which can avoid using a large number of look-up tables By storing trigonometric function values with high precision, memory is saved, the overall structure can be simplified, and the operation speed and efficiency can be improved.

以上所述仅为用以解释本发明的较佳实施例,并非企图据以对本发明做任何形式上的限制。因此,凡有在相同的发明精神下所作有关本发明的任何修饰或变更,皆仍应包括在本发明意图保护的范畴。The above descriptions are only preferred embodiments for explaining the present invention, and are not intended to limit the present invention in any form. Therefore, any modification or change related to the present invention made under the same spirit of the invention should still be included in the scope of protection intended by the present invention.

Claims (6)

1.一种正弦波脉冲宽度调变控制器,用以驱动一外部电气装置,且该外部电气装置至少包括一动作元件,其特征在于,该正弦波脉冲宽度调变控制器包括:1. A sine wave pulse width modulation controller, used to drive an external electrical device, and the external electrical device includes at least one action element, characterized in that the sine wave pulse width modulation controller includes: 一边缘侦测单元,接收来自该外部电气装置的一回授输入信号,并进行边缘侦测以产生一边缘信号;An edge detection unit receives a feedback input signal from the external electrical device, and performs edge detection to generate an edge signal; 一缓存器,储存至少一参数,并至少输出一参数信号、一振幅信号及一操作模式,且该缓存器的参数是由系统预设或由使用者设定;A register storing at least one parameter, and at least outputting a parameter signal, an amplitude signal and an operation mode, and the parameter of the register is preset by the system or set by the user; 一角度递增单元,接收该边缘信号及该参数信号,以决定脉冲宽度调变(Pulse Width Modulation,PWM)循环次数(cycles),进而产生一角度信号;an angle increasing unit, receiving the edge signal and the parameter signal to determine the number of pulse width modulation (Pulse Width Modulation, PWM) cycles (cycles), and then generate an angle signal; 一正弦波计算单元,接收并依据该角度信号以进行右位移处理,以实现坐标旋转数字计算(Coordinate Rotation Digital Computer,CORDIC)的递归算法,进而产生一正弦波计算值;A sine wave calculation unit receives and performs right displacement processing according to the angle signal, so as to realize the recursive algorithm of Coordinate Rotation Digital Computer (CORDIC), and then generate a sine wave calculation value; 一乘法单元,接收该正弦波计算值,并与来自该缓存器的振幅信号进行乘法操作,以产生一脉冲宽度信号;以及a multiplication unit, receiving the calculated value of the sine wave, and performing a multiplication operation with the amplitude signal from the register to generate a pulse width signal; and 一正弦波输出单元,接收该脉冲宽度信号而以PWM方式产生一第一正弦波驱动信号、一第二正弦波驱动信号、一第三正弦波驱动信号及一第四正弦波驱动信号,藉以驱动该外部电气装置而在该动作元件上产生具有正弦波的端电压。A sine wave output unit, which receives the pulse width signal and generates a first sine wave drive signal, a second sine wave drive signal, a third sine wave drive signal and a fourth sine wave drive signal in PWM mode, so as to drive The external electrical device generates a terminal voltage with a sine wave on the operating element. 2.如权利要求1所述的正弦波脉冲宽度调变控制器,其特征在于,该外部电气装置进一步包括一第一驱动晶体管、一第二驱动晶体管、一第三驱动晶体管、一第四驱动晶体管、一滤波电感及一滤波电容,且该第一驱动晶体管、该第二驱动晶体管、该第三驱动晶体管及该第四驱动晶体管分别由该第一正弦波驱动信号、该第二正弦波驱动信号、该第三正弦波驱动信号及该第四正弦波驱动信号驱动,该第一驱动晶体管及该第二驱动晶体管串接而连接至一高压电源线及一低压电源线之间,该第三驱动晶体管及该第四驱动晶体管串接而连接至该高压电源线及该低压电源线之间,该滤波电感及该滤波电容串接而连接至该第一驱动晶体管及该第二驱动晶体管的一串接点以及该第三驱动晶体管及该第四驱动晶体管的一串接点,而该动作元件是当作负载,且并联至该滤波电容。2. The sine wave pulse width modulation controller as claimed in claim 1, wherein the external electrical device further comprises a first driving transistor, a second driving transistor, a third driving transistor, a fourth driving transistor transistor, a filter inductor and a filter capacitor, and the first drive transistor, the second drive transistor, the third drive transistor and the fourth drive transistor are respectively driven by the first sine wave drive signal and the second sine wave signal, the third sine wave drive signal and the fourth sine wave drive signal, the first drive transistor and the second drive transistor are connected in series between a high voltage power supply line and a low voltage power supply line, the third The drive transistor and the fourth drive transistor are connected in series between the high-voltage power supply line and the low-voltage power supply line, and the filter inductor and the filter capacitor are connected in series to one of the first drive transistor and the second drive transistor. A series connection point and a series connection point of the third drive transistor and the fourth drive transistor, and the action element is used as a load and connected in parallel to the filter capacitor. 3.如权利要求1所述的正弦波脉冲宽度调变控制器,其特征在于,该回授输入信号是该动作元件的端电压经一电压衰减器而形成,或用流过该动作元件的电流经一电流衰减器而形成。3. The sine wave pulse width modulation controller according to claim 1, characterized in that, the feedback input signal is formed by the terminal voltage of the operating element through a voltage attenuator, or is formed by a voltage flowing through the operating element The current is formed through a current attenuator. 4.一种正弦波脉冲宽度调变控制器,用以驱动一外部电气装置,且该外部电气装置至少包括一动作元件,其特征在于,该正弦波脉冲宽度调变控制器包括:4. A sine wave pulse width modulation controller for driving an external electrical device, and the external electrical device includes at least one action element, characterized in that the sine wave pulse width modulation controller includes: 一边缘侦测单元,接收来自该外部电气装置的一回授输入信号,并进行边缘侦测以产生一边缘信号;An edge detection unit receives a feedback input signal from the external electrical device, and performs edge detection to generate an edge signal; 一缓存器,储存至少一参数,并至少输出一参数信号、一振幅信号及一操作模式,且该缓存器的参数是由系统预设或由使用者设定;A register storing at least one parameter, and at least outputting a parameter signal, an amplitude signal and an operation mode, and the parameter of the register is preset by the system or set by the user; 一角度递增单元,接收该边缘信号及该参数信号,以决定脉冲宽度调变(Pulse Width Modulation,PWM)循环次数(cycles),进而产生一角度信号;an angle increasing unit, receiving the edge signal and the parameter signal to determine the number of pulse width modulation (Pulse Width Modulation, PWM) cycles (cycles), and then generate an angle signal; 一正弦波计算单元,接收并依据该角度信号以进行右位移处理,以实现坐标旋转数字计算(Coordinate Rotation Digital Computer,CORDIC)的递归算法,进而产生一正弦波计算值;A sine wave calculation unit receives and performs right displacement processing according to the angle signal, so as to realize the recursive algorithm of Coordinate Rotation Digital Computer (CORDIC), and then generate a sine wave calculation value; 一乘法单元,接收该正弦波计算值,并与来自该缓存器的振幅信号进行乘法操作,以产生一脉冲宽度信号;以及a multiplication unit, receiving the calculated value of the sine wave, and performing a multiplication operation with the amplitude signal from the register to generate a pulse width signal; and 一正弦波输出单元,接收该脉冲宽度信号而以PWM方式产生一第一正弦波驱动信号及一第二正弦波驱动信号,藉以驱动该外部电气装置而在该动作元件上产生具有正弦波的端电压。A sine wave output unit, which receives the pulse width signal and generates a first sine wave drive signal and a second sine wave drive signal in PWM mode, so as to drive the external electrical device and generate a sine wave terminal on the action element Voltage. 5.如权利要求4所述的正弦波脉冲宽度调变控制器,其特征在于,该外部电气装置进一步包括一第一驱动晶体管、一第二驱动晶体管、一第一电容、一第二电容、一滤波电感及一滤波电容,且该第一驱动晶体管、该第二驱动晶体管分别由该第一正弦波驱动信号及该第二正弦波驱动信号驱动,该第一驱动晶体管及该第二驱动晶体管串接而连接至一高压电源线及一低压电源线之间,该第一电容及该第二电容串接而连接至该高压电源线及该低压电源线之间,该滤波电感的一端连接至该第一驱动晶体管及该第二驱动晶体管的一串接点,该滤波电感的一另一端连接至该滤波电容的一端及该动作元件的一端,该滤波电容的一另一端及该动作元件的一另一端连接该第一电容及该第二电容的一串接点,且该动作元件是并联至该滤波电容。5. The sine wave pulse width modulation controller as claimed in claim 4, wherein the external electrical device further comprises a first drive transistor, a second drive transistor, a first capacitor, a second capacitor, A filter inductor and a filter capacitor, and the first drive transistor and the second drive transistor are respectively driven by the first sine wave drive signal and the second sine wave drive signal, the first drive transistor and the second drive transistor connected in series between a high-voltage power line and a low-voltage power line, the first capacitor and the second capacitor are connected in series between the high-voltage power line and the low-voltage power line, and one end of the filter inductor is connected to A series connection point of the first drive transistor and the second drive transistor, the other end of the filter inductor is connected to one end of the filter capacitor and one end of the action element, and the other end of the filter capacitor is connected to one end of the action element The other end is connected to a series junction of the first capacitor and the second capacitor, and the action element is connected in parallel to the filter capacitor. 6.如权利要求4所述的正弦波脉冲宽度调变控制器,其特征在于,该回授输入信号是该动作元件的端电压经一电压衰减器而形成,或用流过该动作元件的电流经一电流衰减器而形成。6. The sine wave pulse width modulation controller as claimed in claim 4, characterized in that, the feedback input signal is formed by the terminal voltage of the operating element through a voltage attenuator, or is formed by a voltage flowing through the operating element The current is formed through a current attenuator.
CN201210449076.3A 2012-11-12 2012-11-12 Sine Wave Pulse Width Modulation Controller Expired - Fee Related CN103812476B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210449076.3A CN103812476B (en) 2012-11-12 2012-11-12 Sine Wave Pulse Width Modulation Controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210449076.3A CN103812476B (en) 2012-11-12 2012-11-12 Sine Wave Pulse Width Modulation Controller

Publications (2)

Publication Number Publication Date
CN103812476A CN103812476A (en) 2014-05-21
CN103812476B true CN103812476B (en) 2016-08-10

Family

ID=50708765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210449076.3A Expired - Fee Related CN103812476B (en) 2012-11-12 2012-11-12 Sine Wave Pulse Width Modulation Controller

Country Status (1)

Country Link
CN (1) CN103812476B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019110505A (en) * 2017-12-20 2019-07-04 株式会社村田製作所 Transmission unit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008301017A (en) * 2007-05-30 2008-12-11 Tritec Corp Digital pulse width modulation apparatus
CN102111134A (en) * 2009-12-25 2011-06-29 产晶集成电路股份有限公司 A driving device for pulse width modulation step wave and sine wave

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008301017A (en) * 2007-05-30 2008-12-11 Tritec Corp Digital pulse width modulation apparatus
CN102111134A (en) * 2009-12-25 2011-06-29 产晶集成电路股份有限公司 A driving device for pulse width modulation step wave and sine wave

Also Published As

Publication number Publication date
CN103812476A (en) 2014-05-21

Similar Documents

Publication Publication Date Title
CN103427666B (en) A kind of carrier modulating method of dual stage matrix converter
EP3210297A1 (en) Systems and methods for controlling multi-level diode-clamped inverters using space vector pulse width modulation (svpwm)
CN103607130A (en) Three-level pulse extension control method and three-level pulse extension device of DSPACE based on FPGA
CN104298107B (en) Combined local frequency multiplication sampling algorithm for generating SPWM waves
CN103178851A (en) A New Sampling Method for Generating SPWM Control Signal
CN105226983B (en) A kind of more level PWM modulator approaches based on mixed carrier
KR20140030215A (en) Direct drive waveform generator
CN103560654B (en) Driving method of full bridge inverter and full bridge inverter
CN101005244A (en) Two phase PWM modulation method for reducing small common-mode voltage
CN101873077A (en) Single drive power supply multi-level current-mode inverter circuit and its control device and method
CN102916604B (en) One-phase inverter modulation method
CN105207503B (en) A kind of electric power electric transformer control method based on mixing pulsewidth modulation
CN106953536A (en) A Multilevel Sinusoidal Pulse Width Modulation Method
CN103812476B (en) Sine Wave Pulse Width Modulation Controller
CN102437769B (en) Single-phase semi-bridge five-electrical level inverter and its application circuit
CN1123965C (en) Production method of phase-based pulse width modulated sinusoidal voltage waveform data
CN102427305B (en) Single-phase half-bridge five-level inverter and application circuit thereof
WO2019128674A1 (en) Single-phase five-level converter control method and device
CN102111134A (en) A driving device for pulse width modulation step wave and sine wave
CN101383563A (en) FPGA-based SPWM controller
TW201419761A (en) Sinewave pulse width modulation controller
CN119067036A (en) Multilevel converter and inverter inductor design method, electronic device and medium
JP2012085381A (en) Inverter apparatus
CN101604956B (en) Device thereof for generating three-phase sine waves
CN103746560B (en) Control circuit of phase-shifted full-bridge DC/DC converter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160810

Termination date: 20211112