You need to use EasyEDA editor to create some projects before publishing
Offset and amplitude in Sim mode Signal Generator is implemented incorrectly.
905 0
andyfierman 4 years ago
**This Bug Report relates to:** [https://easyeda.com/forum/topic/Signal-Generator-4d7e7398caba40f1a262469332a38dd9](https://easyeda.com/forum/topic/Signal-Generator-4d7e7398caba40f1a262469332a38dd9) **Offset in the Rectangular and Triangle Wave outputs is not implemented correctly.** Both outputs of both waveforms are implemented using PULSE() sources. The low and high level output voltage of a PULSE() Source is defined by the **INITIAL** and **ON** parameters respectively. For an output with a peak to peak Amplitude, A, that swings equally A/2 above and A/2 below the Offset value, O, the expressions used to add an offset to the Pulse and Triangle Wave outputs should be: INITIAL=O-A/2 ON=O+A/2 **Offset in the Sine Wave output is implemented in an unexpected way.** For a function generator with two outputs in anitphase and a single offset control it would normally be expected that the same offset would be applied to both outputs and not - as is implemented at present - that one output would have a positive offset and the other a negative offset. The Sine Wave outputs are implemented using the SINE() Source. The offset of a SINE() output voltage is defined by the **DCOFFSET** parameter: The expression to control the offset for both SINE() outputs should be: DCOFFSET = O **The Amplitude of the Sine Wave output is double that of the Rectangular and Triangle Wave outputs.** The **AMPLITUDE** parameter of the SINE() Source represents the Peak value and not the Peak-to-Peak value. Therefore for the Sine Wave output to give the same Peak-to-Peak swing as the outputs defined by PULSE() Sources, the expression for the SINE() Source Amplitude should be: AMPLITUDE=A/2 For detailed information on SINE() and PULSE() signal sources in LTspice, please study: [https://easyeda.com/editor#mode=sim,id=5e3d25de3492487b88275e38c4620239](https://easyeda.com/editor#mode=sim,id=5e3d25de3492487b88275e38c4620239) and: [https://easyeda.com/editor#mode=sim,id=d49a7278feef4be2b72d851765f3acbb](https://easyeda.com/editor#mode=sim,id=d49a7278feef4be2b72d851765f3acbb) and for more information about sources: [https://docs\.google\.com/document/u/1/d/1OWZVVFRAe\_2NW3WratpkA\_SGuHa5AcRow5ZRfvcoVTU/pub\#h\.bq0i7caw31bh](https://docs.google.com/document/u/1/d/1OWZVVFRAe_2NW3WratpkA_SGuHa5AcRow5ZRfvcoVTU/pub#h.bq0i7caw31bh)  Reply
Comments
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,建议访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus-@1x -mockplus-

Cookie Notice

Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice