{"id":15891,"date":"2025-05-20T02:11:23","date_gmt":"2025-05-20T02:11:23","guid":{"rendered":"https:\/\/www.mechstream.com\/?p=15891"},"modified":"2025-05-20T02:16:19","modified_gmt":"2025-05-20T02:16:19","slug":"compression-spring-design-calculator","status":"publish","type":"post","link":"https:\/\/www.mechstream.com\/ru\/compression-spring-design-calculator\/","title":{"rendered":"\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043f\u0440\u0443\u0436\u0438\u043d \u0441\u0436\u0430\u0442\u0438\u044f"},"content":{"rendered":"<p class=\"wp-block-paragraph\">\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043f\u0435\u0440\u0435\u0434\u043e\u0432\u043e\u0439 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0434\u043b\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043f\u0440\u0443\u0436\u0438\u043d \u0441\u0436\u0430\u0442\u0438\u044f \u2014 \u0432\u0430\u0448 \u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a \u043f\u0440\u0443\u0436\u0438\u043d. \u042d\u0442\u043e\u0442 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0439 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0430\u043c \u0438 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430\u043c \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043f\u0440\u0443\u0436\u0438\u043d \u0441\u0436\u0430\u0442\u0438\u044f, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044f \u0432\u044b\u0441\u043e\u043a\u0443\u044e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0441\u0442\u044c. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c \u0438 \u0442\u043e\u0447\u043d\u044b\u043c \u0440\u0430\u0441\u0447\u0435\u0442\u0430\u043c \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u0443\u0436\u0438\u043d. \u041d\u0430\u0448 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0439, \u043f\u043e\u043c\u043e\u0433\u0430\u044f \u043f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0438 \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0448\u0438\u0431\u043e\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0433\u043e \u043f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u0438 \u043a\u0430\u0440\u0434\u0438\u043d\u0430\u043b\u044c\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0441\u0432\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u043f\u0440\u0443\u0436\u0438\u043d.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"403\" height=\"412\" src=\"https:\/\/www.mechstream.com\/wp-content\/uploads\/2025\/05\/QQ20250520-100724-\u5df2\u7f16\u8f91.png\" loading=\"lazy\" alt=\"\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043f\u0440\u0443\u0436\u0438\u043d \u0441\u0436\u0430\u0442\u0438\u044f\" class=\"wp-image-15892\" srcset=\"https:\/\/www.mechstream.com\/wp-content\/uploads\/2025\/05\/QQ20250520-100724-\u5df2\u7f16\u8f91.png 403w, https:\/\/www.mechstream.com\/wp-content\/uploads\/2025\/05\/QQ20250520-100724-\u5df2\u7f16\u8f91-293x300.png 293w, https:\/\/www.mechstream.com\/wp-content\/uploads\/2025\/05\/QQ20250520-100724-\u5df2\u7f16\u8f91-98x100.png 98w\" sizes=\"(max-width: 403px) 100vw, 403px\" \/><\/figure>\n<\/div>\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043f\u0440\u0443\u0436\u0438\u043d \u0441\u0436\u0430\u0442\u0438\u044f | \u041f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043f\u0440\u0443\u0436\u0438\u043d<\/title>\n    <style>\n        \/* Reset and base styles *\/\n        * {\n            margin: 0;\n            padding: 0;\n            box-sizing: border-box;\n        }\n\n        body {\n            font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n            line-height: 1.6;\n            color: #333;\n        }\n\n        \/* Calculator container *\/\n        .calculator-container {\n            background: #fff;\n            border-radius: 8px;\n            box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n            margin-bottom: 30px;\n        }\n\n        \/* Section styles *\/\n        .section {\n            margin-bottom: 30px;\n        }\n\n        h2 {\n            color: #000;\n            margin-bottom: 15px;\n            font-size: 1.5em;\n        }\n\n        \/* Parameter explanations *\/\n        .parameter-list {\n            display: grid;\n            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n            gap: 15px;\n            margin-bottom: 20px;\n        }\n\n        .parameter-item {\n            background: #f8f9fa;\n            padding: 10px;\n            border-radius: 4px;\n        }\n\n        \/* Input form *\/\n        .input-form {\n            display: grid;\n            gap: 15px;\n            margin-bottom: 20px;\n            \/* Default to one column *\/\n            grid-template-columns: 1fr;\n        }\n\n        \/* Two columns on screens wider than 768px *\/\n        @media (min-width: 769px) {\n            .input-form {\n                grid-template-columns: repeat(2, 1fr);\n            }\n        }\n\n        .input-group {\n            display: flex;\n            flex-direction: column;\n        }\n\n        .input-group label {\n            margin-bottom: 5px;\n            font-weight: 500;\n        }\n\n        .input-group input,\n        .input-group select {\n            padding: 8px;\n            border: 1px solid #ddd;\n            border-radius: 4px;\n            font-size: 16px;\n        }\n\n        \/* Calculate button *\/\n        .calculate-btn {\n            background: #007bff;\n            color: white;\n            border: none;\n            padding: 12px 24px;\n            border-radius: 4px;\n            cursor: pointer;\n            font-size: 16px;\n            transition: background 0.3s;\n            width: 25%;\n            max-width: 200px;\n            margin: 20px auto;\n            display: block;\n            \/* Make the button span all columns in the grid *\/\n            grid-column: 1 \/ -1;\n        }\n\n        .calculate-btn:hover {\n            background: #0056b3;\n        }\n\n        \/* Results section *\/\n        .results {\n            display: none;\n            background: #e9ecef;\n            padding: 20px;\n            border-radius: 4px;\n            margin-top: 20px;\n        }\n\n        .results.active {\n            display: block;\n        }\n\n        .result-item {\n            margin-bottom: 10px;\n            font-size: 1.1em;\n        }\n\n        .result-value {\n            font-weight: bold;\n            color: #007bff;\n        }\n\n        \/* Responsive adjustments *\/\n        @media (max-width: 768px) {\n            .input-form {\n                \/* One column on small screens - handled by default *\/\n            }\n\n            .parameter-list {\n                grid-template-columns: 1fr;\n            }\n        }\n    <\/style>\n<\/head>\n<body>\n    <div class=\"calculator-container\">\n        <!-- Parameter Explanations -->\n        <div class=\"section section-parameters\">\n            <h2>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/h2>\n            <div class=\"parameter-list\">\n                <div class=\"parameter-item\">\n                    <strong>\u0414\u0438\u0430\u043c\u0435\u0442\u0440 \u043f\u0440\u043e\u0432\u043e\u043b\u043e\u043a\u0438 (d):<\/strong> \u0414\u0438\u0430\u043c\u0435\u0442\u0440 \u043f\u0440\u0443\u0436\u0438\u043d\u043d\u043e\u0439 \u043f\u0440\u043e\u0432\u043e\u043b\u043e\u043a\u0438.\n                <\/div>\n                <div class=\"parameter-item\">\n                    <strong>\u0421\u0440\u0435\u0434\u043d\u0438\u0439 \u0434\u0438\u0430\u043c\u0435\u0442\u0440 \u043a\u0430\u0442\u0443\u0448\u043a\u0438 (D):<\/strong> \u0421\u0440\u0435\u0434\u043d\u0438\u0439 \u0434\u0438\u0430\u043c\u0435\u0442\u0440 \u0432\u0438\u0442\u043a\u043e\u0432 \u043f\u0440\u0443\u0436\u0438\u043d\u044b.\n                <\/div>\n                <div class=\"parameter-item\">\n                    <strong>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u043a\u0430\u0442\u0443\u0448\u0435\u043a (Na):<\/strong> \u0427\u0438\u0441\u043b\u043e \u0432\u0438\u0442\u043a\u043e\u0432, \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u043f\u0440\u0443\u0436\u0438\u043d\u044b.\n                <\/div>\n                <div class=\"parameter-item\">\n                    <strong>\u041f\u0440\u0443\u0436\u0438\u043d\u044b \u043b\u0435\u0432\u043e\u0433\u043e \u0441\u0438\u0434\u0435\u043d\u044c\u044f (Nzl):<\/strong> \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u043a\u0430\u0442\u0443\u0448\u0435\u043a \u043d\u0430 \u043b\u0435\u0432\u043e\u043c \u043a\u043e\u043d\u0446\u0435.\n                <\/div>\n                <div class=\"parameter-item\">\n                    <strong>\u041f\u0440\u0443\u0436\u0438\u043d\u044b \u043f\u0440\u0430\u0432\u043e\u0433\u043e \u0441\u0438\u0434\u0435\u043d\u044c\u044f (Nzr):<\/strong> \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u043a\u0430\u0442\u0443\u0448\u0435\u043a \u043d\u0430 \u043f\u0440\u0430\u0432\u043e\u043c \u043a\u043e\u043d\u0446\u0435.\n                <\/div>\n                <div class=\"parameter-item\">\n                    <strong>\u0421\u0432\u043e\u0431\u043e\u0434\u043d\u0430\u044f \u0434\u043b\u0438\u043d\u0430 (L0):<\/strong> \u0414\u043b\u0438\u043d\u0430 \u043f\u0440\u0443\u0436\u0438\u043d\u044b \u0432 \u043d\u0435\u043d\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438.\n                <\/div>\n                <div class=\"parameter-item\">\n                    <strong>\u041c\u043e\u0434\u0443\u043b\u044c \u0441\u0434\u0432\u0438\u0433\u0430 (G):<\/strong> \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u0436\u0435\u0441\u0442\u043a\u043e\u0441\u0442\u044c \u043f\u0440\u0438 \u0441\u0434\u0432\u0438\u0433\u0435.\n                <\/div>\n                <div class=\"parameter-item\">\n                    <strong>\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u043d\u0430\u044f \u0441\u0438\u043b\u0430 (\u041d):<\/strong> \u0412\u043d\u0435\u0448\u043d\u044f\u044f \u0441\u0438\u043b\u0430, \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u043d\u0430\u044f \u043a \u043f\u0440\u0443\u0436\u0438\u043d\u0435. (\u0412\u0432\u0435\u0434\u0438\u0442\u0435 N \u0438\u043b\u0438 L1, \u0430 \u043d\u0435 \u043e\u0431\u0430)\n                <\/div>\n                <div class=\"parameter-item\">\n                    <strong>\u0414\u043b\u0438\u043d\u0430 \u043f\u043e\u0434 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 (L1):<\/strong> \u0414\u043b\u0438\u043d\u0430 \u043f\u0440\u0443\u0436\u0438\u043d\u044b \u043f\u043e\u0434 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043c \u0441\u0438\u043b\u044b. (\u0412\u0432\u0435\u0434\u0438\u0442\u0435 N \u0438\u043b\u0438 L1, \u0430 \u043d\u0435 \u043e\u0431\u0430)\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <!-- Calculator Form -->\n        <div class=\"section section-calculator\">\n            <h2>\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440<\/h2>\n            <form id=\"springCalculator\" class=\"input-form\" action=\"\">\n                <div class=\"input-group\">\n                    <label for=\"wireDiameter\">\u0414\u0438\u0430\u043c\u0435\u0442\u0440 \u043f\u0440\u043e\u0432\u043e\u043b\u043e\u043a\u0438 (d) <span class=\"unit\">\u043c\u043c<\/span><\/label>\n                    <input type=\"number\" id=\"wireDiameter\" step=\"0.01\" required>\n                <\/div>\n                <div class=\"input-group\">\n                    <label for=\"meanDiameter\">\u0421\u0440\u0435\u0434\u043d\u0438\u0439 \u0434\u0438\u0430\u043c\u0435\u0442\u0440 \u043a\u0430\u0442\u0443\u0448\u043a\u0438 (D) <span class=\"unit\">\u043c\u043c<\/span><\/label>\n                    <input type=\"number\" id=\"meanDiameter\" step=\"0.01\" required>\n                <\/div>\n                <div class=\"input-group\">\n                    <label for=\"numberOfActiveCoils\">\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u043a\u0430\u0442\u0443\u0448\u0435\u043a (Na)<\/label>\n                    <input type=\"number\" id=\"numberOfActiveCoils\" step=\"0.1\" required>\n                <\/div>\n                <div class=\"input-group\">\n                    <label for=\"freeLength\">\u0421\u0432\u043e\u0431\u043e\u0434\u043d\u0430\u044f \u0434\u043b\u0438\u043d\u0430 (L0) <span class=\"unit\">\u043c\u043c<\/span><\/label>\n                    <input type=\"number\" id=\"freeLength\" step=\"0.1\" required>\n                <\/div>\n                <div class=\"input-group\">\n                    <label for=\"shearModulus\">\u041c\u043e\u0434\u0443\u043b\u044c \u0441\u0434\u0432\u0438\u0433\u0430 (G) <span class=\"unit\">\u041d\/\u043c\u043c\u00b2<\/span><\/label>\n                    <input type=\"number\" id=\"shearModulus\" step=\"100\" required>\n                <\/div>\n                <div class=\"input-group\">\n                    <label for=\"appliedForce\">\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u043d\u0430\u044f \u0441\u0438\u043b\u0430 (\u041d) <span class=\"unit\">\u041d<\/span><\/label>\n                    <input type=\"number\" id=\"appliedForce\" step=\"0.1\">\n                <\/div>\n                <div class=\"input-group\">\n                    <label for=\"lengthUnderLoad\">\u0414\u043b\u0438\u043d\u0430 \u043f\u043e\u0434 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 (L1) <span class=\"unit\">\u043c\u043c<\/span><\/label>\n                    <input type=\"number\" id=\"lengthUnderLoad\" step=\"0.1\">\n                <\/div>\n                <div class=\"input-group\">\n                    <label for=\"leftSeatCoils\">\u041a\u0430\u0442\u0443\u0448\u043a\u0438 \u043b\u0435\u0432\u043e\u0433\u043e \u0441\u0438\u0434\u0435\u043d\u044c\u044f (Nzl)<\/label>\n                    <input type=\"number\" id=\"leftSeatCoils\" step=\"0.1\" value=\"0\">\n                <\/div>\n                <div class=\"input-group\">\n                    <label for=\"rightSeatCoils\">\u041f\u0440\u0443\u0436\u0438\u043d\u044b \u043f\u0440\u0430\u0432\u043e\u0433\u043e \u0441\u0438\u0434\u0435\u043d\u044c\u044f (Nzr)<\/label>\n                    <input type=\"number\" id=\"rightSeatCoils\" step=\"0.1\" value=\"0\">\n                <\/div>\n                <button type=\"submit\" class=\"calculate-btn\">\u0420\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044c<\/button>\n            <input type=\"hidden\" name=\"trp-form-language\" value=\"ru\"\/><\/form>\n        <\/div>\n\n        <!-- Results Section -->\n        <div id=\"results\" class=\"results section-results\">\n            <h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0440\u0430\u0441\u0447\u0435\u0442\u043e\u0432<\/h2>\n            <div class=\"result-item\">\n                \u0416\u0435\u0441\u0442\u043a\u043e\u0441\u0442\u044c \u043f\u0440\u0443\u0436\u0438\u043d\u044b (k): <span class=\"result-value\" id=\"springRate\">0<\/span> \u041d\/\u043c\u043c\n            <\/div>\n            <div class=\"result-item\">\n                \u0412\u044b\u0441\u043e\u0442\u0430: <span class=\"result-value\" id=\"solidHeight\">0<\/span> \u043c\u043c\n            <\/div>\n            <div class=\"result-item\" id=\"maxLoadResult\">\n                \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430: <span class=\"result-value\" id=\"maxLoad\">0<\/span> \u041d\n            <\/div>\n            <div class=\"result-item\" id=\"maxDeflectionResult\">\n                \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u0435: <span class=\"result-value\" id=\"maxDeflection\">0<\/span> \u043c\u043c\n            <\/div>\n            <div class=\"result-item\" id=\"forceAtL1Result\" style=\"display: none;\">\n                \u0421\u0438\u043b\u0430 \u043d\u0430 \u0434\u043b\u0438\u043d\u0435 L1: <span class=\"result-value\" id=\"forceAtL1\">0<\/span> \u041d\n            <\/div>\n            <div class=\"result-item\" id=\"deflectionAtNResult\" style=\"display: none;\">\n                \u041f\u0440\u043e\u0433\u0438\u0431 \u043f\u0440\u0438 \u0441\u0438\u043b\u0435 N: <span class=\"result-value\" id=\"deflectionAtN\">0<\/span> \u043c\u043c\n            <\/div>\n            <div class=\"result-item\">\n                \u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u0434\u0438\u0430\u043c\u0435\u0442\u0440 (Di): <span class=\"result-value\" id=\"innerDiameter\">0<\/span> \u043c\u043c\n            <\/div>\n            <div class=\"result-item\">\n                \u0412\u0435\u0441\u0435\u043d\u043d\u0438\u0439 \u0438\u043d\u0434\u0435\u043a\u0441 (C): <span class=\"result-value\" id=\"springIndex\">0<\/span>\n            <\/div>\n            <div class=\"result-item\">\n                \u041e\u0431\u0449\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u0442\u0443\u0448\u0435\u043a (Nt): <span class=\"result-value\" id=\"totalCoils\">0<\/span>\n            <\/div>\n            <div class=\"result-item\">\n                \u0424\u0430\u043a\u0442\u043e\u0440 \u0412\u0430\u043b\u044c: <span class=\"result-value\" id=\"wahlFactor\">0<\/span>\n            <\/div>\n            <div class=\"result-item\" id=\"deflectionResult\" style=\"display: none;\">\n                \u041f\u0440\u043e\u0433\u0438\u0431 (L): <span class=\"result-value\" id=\"deflection\">0<\/span> \u043c\u043c\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <script>\n        document.getElementById('springCalculator').addEventListener('submit', function(e) {\n            e.preventDefault();\n\n            \/\/ Get input values\n            const d = parseFloat(document.getElementById('wireDiameter').value);\n            const D = parseFloat(document.getElementById('meanDiameter').value);\n            const Na = parseFloat(document.getElementById('numberOfActiveCoils').value);\n            const L0 = parseFloat(document.getElementById('freeLength').value);\n            const G = parseFloat(document.getElementById('shearModulus').value);\n            const N = document.getElementById('appliedForce').value !== '' ? parseFloat(document.getElementById('appliedForce').value) : null;\n            const L1 = document.getElementById('lengthUnderLoad').value !== '' ? parseFloat(document.getElementById('lengthUnderLoad').value) : null;\n            const Nzl = parseFloat(document.getElementById('leftSeatCoils').value) || 0;\n            const Nzr = parseFloat(document.getElementById('rightSeatCoils').value) || 0;\n\n\n            \/\/ Calculate spring rate (k)\n            \/\/ Formula: k = (G * d^4) \/ (8 * D^3 * Na)\n            const k = (G * Math.pow(d, 4)) \/ (8 * Math.pow(D, 3) * Na);\n\n            \/\/ Calculate solid height\n            \/\/ Assuming squared ends, total coils = Na + 2. For other ends, this might differ. Using Na for a simplified solid height based on active coils * diameter\n            const totalCoils = Na + Nzl + Nzr;\n            const solidHeight = totalCoils * d;\n\n\n            \/\/ Calculate maximum deflection (Deflection to Solid Height)\n            const maxDeflection = L0 - solidHeight;\n\n            \/\/ Calculate maximum load (Load at Solid Height)\n            const maxLoad = k * maxDeflection;\n\n            \/\/ Calculate Inner Diameter (Di)\n            const innerDiameter = D - d;\n\n\n            \/\/ Display results that are always calculated\n            document.getElementById('springRate').textContent = k.toFixed(2);\n            document.getElementById('solidHeight').textContent = solidHeight.toFixed(2);\n            document.getElementById('maxLoad').textContent = maxLoad.toFixed(2);\n            document.getElementById('maxDeflection').textContent = maxDeflection.toFixed(2);\n            document.getElementById('innerDiameter').textContent = innerDiameter.toFixed(2);\n\n\n            \/\/ Calculate results based on N or L1 input\n            document.getElementById('forceAtL1Result').style.display = 'none';\n            document.getElementById('deflectionAtNResult').style.display = 'none';\n            document.getElementById('deflectionResult').style.display = 'none';\n\n            let calculatedDeflection = 0;\n\n            if (N !== null) {\n                \/\/ Calculate deflection at Applied Force N\n                calculatedDeflection = N \/ k;\n                document.getElementById('deflectionAtN').textContent = calculatedDeflection.toFixed(2);\n                document.getElementById('deflectionAtNResult').style.display = 'block';\n\n            } else if (L1 !== null) {\n                 \/\/ Calculate deflection (delta L) = L0 - L1\n                calculatedDeflection = L0 - L1;\n                \/\/ Calculate force at Length L1\n                const forceAtL1 = k * calculatedDeflection;\n                document.getElementById('forceAtL1').textContent = forceAtL1.toFixed(2);\n                document.getElementById('forceAtL1Result').style.display = 'block';\n            }\n\n            \/\/ Display Deflection (L)\n            document.getElementById('deflection').textContent = calculatedDeflection.toFixed(2);\n            document.getElementById('deflectionResult').style.display = 'block';\n\n            \/\/ Calculate Spring Index (C)\n            const springIndex = D \/ d;\n            document.getElementById('springIndex').textContent = springIndex.toFixed(2);\n\n            \/\/ Display Total Coils (Nt)\n            document.getElementById('totalCoils').textContent = totalCoils.toFixed(1); \/\/ Assuming totalCoils was calculated earlier\n\n            \/\/ Calculate Wahl Factor (A common stress correction factor)\n            \/\/ Formula: Kw = (4C - 1) \/ (4C - 4) + 0.615 \/ C\n            const wahlFactor = (4 * springIndex - 1) \/ (4 * springIndex - 4) + 0.615 \/ springIndex;\n            document.getElementById('wahlFactor').textContent = wahlFactor.toFixed(3);\n\n\n            \/\/ Show results section\n            document.getElementById('results').classList.add('active');\n        });\n    <\/script>\n<\/body>\n<\/html>","protected":false},"excerpt":{"rendered":"<p>Discover the ultimate Compression Spring Design Calculator, your go-to tool for precise spring specifications and optimization. This comprehensive calculator allows engineers and designers to input&#8230;<\/p>","protected":false},"author":2,"featured_media":15893,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"pmpro_default_level":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[3434],"tags":[3679,3421,3675],"class_list":["post-15891","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spring-calculator","tag-compression-calculator","tag-engineering-tool","tag-spring-design","pmpro-has-access"],"acf":[],"jetpack_featured_media_url":"https:\/\/www.mechstream.com\/wp-content\/uploads\/2025\/05\/Compression-Spring-Design-Calculator.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mechstream.com\/ru\/wp-json\/wp\/v2\/posts\/15891","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mechstream.com\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mechstream.com\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mechstream.com\/ru\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mechstream.com\/ru\/wp-json\/wp\/v2\/comments?post=15891"}],"version-history":[{"count":0,"href":"https:\/\/www.mechstream.com\/ru\/wp-json\/wp\/v2\/posts\/15891\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mechstream.com\/ru\/wp-json\/wp\/v2\/media\/15893"}],"wp:attachment":[{"href":"https:\/\/www.mechstream.com\/ru\/wp-json\/wp\/v2\/media?parent=15891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mechstream.com\/ru\/wp-json\/wp\/v2\/categories?post=15891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mechstream.com\/ru\/wp-json\/wp\/v2\/tags?post=15891"}],"curies":[{"name":"WP","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}