Perilla seeds (Fructus Perillae) are the seeds of perilla, a plant of the Lamiaceae family. It can be used as seasoning to remove fishy smell, increase freshness and enhance flavor. At the same time, it has certain medicinal value, and has the effects of lowering Qi, clearing phlegm, moistening the lungs, and widening the intestines.
Efficacy and role:
1. Lower qi and resolve phlegm, relieve cough and relieve asthma: Perilla seeds can relieve qi stagnation, relieve asthma and eliminate phlegm, treat cough with excessive phlegm, and chest and diaphragm fullness and tightness. They are often used with tangerine peel, pinellia, magnolia bark, etc. to lower qi and resolve phlegm. . For those who suffer from food stagnation and fullness, it can be used together with white mustard seeds and radish seeds to digest food and resolve phlegm.
2. Loose intestines and relieve constipation: Perilla seeds contain a large amount of natural oils, which can lubricate the intestines and have a good therapeutic effect on intestinal dryness and constipation. They are often used with hemp seeds, almonds, and trichosanthes seeds.
Perilla Bulk Seeds,High Quality Perilla Seed,Chinese Perilla Seeds,Perilla Seed Cooking Jilin Chunyi Industrial Co., Ltd , https://www.xytruckpart.com
introduction
Since the introduction of water, electricity and gas into the meter in the early 20th century, manual meter reading has always been the most traditional method. The disadvantage of this post-paid work method is the large amount of work, which often results in a huge financial burden on gas-operating companies due to the failure to collect fees. Since the 1990s, China's gas industry has begun to promote the use of IC card prepaid gas meters, which effectively solves the problem of meter reading and home charging. However, with the development of the gas industry, the management has become increasingly sophisticated, and the simple IC card pre-payment method cannot effectively solve the real-time statistics problem of gas volume, and can not bring more help to operational scheduling and financial accounting. In recent years, wireless remote meter reading technology has gradually become popular in China. Its low cost and portable convenience are particularly suitable for gas meter industry applications.
1 Design Principles of Traditional Wireless Remote Metering System
Traditional control system design involves two processes, hardware and software design. In general, consider the hardware design scheme first, and determine what kind of control method is adopted (for handheld devices, consider the power consumption problems of the device due to battery power supply), and then consider what kind of software design is used. Therefore, not only has a lot of energy and time spent in the hardware design process, but the designed solution meets the actual needs still need to undergo repeated actual testing and improvement, in order to finalize the design and put into mass production, can not meet the actual engineering application of the product Cycle limit. Taking full account of the characteristics of stability and product delivery cycle, this article uses the MTK6225 mobile phone platform developed by Shenzhen Huarong Industrial Controls as a hardware solution for handheld wireless remote meter reading.
2 design ideas of this plan
The traditional mobile phone applications are mostly call, SMS, and multimedia applications, and there is almost no presence in the embedded industry.
The reason is that the mobile phone technology has always been monopolized by the mobile phone company. Because of the non-openness of the mobile phone system itself, it is difficult to understand its industrial applications, such as how the mobile phone system will export more I/O ports to accommodate DIY. need. This article takes the MTK6225 mobile phone platform as an example.
MTK6225 is a highly integrated mobile phone application multimedia chip launched by Taiwan MediaTek Technology Co., Ltd. (For details, see the website of our publication - Editor's note). It has the following features:
â—† Adopts 104 MHz ARM7 high-speed CPU;
â—† Support 1.8-3.2 inch color LCD;
â—† Support handwriting touch, Chinese character recognition;
â—† Support multimedia functions such as MP3, MP4, camera, and polyphonic ring tone;
â—† Support GPRS, GSM, SMS, etc.;
â—† Support JAVA.
As a complete multimedia mobile phone, MTK6225 also excels in the power management of the battery, but its current features are only used as ordinary mobile phone applications, and mobile applications as a control area seems unrealistic.
After fully absorbing the relevant resources of the MTK6225 platform, Shenzhen Huarong Industrial Control Co., Ltd. has launched a Cyclone 001 mobile phone universal development module based on the MTK6225 chip solution for the control industry applications. In addition to the original communication and multimedia features, it features the following:
1 Externally use 128 external I/O pins of MTK6225 chip for external use, including GPIO, serial port, parallel port, USB port, LCM screen interface, power supply, switch port, etc.;
2 JAVA hardware control based on J2ME was introduced. I/O port control was implemented through JAVA programming, and rich application examples were provided.
The purpose of using the MTK6225 development module is to shorten the product design cycle, while ensuring the stability and reliability of the hardware solution. As an MTK6225 platform solution that has been in volume production for more than four years and the handset shipment is calculated in billions, its hardware reliability and low power consumption performance have been undeniable; at the same time, its ARM7 core processing speed has fully satisfied the remote wireless meter reading. Management system design needs. The MTK6225 development platform is the most critical hardware design solution for mobile terminal solutions, allowing us to fully devote our energy to the application design of software.
3 remote meter reading management system hardware and software design
The handheld meter reading management system is divided into two parts: an IC smart gas meter with RF function, and a MTK6225 handheld remote meter reading system with RF function. This article focuses on the design of a handheld remote meter reading system.
3.1 Hardware Design
The handheld remote meter reading system based on the MTK6225 mobile phone solution consists of two parts: the front-end and the back-end. Its block diagram is shown in Figure 1.
Figure 1 Block diagram of handheld remote meter reading system
The RF front-end data acquisition module receives the control of the background data processing system through the UART serial port communication, completes the data collection of the remote RF gas meter, and returns it to the background system for processing. The module consists of two parts:
1 RF wireless communication module. Use TI's ultra-low power, RF transceiver CC1100CH in the 1 GHz range to communicate with the MCU through the SPI interface. It has ultra-low power consumption and wireless wake-up capabilities to meet the mobile terminal's power requirements.
2 MCU processing section. This part is the control part of the data acquisition part, using the STC89LE516RD+ processor. The biggest characteristic of this processor is that low voltage (3 V), low current (normal operation mode is 4 ~ 7 mA), communicates with MTK6225 backstage processing system through UART serial port, and receive and return the relevant data.
The RF front-end data acquisition module adopts a backplane mode to seamlessly integrate with the MTK6225 background processing system through a 128-pin pin. As long as the operation interface of the back-end system is operated, the data acquisition of the lower-level unit can be realized without manual intervention.
3.1.2 MTK6225 mobile background data processing system
This system is the core of the handheld remote meter reading system. It adopts the Cyclone 001 mobile phone universal development module of Shenzhen Huarong Industrial Controls. In addition to all the basic functions of an ordinary mobile phone, all the controllable I/O pins (a total of 128) of the MTK6225 are pinned out for use in secondary development; at the same time, the I/O pins of the MTK6225 are modified again in JAVA mode. The /O interface controls the underlying driver and can be invoked for J2ME applications. In fact, it has become a secondary development mobile control terminal.
3.2 Software Design Scheme
The main function of the system software is to use handheld remote meter reading system to collect data such as gas consumption of RF smart gas meter, and send it to relevant gas management system to provide decision basis for real-time statistics and reasonable dispatch of gas volume.
MTK6225 mobile phone module can use C + + or JAVA language to achieve management software, but C + + programming needs to be converted into BIN file curing to the phone, which in fact modifies the phone's software structure. For this reason, it is recommended to use JAVA language to write management software. Since the JAVA language is cross-platform, it can run as long as the JAVA virtual machine is installed. This software design uses the following packages in JAVA processing:
1 COM.MTK package. For programs that cannot be completely written in JAVA, they need to be written in C or C++. Huajun Industrial Controls uses the JNI method, such as Gpio.java in the COM.MTK package to control GPIO. Through the call of the interface function in this class, the hardware GPIO can be controlled.
2 Com.huayu.gpio package. GpioPort.java in this package defines the GPIO control pin number of Huake Industrial Controls handheld device.
Public static final byte GPIO_0=(byte) 0;
Public static final byte GPIO_1=(byte) 1;
Public static final byte RFID_POWER_PIN=GPIO_PORT_5;
Public static final byte P1201_SWITCH_A0=GPIO_PORT_0;
Public static final byte P1201_SWITCH_A1=GPIO_PORT_45;
Public static final byte P1201_URXD2=GPIO_PORT_47;
Public static final byte P1201_UTXD2=GPIO_PORT_48;
3 com.demo.control package. GUIController.java is an interface controlled class.
4 com.demo.view package. All interfaces display the classes in this package.
5 com.demo.comm package. The CommonResource.java in this package is a common resource class.
6 com.huayu.studyRfid.midlet package. StudyRfidDemoMidelet.java is MIDLet class.
The operating interface of the management system is shown in Figure 2.
Figure 2 Meter Reading System Operation Interface
Figure 3 software program flow
MTK6225 mobile phone development platform is used to design a handheld remote meter reading system, which fully utilizes the high reliability of the mobile terminal and the intelligent power management, which greatly shortens the product design cycle and greatly enhances the reliability. This actually overturns the traditional way of designing software and hardware. It only needs to adjust the architecture of the mobile phone system so that users can concentrate on the design of the software without worrying about the feasibility of the hardware. With the popularity of wireless applications and the openness of mobile phone solutions, there will be more and more industrial wireless applications that use hardware solutions for mobile platforms.
references
[1] Song Maoqiang. Communication software design basis [M]. Peking University Press, 2007:124127.
[2] Jiang Changmao, et al. Theory and Application of Wireless Broadband IP Communication [M]. Beijing: Publishing House of Electronics Industry, 2010.
[3] Fu Yi. Embedded System Design Principles and Applications [M]. Beijing: Tsinghua University Press, 2004.
[4] Zhu Xianglei. Low-power design of intelligent prepaid gas meter[J]. Electrical Engineering, 2004(9): 2021.
[5] He Weimin. Low-power single-chip microcomputer system design [M]. Beijing: Beijing University of Aeronautics and Astronautics Press, 1994.
[6] Wang Aiying. Smart Card Technology [M]. Beijing: Tsinghua University Press, 1996.
[7] Zhao Zhixin, et al. Introduction to MTK mobile phone development [M]. Beijing: People's Posts and Telecommunications Press, 2010.
Liu Honglin (Senior Engineer), research direction for network communications, embedded applications; Zhang Baozhong (senior engineer), research direction for electronic circuits, embedded applications; Liu Tangyu (assistant teacher), research direction for computer control.
Abstract: At present, the control system design is generally based on 51 single-chip solution. This article adopts the MTK6225 mobile phone module developed by Shenzhen Huarong Industrial Controls as the hardware solution of the handheld remote meter reading system. It will change the traditional software design method from zero to a writing method that increases or decreases in the system architecture, which greatly improves the The reliability of the product shortens the product design cycle. 3.1.1 RF front-end data acquisition module
The software's data collection program is based on the set RF gas meter serial number and the total number of acquisitions, from small to large automatically collected. If the gas meter being collected does not respond, the second gas collection will be automatically performed on the non-responsive gas meter after all gas meters have been collected. Generally, the number of collections can be manually set. If there is no response within the number of collections, an error is reported and manual processing is required. The software program flow is shown in Figure 3.
Conclusion