A control system for detecting polarity composition of edible oil products
By designing a control system that includes high-precision measurement circuit and human-computer interaction module, the existing edible oil polarity composition detection methods are solved, real-time online detection and rapid electronic data upload and sharing are realized, and the accuracy and efficiency of detection are improved.
Patent Information
- Application Number
- CN202211115417.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-14
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2042-09-14
AI Technical Summary
The existing detection methods for polar composition of edible oils are complex in operation and have low measurement accuracy, so they cannot realize real-time online detection and fast electronic upload sharing.
A control system including power management module, main control module, communication interface module, human-computer interaction module and detection module is designed. High-precision measurement circuit and human-computer interaction module are used for fast online detection, and connected to the computer through Bluetooth and USB communication to achieve rapid uploading of data and network sharing.
It realizes high resolution, high linearity and high precision polarity composition detection, which can conduct real-time online detection and rapid electronic data upload and sharing, improving the accuracy and efficiency of detection.
Smart Images

Figure CN115328000B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a control system for detecting polarity composition of edible oil products, belonging to the technical field of measurement. Background Art
[0002] Edible oil is an indispensable daily necessity in people's daily life. The detection of edible oil has always been a problem that troubles people. Due to the complex composition of edible oil, chemical detection is not only complicated to operate, but also the effect is not ideal. Existing detection methods mostly use spectroscopy and chromatography, which takes a long time to detect and can only be performed in the laboratory. It cannot be detected in time on site and cannot meet the daily use of consumers. Therefore, it is particularly important to invent a control system that can quickly measure the polar components in edible oil.
[0003] For example, on September 19, 2011, an invention with publication number CN102680468A was disclosed, which is called a method for rapid visualization of polar components in edible oil. The invention synthesized a nanogold composite probe (pH 8.5) that has a specific non-covalent effect on polar substances in oil. After mixing with edible oil, it interacts with the polar components therein, changing from hydrophilic to lipophilic, and at the same time produces a phase transfer from the aqueous phase to the upper oil phase, and a corresponding color change occurs. By observing the color change and the time it takes for the two phases to separate, the polar components in the oil can be qualitatively and quantitatively detected. The detection limit can be as low as one tenth of the national standard (about 3%). Compared with the traditional instrument detection method, the present invention has established a visual rapid detection method for polar components in edible oil, which has the characteristics of being quick and simple, requiring less sample, having high specificity, being low in cost, being intuitive, accurate and sensitive. The present invention can also be used for the rapid detection of polar components in other inferior oils as an important indicator and basis for judging the quality of oil products. Although the above invention can realize the visual rapid detection of polar components in edible oil, it still has the following disadvantages:
[0004] 1. The above invention has a complicated operation process, and is judged by only a percentage or an approximate color display. The measurement data does not have an intuitive quantitative display, and the measurement accuracy is not high.
[0005] 2. The above invention cannot achieve real-time online detection and display of measurement data, nor can it quickly electronically upload and network share the detection results, and cannot achieve rapid judgment and intuitive display of detection data. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a control system for detecting the polarity composition of edible oil products in view of the above shortcomings. The control system adopts a high-precision measurement circuit as a detection method. Through the human-computer interaction module provided by the system, it can achieve fast online detection and display, and can be connected to computers and other electronic devices through Bluetooth and USB communication methods to achieve fast uploading of detection results and data.
[0007] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0008] A control system for measuring polar components in edible oil comprises a power management module, a main control module, a communication interface module, a human-machine interaction module and a detection module. The power module is connected to the main control module and provides power to other modules through the control of the main control module. The communication interface module, the human-machine interaction module and the detection module are connected to the main control module. The detection module is used for collecting analog signals of polar components in edible oil. Through processing by the main control module, the processing result is transmitted to the human-machine interaction module for local display. The detection module can also communicate with a computer and other electronic devices through the communication interface module to enable rapid upload and network sharing of measured data results. The power management module comprises a lithium battery charging circuit, a power supply voltage stabilization and voltage reduction circuit and a system power on / off circuit; the communication interface module comprises a USB interface circuit and a WiFi+Bluetooth communication circuit; and the human-machine interaction module comprises an OLED liquid crystal display circuit and a key input circuit.
[0009] Further, the lithium battery charging circuit includes a chip U1, the model of the chip U1 is TP4057, the pin 1 of the chip U1 is connected to one end of a diode D2, the other end of the diode D2 is connected to one end of a resistor R2 and one end of a diode D1, the other end of the diode D1 is connected to the pin 5 of the chip U1, the other end of the resistor R2 is connected to the pin 4 of the chip U1, one end of a capacitor C2, one end of a capacitor C1 and one end of a resistor R1, and connected to a VCC power supply, the other end of the capacitor C2 and the other end of the capacitor C1 are grounded, the other end of the resistor R1 is connected to the USB_VCC power supply, the pin 2 of the chip U1 is grounded, the pin 3 of the chip U1 is connected to the Vbat power supply, the pin 6 of the chip U1 is connected to one end of a resistor R3, and the other end of the resistor R3 is grounded.
[0010] Further, the power supply voltage stabilization and step-down circuit includes a chip U2, the model of the chip U2 is LTC3422EDD#PBF, the 2nd pin of the chip U2 is connected to one end of the inductor L1, one end of the capacitor C6, the 2nd pin of the chip U2 and the 3rd pin of the chip U1, the other end of the capacitor C6 is grounded, the 3rd pin of the chip U2 is connected to one end of the resistor R6 and one end of the capacitor C7, the other end of the resistor R6 and the other end of the capacitor C7 are grounded, the 4th pin of the chip U2 is connected to one end of the capacitor C8, the other end of the capacitor C8 is grounded, the 5th pin of the chip U2 is connected to the 7th pin of the chip U4, the 6th pin of the chip U2 is connected to one end of the resistor R5 and one end of the resistor R4, the other end of the resistor R5 is connected to the Grounded, the other end of resistor R4 is connected to a +5V power supply, one end of capacitor C3, pin 10 of chip U2 and pin 3 of chip U3, the other end of capacitor C3 is grounded, pin 2 of chip U3 is connected to one end of capacitor C4, one end of capacitor C5 and a +3.3V power supply, the other ends of capacitor C4 and the other ends of capacitor C5 are grounded, pin 1 of chip U3 is grounded, pin 9 of chip U2 is grounded, pin 8 of chip U2 is connected to one end of resistor R7, the other end of resistor R7 is grounded, pin 7 of chip U2 is connected to one end of capacitor C9 and one end of capacitor C10, the other end of capacitor C9 is connected to one end of resistor R8, the other end of resistor R8 is grounded, and the other end of capacitor C10 is grounded.
[0011] Further, the switch circuit includes a chip U4, the model of the chip U4 is LTC2955CTS8-1#TRPBF, the 1st and 4th pins of the chip U4 are grounded, the 2nd pin of the chip U4 is connected to one end of the resistor R9 and the 39th pin of the chip U5, the other end of the resistor R9 is connected to a +3.3V power supply, the 3rd pin of the chip U4 is connected to one end of the capacitor C13, the other end of the capacitor C13 is grounded, the 5th pin of the chip U4 is connected to one end of the resistor R24, one end of the resistor R25 and one end of the button S1, the resistor The other end of R24 is connected to a +3.3V power supply, the other end of resistor R25 is connected to pin 40 of chip U5, the other end of button S1 is grounded, pin 6 of chip U4 is connected to one end of capacitor C11, one end of capacitor C12, pin 3 of chip U1 and one end of resistor R10, the other end of capacitor C11 and the other end of capacitor C12 are grounded, the other end of resistor R10 is connected to one end of resistor R12 and one end of resistor R11, the other end of resistor R12 is grounded, and the other end of resistor R11 is connected to pin 10 of chip U5.
[0012] Further, the main control module includes a chip U5, the model of the chip U5 is STM32F103C8T6, the 3rd pin of the chip U5 is connected to the 1st pin of the crystal oscillator Y1 and one end of the capacitor C15, the other end of the capacitor C15 is grounded, the 4th pin of the chip U5 is connected to the 3rd pin of the crystal oscillator Y1 and one end of the capacitor C14, the other end of the capacitor C14 is grounded, the 2nd pin of the crystal oscillator Y1 is grounded, the 7th pin of the chip U5 is connected to one end of the resistor R18 and one end of the capacitor C18, the other end of the resistor R18 is connected to a 3.3V power supply, the other end of the capacitor C18 is grounded, the 8th pin, the 23rd pin, the 35th pin and the 47th pin of the chip U5 are grounded, the 9th pin, the 24th pin, the 36th pin and the 48th pin of the chip U5 are grounded. A 3.3V power supply is connected, pin 18 of chip U5 is connected to pin 1 of chip U6, pin 19 of chip U5 is connected to pin 2 of chip U6, pin 20 of chip U5 is connected to pin 6 of chip U6, pin 25 of chip U5 is connected to pin 5 of chip U6, pin 26 of chip U5 is connected to pin 8 of terminal P2, pin 27 of chip U5 is connected to pin 9 of terminal P2, pin 28 of chip U5 is connected to pin 10 of terminal P2, pin 30 of chip U5 is connected to pin 2 of terminal P3, pin 31 of chip U5 is connected to pin 3 of terminal P3, pin 34 of chip U5 is connected to pin 2 of terminal P4, and pin 37 of chip U5 is connected to pin 3 of terminal P4.
[0013] Further, the USB interface circuit includes a chip U10, wherein pin 1 of chip U10 is connected to pin 2 of terminal P6 and pin 1 of chip U9, pin 2 of chip U10 is connected to pin 3 of terminal P6 and pin 2 of chip U9, pin 3 of chip U9 is grounded, pin 3 of chip U10 is grounded, pins 5 and 8 of chip U10 are connected to a 3.3V power supply and one end of capacitor C33, the other end of capacitor C33 is grounded, pin 6 of chip U10 is connected to pin 22 of chip U5, and pin 7 of chip U10 is connected to pin 21 of chip U5.
[0014] Further, the WiFi+Bluetooth communication circuit includes a chip U7, the model of the chip U7 is ESP32-S, the 1st, 15th and 38th pins of the chip U7 are grounded, the 2nd pin of the chip U7 is connected to one end of the resistor R19 and one end of the capacitor C24, the 2nd pin of the chip U7 is also connected to the 3rd pin of the transistor Q1, the other end of the resistor R19 is connected to the 3rd pin of the chip U7, the other end of the capacitor C24 is grounded, the 2nd pin of the transistor Q1 is connected to the 3.3V power supply, and the 1st pin of the transistor Q1 is connected There is one end of resistor R28, and the other end of resistor R28 is connected to pin 46 of chip U5, pin 27 of chip U7 is connected to one end of resistor R30, and the other end of resistor R30 is connected to one end of resistor R26 and pin 12 of chip U5, the other end of resistor R26 is connected to pin 34 of chip U7, pin 28 of chip U7 is connected to one end of resistor R29, and the other end of resistor R29 is connected to one end of resistor R27 and pin 13 of chip U5, and the other end of resistor R27 is connected to pin 35 of chip U7.
[0015] Further, the OLED liquid crystal display circuit includes an OLED liquid crystal screen, wherein pin 1 of the OLED liquid crystal screen is connected to a 12.5V power supply and one end of a capacitor C26, and the other end of the capacitor C26 is grounded, pin 2 of the OLED liquid crystal screen is connected to one end of a capacitor C27, and the other end of the capacitor C27 is grounded, pin 3 of the OLED liquid crystal screen is connected to one end of a capacitor C28, and the other end of the capacitor C28 is grounded, pin 4 of the OLED liquid crystal screen is connected to one end of a capacitor C29, and the other end of the capacitor C29 is grounded, pin 5 of the OLED liquid crystal screen is connected to one end of a resistor R21, and the other end of the resistor R21 is grounded, and pin 8 of the OLED liquid crystal screen is connected to a 3.3V power supply and a capacitor C 25, the other end of capacitor C25 is grounded, pin 6, pin 7, pin 9, pin 11, pin 15, pin 16, pin 19, pin 20, pin 21, pin 22, pin 23 and pin 24 of the OLED LCD screen are grounded, pin 10 of the OLED LCD screen is connected to one end of resistor R20, the other end of resistor R20 is grounded, pin 17 of the OLED LCD screen is connected to pin 14 of chip U5, pin 18 of the OLED LCD screen is connected to pin 11 of chip U5, pin 13 of the OLED LCD screen is connected to pin 16 of chip U5, pin 14 of the OLED LCD screen is connected to pin 15 of chip U5, and pin 12 of the OLED LCD screen is connected to pin 17 of chip U5.
[0016] Further, the OLED liquid crystal display circuit also includes a chip U8, the model of the chip U8 is TPS61040DBVR, the 1st pin of the chip U8 is connected to one end of the diode D5 and one end of the inductor L2, the other end of the diode D5 is connected to one end of the capacitor C31 and one end of the resistor R22, the other end of the diode D5 is also connected to a 12.5 power supply and one end of the capacitor C32, the other end of the capacitor C31 and the other end of the resistor R22 are connected to one end of the resistor R23, the other end of the capacitor C31 and the other end of the resistor R22 are also connected to the 3rd pin of the chip U8, the other end of the resistor R23 and the other end of the capacitor C32 are grounded, the other end of the inductor L2 is connected to the 4th and 5th pins of the chip U8, the other end of the inductor L2 is also connected to a 3.3V power supply and one end of the capacitor C30, and the other end of the capacitor C30 is grounded;
[0017] The key circuit includes a terminal P7, wherein pin 1 of the terminal P7 is connected to pin 43 of the chip U5, pin 2 of the terminal P7 is connected to pin 42 of the chip U5, pin 3 of the terminal P7 is connected to pin 41 of the chip U5, and pins 5, 6 and 7 of the terminal P7 are grounded.
[0018] Further, the detection module includes a chip U102, the model of the chip U102 is AD7747ARUZ-REEL7, the pin 1 of the chip U102 is connected to one end of the resistor R104 and the pin 2 of the terminal P100, the other end of the resistor R106 is connected to the VCC power supply, the pin 2 of the chip U102 is connected to one end of the resistor R106 and the pin 1 of the terminal P100, the other end of the resistor R106 is connected to the VCC power supply, and the pin 3 of the chip U102 is connected to the cross-finger resistor The 2nd, 3rd, 4th and 5th pins of the electrode J100, the 3rd pin of the chip U102 is also connected to the 2nd, 3rd, 4th and 5th pins of the forked electrode J101, the 5th pin of the chip U102 is connected to one end of the resistor R107, one end of the resistor R108, one end of the capacitor C108 and the R+ signal end of the temperature sensor, the other end of the resistor R108 is connected to the VCC power supply, the other end of the capacitor C108 is connected to the R- signal end of the temperature sensor, the 6th pin of the chip U102, and the 1st pin of the chip U102 Pin 3 and ground, the other end of resistor R107 is connected to pin 12 of chip U102, one end of capacitor C107 and one end of capacitor C106, the other end of capacitor C107 is grounded, the other end of capacitor C106 is connected to pin 11 of chip U102, one end of capacitor C105 and one end of resistor R103, the other end of capacitor C105 is grounded, the other end of resistor R103 is connected to VCC power supply, pin 8 of chip U102 is connected to pin 1 of interdigital electrode J100, chip U102 Pin 8 is connected to pin 1 of the interdigital electrode J100, one end of capacitor C111 and one end of capacitor C112, the other end of capacitor C111 and the other end of capacitor C112 are grounded, pin 14 of chip U102 is connected to one end of capacitor C109 and one end of capacitor C110, one end of capacitor C109 and the other end of capacitor C110 are grounded, pin 16 of chip U102 is connected to one end of resistor R105 and pin 3 of terminal P100, the other end of resistor R105 is connected to the VCC power supply.
[0019] The present invention adopts the above technical solution, and has the following technical effects compared with the prior art:
[0020] 1. This control system has inherent characteristics such as high resolution (24-bit without missing code, up to 19.5-bit effective resolution), high linearity (±0.01%) and high precision (±10 fF factory calibration), which ensures the accuracy of data measurement. A precise temperature sensor is built in to eliminate the interference caused by temperature changes, which improves the accuracy and precision of measuring the polar composition of edible oil.
[0021] 2. This control system is not only equipped with a display screen for convenient viewing of measurement results in strong light, but also with Bluetooth and USB communication circuits, which can connect the measured data to a computer or other electronic equipment, so that the measured data can be quickly digitized and network information can be shared, so that the data transmission efficiency of measuring the polar components of edible oil can be rapidly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale and orientation.
[0023] Figure 1 This is a circuit schematic diagram of the power management module in the present invention;
[0024] Figure 2 This is a schematic diagram of the main control module circuit in the present invention;
[0025] Figure 3 This is a circuit schematic diagram of the communication interface module in the present invention;
[0026] Figure 4 This is a circuit schematic diagram of the human-computer interaction module in the present invention;
[0027] Figure 5 This is a schematic diagram of the circuit of the detection module in the present invention. DETAILED DESCRIPTION
[0028] Embodiment 1, a control system for detecting polarity composition of edible oil, including a power management module, a main control module, a communication interface module, a human-computer interaction module and a detection module. The power module is connected to the main control module, and provides power to other modules through the control of the main control module. The communication interface module, the human-computer interaction module and the detection module are connected to the main control module. The detection module is used to collect analog signals of polarity components in edible oil, and transmit the processed results to the human-computer interaction module for local display through processing by the main control module. It can also communicate with computers and other electronic devices through the communication interface module, so that the measured data results can be quickly uploaded and shared on the network.
[0029] like Figure 1 As shown, the power management module includes a lithium battery charging circuit, a power supply voltage stabilization and voltage reduction circuit, and a system power on / off circuit.
[0030] The lithium battery charging circuit includes a chip U1, the model of the chip U1 is TP4057, the pin 1 of the chip U1 is connected to one end of a diode D2, the other end of the diode D2 is connected to one end of a resistor R2 and one end of a diode D1, the other end of the diode D1 is connected to the pin 5 of the chip U1, the other end of the resistor R2 is connected to the pin 4 of the chip U1, one end of a capacitor C2, one end of a capacitor C1 and one end of a resistor R1, and connected to a VCC power supply, the other end of the capacitor C2 and the other end of the capacitor C1 are grounded, the other end of the resistor R1 is connected to the USB_VCC power supply, the pin 2 of the chip U1 is grounded, the pin 3 of the chip U1 is connected to the Vbat power supply, the pin 6 of the chip U1 is connected to one end of a resistor R3, and the other end of the resistor R3 is grounded.
[0031] The lithium battery charging circuit part charges the lithium battery through a USB power supply (+5V). The resistor R1 is a small resistance and high power resistor to prevent the influence of surge and burr, and is used to improve the withstand voltage and current limiting. The diode D1 and the diode D2 are two charging indicator lights, which are used to indicate the charging status and full status of the lithium battery. When the lithium battery is charging, the red light of the diode D2 is on. When the lithium battery is fully charged, the green indicator light of the diode D1 is on. The resistor R3 is used to adjust the maximum value of the lithium battery charging current. Here, 2K ohms are selected, and the maximum charging current is selected to be 600mA.
[0032] like Figure 1 As shown, the power supply voltage stabilization and step-down circuit includes a chip U2, the model of the chip U2 is LTC3422EDD#PBF, the 2nd pin of the chip U2 is connected to one end of the inductor L1, one end of the capacitor C6, the 2nd pin of the chip U2 and the 3rd pin of the chip U1, the other end of the capacitor C6 is grounded, the 3rd pin of the chip U2 is connected to one end of the resistor R6 and one end of the capacitor C7, the other end of the resistor R6 and the other end of the capacitor C7 are grounded, the 4th pin of the chip U2 is connected to one end of the capacitor C8, the other end of the capacitor C8 is grounded, the 5th pin of the chip U2 is connected to the 7th pin of the chip U4, the 6th pin of the chip U2 is connected to one end of the resistor R5 and one end of the resistor R4, the other end of the resistor R5 is connected Ground, the other end of resistor R4 is connected to a +5V power supply, one end of capacitor C3, pin 10 of chip U2 and pin 3 of chip U3, the other end of capacitor C3 is grounded, pin 2 of chip U3 is connected to one end of capacitor C4, one end of capacitor C5 and a +3.3V power supply, the other ends of capacitor C4 and the other end of capacitor C5 are grounded, pin 1 of chip U3 is grounded, pin 9 of chip U2 is grounded, pin 8 of chip U2 is connected to one end of resistor R7, the other end of resistor R7 is grounded, pin 7 of chip U2 is connected to one end of capacitor C9 and one end of capacitor C10, the other end of capacitor C9 is connected to one end of resistor R8, the other end of resistor R8 is grounded, and the other end of capacitor C10 is grounded.
[0033] The chip U2 in the power supply voltage stabilization and step-down circuit is a low-power voltage stabilization chip, which is used to boost the lithium battery voltage (3.7V-4.2V) and stabilize it at 5V. This chip is a low-power dedicated chip and is suitable for battery-powered products. The chip U2 stabilizes the output voltage at 5V through the circuit feedback of resistors R4 and R5, and is used to power the human-machine interaction part and the detection part. The chip U3 is a linear step-down chip, which provides a stable 3.3V voltage supply for the main control part.
[0034] like Figure 1 As shown, the switch circuit includes a chip U4, the model of the chip U4 is LTC2955CTS8-1#TRPBF, the 1st and 4th pins of the chip U4 are grounded, the 2nd pin of the chip U4 is connected to one end of a resistor R9 and the 39th pin of the chip U5, the other end of the resistor R9 is connected to a +3.3V power supply, the 3rd pin of the chip U4 is connected to one end of a capacitor C13, the other end of the capacitor C13 is grounded, the 5th pin of the chip U4 is connected to one end of a resistor R24, one end of a resistor R25 and one end of a button S1, the resistor The other end of R24 is connected to a +3.3V power supply, the other end of resistor R25 is connected to pin 40 of chip U5, the other end of button S1 is grounded, pin 6 of chip U4 is connected to one end of capacitor C11, one end of capacitor C12, pin 3 of chip U1 and one end of resistor R10, the other end of capacitor C11 and the other end of capacitor C12 are grounded, the other end of resistor R10 is connected to one end of resistor R12 and one end of resistor R11, the other end of resistor R12 is grounded, and the other end of resistor R11 is connected to pin 10 of chip U5.
[0035] The system's power on and off is managed by a soft switch circuit, using button S1 as a trigger signal. When the system is powered off, press button S1 lightly, and chip U4 outputs an enable signal to start chip U2, then power the entire system and start the control system. When the system is powered on, long press S1, and pin 40 of the main control chip U5 detects that button S1 is pressed and starts timing. When the time reaches the shutdown time, pin 39 of the main control chip U5 sends a signal to chip U4 to let chip U4 turn off chip U2, and the entire system loses power and shuts down.
[0036] like Figure 2As shown, the main control module includes a chip U5, the model of the chip U5 is STM32F103C8T6, the 3rd pin of the chip U5 is connected to the 1st pin of the crystal oscillator Y1 and one end of the capacitor C15, the other end of the capacitor C15 is grounded, the 4th pin of the chip U5 is connected to the 3rd pin of the crystal oscillator Y1 and one end of the capacitor C14, the other end of the capacitor C14 is grounded, the 2nd pin of the crystal oscillator Y1 is grounded, the 7th pin of the chip U5 is connected to one end of the resistor R18 and one end of the capacitor C18, the other end of the resistor R18 is connected to a 3.3V power supply, the other end of the capacitor C18 is grounded, the 8th pin, the 23rd pin, the 35th pin and the 47th pin of the chip U5 are grounded, the 9th pin, the 24th pin, the 36th pin and the 48th pin of the chip U5 are connected A 3.3V power supply is connected, pin 18 of chip U5 is connected to pin 1 of chip U6, pin 19 of chip U5 is connected to pin 2 of chip U6, pin 20 of chip U5 is connected to pin 6 of chip U6, pin 25 of chip U5 is connected to pin 5 of chip U6, pin 26 of chip U5 is connected to pin 8 of terminal P2, pin 27 of chip U5 is connected to pin 9 of terminal P2, pin 28 of chip U5 is connected to pin 10 of terminal P2, pin 30 of chip U5 is connected to pin 2 of terminal P3, pin 31 of chip U5 is connected to pin 3 of terminal P3, pin 34 of chip U5 is connected to pin 2 of terminal P4, and pin 37 of chip U5 is connected to pin 3 of terminal P4.
[0037] The main control module chip U5 adopts the STM32F103 series controller of ST company, which can maintain low power consumption and high performance and fully meet the control requirements of the equipment.
[0038] The communication interface module includes a USB interface circuit and a WiFi+Bluetooth communication circuit.
[0039] like Figure 3 As shown, the USB interface circuit includes a chip U10, wherein pin 1 of chip U10 is connected to pin 2 of terminal P6 and pin 1 of chip U9, pin 2 of chip U10 is connected to pin 3 of terminal P6 and pin 2 of chip U9, pin 3 of chip U9 is grounded, pin 3 of chip U10 is grounded, pins 5 and 8 of chip U10 are connected to a 3.3V power supply and one end of capacitor C33, the other end of capacitor C33 is grounded, pin 6 of chip U10 is connected to pin 22 of chip U5, and pin 7 of chip U10 is connected to pin 21 of chip U5.
[0040] The USB interface circuit needs to be linked to the PC for sending control instructions and exporting historical saved data. We use a dedicated USB to TTL chip integration solution and add a TVS protection tube to the USB data line for static electricity protection.
[0041] like Figure 3As shown, the WiFi+Bluetooth communication circuit includes a chip U7, the model of the chip U7 is ESP32-S, the 1st, 15th and 38th pins of the chip U7 are grounded, the 2nd pin of the chip U7 is connected to one end of a resistor R19 and one end of a capacitor C24, the 2nd pin of the chip U7 is also connected to the 3rd pin of a transistor Q1, the other end of the resistor R19 is connected to the 3rd pin of the chip U7, the other end of the capacitor C24 is grounded, the 2nd pin of the transistor Q1 is connected to a 3.3V power supply, and the 1st pin of the transistor Q1 is connected to One end of resistor R28 and the other end of resistor R28 are connected to pin 46 of chip U5, pin 27 of chip U7 is connected to one end of resistor R30, the other end of resistor R30 is connected to one end of resistor R26 and pin 12 of chip U5, the other end of resistor R26 is connected to pin 34 of chip U7, pin 28 of chip U7 is connected to one end of resistor R29, the other end of resistor R29 is connected to one end of resistor R27 and pin 13 of chip U5, and the other end of resistor R27 is connected to pin 35 of chip U7.
[0042] The chip U7 in the WiFi+Bluetooth communication circuit adopts the WiFi+Bluetooth module of Anxinke, which is directly hardware-linked with the main control chip through AURT and communicates by operating AT instructions.
[0043] The human-computer interaction module includes an OLED liquid crystal display circuit and a key input circuit.
[0044] like Figure 4 As shown, the OLED liquid crystal display circuit includes an OLED liquid crystal screen, wherein pin 1 of the OLED liquid crystal screen is connected to a 12.5V power supply and one end of a capacitor C26, and the other end of the capacitor C26 is grounded, pin 2 of the OLED liquid crystal screen is connected to one end of a capacitor C27, and the other end of the capacitor C27 is grounded, pin 3 of the OLED liquid crystal screen is connected to one end of a capacitor C28, and the other end of the capacitor C28 is grounded, pin 4 of the OLED liquid crystal screen is connected to one end of a capacitor C29, and the other end of the capacitor C29 is grounded, pin 5 of the OLED liquid crystal screen is connected to one end of a resistor R21, and the other end of the resistor R21 is grounded, and pin 8 of the OLED liquid crystal screen is connected to a 3.3V power supply and a capacitor C2 5, the other end of capacitor C25 is grounded, pin 6, pin 7, pin 9, pin 11, pin 15, pin 16, pin 19, pin 20, pin 21, pin 22, pin 23 and pin 24 of the OLED LCD screen are grounded, pin 10 of the OLED LCD screen is connected to one end of resistor R20, the other end of resistor R20 is grounded, pin 17 of the OLED LCD screen is connected to pin 14 of chip U5, pin 18 of the OLED LCD screen is connected to pin 11 of chip U5, pin 13 of the OLED LCD screen is connected to pin 16 of chip U5, pin 14 of the OLED LCD screen is connected to pin 15 of chip U5, and pin 12 of the OLED LCD screen is connected to pin 17 of chip U5.
[0045] like Figure 4As shown, the OLED liquid crystal display circuit also includes a chip U8, the model of chip U8 is TPS61040DBVR, pin 1 of chip U8 is connected to one end of a diode D5 and one end of an inductor L2, the other end of the diode D5 is connected to one end of a capacitor C31 and one end of a resistor R22, the other end of the diode D5 is also connected to a 12.5 power supply and one end of a capacitor C32, the other end of the capacitor C31 and the other end of the resistor R22 are connected to one end of a resistor R23, the other end of the capacitor C31 and the other end of the resistor R22 are also connected to pin 3 of chip U8, the other end of the resistor R23 and the other end of the capacitor C32 are grounded, the other end of the inductor L2 is connected to pins 4 and 5 of chip U8, the other end of the inductor L2 is also connected to a 3.3V power supply and one end of a capacitor C30, and the other end of the capacitor C30 is grounded.
[0046] The liquid crystal display screen uses a high-brightness OLED liquid crystal screen, the display color is blue, the brightness is adjustable in 5 levels, and it has good visibility in the sun. The liquid crystal screen uses a digital interface to connect to the main control chip U5, and uses an SPI communication interface for communication. The capacitors C26, C27, C28, and C29 on the periphery of the OLED liquid crystal screen are used for the boost circuit of the internal charge pump to ensure that the voltage required by the OLED liquid crystal screen is increased and used for the bias of the OLED liquid crystal screen. The periphery is also equipped with a dedicated boost circuit to provide a dedicated 12.5V voltage to the OLED liquid crystal screen.
[0047] like Figure 4 As shown, the key circuit includes a terminal P7, pin 1 of the terminal P7 is connected to pin 43 of the chip U5, pin 2 of the terminal P7 is connected to pin 42 of the chip U5, pin 3 of the terminal P7 is connected to pin 41 of the chip U5, and pins 5, 6 and 7 of the terminal P7 are grounded.
[0048] The key circuit uses four independent keys connected to the IO port of the main control chip U5 to collect the user's key signal. When the user presses the key, the corresponding program is executed.
[0049] like Figure 5As shown, the detection module includes a chip U102, the model of the chip U102 is AD7747ARUZ-REEL7, the pin 1 of the chip U102 is connected to one end of the resistor R104 and the pin 2 of the terminal P100, the other end of the resistor R106 is connected to the VCC power supply, the pin 2 of the chip U102 is connected to one end of the resistor R106 and the pin 1 of the terminal P100, the other end of the resistor R106 is connected to the VCC power supply, and the pin 3 of the chip U102 is connected to the interdigital electrode Pin 2, 3, 4 and 5 of J100, pin 3 of chip U102 is also connected to pin 2, 3, 4 and 5 of the interdigital electrode J101, pin 5 of chip U102 is connected to one end of resistor R107, one end of resistor R108, one end of capacitor C108 and R+ signal end of temperature sensor, the other end of resistor R108 is connected to VCC power supply, the other end of capacitor C108 is connected to R- signal end of temperature sensor, pin 6 of chip U102, and pin 13 of chip U102. The other end of the resistor R107 is connected to the 12th pin of the chip U102, one end of the capacitor C107 and one end of the capacitor C106, the other end of the capacitor C107 is grounded, the other end of the capacitor C106 is connected to the 11th pin of the chip U102, one end of the capacitor C105 and one end of the resistor R103, the other end of the capacitor C105 is grounded, the other end of the resistor R103 is connected to the VCC power supply, the 8th pin of the chip U102 is connected to the 1st pin of the interdigital electrode J100, the chip U102 Pin 8 is connected to pin 1 of the interdigital electrode J100, one end of capacitor C111 and one end of capacitor C112, the other end of capacitor C111 and the other end of capacitor C112 are grounded, pin 14 of chip U102 is connected to one end of capacitor C109 and one end of capacitor C110, one end of capacitor C109 and the other end of capacitor C110 are grounded, pin 16 of chip U102 is connected to one end of resistor R105 and pin 3 of terminal P100, the other end of resistor R105 is connected to the VCC power supply.
[0050] The detection circuit is connected to the interdigital electrode using a high-temperature shielded wire through the interdigital electrode interface. It is used to measure the dielectric constant of edible oil. In the previous capacitance measurement methods, the measurement circuit has a direct impact on sensitivity, parasitic capacitance, signal-to-noise ratio and nonlinearity, resulting in reduced accuracy. The measurement method of capacitive sensors has become the key to high-precision design. The circuit has inherent characteristics such as high resolution (24-bit without missing code, up to 19.5-bit effective resolution), high linearity (±0.01%) and high accuracy (±10 fF factory calibration), which ensures the accuracy of data measurement. A precise temperature sensor is built in to eliminate interference caused by temperature changes. The chip U102 is AD7747, a high-resolution capacitance-to-digital converter that can directly connect to capacitance sensors and use high-temperature shielded wires for signal transmission. Pin 3 of chip U102 is used to connect the shielding layer of the high-temperature shielded wire. Pin 8 and pin 7 of chip are used to connect the signal line of the electrode sheet. Capacitors C105, C106, and C107 are used to balance the capacitance and enhance the stability of the detection signal. Capacitors C111 and C112 are used to compensate for the parasitic capacitance caused by the connection line and eliminate measurement errors. A high-precision temperature sensor PT1000 can be connected to pins 5 and 6 of chip U102. Resistor R108 is used as a high-precision voltage divider resistor. Capacitor C108 is used for filtering to eliminate noise interference and accurately measure temperature. The measured dielectric constant of the electrode is compensated with the measured temperature, and the polar component content in the edible oil is calculated through a software algorithm.
[0051] The description of the present invention is given for the purpose of illustration and description, and is not intended to be exhaustive or to limit the invention to the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the invention and to enable those of ordinary skill in the art to understand the invention and design various embodiments with various modifications suitable for specific uses.
Claims
1. A control system for measuring polar components in edible oil, characterized in that: It includes a power management module, a main control module, a communication interface module, a human-computer interaction module and a detection module. The power module is connected to the main control module and provides power to other modules through the control of the main control module. The communication interface module, the human-computer interaction module and the detection module are connected to the main control module. The detection module is used to collect analog signals of polar components in edible oil. Through the processing of the main control module, the processing results are transmitted to the human-computer interaction module for local display. It can also communicate with computers and other electronic devices through the communication interface module to enable the measured data results to be quickly uploaded and shared on the network. The power management module includes a lithium battery charging circuit, a power supply voltage stabilization and step-down circuit and a system power on / off circuit; the communication interface module includes a USB interface circuit and a WiFi+Bluetooth communication circuit; the human-computer interaction module includes an OLED liquid crystal display circuit and a key input circuit; The main control module includes a chip U5, the model of the chip U5 is STM32F103C8T6, the 3rd pin of the chip U5 is connected to the 1st pin of the crystal oscillator Y1 and one end of the capacitor C15, the other end of the capacitor C15 is grounded, the 4th pin of the chip U5 is connected to the 3rd pin of the crystal oscillator Y1 and one end of the capacitor C14, the other end of the capacitor C14 is grounded, the 2nd pin of the crystal oscillator Y1 is grounded, the 7th pin of the chip U5 is connected to one end of the resistor R18 and one end of the capacitor C18, the other end of the resistor R18 is connected to a 3.3V power supply, the other end of the capacitor C18 is grounded, the 8th pin, the 23rd pin, the 35th pin and the 47th pin of the chip U5 are grounded, the 9th pin, the 24th pin, the 36th pin and the 48th pin of the chip U5 are connected There is a 3.3V power supply, the 18th pin of chip U5 is connected to the 1st pin of chip U6, the 19th pin of chip U5 is connected to the 2nd pin of chip U6, the 20th pin of chip U5 is connected to the 6th pin of chip U6, the 25th pin of chip U5 is connected to the 5th pin of chip U6, the 26th pin of chip U5 is connected to the 8th pin of terminal P2, the 27th pin of chip U5 is connected to the 9th pin of terminal P2, the 28th pin of chip U5 is connected to the 10th pin of terminal P2, the 30th pin of chip U5 is connected to the 2nd pin of terminal P3, the 31st pin of chip U5 is connected to the 3rd pin of terminal P3, the 34th pin of chip U5 is connected to the 2nd pin of terminal P4, and the 37th pin of chip U5 is connected to the 3rd pin of terminal P4; The detection module includes a chip U102, the model of the chip U102 is AD7747ARUZ-REEL7, the pin 1 of the chip U102 is connected to one end of a resistor R104 and the pin 2 of the terminal P100, the other end of the resistor R104 is connected to a VCC power supply, the pin 2 of the chip U102 is connected to one end of a resistor R106 and the pin 1 of the terminal P100, the other end of the resistor R106 is connected to the VCC power supply, and the pin 3 of the chip U102 is connected to a forked electrode J1 Pin 2, 3, 4 and 5 of chip U100, pin 3 of chip U102 is also connected to pin 2, 3, 4 and 5 of interdigital electrode J101, pin 5 of chip U102 is connected to one end of resistor R107, one end of resistor R108, one end of capacitor C108 and R+ signal end of temperature sensor, the other end of resistor R108 is connected to VCC power supply, the other end of capacitor C108 is connected to R- signal end of temperature sensor, pin 6 of chip U102, and pin 13 of chip U102 and ground, the other end of resistor R107 is connected to pin 12 of chip U102, one end of capacitor C107 and one end of capacitor C106, the other end of capacitor C107 is grounded, the other end of capacitor C106 is connected to pin 11 of chip U102, one end of capacitor C105 and one end of resistor R103, the other end of capacitor C105 is grounded, the other end of resistor R103 is connected to VCC power supply, pin 8 of chip U102 is connected to pin 1 of interdigital electrode J100, and the Pin 8 is connected to pin 1 of the interdigital electrode J100, one end of capacitor C111 and one end of capacitor C112, the other end of capacitor C111 and the other end of capacitor C112 are grounded, pin 14 of chip U102 is connected to one end of capacitor C109 and one end of capacitor C110, one end of capacitor C109 and the other end of capacitor C110 are grounded, pin 16 of chip U102 is connected to one end of resistor R105 and pin 3 of terminal P100, the other end of resistor R105 is connected to the VCC power supply.
2. A control system for measuring polar components in edible oil according to claim 1, characterized in that: The lithium battery charging circuit includes a chip U1, the model of the chip U1 is TP4057, the pin 1 of the chip U1 is connected to one end of a diode D2, the other end of the diode D2 is connected to one end of a resistor R2 and one end of a diode D1, the other end of the diode D1 is connected to the pin 5 of the chip U1, the other end of the resistor R2 is connected to the pin 4 of the chip U1, one end of a capacitor C2, one end of a capacitor C1 and one end of a resistor R1, and connected to a VCC power supply, the other end of the capacitor C2 and the other end of the capacitor C1 are grounded, the other end of the resistor R1 is connected to the USB_VCC power supply, the pin 2 of the chip U1 is grounded, the pin 3 of the chip U1 is connected to the Vbat power supply, the pin 6 of the chip U1 is connected to one end of a resistor R3, and the other end of the resistor R3 is grounded.
3. A control system for measuring polar components in edible oil according to claim 1, characterized in that: The power supply voltage stabilization and step-down circuit includes a chip U2, the model of the chip U2 is LTC3422EDD#PBF, the pin 2 of the chip U2 is connected to one end of the inductor L1, one end of the capacitor C6, the pin 2 of the chip U2 and the pin 3 of the chip U1, the other end of the capacitor C6 is grounded, the pin 3 of the chip U2 is connected to one end of the resistor R6 and one end of the capacitor C7, the other end of the resistor R6 and the other end of the capacitor C7 are grounded, the pin 4 of the chip U2 is connected to one end of the capacitor C8, the other end of the capacitor C8 is grounded, the pin 5 of the chip U2 is connected to the pin 7 of the chip U4, the pin 6 of the chip U2 is connected to one end of the resistor R5 and one end of the resistor R4, the other end of the resistor R5 is grounded The other end of the resistor R4 is connected to a +5V power supply, one end of the capacitor C3, pin 10 of the chip U2 and pin 3 of the chip U3, the other end of the capacitor C3 is grounded, pin 2 of the chip U3 is connected to one end of the capacitor C4, one end of the capacitor C5 and a +3.3V power supply, the other ends of the capacitor C4 and the other ends of the capacitor C5 are grounded, pin 1 of the chip U3 is grounded, pin 9 of the chip U2 is grounded, pin 8 of the chip U2 is connected to one end of the resistor R7, the other end of the resistor R7 is grounded, pin 7 of the chip U2 is connected to one end of the capacitor C9 and one end of the capacitor C10, the other end of the capacitor C9 is connected to one end of the resistor R8, the other end of the resistor R8 is grounded, and the other end of the capacitor C10 is grounded.
4. A control system for measuring polar components in edible oil according to claim 1, characterized in that: The switch circuit includes a chip U4, the model of which is LTC2955CTS8-1#TRPBF, pins 1 and 4 of the chip U4 are grounded, pin 2 of the chip U4 is connected to one end of a resistor R9 and pin 39 of the chip U5, the other end of the resistor R9 is connected to a +3.3V power supply, pin 3 of the chip U4 is connected to one end of a capacitor C13, the other end of the capacitor C13 is grounded, pin 5 of the chip U4 is connected to one end of a resistor R24, one end of a resistor R25 and one end of a button S1, and the resistor R2 4 is connected to a +3.3V power supply, the other end of the resistor R25 is connected to pin 40 of chip U5, the other end of the button S1 is grounded, pin 6 of chip U4 is connected to one end of capacitor C11, one end of capacitor C12, pin 3 of chip U1 and one end of resistor R10, the other end of capacitor C11 and the other end of capacitor C12 are grounded, the other end of resistor R10 is connected to one end of resistor R12 and one end of resistor R11, the other end of resistor R12 is grounded, and the other end of resistor R11 is connected to pin 10 of chip U5.
5. A control system for measuring polar components in edible oil according to claim 1, characterized in that: The USB interface circuit includes a chip U10, wherein pin 1 of chip U10 is connected to pin 2 of terminal P6 and pin 1 of chip U9, pin 2 of chip U10 is connected to pin 3 of terminal P6 and pin 2 of chip U9, pin 3 of chip U9 is grounded, pin 3 of chip U10 is grounded, pins 5 and 8 of chip U10 are connected to a 3.3V power supply and one end of capacitor C33, the other end of capacitor C33 is grounded, pin 6 of chip U10 is connected to pin 22 of chip U5, and pin 7 of chip U10 is connected to pin 21 of chip U5.
6. A control system for measuring polar components in edible oil according to claim 1, characterized in that: The WiFi+Bluetooth communication circuit includes a chip U7, the model of which is ESP32-S, the 1st, 15th and 38th pins of the chip U7 are grounded, the 2nd pin of the chip U7 is connected to one end of a resistor R19 and one end of a capacitor C24, the 2nd pin of the chip U7 is also connected to the 3rd pin of a transistor Q1, the other end of the resistor R19 is connected to the 3rd pin of the chip U7, the other end of the capacitor C24 is grounded, the 2nd pin of the transistor Q1 is connected to a 3.3V power supply, and the 1st pin of the transistor Q1 is connected to a power supply. One end of resistor R28, the other end of resistor R28 is connected to pin 46 of chip U5, pin 27 of chip U7 is connected to one end of resistor R30, the other end of resistor R30 is connected to one end of resistor R26 and pin 12 of chip U5, the other end of resistor R26 is connected to pin 34 of chip U7, pin 28 of chip U7 is connected to one end of resistor R29, the other end of resistor R29 is connected to one end of resistor R27 and pin 13 of chip U5, and the other end of resistor R27 is connected to pin 35 of chip U7.
7. A control system for measuring polar components in edible oil according to claim 1, characterized in that: The OLED liquid crystal display circuit includes an OLED liquid crystal screen, wherein pin 1 of the OLED liquid crystal screen is connected to a 12.5V power supply and one end of a capacitor C26, and the other end of the capacitor C26 is grounded, pin 2 of the OLED liquid crystal screen is connected to one end of a capacitor C27, and the other end of the capacitor C27 is grounded, pin 3 of the OLED liquid crystal screen is connected to one end of a capacitor C28, and the other end of the capacitor C28 is grounded, pin 4 of the OLED liquid crystal screen is connected to one end of a capacitor C29, and the other end of the capacitor C29 is grounded, pin 5 of the OLED liquid crystal screen is connected to one end of a resistor R21, and the other end of the resistor R21 is grounded, and pin 8 of the OLED liquid crystal screen is connected to a 3.3V power supply and a capacitor C25 One end, the other end of capacitor C25 is grounded, pins 6, 7, 9, 11, 15, 16, 19, 20, 21, 22, 23 and 24 of the OLED LCD screen are grounded, pin 10 of the OLED LCD screen is connected to one end of resistor R20, the other end of resistor R20 is grounded, pin 17 of the OLED LCD screen is connected to pin 14 of chip U5, pin 18 of the OLED LCD screen is connected to pin 11 of chip U5, pin 13 of the OLED LCD screen is connected to pin 16 of chip U5, pin 14 of the OLED LCD screen is connected to pin 15 of chip U5, and pin 12 of the OLED LCD screen is connected to pin 17 of chip U5.
8. A control system for measuring polar components in edible oil according to claim 1, characterized in that: The OLED liquid crystal display circuit also includes a chip U8, the model of the chip U8 is TPS61040DBVR, the 1st pin of the chip U8 is connected to one end of a diode D5 and one end of an inductor L2, the other end of the diode D5 is connected to one end of a capacitor C31 and one end of a resistor R22, the other end of the diode D5 is also connected to a 12.5 power supply and one end of a capacitor C32, the other end of the capacitor C31 and the other end of the resistor R22 are connected to one end of a resistor R23, the other end of the capacitor C31 and the other end of the resistor R22 are also connected to the 3rd pin of the chip U8, the other end of the resistor R23 and the other end of the capacitor C32 are grounded, the other end of the inductor L2 is connected to the 4th and 5th pins of the chip U8, the other end of the inductor L2 is also connected to a 3.3V power supply and one end of a capacitor C30, and the other end of the capacitor C30 is grounded; The key input circuit includes a terminal P7, wherein pin 1 of the terminal P7 is connected to pin 43 of the chip U5, pin 2 of the terminal P7 is connected to pin 42 of the chip U5, pin 3 of the terminal P7 is connected to pin 41 of the chip U5, and pins 5, 6 and 7 of the terminal P7 are grounded.
Citation Information
Patent Citations
Visualized fast detecting method for polar components in edible oil
CN102680468A
Multifunctional on-line data monitoring system
CN103425097A
On-line detection method, device and system for harmful substances in edible oil heating process
CN107271619A