74174及电阻组成的正弦波发生器
最近看到个新电路(对我来说),74174、非门、电阻组成的正弦波发生器,以前还看到74174构成的其他的一些波形发生器,呵呵,很有意思。。。
仿真过了
(原文件名:sch.png)
引用图片
(原文件名:wave1.png)
引用图片
(原文件名:wave2.png)
引用图片
个用 CMOS 做效果会更好, 因为 Qn 输出可由 Vdd 至 0V。
楼主更可考虑造一个输出两相, 互差 90 度的正弦波。
还有下图滤波器频率为什麽设在 8.525KHz?
(原文件名:Freq_error.gif)
引用图片
(原文件名:filter.png)
引用图片
哎呀,pdf转成图片就模糊了,呵呵,将就着还能看。。。
说明一下,wave1的波形是没接滤波器是观察的,接了滤波器此点的波形也变平滑了
下图是在我深爱的电子天书(CMOS CookBook: By Dan Lancaster)中取出的, 不知有木有中文版?就由我译一下吧, 译得不好就请见谅。
"Our summed waveform may look pretty bad, but it is a simple
matter to smooth it out with filters. It turns out that the first two
harmonics present are the ninth and the eleventh. The next harmonic
pair is the 19th and 21st, followed by the 29th and 31st, and so on.
These are all small harmonics. The number of the harmonic also
turns out to be the attenuation. So, the amplitude of the ninth
harmonic is 1/9 the fundamental, the amplitude of the eleventh
harmonic is 1/11 the fundamental, and so on.
The more stages we use, the smaller the harmonics and the higher
their number. The harmonics are always one more than and one less
than multiples of the sequence length."
得出的波形可能看起来很糟糕,但是却很容易用滤波器把它平滑过来。事实证明,这
令2倍谐波至8倍谐波都不出现在波形中, 而最前两个谐波是第9倍和第11倍,接下来更高次的谐波是第19倍和21倍,29倍和31倍,依此类推。
这些都是高次谐波。且谐波幅度也呈倒数关系相应衰减。第9倍谐波幅度是输出基频的1/9,第11倍谐波幅度是输出基频的1/11, 依此类推。
使用越多阶段的寄存器,谐波的数量及幅度总是和所用寄存器阶段减少一和加一相对应。
(原文件名:digital_Sine.gif)
引用图片
你用了 6级 12 阶段的寄存器,第一谐波出现在输出基频的11倍, 建议不用带通而改用低通滤波器(截止频率设於输出基频 4 - 6 倍)把它平滑过来, 这样可以容许你使用基频及其+/-30%的其它的频率, 否则输出幅度会随频率改变。
用 164, 595 之类的 8 移位寄存器,8个电阻合成, 第一谐波是基波的15倍 岂不更好。