{"id":1820,"date":"2025-04-14T06:45:58","date_gmt":"2025-04-14T06:45:58","guid":{"rendered":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?post_type=spl_knowledgebase&#038;p=1820"},"modified":"2025-06-10T08:31:50","modified_gmt":"2025-06-10T08:31:50","slug":"spice10212-nonlinearity-correction","status":"publish","type":"spl_knowledgebase","link":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/","title":{"rendered":"SPice10212: Nonlinearity correction"},"content":{"rendered":"\n<p>The SPice10212 uses a simple bridge rectifier circuit followed by an averaging filter. It is not a&nbsp;<em>precision<\/em>&nbsp;rectifier. This means that the response of the board will be somewhat nonlinear, because of the forward voltage drop of the rectifiers. In addition you have the nonlinearity of the transformers to contend with. This is even less predictable than the nonlinearity due to the diodes.<\/p>\n\n\n\n<p>Because the intended use of the board is for monitoring variations in mains (line) voltages around a nominal value of say 240VAC, the nonlinearity will usually have little practical effect. Providing you have calibrated at or near the nominal operating voltage, any nonlinearity errors within say 10% of nominal would amount to no more than a count or two.<\/p>\n\n\n\n<p>There may be situation where you would like to do better. For a given transformer and full scale combination it is feasible to establish a polynomial equation that converts raw readings into voltage with good linearity. It should be possible to get good results with this method, providing you always use the same type of transformer. Note though that in our experience over thousands of small transformers an occasional &#8220;rouge&#8221; one will have a different set of characteristics. Hence, your testing procedure should include a spot check on linearity.<\/p>\n\n\n\n<p>We use an Excel spreadsheet to determine the polynomial coefficients. The basic process is as follows:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Calibrate to a full scale count near 250.<\/li>\n\n\n\n<li>Using a\u00a0<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/glossary-of-terms\/#o3283\">Variac<\/a>, take a series of readings of counts versus input voltage. We used 5, 10, 25, 50, 100,150, 200 and 250V.<\/li>\n\n\n\n<li>In Excel, plot voltage (Y axis) versus count (<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/glossary-of-terms\/#o3808\">X<\/a>\u00a0axis)<\/li>\n\n\n\n<li>Right click the graph and select &#8220;Add trendline&#8230;&#8221;<\/li>\n\n\n\n<li>Set type = polynomial, and order = 3, and in the Options tab select &#8220;Display equation on chart&#8221;<\/li>\n\n\n\n<li>You should now see an equation on the graph. Right click the equation and select &#8220;Format data labels&#8230;&#8221;<\/li>\n\n\n\n<li>Select the Number tab and set the format to Scientific with 6 decimal places.<\/li>\n<\/ol>\n\n\n\n<p>You should now have the equation displayed with heaps of precision. Extract the coefficients and insert them in our\u00a0<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-programming\/example-spice10212-nonlinearity-correction\/\">sample program<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The SPice10212 uses a simple bridge rectifier circuit followed by an averaging filter. It is not a&nbsp;precision&nbsp;rectifier. This means that the response of the board&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1811,"menu_order":5,"template":"","class_list":["post-1820","spl_knowledgebase","type-spl_knowledgebase","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SPice10212: Nonlinearity correction - SPLat Controls<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SPice10212: Nonlinearity correction - SPLat Controls\" \/>\n<meta property=\"og:description\" content=\"The SPice10212 uses a simple bridge rectifier circuit followed by an averaging filter. It is not a&nbsp;precision&nbsp;rectifier. This means that the response of the board...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/\" \/>\n<meta property=\"og:site_name\" content=\"SPLat Controls\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-10T08:31:50+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/\",\"name\":\"SPice10212: Nonlinearity correction - SPLat Controls\",\"isPartOf\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\"},\"datePublished\":\"2025-04-14T06:45:58+00:00\",\"dateModified\":\"2025-06-10T08:31:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Product documentation\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Product documentation: SPice add-on boards\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"SPice10212 &#8211; 3-phase VAC measurement\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"SPice10212: Nonlinearity correction\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\",\"name\":\"SPLat Controls\",\"description\":\"OEM Embedded Machine Controllers\",\"publisher\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization\",\"name\":\"SPLat Controls\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg\",\"contentUrl\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg\",\"caption\":\"SPLat Controls\"},\"image\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SPice10212: Nonlinearity correction - SPLat Controls","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"SPice10212: Nonlinearity correction - SPLat Controls","og_description":"The SPice10212 uses a simple bridge rectifier circuit followed by an averaging filter. It is not a&nbsp;precision&nbsp;rectifier. This means that the response of the board...","og_url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/","og_site_name":"SPLat Controls","article_modified_time":"2025-06-10T08:31:50+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/","name":"SPice10212: Nonlinearity correction - SPLat Controls","isPartOf":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website"},"datePublished":"2025-04-14T06:45:58+00:00","dateModified":"2025-06-10T08:31:50+00:00","breadcrumb":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/spice10212-nonlinearity-correction\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/"},{"@type":"ListItem","position":2,"name":"Product documentation","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/"},{"@type":"ListItem","position":3,"name":"Product documentation: SPice add-on boards","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/"},{"@type":"ListItem","position":4,"name":"SPice10212 &#8211; 3-phase VAC measurement","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10212-3-phase-vac-measurement\/"},{"@type":"ListItem","position":5,"name":"SPice10212: Nonlinearity correction"}]},{"@type":"WebSite","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/","name":"SPLat Controls","description":"OEM Embedded Machine Controllers","publisher":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization","name":"SPLat Controls","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg","contentUrl":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg","caption":"SPLat Controls"},"image":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase\/1820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase"}],"about":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/types\/spl_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/users\/1"}],"up":[{"embeddable":true,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase\/1811"}],"wp:attachment":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/media?parent=1820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}