Oil sample quantifying device and method for portable oil chromatography

Through the combination of the encoder and the screw nut mechanism, precise control of the oil sample quantification of the portable oil chromatograph is achieved, which solves the problems of low efficiency and low precision in the existing technology and improves the automation and accuracy of oil sample quantification.

CN120594162APending Publication Date: 2025-09-05SOUTHERN POWER GRID SENSING TECHNOLOGY (GUANGDONG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510949488.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-10
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

The oil sample quantification method of existing portable oil chromatographs is inefficient, prone to errors, and has low measurement accuracy. It is easily affected by factors such as oil sample viscosity and temperature, making it difficult to ensure the consistency and accuracy of quantitative operations.

Method used

An encoder is used to obtain the operating pulse number of the drive unit in real time, and the pulse number is compared with the target pulse number through the control system. Combined with the screw-nut mechanism, precise closed-loop control of the piston is achieved, which is converted into digital and precise measurement of the motor rotation angle, thereby improving the quantitative accuracy of oil samples.

Benefits of technology

It achieves high precision and automation of oil sample quantification, reduces the labor intensity of operators, improves work efficiency, and ensures the accuracy and consistency of quantitative operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120594162A_ABST
    Figure CN120594162A_ABST
Patent Text Reader

Abstract

The invention relates to a portable oil chromatography-oriented oil sample quantifying device and method, relates to the technical field of electrical equipment detection, and can improve the oil sample quantifying precision during oil chromatography analysis. In one embodiment, an apparatus comprises: a syringe comprising a piston movable within a syringe cavity; the driving unit is connected with the piston and used for driving the piston to move; the encoder is linked with the driving unit and is used for acquiring the pulse number of operation of the driving unit in real time; the control system is configured to determine a target pulse number to be executed by the driving unit according to a predetermined target oil sample volume; and when the actual pulse number obtained from the encoder reaches the target pulse number, the driving unit is controlled to stop running.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power equipment detection, and in particular to an oil sample quantification device and method for portable oil chromatography. Background Art

[0002] With the development of power equipment testing technology, portable oil chromatographs have become widely used due to their ease of operation. The quantification of oil samples in this analysis process is crucial and directly affects the reliability of the test results.

[0003] Traditional technologies rely primarily on manual dosing or automated devices using flow and weighing sensors. Manual methods are inefficient and prone to errors, while sensor solutions are susceptible to interference from factors such as oil viscosity and temperature, and measurement accuracy cannot be guaranteed. Summary of the Invention

[0004] Based on this, it is necessary to provide an oil sample quantification device and method for portable oil chromatography to address the above technical problems.

[0005] In a first aspect, the present application provides an oil sample quantification device for a portable oil chromatograph, comprising:

[0006] a syringe comprising a piston movable within a cavity of said syringe;

[0007] a driving unit, connected to the piston, and configured to drive the piston to move;

[0008] An encoder, linked to the driving unit, for obtaining the number of pulses of the driving unit in real time;

[0009] The control system is configured to:

[0010] determining a target number of pulses to be executed by the drive unit according to a predetermined target oil sample volume;

[0011] When the actual number of pulses obtained from the encoder reaches the target number of pulses, the driving unit is controlled to stop operating.

[0012] In one embodiment, the device further includes a transmission mechanism connected between the drive unit and the piston, and configured to convert the rotational motion of the drive unit into the linear motion of the piston.

[0013] In one embodiment, the transmission mechanism is a screw-nut mechanism, which is configured to drive the piston to move axially along the piston at N times the pitch of the screw-nut mechanism in response to the rotation of the drive unit; the N times the pitch of the screw-nut mechanism is determined according to the number of rotations of the drive unit.

[0014] In one embodiment, determining the target number of pulses to be executed by the driving unit according to a predetermined target oil sample volume includes:

[0015] determining a target displacement distance of the piston according to the target oil sample volume and the inner diameter of the syringe cavity;

[0016] determining a target total rotation angle of the drive unit according to the target displacement distance and a pitch of the transmission mechanism connected to the drive unit;

[0017] The target number of pulses is determined according to the target total rotation angle and the step angle of the driving unit.

[0018] In one embodiment, the control system is configured to:

[0019] After the driving unit stops running, determining the actual displacement distance of the piston based on the actual number of pulses recorded by the encoder, the step angle of the driving unit, and the pitch of the transmission mechanism linked to the driving unit;

[0020] The actual oil sample volume of the current quantitative operation is determined based on the actual displacement distance and the inner diameter of the cavity of the syringe.

[0021] In one embodiment, the device further includes a display module;

[0022] The control system further includes a communication module, which is used to send the target oil sample volume and / or the actual oil sample volume determined by the control system to the display module for display.

[0023] In one embodiment, the control system includes:

[0024] a microprocessor, configured to obtain and determine a target number of pulses to be executed by the driving unit according to a target oil sample volume, and to form a pulse instruction according to the target number of pulses;

[0025] A driving circuit is used to send a target pulse signal to the driving unit according to the pulse instruction of the microprocessor.

[0026] In one embodiment, the driving unit is a stepper motor, and the stepper motor is configured as follows:

[0027] When a target pulse signal is received from the driving circuit, the step angle corresponding to the target pulse signal is rotated.

[0028] In one embodiment, the apparatus further comprises:

[0029] an oil sample inlet, connected to the syringe, for receiving an oil sample from an oil sample source to be tested;

[0030] The oil sample outlet is connected to the syringe and is used to transport the oil sample to an external device.

[0031] In a second aspect, the present application further provides an oil sample quantification method for a portable oil chromatograph, the method being applied to an oil sample quantification device of a portable oil chromatograph, the device comprising a syringe, a drive unit, and an encoder linked to the drive unit, the drive unit being connected to a movable piston in a cavity of the syringe, the method comprising:

[0032] determining a target pulse number, wherein the target pulse number corresponds to a predetermined target oil sample volume;

[0033] Controlling the driving unit to operate so as to drive the piston connected to the driving unit to move in the syringe, and obtaining the actual pulse number of the driving unit in real time through the encoder;

[0034] If the actual pulse number reaches the target pulse number, the driving unit is controlled to stop running.

[0035] The above-mentioned oil sample quantification device and method for portable oil chromatographs use an encoder to obtain the operating pulse number of the drive unit in real time, and the control system compares the actual pulse number with the target pulse number determined according to the target oil sample volume, thereby achieving precise closed-loop control of the piston movement distance, creatively converting the measurement of the fluid volume into a digital and precise measurement of the motor rotation angle, and improving the accuracy of oil sample quantification. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 is a structural block diagram of an oil sample quantification device for a portable oil chromatograph in one embodiment;

[0038] Figure 2 Schematic diagram of a flow chart of a method for determining the actual oil sample volume in one embodiment;

[0039] Figure 3 A structural block diagram of an oil sample quantification device for a portable oil chromatograph in another embodiment;

[0040] Figure 4The figure is a schematic flow chart of an oil sample quantification method for a portable oil chromatograph in one embodiment. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0042] In an exemplary embodiment, the present application provides an oil sample quantification device for portable oil chromatography with high efficiency, such as Figure 1 As shown, the device includes:

[0043] A syringe includes a piston movable within a syringe cavity.

[0044] In one embodiment, a syringe can be an actuator for precisely containing, aspirating, and expelling fluid samples. It consists of a chamber (barrel) with a standardized inner diameter and a piston capable of controlled linear motion within the chamber. It is designed to directly contact the oil sample to be tested, converting the linear displacement provided by the drive unit into a precise change in fluid volume to contain and deliver transformer oil. The volume of the oil sample can be precisely calculated based on parameters such as the syringe's inner diameter and length.

[0045] Optionally, the syringe can be made of a material with high chemical stability and mechanical strength to adapt to complex industrial oil sample environments.

[0046] Optionally, the capacity specifications of the syringe can be selected according to the detection range of the portable device, for example, different range specifications such as 1 ml, 5 ml or 10 ml can be selected.

[0047] The driving unit is connected to the piston and is used to drive the piston to move.

[0048] In one embodiment, the drive unit can be a power source that converts electrical energy into precise mechanical motion. It can provide a controllable, stable, and repeatable driving force for the movement of the piston by precisely controlling its angular or linear displacement. Specifically, it receives electrical signal instructions from the control system and converts them into physical actions that drive the piston to move.

[0049] The encoder is linked with the drive unit to obtain the number of pulses of the drive unit in real time;

[0050] In one embodiment, the encoder can be a sensor device used to measure mechanical motion and convert it into an electrical signal. It can compile angular displacement or linear displacement information into a series of electrical pulses or digital codes to provide the control system with high-resolution feedback information about the actual motion state of the drive unit.

[0051] Specifically, the encoder can rotate or move synchronously with the drive unit and continuously output a digital signal representing its motion amount to the control system, accurately recording the number of pulses generated by the rotation of the drive unit in real time.

[0052] Alternatively, a drive unit and encoder can form a servo motor, enabling closed-loop control of position, speed, and torque through a dedicated servo drive unit. The control system simply sends a target position command to the servo drive unit, and the servo motor uses the encoder to automatically and smoothly achieve precise positioning at high speed, providing real-time feedback on positioning errors and status. This makes it suitable for inspection scenarios requiring extremely fast response times and smooth positioning.

[0053] The control system is configured to:

[0054] determining a target number of pulses to be executed by the drive unit according to a predetermined target oil sample volume;

[0055] When the actual number of pulses obtained from the encoder reaches the target number of pulses, the drive unit is controlled to stop running.

[0056] In one embodiment, the control system is an electronic system that integrates computing, control, and communication functions, and may be composed of hardware (such as a processor) and software (firmware or program). It is used to receive instructions, execute core algorithms, send drive signals, and process feedback signals, coordinate the work of various components within the device, and execute a complete closed-loop control process from determining the target pulse to monitoring the actual pulse to controlling the start and stop of the motor.

[0057] In one specific embodiment, the control system can consist of a programmable logic controller (PLC). PLCs offer high reliability and powerful logic control and computational capabilities. The operator inputs the target oil sample volume through a human-machine interface connected to the PLC. The PLC receives this value and executes a preset conversion algorithm within its internal program to calculate the target pulse count. The PLC then transmits a precise pulse train to the drive unit via its high-speed pulse output port. Simultaneously, its high-speed counter port receives and accumulates feedback pulses from the encoder in real time, achieving precise closed-loop control.

[0058] In this embodiment, an encoder is used to obtain the operating pulse number of the drive unit in real time, and the control system compares the actual pulse number with the target pulse number determined according to the target oil sample volume, thereby achieving precise closed-loop control of the piston movement distance, and creatively converting the measurement of the fluid volume into a digital and precise measurement of the motor rotation angle, thereby improving the accuracy of oil sample quantification.

[0059] In an exemplary embodiment, the device further includes a transmission mechanism connected between the driving unit and the piston, and configured to convert the rotational motion of the driving unit into the linear motion of the piston.

[0060] In one embodiment, the transmission mechanism can be an intermediate mechanical component arranged between the drive unit and the piston, which is a mechanical assembly used to transmit power and convert the form of motion, so as to efficiently and stably convert the rotational motion output by the drive unit, which is easy to precisely control, into the linear motion of the piston for performing quantitative operations.

[0061] In this embodiment, by setting up a transmission mechanism, the problem of mismatch in motion forms between the power source (rotating motor) and the actuator (linear motion piston) is solved. It not only serves as a bridge for connecting and transmitting power, but also establishes a stable and predictable motion conversion relationship.

[0062] In an exemplary embodiment, the transmission mechanism is a screw-nut mechanism, which is configured to drive the piston to move axially along the piston at N times the pitch of the screw-nut mechanism in response to the rotation of the driving unit; the N times the pitch of the screw-nut mechanism is determined according to the number of rotations of the driving unit.

[0063] In a specific embodiment, a screw-nut mechanism is a transmission component that precisely converts rotational motion into linear motion. It can consist of a precision-threaded screw and a meshing nut. The relative motion of the threaded pair enables power transmission and motion conversion. In one embodiment, a drive unit rotates the screw, while the constrained nut translates along the screw's axial direction, pushing or pulling a piston to complete a fixed amount of physical travel.

[0064] For example, one end of the screw is coaxially connected to the output shaft of the drive unit via a coupling to receive the drive unit's rotational power. The nut is fixedly connected to the end of the piston. The nut's rotational freedom is determined by the number of rotations of the drive unit, ensuring that when the screw rotates, the nut can only move linearly along the screw's axis, thereby driving the piston. Specifically, for every rotation of the drive unit, the screw-nut mechanism moves one pitch.

[0065] In this embodiment, by specifically limiting the transmission mechanism to a screw-nut mechanism, it is ensured that each rotation instruction issued by the control system can be accurately converted into a linear displacement of the piston.

[0066] In an exemplary embodiment, determining a target number of pulses to be executed by the driving unit according to a predetermined target oil sample volume includes:

[0067] Determine the target displacement distance of the piston according to the target oil sample volume and the inner diameter of the syringe cavity;

[0068] determining a target total rotation angle of the drive unit based on a target displacement distance and a pitch of a transmission mechanism connected to the drive unit;

[0069] Determine the target number of pulses based on the target total rotation angle and the step angle of the drive unit.

[0070] Specifically, the required oil sample volume is set according to the test requirements. The control system converts this volume parameter into the corresponding number of stepper motor pulses. This conversion process is based on the syringe's specifications (such as the syringe's inner diameter and the cross-sectional area of ​​the piston) and the step angle of the drive unit (stepper motor).

[0071] In an exemplary embodiment, the inner diameter of the syringe is , then the cross-sectional area of ​​the syringe . It is known that the step angle of the stepper motor is (Unit: degree), the number of pulses generated by the encoder for each rotation of the motor shaft is , if the target oil sample volume is Oil sample, according to the volume formula ( is the distance the piston moves), the target moving distance of the piston can be calculated first Because the distance the piston moves when the stepper motor rotates one circle is the same as the pitch of the syringe. Regarding (assuming that the screw and piston are linked and the screw pitch is ), the number of revolutions of the motor The angle of rotation of the motor , the number of pulses generated , thereby converting the set oil sample volume into the number of pulses of the stepper motor.

[0072] Through the above steps, the entire oil sampling quantification process is automatically completed by the control system, without the need for human intervention. The operator only needs to set the required oil sample volume parameters, and the device will automatically complete the oil sample aspiration, quantification, and delivery operations according to the preset program, greatly improving work efficiency and reducing the operator's labor intensity.

[0073] In one exemplary embodiment, the control system is configured to:

[0074] After the drive unit stops running, the actual displacement distance of the piston is determined based on the actual number of pulses recorded by the encoder, the step angle of the drive unit, and the pitch of the transmission mechanism linked to the drive unit; the actual oil sample volume of the current quantitative operation is determined based on the actual displacement distance and the inner diameter of the syringe cavity.

[0075] In a specific embodiment, the step angle of the stepper motor is (Unit: degree), which means the angle of rotation of the motor shaft when the stepper motor receives a pulse signal. At the same time, the number of pulses generated by the encoder when the motor shaft rotates one circle is , which is the inherent parameter of the encoder, determined by the design and manufacture of the encoder. In addition, the pitch of the transmission mechanism (screw nut mechanism) is (Unit: mm), that is, the distance the nut (connected to the piston) moves axially when the screw rotates one circle.

[0076] When the stepper motor receives The angle of rotation of the motor shaft of the drive unit when an actual pulse signal is received It can be calculated based on the step angle, and the specific formula is: Since the motor shaft rotates one circle ( ), the distance the nut moves is the pitch , then the motor shaft rotation angle The distance the nut moves It can be calculated by proportional relationship. That is: ,Will Substituting this into the formula, we can get: .

[0077] Specific as Figure 2 As shown in the figure, after a quantitative operation is completed, the control system reads the total number of pulses m recorded and accumulated from the encoder linked to the drive unit. At the same time, the control system has pre-stored the inherent mechanical parameters of the device, namely the step angle of the drive unit and the pitch of the transmission mechanism. Next, the control system uses the read total number of pulses m and the pre-stored step angle to perform the first step calculation to determine the total angle of actual rotation of the drive unit's motor shaft during this operation. Finally, after obtaining the total angle of rotation of the motor shaft, the control system uses this total angle and the pre-stored pitch of the transmission mechanism to perform the second step calculation, thereby accurately converting the actual linear movement distance of the piston corresponding to this rotation angle.

[0078] Based on this, the number of pulses recorded by the encoder can be , combined with the step angle of the stepper motor and the pitch of the transmission mechanism , accurately calculate the distance the stepper motor drives the piston to move Then, the cross-sectional area is inferred based on the inner diameter of the syringe cavity. , and then through the volume formula Calculate the actual oil sample volume for quantitative operation.

[0079] In this embodiment, an encoder records the operating status of the stepper motor in real time and feeds pulse count information back to the control system. The control system calculates the actual volume of the oil sample based on the actual pulse count and promptly provides feedback to the operator or detection system, enabling real-time monitoring and adjustment of the quantification process, ensuring accuracy and consistency of each quantification.

[0080] In an exemplary embodiment, the apparatus further comprises a display module;

[0081] The control system further includes a communication module, which is used to send the target oil sample volume and / or the actual oil sample volume determined by the control system to the display module for display.

[0082] In one embodiment, the display module can be a human-computer interface, such as an electronic display device like an LCD screen, an organic light-emitting diode screen, or a digital tube; its function is to intuitively display the device's operating status and data results to the operator. The communication module can be a hardware unit or software function responsible for data transmission within the control system. It is used to establish a reliable data channel from the main processor to other external devices (such as the display module), packaging and transmitting internal data according to a specific protocol (such as serial communication).

[0083] Specifically, before the quantitative operation begins, the operator enters a target oil sample volume (e.g., 2.00 ml) through the display module. This value is then transmitted to the control system via the communication module. After the quantitative operation is completed, the control system calculates the actual oil sample volume (e.g., 2.01 ml) using the aforementioned embodiment. The control system then packages the target oil sample volume (2.00 ml) and the actual oil sample volume (2.01 ml) into a specific data frame via its internal communication module and transmits it to the display module. Upon receiving the data, the display module displays the two values ​​side by side or in separate rows in a predetermined area on the screen.

[0084] In this embodiment, by adding a display module and a communication module, visualization of operations and intuitive human-computer interaction are achieved, thereby making the quality control of the entire analysis process more reliable and intuitive.

[0085] In one exemplary embodiment, the control system includes:

[0086] The microprocessor is used to obtain and determine a target number of pulses to be executed by the drive unit according to the target oil sample volume, and to form a pulse instruction according to the target number of pulses;

[0087] The driving circuit is used to send a target pulse signal to the driving unit according to the pulse instruction of the microprocessor.

[0088] In some embodiments, a microprocessor can be an integrated circuit (such as an MCU or CPU) capable of executing program instructions, performing mathematical operations, logical judgment, and process control. A driver circuit can be an electronic circuit that amplifies low-power logic signals from the microprocessor into a high-power current sufficient to drive a load such as a motor, serving as a bridge between logic control and power execution.

[0089] Specifically, the microprocessor receives the oil sample volume parameter set for testing, calculates the target pulse count, and sends pulse instructions (control signals) to the drive circuit to control the start, stop, and run pulse sequences of the stepper motor. Based on the microprocessor's signals, the drive circuit drives the stepper motor to operate according to the set requirements.

[0090] Alternatively, the drive circuit can be a dedicated stepper motor driver module. This driver circuit receives logic-level pulse commands from a microprocessor. Its internal power electronics amplify these logic signals and, with each received pulse, commutates the coils of the drive unit (stepper motor), energizing them and driving the motor to precisely rotate by one step angle (or a finer microstep).

[0091] In this embodiment, by concretizing the control system as a combination of a microprocessor and a drive circuit, effective separation of logic control and power drive is achieved, thereby improving the flexibility and performance of control.

[0092] In an exemplary embodiment, the driving unit is a stepper motor, and the stepper motor is configured as follows:

[0093] When a target pulse signal is received from a driving circuit, the step angle corresponding to the target pulse signal is rotated.

[0094] In some embodiments, a stepper motor can be an open-loop controlled motor that precisely converts electrical pulse signals into angular displacement. Its rotor moves step by step at a fixed angle (i.e., the step angle) based on the order in which the stator windings are energized. Its characteristic is that the total number of input pulses directly determines the total rotation angle, while the input pulse frequency determines the rotation speed, thus achieving precise digital control of position and speed. Specifically, a stepper motor receives pulse signals from a drive circuit and converts each pulse into a tiny, equivalent mechanical rotation.

[0095] In this embodiment, by specifically defining the drive unit as a stepper motor, a strict correspondence exists between the stepper motor's angular displacement and the number of input pulses. This allows the control system to achieve precise and repeatable control of the drive unit's rotation angle by simply controlling the number of pulses emitted, providing a fundamental guarantee for the accuracy of the entire quantitative solution.

[0096] In an exemplary embodiment, the apparatus further comprises:

[0097] An oil sample inlet, connected to the syringe, for receiving the oil sample from the oil sample source to be tested;

[0098] The oil sample outlet is connected to the syringe and is used to transport the oil sample to an external device.

[0099] The oil sample inlet and outlet are the physical interfaces between the device and the external fluid system. They can be fluid connectors such as pipes, valves, or Luer connectors. The oil sample inlet is used to establish a reliable flow path from the oil sample source to the syringe for sample aspiration; the oil sample outlet is used to establish a reliable flow path from the syringe to a downstream device (such as a detection module or waste oil container) for sample discharge.

[0100] For example, the oil sample inlet and outlet can be integrated into the front end of the syringe via a three-way solenoid valve or a manual three-way valve. The three-way valve has a common port, a first port, and a second port. The common port is directly connected to the syringe's port. The first port, serving as the oil sample inlet, is connected via oil-resistant piping to an oil storage container containing the transformer insulating oil to be tested (i.e., the source of the test oil sample). The second port, serving as the oil sample outlet, is connected via piping to a portable oil chromatograph or a waste oil collection bag (both external devices).

[0101] In this embodiment, by clearly setting the oil sample inlet and oil sample outlet, a complete fluid processing unit is formed, which can ensure that the fluid path is controlled during the sample aspiration and discharge process, effectively prevent cross-contamination between the oil sample source to be tested and the downstream device, and avoid accidental leakage during non-operation periods, thereby ensuring the cleanliness and safety of the sample processing process.

[0102] In an exemplary embodiment, in power systems, analyzing the composition and content of dissolved gases in insulating oil is a common method for determining whether latent faults exist within oil-filled electrical equipment such as transformers. Portable oil chromatographs are widely used due to their convenience for on-site testing. During oil chromatographic analysis, accurate quantification of the oil sample is a key prerequisite for ensuring the reliability of the analysis results.

[0103] However, existing oil sample quantification methods suffer from numerous drawbacks. Traditional manual quantification relies on operator experience, making it inefficient and prone to human error, resulting in inaccurate quantification. Furthermore, some automated quantification devices employ flow sensors or weighing sensors for measurement. Flow sensor measurements are susceptible to significant errors due to physical properties such as the oil sample's viscosity and temperature. Weighing sensors, on the other hand, lack sensitivity for measuring trace amounts of oil, and their complex structure hinders the miniaturization and lightweight design requirements of portable devices.

[0104] Furthermore, existing automated systems generally suffer from low control precision, an inability to flexibly adjust oil sample volumes, and a lack of effective real-time monitoring and feedback mechanisms, making it difficult to ensure consistent and accurate quantification. Consequently, a highly accurate, highly automated, compact oil sample quantification solution that is unaffected by the physical properties of the oil sample remains a pressing technical challenge for those skilled in the art.

[0105] For this reason, this application came into being, providing an oil sample quantification device for portable oil chromatography, which is specifically assembled from a syringe, a stepper motor as a drive unit, an encoder, and a screw-nut mechanism as a transmission mechanism. The encoder is coaxially connected to the rotating shaft of the stepper motor to monitor its movement in real time. The rotation of the stepper motor is accurately converted into the linear motion of the syringe piston through the screw-nut mechanism. Figure 3 As shown, the fluidic system is built around a syringe, the front end of which is connected to a main three-way valve. One port of the valve serves as the oil sample inlet, connected to the source of the oil sample to be tested (such as an oil reservoir); the other port is connected to the downstream pipeline, which, through two independent switching valves, defines the oil sample outlet path to the detection device and the waste oil bag, respectively.

[0106] The control system is the core of the entire device. It includes a microprocessor and a dedicated stepper motor driver circuit. This driver circuit supports advanced features such as microstepping for smoother motor control. The control system also includes a communication module and a display module for data display and human-computer interaction.

[0107] In this embodiment, the device adopts a modular design, the components are reasonably arranged, and the structure is simple and compact, which is conducive to the miniaturization and lightweight design of the portable oil chromatograph and is easy to carry and operate on site.

[0108] In an exemplary embodiment, the present application also provides an oil sample quantification method for a portable oil chromatograph, the method being applied to an oil sample quantification device for a portable oil chromatograph, the device comprising a syringe, a drive unit, and an encoder linked to the drive unit, the drive unit being connected to a movable piston in a syringe cavity; Figure 4As shown, the method comprises the following steps:

[0109] Step S401 : determining a target pulse number, where the target pulse number corresponds to a predetermined target oil sample volume.

[0110] For example, before the device leaves the factory or during calibration, the actual number of pulses required to achieve different target oil sample volumes (for example, from 0.1ml to 5.0ml, in 0.1ml increments) is precisely measured experimentally. This series of volume-pulse correspondences is stored in the control system's non-volatile memory. During actual operation, when the control system receives the user-set target oil sample volume, it directly determines the closest volume value in this correspondence and obtains the corresponding pulse number as the target pulse number for the current operation.

[0111] Step S402 , controlling the driving unit to operate so as to drive the piston connected to the driving unit to move in the syringe, and obtaining the actual pulse number of the driving unit in real time through the encoder.

[0112] Specifically, after determining the target pulse count, the control system begins executing the drive and monitoring steps. Specifically, the control system sends a continuous series of pulse signals to the drive unit's drive circuit, activating it and driving the piston. Simultaneously, a high-speed hardware counter channel in the control system is activated and connected to the encoder's output. The encoder generates pulses as the drive unit operates. With each pulse, the high-speed hardware counter automatically and seamlessly increments its internal count, thereby updating the actual pulse count variable in real time. This drive control process and pulse counting and monitoring process proceed synchronously and in parallel.

[0113] Step S403: If the actual pulse number reaches the target pulse number, the driving unit is controlled to stop running.

[0114] Specifically, within each extremely short control cycle, the actual pulse count, updated in real time by the high-speed counter in the previous step, is compared with the target pulse count stored in the register. Once the actual pulse count is detected to be greater than or equal to the target pulse count, an interrupt signal is triggered. Upon receiving this interrupt, the control system's interrupt service routine can execute its highest-priority task, halting the transmission of any new pulse signals to the drive circuit, thereby stopping the drive unit and piston at the target position.

[0115] In this embodiment, through the above steps, the accuracy and automation issues of oil sample quantification in the portable oil chromatograph are solved, providing accurate data support for status monitoring and fault diagnosis of power equipment.

[0116] It should be understood that, although the various steps in the flowcharts involved in the above embodiments are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless clearly stated herein, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be performed in turn or alternately with at least a portion of the steps or stages in other steps. It is understandable that the various steps in different embodiments can be freely combined, and the various non-contradictory schemes formed by the combination all fall within the scope of protection of this application.

[0117] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0118] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0119] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0120] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data comply with relevant regulations.

[0121] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), quantum computing-based data processing logic devices, artificial intelligence (AI) processors, and the like.

[0122] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0123] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. An oil sample quantification device for portable oil chromatography, characterized in that: The device comprises: a syringe comprising a piston movable within a cavity of said syringe; a driving unit, connected to the piston, and configured to drive the piston to move; An encoder, linked to the driving unit, for obtaining the number of pulses of the driving unit in real time; The control system is configured to: determining a target number of pulses to be executed by the drive unit according to a predetermined target oil sample volume; When the actual number of pulses obtained from the encoder reaches the target number of pulses, the driving unit is controlled to stop operating.

2. The device according to claim 1, characterized in that The device further comprises a transmission mechanism connected between the driving unit and the piston, and configured to convert the rotational motion of the driving unit into the linear motion of the piston.

3. The device according to claim 2, characterized in that The transmission mechanism is a screw-nut mechanism, which is configured to drive the piston to move axially along the piston by N times the pitch of the screw-nut mechanism in response to the rotation of the drive unit; the N times the pitch of the screw-nut mechanism is determined according to the number of rotations of the drive unit.

4. The device according to claim 3, characterized in that The step of determining a target number of pulses to be executed by the driving unit according to a predetermined target oil sample volume includes: determining a target displacement distance of the piston according to the target oil sample volume and the inner diameter of the syringe cavity; determining a target total rotation angle of the drive unit according to the target displacement distance and a pitch of the transmission mechanism connected to the drive unit; The target number of pulses is determined according to the target total rotation angle and the step angle of the driving unit.

5. The device according to claim 1, characterized in that The control system is configured to: After the driving unit stops running, determining the actual displacement distance of the piston based on the actual number of pulses recorded by the encoder, the step angle of the driving unit, and the pitch of the transmission mechanism linked to the driving unit; The actual oil sample volume of the current quantitative operation is determined based on the actual displacement distance and the inner diameter of the cavity of the syringe.

6. The device according to claim 5, characterized in that The device also includes a display module; The control system further includes a communication module, which is used to send the target oil sample volume and / or the actual oil sample volume determined by the control system to the display module for display.

7. The device according to claim 1, characterized in that The control system includes: a microprocessor, configured to obtain and determine a target number of pulses to be executed by the driving unit according to a target oil sample volume, and to form a pulse instruction according to the target number of pulses; A driving circuit is used to send a target pulse signal to the driving unit according to the pulse instruction of the microprocessor.

8. The device according to claim 7, characterized in that The driving unit is a stepper motor, and the stepper motor is configured as follows: When a target pulse signal is received from the driving circuit, the step angle corresponding to the target pulse signal is rotated.

9. The device according to claim 1, characterized in that The device further comprises: an oil sample inlet, connected to the syringe, for receiving an oil sample from an oil sample source to be tested; The oil sample outlet is connected to the syringe and is used to transport the oil sample to an external device.

10. A method for oil sample quantification for portable oil chromatography, characterized in that: The method is applied to a portable oil chromatograph oil sample quantification device, the device comprising a syringe, a drive unit and an encoder linked to the drive unit, the drive unit being connected to a movable piston in the syringe cavity; The method comprises: determining a target pulse number, wherein the target pulse number corresponds to a predetermined target oil sample volume; Controlling the driving unit to operate so as to drive the piston connected to the driving unit to move in the syringe, and obtaining the actual pulse number of the driving unit in real time through the encoder; If the actual pulse number reaches the target pulse number, the driving unit is controlled to stop running.