“At present, the world is facing unprecedented threats brought by the new coronavirus disease (COVID-19) pandemic. Many countries have adopted the recommendations of the World Health Organization (WHO) to maintain the distance between people as one of the ways to reduce the spread of diseases.
At present, the world is facing unprecedented threats brought by the new coronavirus disease (COVID-19) pandemic. Many countries have adopted the recommendations of the World Health Organization (WHO) to maintain the distance between people as one of the ways to reduce the spread of diseases. Many companies also actively responded to the government’s call to encourage employees to work from home and avoid contact. Although the WHO has made it clear that COVID-19 is not a food safety issue, the epidemic has brought new changes to the food industry and effectively promoted the development of cloud services in the food testing industry. In response to the need for more big data analysis based on cloud services brought by epidemic prevention, the food inspection industry needs new solutions to meet this demand. In this regard, the technical distributor Excelpoint Shijian has launched a food spectrum analysis safety detection program based on Alibaba Cloud applications.
The food industry should establish a food safety management system (FSMS) based on the principles of hazard analysis and critical control points (HACCP) to manage food safety risks and prevent food contamination. Maintain the food processing environment, the application and practice of cloud applications in food safety inspection, and the increasing use of the Internet, food safety supervision and structured data and testing, institutional structured data, small samples, and distributed fragmented data, Fast collection, storage, analysis and identification through cloud applications, and similar programs that meet current food safety testing requirements well have become an industry trend.
As we all know, accumulative oxidation caused by time is one of the main problems of food spoilage. Take fruit juice and edible oil as examples. Oxidation changes the color, concentration and taste; when edible oil is contaminated or fried repeatedly, the color will change. And spectral lines.
Shijian and Microchip have brought solutions based on the Alibaba Cloud platform for safety inspection application scenarios such as beverages, liquid foods, and food additives.
The principle of food safety detection is that the LED emits visible light, and after being absorbed by the cuvette, there is absorption in the visible light part. The sensor detects the spectral curve of the liquid. Different liquids have different spectral curves in the visible spectrum. The module detects its spectral data. , Upload it to the Alibaba Cloud IoT platform through the NB-IoT wireless communication module, and identify the type through sample learning and cloud computing.
In this solution design, MICROCHIP’s ultra-low power processor based on ARM Cortex-M0+ is used as the main control platform to run local data acquisition and Alibaba Cloud’s communication protocol. The spectrum sensor uses the product of ams, and the LED light source uses Seoul semiconductor‘s The product, the SIMCom NB-IOT module used for wireless connection has many advantages such as wide coverage, support for massive connections, low power consumption, and low cost.
Plan specific introduction
Design block diagram
LED light source: SUNLIKE series of Seoul Semiconductor
It has high-quality spectral output in the visible light range.
Spectral sensor: the ams sensor has 18 detection points from visible light to near infrared (400nm-940nm), and the half-value width of each wavelength is 20nm.
MCU processor: MICROCHIP’s ATSAML21
SAML21 hardware architecture
Ultra-low power consumption ARM Cortex-M0+MCU architecture, operating frequency up to 48MHz;
The power consumption in working mode is 35Ua/MHz, and the power consumption in sleep mode is less than 200nA;
Integrate advanced analog peripherals, advanced PWM, flexible SERCOM, USB, hardware touch PTC encryption engine, etc.;
Hardware architecture diagram
SAML21 software architecture
SAML21 supports a variety of network protocols such as TCP/IP and SSL, and can perfectly link to Alibaba Cloud and Google Cloud.
Network data transmission example
Lithium battery charge management chip: MCP73853 from MICROCHIP
With trickle pre-charging, fast charging and other modes, the maximum current of fast charging can reach 400mA, with a temperature detection function, the power will be automatically cut off if the temperature is too high.
NB-IoT: SIMCom SIM7020C
SIM7020C is a multi-band NB-IoT wireless communication module in a 42-PIN LCC package; it has a wealth of hardware interfaces, including serial ports, GPIO, ADC, etc., with rich scalability, which provides great convenience for product development. Compared with GSM, NB-IoT has strong gain and wide signal coverage. The module supports PSM and eDRX low power consumption modes. In theory, two AA batteries can support 10 years. In addition, the SIM7020 package is compatible with the SIM800C module, which can shorten the customer’s research and development time as much as possible and accelerate the speed of customer products to the market.
Hardware encryption function
Taking into account the security of IoT wireless transmission, this solution also supports Microchip’s asymmetric encryption chip-ATECC608A, which implements hardware encryption functions to ensure the security and reliability of data transmission.
Program data flow
Users can set the parameters, spectrum data and waveform curve of the NB-IoT wireless communication module through the software tool developed by Excelpoint Shijian. The software can also match the sample similarity with the local numerical control library, and after calculating the similarity with the database in the user server through TCP/IP, the result is returned to the module, and sent to the Alibaba Cloud IoT platform through the SIM7020C communication module. Of course, users can also use the paid computing function of the Alibaba Cloud IoT platform to obtain calculation results.
Data flow chart
Alibaba Cloud IoT platform can record historical data and matching results
The combination of food safety and cloud applications provides a strong guarantee for the food safety industry in terms of data volume, form, or technical means, and provides a strong guarantee for government management departments, food companies, distributors, supermarkets, testing institutions, and consumers. Convenient application services are provided for different user topics; at the same time, it is scientifically supervised, which effectively establishes a communication channel between food health companies and consumers, guides correct consumption, and ensures food safety.