WebHMI requires SD to work. On this page we will explain how to select a best card that will suit your needs.
There is a wide variety of SD cards. In addition to the obvious differences, such as brand, formfactor and volume, Secure Digital memory cards also differ in the type of Flash-cells (SLC / MLC), class (4, 6, 8, 10) and overall performance.
SLC-memory is more reliable and has a much more significant resource of cells for writing. The typical number of recording cycles is 100,000 versus 3,000 for MLC memory. At the same time, SLC cards are harder to find, their volume is usually less than that of MLC cards, and the price is higher.
Industrial SD cards provide a wider temperature range, uniform deterioration of cells due to wear-leveling, but have a higher price.
So in each specific case it is necessary to find the compromise between volume, reliability, price, availability. That's why WebHMI comes without a memory card. It is assumed that the card will be selected by the integrator based on the requirements that are imposed on the system.
Please note that using a low-quality or fake memory card may result in data loss or unstable WebHMI operation. DO NOT use cards of doubtful origin. Preference is given to industrial memory cards. When you write a large amount of data, the lifetime of commercial cards in WebHMI can be only a few weeks after which the card goes down.
We tested five different memory cards in order to understand their performance differences applicable to WebHMI. The test consists of writing 60,000 rows into a data table for graphs (5 columns).
The test involved such disks:
Here it should be noted that the last two devices are not SD cards. SanDisk is a very fast USB drive, which is given for comparison as an external drive. If necessary, WebHMI can be configured to work not with a SD card, but with an external device. RAM-disk is a virtual storage located in the RAM of WebHMI. It is designed to measure the absolute maximum speed of the database, excluding any slow disk operations.
|Total time, sec
|Time for 1 record, ms
|Silicon Power 4GB Class 4 MLC
|Innodisk 32GB Class 10 Industrial MLC
|Silicon Power 8GB Class 10 MLC
|Apacer Industrial 1GB SLC
|Transcend 8GB Class 10 Industrial MLC
|SanDisk Extreme CZ80 16GB USB Drive MLC
According to the test results, it can be concluded that the Apacer SD Industrial Extended Temp SLC 1GB memory card should be used in most projects where an extra large archive is not required. This card will provide about 80 records per second in the database, which is even higher than the card of the 10th class of Silicon Power.
At the same time, the use of MLC-memory is advisable in systems with higher requirements for recording speed and/or the need to store a large amount of data. Or where the SLC memory does not fit into the budget of the system.
How to find a faster card? Test all of your candidates!
WebHMI has a built in benchmark to test performance of a particular card. Go to page Maintenance→Disk Usage→SD card speed test and press Run test button. Test runs up to 1 minute. After test will be completed you will see how many writes to database per second your card can handle.
Here is example of such test run: