@BradTheRad. Thank you very much for help. I tried with few inductors that I got. Almost same results. Instead tried with Arduino's analogWrite's frequency of 490Hz. With variable duty cycle the voltage can be controlled from 1.7V to 12.5V with an input of 13.5V. So far results are satisfactory but the annoying "Ziiiing" oscillation in the ear is very uneasy.
Any help would be very much appreciated.
To reduce audible noise it is common to operate at a frequency above 20 kHz. The coil needs to be a small Henry value.
Also pls advice how you got those nice oscilloscope output in Circuit simulator. Mine is bit junky.
Falstad's simulator allows you to change the position and speed of scope traces. Right-click on the trace and select an option. (With a Mac, press 'control' and click.)
To label scope traces and re-arrange their order, click Export under File menu. You'll edit the component list directly in the window, then Import it.
(You need to remember which trace is for which component. Hover the mouse on a trace. Watch to see which component turns blue.)
For oscilloscope traces, look for lines beginning with 'o', near the end of the list. Here is the scope data from my simulation.
Code Java - [expand] |
1
2
3
4
5
| o 4 64 0 42 20.0 9.765625E-5 0 -1 clock
o 1 64 0 33 4.374501449566024 11.198723710889022 0 -1 coil
o 2 64 0 41 4.091738259870177 10.474849945267655 1 -1 diode
o 3 64 0 289 4.676805239458889 11.972621413014757 1 -1 capacitor
o 9 64 0 290 5.0 0.4 2 -1 load |
To add a label, go to the end of a line, type space and a word such as 'load' or 'clock' or 'capacitor'.
To change their order, cut and paste lines in the desired sequence. You must also do the following step in order to make the traces appear onscreen in the desired order.
The number which is second from the end determines its position onscreen. The leftmost trace is 0.
To stack or unstack, change that number on each line. When multiple lines are stacked, this number will be identical in those lines.
In my example above, the clock and coil are stacked at the left. Their number is 0.
Then the diode and capacitor are stacked. Their number is 1.
The load is last. Its number is 2.