Oil viscosity detection sensor and oil viscosity detection method and device
By designing an oil viscosity detection sensor that utilizes a metal piston structure and a magnet structure, stable measurement of lubricating oil viscosity is achieved, which solves the problem of poor data stability in the existing technology and improves the accuracy and repeatability of detection. .
Patent Information
- Application Number
- CN202410801040.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-27
AI Technical Summary
Existing lubricating oil viscosity detection tools are affected by factors such as external vibration, flow rate, pressure and viscosity changes, resulting in poor data stability, low accuracy, and poor environmental adaptability and repeatability.
Design an oil viscosity detection sensor that uses the reciprocating motion of the metal piston structure in the oil pool to measure the viscosity, controls the reciprocating motion of the piston through the magnet structure and circuit board, and combines the temperature sensor and fuzzy recognition technology to generate the target viscosity.
It improves the accuracy and environmental adaptability of the test results, enhances the repeatability of the test, and reduces the impact of external factors on the measurement results.
Smart Images

Figure CN118706685A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of lubricating oil, and in particular to an oil viscosity detection sensor, an oil viscosity detection method and a device. Background Art
[0002] Viscosity is one of the important performance indicators of lubricating oil and a major basis for selecting lubricating oil for various mechanical equipment. Viscosity measurement has been widely used in aviation, aerospace, ships and industrial sectors. In related technologies, the viscosity of lubricating oil is detected by using a variety of viscometer tools such as capillary viscometers, falling body viscometers, and rotational viscometers. However, in the actual detection process, the viscometer may be affected by external vibration, flow rate, pressure, and viscosity level, resulting in poor data stability, resulting in low accuracy of the test results, poor environmental adaptability, and poor repeatability. Summary of the invention
[0003] One object of the present invention is to provide an oil viscosity detection sensor, which measures the oil viscosity based on the reciprocating motion of a metal piston structure in an oil pool, avoids the influence of environmental factors, improves data stability, thereby improving the accuracy of the detection results, and enhances environmental adaptability, thereby improving repeatability. Another object of the present invention is to provide an oil viscosity detection method. Another object of the present invention is to provide an oil viscosity detection device. Another object of the present invention is to provide a computer readable medium. Another object of the present invention is to provide a computer device.
[0004] In order to achieve the above objectives, the present invention discloses an oil viscosity detection sensor, comprising:
[0005] The sensor includes: a mounting base, a probe housing and a circuit board; the probe housing includes an oil pool, a magnet structure, a metal piston structure and a proximity switch; the metal piston structure, the magnet structure and the proximity switch are all connected to the oil pool;
[0006] The probe housing is used to extend into the oil bearing structure of the oil to be detected;
[0007] The circuit board is connected with the magnet structure and the proximity switch and is used to control the magnet structure and the proximity switch;
[0008] The oil pool provides movement space for the metal piston structure in the oil to be tested;
[0009] The magnet structure is arranged at the bottom of the oil pool, and is used for driving the metal piston structure to perform reciprocating motion in the oil pool of the oil to be detected under the control of the circuit board.
[0010] Preferably, the magnet structure comprises an electromagnet coil, the electromagnet coil comprises an inner core, and the inner core is arranged at the center of the electromagnet coil;
[0011] The electromagnet coil is connected to the circuit board through a wire;
[0012] The circuit board excites the electromagnet coil through an electrical signal to form an electromagnetic field, driving the metal piston structure to move in a direction close to the electromagnet coil.
[0013] Preferably, the metal piston structure comprises a piston, a guide plate and an elastic structure;
[0014] The guide plate is fixed on the probe housing;
[0015] One side of the elastic structure is mounted on the guide vane, and the other side of the elastic structure is connected to the piston.
[0016] Preferably, the guide plate is fixed to the probe housing by connecting screws.
[0017] Preferably, it also includes: a temperature sensor;
[0018] The temperature sensor is connected to the circuit board through a wire;
[0019] The temperature sensor is arranged inside the oil pool and is used to detect the temperature of the oil to be detected.
[0020] Preferably, the proximity switch is connected to the circuit board via a wire;
[0021] The proximity switch is used to send a switch signal to the circuit board for the circuit board to generate the total time of reciprocating motion.
[0022] Preferably, the mounting seat is provided with a through hole;
[0023] Vias provide connection channels for wires.
[0024] Preferably, the outside of the probe housing is provided with threads, and the probe housing is threadedly connected to the oil bearing structure of the oil to be detected.
[0025] The present invention also discloses an oil viscosity detection method, which is applied to the above oil viscosity detection sensor, comprising:
[0026] According to the preset movement frequency, the metal piston structure is driven to reciprocate in the oil pool of the oil to be tested by controlling the magnet structure;
[0027] According to the switch signal sent by the proximity switch, the total time of reciprocating motion is generated;
[0028] The total reciprocating motion time is fuzzily identified with a pre-generated standard oil viscosity curve to generate a target viscosity of the oil to be tested.
[0029] Preferably, generating the total reciprocating motion time according to the switch signal sent by the proximity switch includes:
[0030] In response to a first switch signal sent by the proximity switch, recording a first moment;
[0031] In response to a second switch signal sent by the proximity switch, recording a second moment;
[0032] The total reciprocating motion time is generated according to the first moment and the second moment.
[0033] Preferably, before fuzzy identification is performed between the total reciprocating motion time and a pre-generated standard oil viscosity curve to generate a target viscosity of the oil to be tested, the method further includes:
[0034] The total reciprocating motion time corresponding to each motion frequency is averaged to obtain the averaged total reciprocating motion time, and then the total reciprocating motion time is fuzzily identified with a pre-generated standard oil viscosity curve to generate a target viscosity of the oil to be tested.
[0035] Preferably, before fuzzy identification is performed between the total reciprocating motion time and a pre-generated standard oil viscosity curve to generate a target viscosity of the oil to be tested, the method further includes:
[0036] By controlling the magnet structure, the metal piston structure is driven to reciprocate in the oil pools of standard oils with different standard viscosities;
[0037] According to the switch signal sent by the proximity switch, the total time of reciprocating motion is generated;
[0038] A standard oil viscosity curve is generated according to the standard viscosities of a variety of standard oils and the corresponding total reciprocating motion time.
[0039] The present invention also discloses an oil viscosity detection device, comprising:
[0040] The detection drive unit is used to drive the metal piston structure to reciprocate in the oil pool of the oil to be detected by controlling the magnet structure according to a preset movement frequency;
[0041] A detection time generating unit, used for generating a total reciprocating motion time according to a switch signal sent by the proximity switch;
[0042] The fuzzy recognition unit is used to perform fuzzy recognition on the total reciprocating motion time and a pre-generated standard oil viscosity curve to generate a target viscosity of the oil to be tested.
[0043] Preferably, the detection time generating unit is specifically used to record a first moment in response to a first switch signal sent by the proximity switch; record a second moment in response to a second switch signal sent by the proximity switch; and generate a total reciprocating motion time based on the first moment and the second moment.
[0044] Preferably, the device further comprises:
[0045] The average value calculation unit is used to calculate the average value of the total reciprocating motion time corresponding to each motion frequency to obtain the averaged total reciprocating motion time, and then continue to perform the step of fuzzy identification of the total reciprocating motion time and a pre-generated standard oil viscosity curve to generate a target viscosity of the oil to be tested.
[0046] Preferably, the device further comprises:
[0047] A standard drive unit is used to drive a metal piston structure to reciprocate in an oil pool of standard oil of different standard viscosities by controlling a magnet structure;
[0048] A detection time generating unit, used for generating a total reciprocating motion time according to a switch signal sent by the proximity switch;
[0049] The curve generating unit is used for generating a standard oil viscosity curve according to the standard viscosities of a plurality of standard oils and the corresponding total reciprocating motion time.
[0050] The present invention also discloses a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the method described above is implemented.
[0051] The present invention also discloses a computer device, including a memory and a processor, wherein the memory is used to store information including program instructions, the processor is used to control the execution of program instructions, and the processor implements the above method when executing the program.
[0052] The present invention also discloses a computer program product, including a computer program / instruction, and the method described above is implemented when the computer program / instruction is executed by a processor.
[0053] The oil viscosity detection sensor provided by the present invention comprises: a mounting base, a probe housing and a circuit board, the probe housing comprises an oil pool, a magnet structure, a metal piston structure and a proximity switch, the metal piston structure, the magnet structure and the proximity switch are all connected to the oil pool; the probe housing is used to extend into the oil bearing structure of the oil to be detected; the circuit board is connected to the magnet structure and the proximity switch, and is used to control the magnet structure and the proximity switch; the oil pool provides a movement space for the metal piston structure in the oil to be detected; the magnet structure is arranged at the bottom of the oil pool, and is used to drive the metal piston structure to reciprocate in the oil pool of the oil to be detected under the control of the circuit board, and the oil viscosity is measured based on the reciprocating motion of the metal piston structure in the oil pool, so as to avoid being affected by environmental factors, improve data stability, thereby improving the accuracy of the detection result, and enhance environmental adaptability, thereby improving repeatability. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0055] Figure 1 A schematic cross-sectional structure diagram of an oil viscosity detection sensor provided by an embodiment of the present invention;
[0056] Figure 2 A schematic diagram of a top view of an oil viscosity detection sensor provided by an embodiment of the present invention;
[0057] Figure 3 A flow chart of an oil viscosity detection method provided by an embodiment of the present invention;
[0058] Figure 4 A flow chart of another oil viscosity detection method provided by an embodiment of the present invention;
[0059] Figure 5 A schematic diagram of the structure of an oil viscosity detection device provided by an embodiment of the present invention;
[0060] Figure 6 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0062] In order to facilitate the understanding of the technical solution provided by the present application, the relevant contents of the technical solution of the present application are first explained below. When the lubricating oil is subjected to external force and moves relatively, resistance to movement will be generated between the lubricating oil molecules. This internal friction is called viscosity, which is one of the important performance indicators of lubricating oil. Lubricating oil with higher viscosity has poor fluidity, but the oil film is strong and has a strong load-bearing capacity. Lubricating oil with lower viscosity has better fluidity and is easy to flow between friction surfaces with small gaps to ensure lubrication, and the power consumed in overcoming friction resistance is also less, but under a large load, the lubricating oil film will become thinner and even damaged, causing wear on the friction surface. Therefore, viscosity is a major basis for selecting lubricating oils for various mechanical equipment, and viscosity measurement is currently widely used in aviation, aerospace, ships and industrial sectors.
[0063] The probe of the oil viscosity detection sensor of the present application is intended to adopt the reciprocating piston principle. Since the core inside the piston is affected by the shear force of the oil with different viscosities, but the driving force (contactless electromagnetic drive) on the inner core is constant, it will affect the reciprocating motion time of the inner core. The different reciprocating motion times reflect the different viscosities of the oil. And because of the movement of the inner core of the piston, the oil will be continuously sucked in and discharged from the inside of the piston cavity, while the oil inside the piston cavity is relatively static. The principle of the sensor is that the oil does not move, but the core inside the cavity moves, and the time it takes for the core to move to a certain position is measured. It can detect the oil viscosity of the lubricating oil online in real time, with high real-time performance and accuracy, which improves the detection efficiency.
[0064] Figure 1 A schematic cross-sectional structure diagram of an oil viscosity detection sensor provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the sensor includes: a mounting base 1, a probe housing 2 and a circuit board 100, the probe housing 2 includes an oil pool 3, a magnet structure, a metal piston structure and a proximity switch 8, and the metal piston structure, the magnet structure and the proximity switch 8 are all connected to the oil pool 3.
[0065] like Figure 1 As shown, the probe housing 2 is used to extend into the oil bearing structure 200 of the oil to be detected to detect the oil viscosity online in real time. The oil bearing structure 200 is an oil pipeline or oil tank that carries lubricating oil. Specifically, the probe housing 2 is inserted into the oil pipeline or oil tank through which the lubricating oil passes.
[0066] The oil pool 3 is arranged inside the probe housing 2. The oil pool 3 is a metal piston structure that provides movement space in the oil to be detected or the standard oil.
[0067] The magnet structure is disposed at the bottom of the oil pool 3 , and is used to drive the metal piston structure to reciprocate in the oil pool 3 of the oil to be tested or the standard oil under the control of the circuit board 100 .
[0068] The circuit board 100 is connected to the magnet structure and the proximity switch 8 and is used to control the magnet structure and the proximity switch 8 .
[0069] like Figure 1 As shown, the magnet structure includes an electromagnet coil 4 , and the electromagnet coil 4 includes an inner core 401 , which is arranged at the center of the electromagnet coil 4 .
[0070] The electromagnet coil 4 is installed at the bottom of the oil pool 3, and the electromagnet coil 4 is connected to the circuit board 100 through a wire;
[0071] The circuit board 100 excites the electromagnet coil 4 through the electrical signal to form an electromagnetic field, driving the metal piston structure to move toward the direction close to the electromagnet coil 4; when the electrical signal disappears, the electromagnetic field of the electromagnet coil 4 disappears.
[0072] like Figure 1 As shown, the metal piston structure includes a piston 5 , a guide plate 6 and an elastic structure 7 .
[0073] A movable piston 5 is arranged inside the oil pool 3. As an optional solution, the piston 5 is soft iron and can be attracted to approach by the energized electromagnet coil 4.
[0074] The guide plate 6 is fixed on one side of the probe housing 2 .
[0075] One side of the elastic structure 7 is mounted on the guide vane 6, and the other side of the elastic structure 7 is connected to the piston 5. The piston 5 is suspended on the guide vane 6 through the elastic structure 7.
[0076] As an optional solution, the elastic structure is a spring.
[0077] In the embodiment of the present invention, when the circuit board 100 excites the electromagnet coil 4 to form an electromagnetic field through an electrical signal, the piston 5 moves toward the direction approaching the electromagnet coil 4 by stretching the elastic structure 7; when the electrical signal disappears, the electromagnetic field of the electromagnet coil 4 disappears, and the piston moves away from the electromagnet coil 4 through the contraction of the elastic structure 7 until it returns to the initial suspended position.
[0078] In the embodiment of the present invention, the guide plate 6 is fixed to one side of the probe housing 2 by means of connecting screws.
[0079] like Figure 1 As shown, the proximity switch 8 is arranged at one side of the oil pool 3, and the proximity switch 8 is connected to the circuit board 100 through a wire.
[0080] The proximity switch 8 is used to detect the approaching or moving away movement of the piston 5 and send a switch signal to the circuit board 100 so that the circuit board 100 can generate the total time of the reciprocating movement.
[0081] like Figure 1 As shown, the sensor also includes: a temperature sensor 9.
[0082] The temperature sensor 9 is arranged inside the oil pool 3 , and the temperature sensor 9 is connected to the circuit board 100 through a wire.
[0083] The temperature sensor 9 is used to detect the oil temperature of the oil to be tested or the standard oil. The viscosity of the oil is different at different temperatures. The oil temperature is detected so as to subsequently generate a standard oil viscosity curve at the corresponding temperature and identify the target viscosity of the oil to be tested at the corresponding temperature.
[0084] It is worth noting that the temperature sensor 9 is continuously in working state so as to detect the temperature of the oil in real time.
[0085] like Figure 1As shown, a through hole 101 is provided on the mounting base 1 .
[0086] The via 101 is used to install a wire and provide a connection channel for the wire.
[0087] like Figure 1 As shown, the outside of the probe housing 2 is provided with a thread, and the probe housing 2 is threadedly connected to the oil bearing structure of the oil to be detected or the standard oil, so that the oil viscosity of the lubricating oil can be detected online in real time, with high real-time performance and accuracy, thereby improving the detection efficiency.
[0088] In the embodiment of the present invention, a switch signal acquisition module 10 , a temperature acquisition module 11 , a coil driving module 12 and a control module 13 are integrated inside the circuit board 100 .
[0089] The switch signal acquisition module 10 is used to receive the switch signal sent by the proximity switch 8 through the wire.
[0090] The temperature acquisition module 11 is used to receive the temperature signal sent by the temperature sensor 9 through the wire.
[0091] The coil driving module 12 is used to send an electrical signal to the electromagnet coil 4 to stimulate the electromagnet coil 4 to be energized to form an electromagnetic field.
[0092] The control module 13 is used to control the switch signal acquisition module 10, the temperature acquisition module 11 and the coil drive module 12, and execute Figure 3 or Figure 4 Oil viscosity detection method.
[0093] Figure 2 A schematic diagram of a top view of an oil viscosity detection sensor provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the oil pool 3 is located at the center of the mounting seat 1, and one side of the guide plate 6 is located at the center of the oil pool 3. As an optional solution, the mounting seat 1 is circular in shape.
[0094] In the technical solution provided by the embodiment of the present invention, the oil viscosity detection sensor includes: a mounting base, a probe housing and a circuit board, the probe housing includes an oil pool, a magnet structure, a metal piston structure and a proximity switch, and the metal piston structure, the magnet structure and the proximity switch are all connected to the oil pool; the probe housing is used to extend into the oil bearing structure of the oil to be detected; the circuit board is connected to the magnet structure and the proximity switch, and is used to control the magnet structure and the proximity switch; the oil pool provides a movement space for the metal piston structure in the oil to be detected; the magnet structure is arranged at the bottom of the oil pool, and is used to drive the metal piston structure to reciprocate in the oil pool of the oil to be detected under the control of the circuit board, and the oil viscosity is measured based on the reciprocating motion of the metal piston structure in the oil pool, so as to avoid being affected by environmental factors, improve data stability, thereby improving the accuracy of the detection results, and improve environmental adaptability, thereby improving repeatability.
[0095] It is worth mentioning that Figure 1 The oil viscosity sensor shown is also suitable for Figure 3 or Figure 4 The oil viscosity detection method is not described here.
[0096] The following takes the oil viscosity detection device as an example to illustrate the implementation process of the oil viscosity detection method provided by the embodiment of the present invention. It is understandable that the execution subject of the oil viscosity detection method provided by the embodiment of the present invention includes but is not limited to the oil viscosity detection device.
[0097] Figure 3 A flow chart of an oil viscosity detection method provided by an embodiment of the present invention is as follows: Figure 3 As shown, the method includes:
[0098] Step 101 : According to a preset movement frequency, by controlling the magnet structure, the metal piston structure is driven to perform reciprocating motion in the oil pool of the oil to be detected.
[0099] Step 102: Generate the total reciprocating motion time according to the switch signal sent by the proximity switch.
[0100] Step 103: fuzzy identify the total reciprocating motion time with a pre-generated standard oil viscosity curve to generate a target viscosity of the oil to be tested.
[0101] In the technical solution provided by the embodiment of the present invention, the metal piston structure is driven to perform reciprocating motion in the oil pool of the oil to be detected by controlling the magnet structure according to the preset motion frequency; the total reciprocating motion time is generated according to the switch signal sent by the proximity switch; the total reciprocating motion time is fuzzy identified with the pre-generated standard oil viscosity curve to generate the target viscosity of the oil to be detected, and the oil viscosity is measured based on the reciprocating motion of the metal piston structure in the oil pool to avoid being affected by environmental factors, improve data stability, thereby improving the accuracy of the detection results, improving environmental adaptability, and thus improving repeatability.
[0102] Figure 4 A flow chart of another oil viscosity detection method provided by an embodiment of the present invention is as follows: Figure 4 As shown, the method includes:
[0103] Step 201 : According to a preset movement frequency, by controlling the magnet structure, the metal piston structure is driven to perform reciprocating motion in the oil pool of the oil to be detected.
[0104] In the embodiment of the present invention, each step is performed by an oil viscosity detection device.
[0105] In the embodiment of the present invention, the exercise frequency can be set according to actual needs, and the embodiment of the present invention is not limited to this.
[0106] Specifically, at time T0, the control module uses an electrical signal to excite the electromagnet coil in the magnet structure, and the electromagnet coil attracts the piston in the metal piston structure to move closer to it, and the piston leaves the original position of the suspension; after time T1, the control module removes the electrical drive of the electromagnet coil, and after removal, the piston moves in the direction of the original electromagnet coil through the contraction of the elastic structure. After time T2, the piston returns to the original position of the suspension.
[0107] Step 202: Record a first moment in response to a first switch signal sent by the proximity switch.
[0108] In the embodiment of the present invention, there is a fixed distance threshold between the proximity switch and the original position of the piston suspension. When the piston moves toward the direction of the electromagnet coil, the proximity switch detects that the distance between the piston and the proximity switch increases, that is, the piston moves away from the proximity switch, and the spring begins to stretch; a first switch signal is sent to the switch signal acquisition module of the circuit board so that the switch signal acquisition module communicates with the control module of the circuit board, so that the control module records the first moment. The first moment is the moment when the piston starts to move toward the electromagnet coil.
[0109] It is worth noting that the original position of the piston suspension is flush with the height of the proximity switch.
[0110] Step 203: Record a second moment in response to a second switch signal sent by the proximity switch.
[0111] In the embodiment of the present invention, after T1 time, the control module removes the electric drive of the electromagnet coil, the piston moves in the direction of the principle electromagnet coil through the contraction of the elastic structure, and the proximity switch detects that the distance between the piston and the piston is reduced, that is, the piston approaches the proximity switch, and the spring begins to contract; until the proximity switch detects that the distance between the piston and the piston reaches a fixed distance threshold, that is, the piston returns to the original position of the suspension, and sends a second switch signal to the switch signal acquisition module of the circuit board, so that the switch signal acquisition module communicates with the control module of the circuit board, so that the control module records the second moment. The second moment is the moment when the piston returns to the original position of the suspension.
[0112] Step 204: Generate the total time of the reciprocating motion according to the first moment and the second moment.
[0113] In the embodiment of the present invention, the total reciprocating motion time is obtained by subtracting the first moment from the second moment. When the oil pool is full of liquid, the total reciprocating motion time is: T = T1 + T2, where T is the total reciprocating motion time; T1 is the time when the piston moves toward the direction of the electromagnet coil when the electromagnet coil is continuously energized, and T2 is the time when the piston moves toward the original electromagnet coil until it returns to the original suspended position after the electrical signal is removed.
[0114] Step 205: Calculate the average value of the total reciprocating motion time corresponding to each motion frequency to obtain the average total reciprocating motion time.
[0115] In the embodiment of the present invention, steps 201 to 204 are repeatedly executed according to a preset movement frequency to obtain a plurality of reciprocating movement total times; and the plurality of reciprocating movement total times are averaged to obtain an averaged reciprocating movement total time.
[0116] In the embodiment of the present invention, multiple motion detections are performed on the oil to be detected and the average value is calculated, which can improve the accuracy of the final detection result.
[0117] Step 206: Perform fuzzy recognition on the total reciprocating motion time and the pre-generated standard oil viscosity curve to generate a target viscosity of the oil to be tested.
[0118] In the embodiment of the present invention, the standard oil viscosity curve is the corresponding relationship between a plurality of standard oil viscosities and the total time of reciprocating motion.
[0119] Specifically, the total reciprocating motion time and the standard oil viscosity curve are fuzzy identified to identify the corresponding total reciprocating motion time; the corresponding standard oil viscosity is matched according to the identified total reciprocating motion time; and the matched standard oil viscosity is determined as the target viscosity of the oil to be tested.
[0120] In an embodiment of the present invention, a standard oil viscosity curve is generated in advance, and the generation process can refer to steps 201 to 204, which specifically include: controlling the magnet structure to drive the metal piston structure to reciprocate in the oil pools of standard oils with different standard viscosities; generating the total reciprocating motion time according to the switch signal sent by the proximity switch; and generating a standard oil viscosity curve according to the standard viscosities of multiple standard oils and the corresponding total reciprocating motion time.
[0121] Furthermore, based on the oil temperature of the oil to be tested detected by the temperature sensor, the corresponding standard oil viscosity curve is queried; the total reciprocating motion time and the queried standard oil viscosity curve are fuzzy identified to identify the corresponding total reciprocating motion time; based on the identified total reciprocating motion time, the corresponding standard oil viscosity is matched; and the matched standard oil viscosity is determined as the target viscosity of the oil to be tested.
[0122] In the embodiment of the present invention, the viscosity of the oil is different at different temperatures. Different oil temperatures correspond to different standard oil viscosity curves. Specifically, at temperature T1, the standard oil viscosity curve corresponding to each standard oil is Y1; at temperature T2, the standard oil viscosity curve corresponding to each standard oil is Y2. The shorter the temperature interval, the more standard oil viscosity curves there are, and the more accurate the viscosity data tested.
[0123] As an optional solution, the temperature interval can be 5°C, from 20°C to 100°C, providing 16 standard oil viscosity curves. It is worth noting that users can adjust according to actual needs. For example: the oil tank temperature is 40-60°C during operation, and the temperature interval can be changed to 2 or 1°C in the temperature range of 40-60.
[0124] For example, there are three kinds of standard oils, namely standard oil a, standard oil b and standard oil c; at temperature T1, the standard oil viscosity corresponding to standard oil a is Da, the standard oil viscosity corresponding to standard oil b is Db, and the standard oil viscosity corresponding to standard oil c is Dc. Steps 201 to 204 are performed for standard oil a, standard oil b and standard oil c respectively to obtain the total reciprocating motion time Ta corresponding to standard oil a, the total reciprocating motion time Tb corresponding to standard oil b, and the total reciprocating motion time Tc corresponding to standard oil c. According to the standard oil viscosity Da and the total reciprocating motion time Ta corresponding to standard oil a, the standard oil viscosity Db and the total reciprocating motion time Tb corresponding to standard oil b, and the standard oil viscosity Dc and the total reciprocating motion time Tc corresponding to standard oil c, the standard oil viscosity curve Y1 corresponding to each standard oil at temperature T1 is drawn.
[0125] At temperature T2, the standard oil viscosity corresponding to standard oil a is Da', the standard oil viscosity corresponding to standard oil b is Db', and the standard oil viscosity corresponding to standard oil c is Dc'. Steps 201 to 204 are performed on standard oil a, standard oil b, and standard oil c, respectively, to obtain the total reciprocating motion time Ta' corresponding to standard oil a, the total reciprocating motion time Tb' corresponding to standard oil b, and the total reciprocating motion time Tc' corresponding to standard oil c. According to the standard oil viscosity Da' and the total reciprocating motion time Ta' corresponding to standard oil a, the standard oil viscosity Db' and the total reciprocating motion time Tb' corresponding to standard oil b, and the standard oil viscosity Dc' and the total reciprocating motion time Tc' corresponding to standard oil c, the standard oil viscosity curve Y2 corresponding to each standard oil at temperature T2 is drawn.
[0126] It is worth noting that the number of standard oil points can be selected according to actual needs. The more oil points, the more accurate the standard oil viscosity curve fitting. Experiments have proved that this application uses the method closest to laboratory measurement of oil viscosity, with high measurement accuracy.
[0127] It is worth noting that the acquisition, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of laws and regulations. The user information in the embodiments of this application is obtained through legal and compliant channels, and the acquisition, storage, use, and processing of user information are authorized and agreed by the customer.
[0128] It is worth noting that the information collected in this application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of relevant countries and regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0129] It is worth noting that the technical solution provided in this application provides users with corresponding operation entrances for them to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.
[0130] In the technical solution of the oil viscosity detection method provided in the embodiment of the present invention, according to the preset movement frequency, the magnet structure is controlled to drive the metal piston structure to perform reciprocating motion in the oil pool of the oil to be detected; according to the switch signal sent by the proximity switch, the total time of the reciprocating motion is generated; the total time of the reciprocating motion is fuzzy identified with the pre-generated standard oil viscosity curve to generate the target viscosity of the oil to be detected, and the oil viscosity is measured based on the reciprocating motion of the metal piston structure in the oil pool to avoid being affected by environmental factors, improve data stability, thereby improving the accuracy of the detection results, improving environmental adaptability, and thus improving repeatability.
[0131] Figure 5 Schematic diagram of the structure of an oil viscosity detection device provided in an embodiment of the present invention, the device is used to perform the above oil viscosity detection method, such as Figure 5 As shown, the device includes: a detection driving unit 51, a detection time generating unit 52 and a fuzzy identification unit 53.
[0132] The detection driving unit 51 is used to drive the metal piston structure to perform reciprocating motion in the oil pool of the oil to be detected by controlling the magnet structure according to a preset motion frequency.
[0133] The detection time generating unit 52 is used to generate the total reciprocating motion time according to the switch signal sent by the proximity switch.
[0134] The fuzzy identification unit 53 is used to perform fuzzy identification on the total reciprocating motion time and a pre-generated standard oil viscosity curve to generate a target viscosity of the oil to be tested.
[0135] In an embodiment of the present invention, the detection time generating unit 52 is specifically used to record a first moment in response to a first switch signal sent by the proximity switch; record a second moment in response to a second switch signal sent by the proximity switch; and generate a total reciprocating motion time based on the first moment and the second moment.
[0136] In the embodiment of the present invention, the device further includes: an average value calculation unit 54.
[0137] The average value calculation unit 54 is used to calculate the average value of the total reciprocating motion time corresponding to each motion frequency to obtain the averaged total reciprocating motion time, and trigger the fuzzy recognition unit 53 to continue to perform the step of fuzzy recognition of the total reciprocating motion time and the pre-generated standard oil viscosity curve to generate the target viscosity of the oil to be tested.
[0138] In the embodiment of the present invention, the device further includes: a standard driving unit 55 , a detection time generating unit 56 and a curve generating unit 57 .
[0139] The standard drive unit 55 is used to drive the metal piston structure to reciprocate in the oil pools of standard oils with different standard viscosities by controlling the magnet structure.
[0140] The detection time generating unit 56 is used to generate the total reciprocating motion time according to the switch signal sent by the proximity switch.
[0141] The curve generating unit 57 is used to generate a standard oil viscosity curve according to the standard viscosities of a plurality of standard oils and the corresponding total reciprocating motion times.
[0142] In the scheme of the embodiment of the present invention, according to the preset movement frequency, the magnet structure is controlled to drive the metal piston structure to perform reciprocating motion in the oil pool of the oil to be detected; according to the switch signal sent by the proximity switch, the total time of the reciprocating motion is generated; the total time of the reciprocating motion is fuzzy identified with the pre-generated standard oil viscosity curve to generate the target viscosity of the oil to be detected, and the oil viscosity is measured based on the reciprocating motion of the metal piston structure in the oil pool to avoid being affected by environmental factors, improve data stability, thereby improving the accuracy of the detection results, improving environmental adaptability, and thus improving repeatability.
[0143] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer device, and specifically, the computer device may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0144] An embodiment of the present invention provides a computer device, including a memory and a processor, the memory is used to store information including program instructions, the processor is used to control the execution of the program instructions, and when the program instructions are loaded and executed by the processor, the steps of the embodiment of the above-mentioned oil viscosity detection method are implemented. For a specific description, please refer to the embodiment of the above-mentioned oil viscosity detection method.
[0145] Reference below Figure 6 , which shows a schematic diagram of the structure of a computer device 600 suitable for implementing an embodiment of the present application.
[0146] like Figure 6As shown, the computer device 600 includes a central processing unit (CPU) 601, which can perform various appropriate operations and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the computer device 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0147] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal feedback device (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed as needed as the storage section 608.
[0148] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 609, and / or installed from the removable medium 611.
[0149] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0150] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0151] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0152] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0153] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0154] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0155] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0156] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0157] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0158] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0159] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0160] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. An oil viscosity detection sensor, characterized in that: The sensor comprises: a mounting base, a probe housing and a circuit board, wherein the probe housing comprises an oil pool, a magnet structure, a metal piston structure and a proximity switch, and the metal piston structure, the magnet structure and the proximity switch are all connected to the oil pool; The probe housing is used to extend into the oil bearing structure of the oil to be detected; The circuit board is connected to the magnet structure and the proximity switch, and is used to control the magnet structure and the proximity switch; The oil pool provides a movement space for the metal piston structure in the oil to be detected; The magnet structure is arranged at the bottom of the oil pool, and is used to drive the metal piston structure to perform reciprocating motion in the oil pool of the oil to be detected under the control of the circuit board.
2. The oil viscosity detection sensor according to claim 1, characterized in that: The magnet structure includes an electromagnet coil, the electromagnet coil includes an inner core, and the inner core is arranged at the center of the electromagnet coil; The electromagnet coil is connected to the circuit board via a wire; The circuit board excites the electromagnet coil through an electrical signal to form an electromagnetic field, thereby driving the metal piston structure to move in a direction close to the electromagnet coil.
3. The oil viscosity detection sensor according to claim 1, characterized in that: The metal piston structure comprises a piston, a guide plate and an elastic structure; The guide plate is fixed on the probe housing; One side of the elastic structure is mounted on the guide plate, and the other side of the elastic structure is connected to the piston.
4. The oil viscosity detection sensor according to claim 3, characterized in that: The guide plate is fixed to the probe housing by connecting screws.
5. The oil viscosity detection sensor according to claim 1, characterized in that: Also includes: Temperature sensor; The temperature sensor is connected to the circuit board via a wire; The temperature sensor is arranged inside the oil pool and is used to detect the temperature of the oil to be detected.
6. The oil viscosity detection sensor according to claim 1, characterized in that: The proximity switch is connected to the circuit board via a wire; The proximity switch is used to send a switch signal to the circuit board so that the circuit board can generate a total reciprocating motion time.
7. The oil viscosity detection sensor according to any one of claims 2, 5 and 6, characterized in that: The mounting seat is provided with a through hole; The via hole provides a connection channel for the wire.
8. The oil viscosity detection sensor according to claim 1, characterized in that: The probe housing is provided with threads on its exterior, and the probe housing is threadedly connected to an oil bearing structure of the oil to be detected.
9. A method for detecting oil viscosity, characterized in that: The oil viscosity detection sensor applied to any one of claims 1 to 8, the method comprising: According to the preset movement frequency, the metal piston structure is driven to reciprocate in the oil pool of the oil to be tested by controlling the magnet structure; According to the switch signal sent by the proximity switch, the total time of reciprocating motion is generated; The total reciprocating motion time is fuzzily identified with a pre-generated standard oil viscosity curve to generate a target viscosity of the oil to be tested.
10. The oil viscosity detection method according to claim 9, characterized in that: The method of generating the total reciprocating motion time according to the switch signal sent by the proximity switch comprises: In response to a first switch signal sent by the proximity switch, recording a first moment; In response to a second switch signal sent by the proximity switch, recording a second moment; The total reciprocating motion time is generated according to the first time and the second time.
11. The oil viscosity detection method according to claim 9, characterized in that: Before the fuzzy identification of the total reciprocating motion time and the pre-generated standard oil viscosity curve is performed to generate the target viscosity of the oil to be tested, the method further includes: The average value of the total reciprocating motion time corresponding to each motion frequency is calculated to obtain the average total reciprocating motion time, and the step of fuzzy identifying the total reciprocating motion time with a pre-generated standard oil viscosity curve to generate the target viscosity of the oil to be tested is continued.
12. The oil viscosity detection method according to claim 9, characterized in that: Before the fuzzy identification of the total reciprocating motion time and the pre-generated standard oil viscosity curve is performed to generate the target viscosity of the oil to be tested, the method further includes: By controlling the magnet structure, the metal piston structure is driven to reciprocate in the oil pools of standard oils with different standard viscosities; According to the switch signal sent by the proximity switch, the total time of reciprocating motion is generated; A standard oil viscosity curve is generated according to the standard viscosities of a variety of standard oils and the corresponding total reciprocating motion time.
13. An oil viscosity detection device, characterized in that: The device comprises: The detection drive unit is used to drive the metal piston structure to reciprocate in the oil pool of the oil to be detected by controlling the magnet structure according to a preset movement frequency; A detection time generating unit, used for generating a total reciprocating motion time according to a switch signal sent by the proximity switch; The fuzzy recognition unit is used to perform fuzzy recognition on the total reciprocating motion time and a pre-generated standard oil viscosity curve to generate a target viscosity of the oil to be tested.
14. The oil viscosity detection device according to claim 13, characterized in that: The detection time generating unit is specifically used to record a first moment in response to a first switch signal sent by the proximity switch; record a second moment in response to a second switch signal sent by the proximity switch; and generate the total reciprocating motion time according to the first moment and the second moment.
15. The oil viscosity detection device according to claim 13, characterized in that: The device also includes: The average value calculation unit is used to calculate the average value of the total reciprocating motion time corresponding to each motion frequency to obtain the averaged total reciprocating motion time, and continue to perform the step of fuzzy identification of the total reciprocating motion time and a pre-generated standard oil viscosity curve to generate a target viscosity of the oil to be tested.
16. The oil viscosity detection device according to claim 13, characterized in that: The device also includes: A standard drive unit is used to drive a metal piston structure to reciprocate in an oil pool of standard oil of different standard viscosities by controlling a magnet structure; A detection time generating unit, used for generating a total reciprocating motion time according to a switch signal sent by the proximity switch; The curve generating unit is used for generating a standard oil viscosity curve according to the standard viscosities of a plurality of standard oils and the corresponding total reciprocating motion time.
17. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the oil viscosity detection method according to any one of claims 9 to 12 is implemented.
18. A computer device comprising a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, characterized in that: When the program instructions are loaded and executed by the processor, the oil viscosity detection method according to any one of claims 9 to 12 is implemented.
19. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the oil viscosity detection method according to any one of claims 9 to 12 is implemented.
Citation Information
Cited By
Oil viscosity measuring device and method thereof
CN121521684A
