CN101594134B - PWM sweep frequency signal conversion circuit - Google Patents
PWM sweep frequency signal conversion circuit Download PDFInfo
- Publication number
- CN101594134B CN101594134B CN2009101438614A CN200910143861A CN101594134B CN 101594134 B CN101594134 B CN 101594134B CN 2009101438614 A CN2009101438614 A CN 2009101438614A CN 200910143861 A CN200910143861 A CN 200910143861A CN 101594134 B CN101594134 B CN 101594134B
- Authority
- CN
- China
- Prior art keywords
- operational amplifier
- resistor
- input terminal
- inverting input
- conversion circuit
- 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
Links
Images
Landscapes
- Inverter Devices (AREA)
- Amplifiers (AREA)
Abstract
本发明属于电子信号转换技术,涉及一种PWM扫频信号转换电路。该转换电路由加法器[1]、反相器[2]、比较器[3]和跟随器[4]组成;加法器[1]由运算放大器U1和电阻R1~R4组成,反相器[2]由运算放大器U2和电阻R5~R7组成,比较器[3]由运算放大器U3和电阻R8和可变电阻W组成,跟随器[4]由运算放大器U4组成。本发明的设计周期短,通用性强,无须滤波网络,电路简单实用,生产成本低,设计调试方便。实现了正弦波、三角波及斜波扫频信号到PWM扫频信号的转换,满足了小型舵机等相关设备频率响应测试的需要。
The invention belongs to the electronic signal conversion technology and relates to a PWM frequency sweep signal conversion circuit. The conversion circuit is composed of an adder [1], an inverter [2], a comparator [3] and a follower [4]; the adder [1] is composed of an operational amplifier U1 and resistors R1 ~ R4, and the inverter [ 2] Composed of operational amplifier U2 and resistors R5-R7, comparator [3] composed of operational amplifier U3, resistor R8 and variable resistor W, follower [4] composed of operational amplifier U4. The invention has short design period, strong universality, no filter network, simple and practical circuit, low production cost and convenient design and debugging. Realized the conversion of sine wave, triangular wave and ramp wave frequency sweep signal to PWM frequency sweep signal, and met the needs of frequency response testing of small steering gear and other related equipment.
Description
技术领域technical field
本发明属于电子信号转换技术,涉及一种PWM扫频信号转换电路。The invention belongs to the electronic signal conversion technology and relates to a PWM frequency sweep signal conversion circuit.
背景技术Background technique
目前,一般皆通过微控制器及相关设备产生PWM信号,其缺点是:PWM信号的周期、幅值、占空比等相关参数很难调整,针对不同的测试或控制设备,一般都需要进行专门的定制,且设计较复杂。这种产生方法需要较长的设计周期,通用性差。另一种产生PWM信号的方法为采用模拟电路调制产生,但是对于舵机的控制信号而言,采用调制的方法获取PWM信号时,存在以下缺点:第一、滤波频率低,对滤波网络的要求高。脉宽调制控制舵机的频率一般为50~80HZ。采用无源RC滤波网络时,需要的电容值较大,增大了电路体积。采用有源滤波时,导致电路结构复杂,成本高。第二、滤波精度难以保证。经过试验,电压的变化就会引起舵机的抖动。这就要求滤波后的电压必须具有很高的精度。对于机载的测控系统要求而言,由于电源和其它器件的信号噪声较大,所以滤波电路的精度很难得到满足。第三、通用性差。对于不同的舵机,需要分别调整的滤波电路参数,而器件参数的变化往往会引起器件的更换,导致通用性差。At present, PWM signals are generally generated by microcontrollers and related equipment. The disadvantages are that it is difficult to adjust the relevant parameters such as the period, amplitude, and duty cycle of the PWM signal. For different testing or control equipment, it is generally necessary to perform special adjustments. Customization, and the design is more complicated. This generation method requires a long design cycle and has poor versatility. Another way to generate PWM signal is to use analog circuit modulation to generate, but for the control signal of the steering gear, when using the modulation method to obtain the PWM signal, there are the following disadvantages: first, the filtering frequency is low, and the requirements for the filtering network high. The frequency of the pulse width modulation control steering gear is generally 50~80HZ. When a passive RC filter network is used, the required capacitor value is relatively large, which increases the circuit size. When active filtering is used, the circuit structure is complicated and the cost is high. Second, the filtering accuracy is difficult to guarantee. After testing, the voltage change will cause the steering gear to shake. This requires that the filtered voltage must have very high precision. For the requirements of the airborne measurement and control system, the accuracy of the filter circuit is difficult to meet due to the large signal noise of the power supply and other devices. Third, poor versatility. For different steering gears, the parameters of the filter circuit need to be adjusted separately, and the change of the device parameters will often cause the replacement of the device, resulting in poor versatility.
发明内容Contents of the invention
本发明的目的是:提出一种设计周期短、通用性强、无须滤波网络的PWM扫频信号转换电路,以实现正弦波、三角波及斜波扫频信号到PWM扫频信号的转换,满足小型舵机等相关设备频率响应测试的需要。The object of the present invention is to propose a PWM frequency sweep signal conversion circuit with short design period, strong versatility and no filter network, so as to realize the conversion of sine wave, triangle wave and ramp wave frequency sweep signal to PWM frequency sweep signal, and meet the requirements of small The need for frequency response testing of steering gear and other related equipment.
本发明的技术方案是:一种PWM扫频信号转换电路,其特征在于,该转换电路由加法器、反相器、比较器和跟随器组成;加法器由运算放大器U1和电阻R1~R4组成,电阻R1接在参考直流电压正极输入端In3和运算放大器U1的反相输入端之间,电阻R2接在转换电路输入端In1和运算放大器U1的反相输入端之间,电阻R 3接在运算放大器U1的输出端和反相输入端之间,电阻R4接在运算放大器U1的同相输入端和地之间;反相器由运算放大器U2和电阻R5~R7组成,电阻R5接在运算放大器U1的输出端和运算放大器U2的反相输入端之间,电阻R6接在运算放大器U2的输出端和反相输入端之间,电阻R7接在运算放大器U2的同相输入端和地之间;比较器由运算放大器U3和电阻R8和可变电阻W组成,运算放大器U2的输出端与运算放大器U3的反相输入端连接,运算放大器U3的同相输入端与参考三角波或参考正弦波输入端In2连接,电阻R8和可变电阻W串联后,电阻R8非串联点的一端与运算放大器U3的输出端连接,可变电阻W的一端接地;跟随器由运算放大器U4组成,电阻R8和可变电阻W的串联点与运算放大器U4的同相输入端连接,运算放大器U4的输出端与反相端连接,运算放大器U4的输出端为转换电路的输出端OUT,运算放大器U1~U4的正电压输入端与双极电源的正电源连接,运算放大器U1~U4的负电压输入端与双极电源的负电源连接。The technical solution of the present invention is: a PWM frequency sweep signal conversion circuit, characterized in that the conversion circuit is composed of an adder, an inverter, a comparator and a follower; the adder is composed of an operational amplifier U1 and resistors R1-R4 , the resistor R1 is connected between the positive input terminal In3 of the reference DC voltage and the inverting input terminal of the operational amplifier U1, the resistor R2 is connected between the input terminal In1 of the conversion circuit and the inverting input terminal of the operational amplifier U1, and the resistor R3 is connected to Between the output terminal of the operational amplifier U1 and the inverting input terminal, the resistor R4 is connected between the non-inverting input terminal of the operational amplifier U1 and the ground; the inverter is composed of the operational amplifier U2 and resistors R5~R7, and the resistor R5 is connected to the operational amplifier Between the output terminal of U1 and the inverting input terminal of the operational amplifier U2, the resistor R6 is connected between the output terminal of the operational amplifier U2 and the inverting input terminal, and the resistor R7 is connected between the non-inverting input terminal of the operational amplifier U2 and the ground; The comparator is composed of an operational amplifier U3, a resistor R8 and a variable resistor W. The output terminal of the operational amplifier U2 is connected to the inverting input terminal of the operational amplifier U3, and the non-inverting input terminal of the operational amplifier U3 is connected to the reference triangle wave or reference sine wave input terminal In2 Connection, after resistor R8 and variable resistor W are connected in series, one end of the non-serial point of resistor R8 is connected to the output terminal of operational amplifier U3, and one end of variable resistor W is grounded; the follower is composed of operational amplifier U4, resistor R8 and variable resistor The series point of W is connected to the non-inverting input terminal of the operational amplifier U4, the output terminal of the operational amplifier U4 is connected to the inverting terminal, the output terminal of the operational amplifier U4 is the output terminal OUT of the conversion circuit, and the positive voltage input terminals of the operational amplifiers U1~U4 It is connected with the positive power supply of the bipolar power supply, and the negative voltage input terminals of the operational amplifiers U1-U4 are connected with the negative power supply of the bipolar power supply.
本发明的优点是:设计周期短,通用性强,无须滤波网络,电路简单实用,生产成本低,设计调试方便。实现了正弦波、三角波及斜波扫频信号到PWM扫频信号的转换,满足了小型舵机等相关设备频率响应测试的需要。The invention has the advantages of short design cycle, strong versatility, no filtering network, simple and practical circuit, low production cost, and convenient design and debugging. Realized the conversion of sine wave, triangular wave and ramp wave frequency sweep signal to PWM frequency sweep signal, and met the needs of frequency response testing of small steering gear and other related equipment.
附图说明Description of drawings
图1是本发明的电原理图。Figure 1 is an electrical schematic diagram of the present invention.
具体实施方式Detailed ways
下面对本发明做进一步详细说明。参见图1,一种PWM扫频信号转换电路,其特征在于,该转换电路由加法器1、反相器2、比较器3和跟随器4组成;加法器1由运算放大器U1和电阻R1~R4组成,电阻R1接在参考直流电压正极输入端In3和运算放大器U1的反相输入端之间,电阻R2接在转换电路输入端In1和运算放大器U1的反相输入端之间,电阻R3接在运算放大器U1的输出端和反相输入端之间,电阻R4接在运算放大器U1的同相输入端和地之间;反相器2由运算放大器U2和电阻R5~R7组成,电阻R5接在运算放大器U1的输出端和运算放大器U2的反相输入端之间,电阻R6接在运算放大器U2的输出端和反相输入端之间,电阻R7接在运算放大器U2的同相输入端和地之间;比较器3由运算放大器U3和电阻R8和可变电阻W组成,运算放大器U2的输出端与运算放大器U3的反相输入端连接,运算放大器U3的同相输入端与参考三角波或参考正弦波输入端In2连接,电阻R8和可变电阻W串联后,电阻R8非串联点的一端与运算放大器U3的输出端连接,可变电阻W的一端接地;跟随器4由运算放大器U4组成,电阻R8和可变电阻W的串联点与运算放大器U4的同相输入端连接,运算放大器U4的输出端与反相端连接,运算放大器U4的输出端为转换电路的输出端OUT,运算放大器U1~U4的正电压输入端与双极电源的正电源连接,运算放大器U1~U4的负电压输入端与双极电源的负电源连接。The present invention will be described in further detail below. Referring to Fig. 1, a PWM frequency sweep signal conversion circuit is characterized in that the conversion circuit is composed of an
本发明的工作原理是:从输入端In1输入设定幅度的扫频信号,与输入端In3所输入的设定参考直流经U1后相加,作为反相器U2的输入,In1输入端的幅值与R1端所加参考电压幅值决定了PWM最大占空比,经反相器U2反相后便形成了包含由参考直流与正弦扫频信号组成的特定信号。将此信号与输入端In2输入的参考三角波(或正弦波)经运算放大器U3比较后,运算放大器U3便输出与参考三角波(或正弦波)同周期的PWM信号,PWM的占空比与In1端输入的扫频信号同频率变化。通过对W的阻值调节,就可以得到所需要的PWM信号幅值。经跟随器U4输出,从而提高信号的驱动能力。扫频信号和参考三角波(或正弦波)均可从扫频仪得到。The working principle of the present invention is: input the frequency sweep signal with set amplitude from the input terminal In1, and add the set reference direct current input with the input terminal In3 after passing through U1, as the input of the inverter U2, the amplitude of the input terminal of In1 The amplitude of the reference voltage applied to the R1 terminal determines the maximum duty cycle of the PWM, and after being inverted by the inverter U2, a specific signal consisting of a reference DC and a sinusoidal frequency sweep signal is formed. After comparing this signal with the reference triangular wave (or sine wave) input from the input terminal In2 through the operational amplifier U3, the operational amplifier U3 outputs a PWM signal with the same period as the reference triangular wave (or sine wave), and the duty cycle of the PWM is the same as that of the In1 terminal. The input sweep signal changes with the frequency. By adjusting the resistance of W, the required PWM signal amplitude can be obtained. It is output through the follower U4, thereby improving the driving capability of the signal. Both the frequency sweep signal and the reference triangle wave (or sine wave) can be obtained from the frequency sweeper.
本发明的一个实施例中,运算放大器U1~U4可采用LM124四运放芯片。In one embodiment of the present invention, the operational amplifiers U1-U4 can use LM124 four operational amplifier chips.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009101438614A CN101594134B (en) | 2009-06-01 | 2009-06-01 | PWM sweep frequency signal conversion circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009101438614A CN101594134B (en) | 2009-06-01 | 2009-06-01 | PWM sweep frequency signal conversion circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101594134A CN101594134A (en) | 2009-12-02 |
| CN101594134B true CN101594134B (en) | 2011-06-15 |
Family
ID=41408626
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2009101438614A Expired - Fee Related CN101594134B (en) | 2009-06-01 | 2009-06-01 | PWM sweep frequency signal conversion circuit |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101594134B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111028791B (en) * | 2019-12-11 | 2021-03-23 | 昆山龙腾光电股份有限公司 | Backlight driver and display device |
| CN111123787B (en) * | 2019-12-26 | 2021-04-20 | 浙江大学台州研究院 | A frequency sweep driving device and method of a quartz wafer feeding device |
| CN115209713B (en) * | 2021-04-09 | 2025-01-14 | 浙江大学 | Pulse electromagnetic protection circuit for bionic evolution |
-
2009
- 2009-06-01 CN CN2009101438614A patent/CN101594134B/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN101594134A (en) | 2009-12-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103997206B (en) | Switching power source | |
| CN105530585B (en) | The DC impedance detection method and circuit of loud speaker | |
| CN103675430A (en) | Circuit for detecting output current of frequency converter in real time | |
| CN104571252B (en) | A multi-type analog signal processing circuit powered by a single power supply | |
| CN103151993B (en) | Accurate alternating current amplifier | |
| CN101594134B (en) | PWM sweep frequency signal conversion circuit | |
| CN104639094A (en) | Filtering circuit | |
| CN103117735B (en) | Periodic pulse width/voltage signal multifunctional precise converting switch | |
| CN210899141U (en) | A multi-channel analog signal generating device | |
| CN206077337U (en) | A kind of rotating transformer exciting signal modulation circuit | |
| CN202710718U (en) | Circulation transmission point measurement parameter output device based on PWM | |
| CN204462247U (en) | A kind of current collection circuit | |
| CN203193573U (en) | Precision AC Current Amplifier | |
| CN108020806B (en) | Harmonic generator for intelligent electric energy meter detection | |
| CN206460695U (en) | A kind of analog waveform generator experiment device for teaching | |
| CN204349936U (en) | A kind of filter circuit | |
| CN104682929B (en) | Pulse signal duty cycle measurement circuit | |
| CN203337725U (en) | Sampling circuit for grid-side phase voltage in photovoltaic grid-connected inverter system | |
| CN104410374A (en) | Precise alternating voltage amplifier | |
| CN202406086U (en) | Motor rotation speed obtaining circuit and frequency converter | |
| CN204559542U (en) | A kind of current-to-voltage converting circuit with inputting biased and active power filtering | |
| CN103383415A (en) | Resistance and capacitance online testing circuit | |
| CN114389441A (en) | Ripple suppression circuit, method and switching power supply | |
| CN102109582A (en) | Linear voltage generating device | |
| CN201608691U (en) | Waveform Converter to Change Square Wave Pulse Width and Amplitude |
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: 20110615 |
