From e6cc6ee1167c0ebb958c1d007ba004e4ef2fb57e Mon Sep 17 00:00:00 2001 From: Andres Faina Date: Sat, 6 Apr 2024 23:37:22 +0200 Subject: [PATCH] added sawtooth wavegenerator. Triangular wavegenerator uses rise and fall time equal to half the period (avoids problems when swapping from a pulse to a triangular signal). Added sch symbols for both wavegenerators. --- core/power_supply_sawtooth_1.fzp | 96 +++++++++++++++ core/power_supply_triangular_1.fzp | 7 +- ...eform_generator_sawtooth_v1_breadboard.svg | 92 ++++++++++++++ .../power_supply_sawtooth_1_schematic.svg | 113 ++++++++++++++++++ .../power_supply_triangular_1_schematic.svg | 113 ++++++++++++++++++ 5 files changed, 417 insertions(+), 4 deletions(-) create mode 100644 core/power_supply_sawtooth_1.fzp create mode 100644 svg/core/breadboard/waveform_generator_sawtooth_v1_breadboard.svg create mode 100644 svg/core/schematic/power_supply_sawtooth_1_schematic.svg create mode 100644 svg/core/schematic/power_supply_triangular_1_schematic.svg diff --git a/core/power_supply_sawtooth_1.fzp b/core/power_supply_sawtooth_1.fzp new file mode 100644 index 00000000..f4f5ed53 --- /dev/null +++ b/core/power_supply_sawtooth_1.fzp @@ -0,0 +1,96 @@ + + + 1 + Brendan Howell (modified by vanepp Apr 2023 and A. Faina) + Pulse Power + 2008-07-28 + + + ac power + symbol + fritzing core + voltage source + + + voltage source + sawtooth power supply + 0V + 5V + 0s + 20ms + 0 + 0.1Ω + + + discreteParts.power.wavegenerator.sawtooth + A sawtooth power symbol + + V{instanceTitle} {net connector0}_{instanceTitle}_aux {net connector1} PULSE({-1*{amplitude}+{offset voltage}} {{amplitude}+{offset voltage}} {delay time} {period} 1n 1n {period} {number of pulses}) + R{instanceTitle} {net connector0}_{instanceTitle}_aux {net connector0} {internal resistance} + + + cmil + + + + + + + + + + + + + + + + + + + + + + + + Positive Supply Voltage + + + + + + +

+ + +

+ + +

+ + + + + Negative Supply Voltage + + +

+ + +

+ + +

+ + + + + + + + + + + + + diff --git a/core/power_supply_triangular_1.fzp b/core/power_supply_triangular_1.fzp index 9a830b3f..4cb06d0d 100644 --- a/core/power_supply_triangular_1.fzp +++ b/core/power_supply_triangular_1.fzp @@ -17,8 +17,7 @@ 0V 5V 0s - 10ms - 10ms + 20ms 0 0.1Ω @@ -26,7 +25,7 @@ discreteParts.power.wavegenerator.triangular A triangular power symbol - V{instanceTitle} {net connector0}_{instanceTitle}_aux {net connector1} PULSE({-1*{amplitude}+{offset voltage}} {{amplitude}+{offset voltage}} {delay time} {rise time} {fall time} 1n {{rise time}+{fall time}} {number of pulses}) + V{instanceTitle} {net connector0}_{instanceTitle}_aux {net connector1} PULSE({-1*{amplitude}+{offset voltage}} {{amplitude}+{offset voltage}} {delay time} {{period}/2} {{period}/2} 1n {period} {number of pulses}) R{instanceTitle} {net connector0}_{instanceTitle}_aux {net connector0} {internal resistance} @@ -42,7 +41,7 @@ - + diff --git a/svg/core/breadboard/waveform_generator_sawtooth_v1_breadboard.svg b/svg/core/breadboard/waveform_generator_sawtooth_v1_breadboard.svg new file mode 100644 index 00000000..75813538 --- /dev/null +++ b/svg/core/breadboard/waveform_generator_sawtooth_v1_breadboard.svg @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Freq + Delay + Init V + Fall t + Amp + Offset + Width + Phase + Puls V + Damp + Rise t + Cycles + + + + + + + + + + + + + + + + + + + + + + + + COM + + SIGNAL + + + NOISE + + FM + + AM + + RAND + + + + + diff --git a/svg/core/schematic/power_supply_sawtooth_1_schematic.svg b/svg/core/schematic/power_supply_sawtooth_1_schematic.svg new file mode 100644 index 00000000..27693c80 --- /dev/null +++ b/svg/core/schematic/power_supply_sawtooth_1_schematic.svg @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + diff --git a/svg/core/schematic/power_supply_triangular_1_schematic.svg b/svg/core/schematic/power_supply_triangular_1_schematic.svg new file mode 100644 index 00000000..0fd04612 --- /dev/null +++ b/svg/core/schematic/power_supply_triangular_1_schematic.svg @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + +