Silaev/auto/3.6.1/361.ipynb

152 lines
15 KiB
Plaintext
Raw Normal View History

2022-10-03 09:04:20 +03:00
{
"cells": [
{
"cell_type": "code",
"execution_count": 9,
"id": "01d8887a",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"Text(0, 0.5, 'k')"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYIAAAEGCAYAAABo25JHAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAfoElEQVR4nO3de3RV9Z338feXQCAgEC4RBQTFCyqtBQ125ml9ei/qmhZnprOq9rGjMmXoiEIkCaCzULwWTq4iKGLxNlbKAKZ0RONIvVasBEFQFAGhQrjILXIxQC7f54+ENGCAANlnn8vntVbWyjl7m/Nxr3A++e29z+9n7o6IiCSvVmEHEBGRcKkIRESSnIpARCTJqQhERJKcikBEJMm1DjvAierevbufffbZYccQEYkrS5Ys2e7uGU1ti7siOPvssykrKws7hohIXDGzvx5tm04NiYgkORWBiEiSUxGIiCQ5FYGISJJTEYiIJLlAi8DMrjSzVWa2xszGNbH9u2b2hZktq/+aEGQeERH5qsBuHzWzFGAq8CNgI7DYzOa7+8ojdn3T3f8hqBwiInJsQX6O4HJgjbt/CmBms4ChwJFFICIix1CytJzJL65k8+6D9ExPI2dIf64Z1KvFfn6Qp4Z6ARsaPd5Y/9yR/t7M3jezF81sQFM/yMyGm1mZmZVt27YtiKwiIjGpZGk5o4qe44N5D1NbU015RSXj562gZGl5i71GkEVgTTx35Co47wF93f0bwBSgpKkf5O6PuXumu2dmZDT5CWkRkYSzZ88ebs0ex74dm+jyg19hKXUncSqraoiUrmqx1wny1NBG4KxGj3sDmxrv4O67G32/wMymmVl3d98eYC4RkZhXWlrKyy+/DBcN4bTTunxl+6aKyhZ7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6JPFIhJVb7/9Nr///e8ZPXo055xzTpP7XDOol974o0hFICJRsXfvXiKRCP369aOoqEjTQ8QQFYGIBO7ll1+mtLSU7OxszjzzzLDjyBG0ZrGIBGbXrl2MHz+e3bt3k5eXpxKIURoRiEgg5s2bx+LFi8nOzqZbt25hx5Fj0IhARFrUli1byM7OpkOHDjz44IMqgTigEYGItAh355lnnmHt2rXcdddddOzYMexI0kwaEYjIKVu/fj2jR4+mX79+TJw4USUQZzQiEJGTVltby/Tp09m1axeTJk2iXbt2YUeSk6AiEJGT8vHHHzN16lRuuukmLr300rDjyClQEYjICamqqmLKlCkAFBQU0KZNm5ATyalSEYhIsy1dupSZM2dyyy23cOGFWjEsUagIROS49u/fT0FBAV27dqW4uJhWrXSfSSJREYjIMb311lvMmTOHrKws+vbtG3YcCYCKQEQalCwtb5j+uUea06f8FX5yxWUUFhZqkrgEpiIQEaCuBMbPW0FlVQ2Vny7ho/XL2PGtn3H9176jEkhwOtEnIkDdQjB7d+9i12tP4FUH6PL9YVS17axF45OARgQigruz+p3/5cDWNXT6u38hpd1pDdu0aHziUxGIJLnNmzeTl5dHRtce7Lvwxq9s16LxiU9FIJKk3J2nnnqK9evXM3HiRK5Y/UXDNYJDtGh8clARiCShdevWUVRUxM9//nNuvPFGAK4ZVHc6SIvGJx8VgUgSqampYfr06ezevbvJSeK0aHxyUhGIJImVK1fyyCOPMGzYMAYOHBh2HIkhKgKRBHfw4EEeeughWrduTWFhIa1b65+9HE6/ESIJrKysjKeeeopbb72VCy64IOw4EqNUBCIJqLKykvz8fE4//XRNEifHpSIQSTCvv/46zz//PLfffjt9+vQJO47EARWBSILYvXs3kydP5qKLLtIkcXJCVAQiCeCFF17g1VdfJTc3l9NPPz3sOBJndOJQJI5t376d3Nx
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"import matplotlib.pyplot as plt\n",
"\n",
"#прямоугольники\n",
"\n",
"#картинки\n",
"#1) tau = 50 мкс, f = 1 кГц\n",
"#2) tau = 50 мкс, f = 1.5 кГц\n",
"#3) tau = 50 мкс, f = 0.5 кГц\n",
"#4) tau = 100 мкс, f = 1 кГц\n",
"#5) tau = 75 мкс, f = 1 кГц\n",
"\n",
"#tau = 50 мкс, f = 1 кГц\n",
"#кГц\n",
"a_n = [1, 2.003, 3.005, 4.007, 5.01, 6.012, 7.014]\n",
"#мВ\n",
"f_n = [415.9, 395.6, 366.0, 327.2, 299.4, 279.1, 251.4]\n",
"\n",
"#мкс\n",
"tau = [20, 40, 60, 80, 100, 120, 140, 160, 180, 200] #со 180 скачет\n",
"#кГц\n",
"delta_nu1 = [50, 25, 17.01, 12.51, 10.04, 8.012, 7.01, 6.008, 5.571, 4.928] \n",
"\n",
"#цуги\n",
"\n",
"#6) f = 50 кГц, T = 1 мс, N = 5\n",
"#7) f = 50 кГц, T = 1 мс, N = 7\n",
"#8) f = 50 кГц, T = 1 мс, N = 10\n",
"#9) f = 50 кГц, T = 1.5 мс, N = 5\n",
"#10) f = 50 кГц, T = 0.5 мс, N = 5\n",
"#11) f = 100 кГц, T = 1 мс, N = 5\n",
"\n",
"#мс\n",
"T = [0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5]\n",
"#кГц\n",
"delta_nu2 = [2, 1.02, 0.65, 0.5, 0.39, 0.33, 0.29, 0.25, 0.21, 0.19]\n",
"\n",
"#гаусс(???)\n",
"\n",
"#12) f = 1 кГц\n",
"#13) f = 1 кГц\n",
"#14) f = 1 кГц\n",
"\n",
"#am\n",
"\n",
"# A_max = 1.26 V, A_min = 0.42 V\n",
"\n",
"#15) f = 50 кГц, f_mod = 2 кГц, m = 0.5\n",
"\n",
"m = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1]\n",
"#mV\n",
"a_max = 537.9\n",
"a_min = [27.73, 53.6, 81.33, 105.4, 131.2, 162.7, 186.7, 212.6, 238.4, 266.2]\n",
"\n",
"m_2 =[]\n",
"for i in range(10):\n",
" a_min[i] /= a_max\n",
" m_2.append(m[i]/2) \n",
"\n",
"#pm\n",
"\n",
"#16) f = 50 кГц, f_mod = 2 кГц, phi = 10\n",
"#17) f = 50 кГц, f_mod = 2 кГц, phi = 50\n",
"#18) f = 50 кГц, f_mod = 2 кГц, phi = 90\n",
"#19) f = 50 кГц, f_mod = 10 кГц, phi = 10\n",
"#20) f = 100 кГц, f_mod = 2 кГц, phi = 10\n",
"\n",
"\n",
"\n",
"\n",
"#21) T = 6 мкс, tau = 0.3 мкс осциллограмма\n",
"#22) T = 6 мкс, tau = 0.3 мкс спектр\n",
"#23) T = 6 мкс, tau = 0.5 мкс осциллограмма\n",
"#24) T = 6 мкс, tau = 0.5 мкс спектр\n",
"#25) T = 6 мкс, tau = 0.1 мкс осциллограмма\n",
"#26) T = 6 мкс, tau = 0.1 мкс спектр\n",
"\n",
"#мВ\n",
"a_filter = [68.39, 35.12, 22.18, 16.64, 12.01]\n",
"a_0 = [250.5, 244.9, 254.2, 244.9, 217.2]\n",
"\n",
"\n",
"plt.scatter(m, a_min)\n",
"plt.plot(m, m_2, color = 'black', linewidth = 0.5)\n",
"plt.xlabel('m')\n",
"plt.ylabel('k')\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "718aeb2a",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
}
},
"nbformat": 4,
"nbformat_minor": 5
}