Posts

Basic VHDL Program with testbench in SystemVerilog for a Zybo Board

  The FPGA code toggles a user LED in Zybo Board, the speed of which is controlled by 2 toggle switches. Codes can be downloaded from the below link. https://github.com/kola-uhas/FPGA-codes/tree/main library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.NUMERIC_STD.ALL; -- Uncomment the following library declaration if using -- arithmetic functions with Signed or Unsigned values --use IEEE.NUMERIC_STD.ALL; -- Uncomment the following library declaration if instantiating -- any Xilinx leaf cells in this code. --library UNISIM; --use UNISIM.VComponents.all; entity hello is     Port ( clk : in STD_LOGIC;            rst : in STD_LOGIC;            speed_sw : in STD_LOGIC_VECTOR (1 downto 0);            led : out STD_LOGIC); end hello; architecture Behavioral of hello is signal led_toggle : std_logic := '0'; signal count : unsigned (7 downto 0):= (others => '0'); constant prescaler_val : u...

Transferring a file from Arduino Linux board to Windows PC

scp arduino@192.168.1.3:~/python-scripts/test.wav C:\Users\Alok\Downloads This transfers test.wav in arduino linux board to windows PC. Type this from the windows pc . the ip address in the command is of arduino board and arduino is the username

EMI Filter Design

You said can you help me design filter to remove the switching frequency harmonics from H50-500 /B/Y 24V to 500V DCDC Converter from American Power Design You said wont i be needing any common mode filter? Gemini said You are absolutely correct to be thinking about that. While Differential Mode (DM) filtering handles the ripple between the power lines, Common Mode (CM) noise is almost always present in high-frequency switching converters, especially those handling high voltage differences like the 500V output on the H50-500. Common mode noise stems from rapid voltage changes ( d t d v ​ ) acting on parasitic capacitances between the switching components and the chassis ground. Why You Need a Common Mode Filter Without a CM filter, that 100 kHz noise (and its harmonics) can radiate from the output cables, interfering with nearby electronics or preventing you from passing EMI regulations (like FCC or CISPR). Designing the Filter For this application, I recommend a two-stage approach: 1...