OCV valve measurement and control device, method and system

文档序号:1540535 发布日期:2020-01-17 浏览:7次 中文

阅读说明:本技术 一种ocv阀测控装置、方法及系统 (OCV valve measurement and control device, method and system ) 是由 杨柳 陈辉 娄方超 吴忠洁 于 2019-11-01 设计创作,主要内容包括:本发明公开了一种OCV阀测控装置、方法及系统。其装置包括:主控模块、测量采集模块、操作执行模块、及用以提供不同规格的工作电压的电源转换模块;其中:上位机向主控模块下发测控指令;使其根据测控指令通过操作执行模块设置发动机工况,及驱动控制OCV阀运动;测量采集模块采集OCV阀的运动参数;上位机或主控模块根据采集到的运动参数,结合测控指令中的目标运动参数,生成调节控制信号,调节控制OCV阀的运动;测量采集模块采集OCV阀的性能参数,并将该性能参数发送给主控模块,用以判断OCV阀的性能是否合格。该测控装置具有提高系统稳定性和检测阀体性能准确度、减小装置体积、降低成本以及可快速批量化投放于市场的特点。(The invention discloses an OCV valve measurement and control device, method and system. The device comprises: the device comprises a main control module, a measurement acquisition module, an operation execution module and a power supply conversion module for providing working voltages of different specifications; wherein: the upper computer sends a measurement and control instruction to the main control module; the engine working condition is set through the operation execution module according to the measurement and control instruction, and the OCV valve is driven and controlled to move; the measurement acquisition module acquires the motion parameters of the OCV valve; the upper computer or the main control module generates an adjusting control signal according to the collected motion parameters and by combining target motion parameters in the measurement and control instruction, and adjusts and controls the motion of the OCV valve; the measurement acquisition module acquires performance parameters of the OCV valve and sends the performance parameters to the main control module so as to judge whether the performance of the OCV valve is qualified. The measurement and control device has the characteristics of improving the stability of the system, detecting the performance accuracy of the valve body, reducing the volume of the device, reducing the cost and being capable of being put on the market in batch quickly.)

1. An OCV valve measurement and control device, comprising: the device comprises a main control module, a measurement acquisition module, a power supply conversion module and an operation execution module; wherein:

the power supply conversion module is used for converting the accessed power supply voltage into working voltages with different specifications so as to provide the working voltages for each module;

the upper computer sends a measurement and control instruction to the main control module; the main control module sets the working condition of the engine through the operation execution module according to the measurement and control instruction and drives and controls the OCV valve to move;

the measurement acquisition module acquires the motion parameters of the OCV valve;

the upper computer or the main control module generates an adjusting control signal according to the collected motion parameters of the OCV valve and by combining with the target motion parameters in the measurement and control instruction, so as to adjust and control the motion of the OCV valve;

the measurement acquisition module acquires the performance parameters of the OCV valve and sends the performance parameters of the OCV valve to the main control module to judge whether the performance of the OCV valve is qualified.

2. The OCV valve measurement and control device of claim 1, wherein the measurement acquisition module comprises:

the rotating speed acquisition submodule is used for acquiring the rotating speed of an engine driving the OCV valve to move;

the phase acquisition submodule is used for acquiring the phase of a camshaft of the engine;

the temperature acquisition submodule is used for acquiring the temperature of the OCV valve during movement;

the oil pressure acquisition submodule is used for acquiring the oil pressure in the OCV valve;

and the current acquisition submodule is used for acquiring the current when the OCV valve moves.

3. The OCV valve measurement and control device according to claim 1, wherein the motion parameters are a phase parameter of a camshaft of the OCV valve and a rotation speed parameter of an engine that drives the OCV valve to move;

the master control module comprises:

the information receiving and transmitting sub-module is used for carrying out information interaction with each sub-module;

the information processing submodule is used for acquiring a phase adjusting control signal for adjusting the phase of the camshaft to the target phase by combining the target phase information of the camshaft of the OCV in the measurement and control instruction according to the phase parameter information acquired by the measurement and acquisition submodule;

the operation execution module adjusts and controls the phase of a camshaft of the engine after receiving the phase adjustment control signal;

and the performance detection submodule is used for measuring the performance parameters of the OCV valve collected by the collection submodule according to different working conditions and evaluating whether the performance of the OCV valve is qualified or not.

4. The OCV valve measurement and control device of claim 2, wherein the phase acquisition submodule comprises:

the camshaft sensor unit is used for acquiring the camshaft phase of the engine through a camshaft sensor;

and/or

And the encoder unit is used for automatically acquiring the phase of the camshaft of the engine in an encoder mode.

5. The OCV valve measurement and control device of claim 2,

an optical coupling isolation module is arranged between the output end of the measurement acquisition module and the input end of the main control module;

and/or an optical coupling isolation module is arranged between the output end of the main control module and the input end of the driving execution module.

6. The OCV valve measurement and control device according to claim 3, wherein the information processing sub-module specifically comprises:

the difference calculation unit is used for calculating the difference between the phase parameter acquired by the measurement acquisition module and the target phase;

the PID parameter setting unit is used for generating a current PID control parameter according to the difference between the phase parameter and the target phase, the currently acquired rotating speed parameter and a preset rule;

and the PID control unit is used for generating a corresponding control signal according to the input PID control parameter so as to control and adjust the OCV valve to the target phase.

7. The OCV valve measurement and control device according to claim 4, wherein the camshaft sensor is a magneto-electric camshaft position sensor; the signal output end of the magneto-electric camshaft position sensor is also provided with a signal setting circuit which is used for carrying out signal setting processing on the voltage signal output by the magneto-electric camshaft position sensor to obtain a square wave signal with the same frequency as the voltage signal output by the magneto-electric camshaft position sensor.

8. An OCV valve measurement and control method applied to the OCV valve measurement and control device according to any one of claims 1 to 6, the method comprising:

receiving a measurement and control instruction sent by an upper computer;

setting the working condition of the engine according to the measurement and control command, and driving and controlling the OCV valve to move;

collecting a motion parameter of the OCV valve;

generating an adjusting control signal according to the collected motion parameters of the OCV valve and by combining target motion parameters in the measurement and control command, so as to adjust and control the motion of the OCV valve;

collecting performance parameters of the OCV valve;

and judging whether the performance of the OCV valve is qualified or not according to the performance parameters of the OCV valve and in combination with the performance parameter standard of the OCV valve.

9. An OCV valve measurement and control system, characterized by comprising the OCV valve measurement and control device of any one of claims 1-6, an upper computer and a CVCT mechanism; the OCV valve measurement and control device is in communication connection with the upper computer and is electrically connected with the CVCT mechanism; wherein:

the upper computer sends a measurement and control instruction to the OCV valve measurement and control device;

the OCV valve measurement and control device sets the working condition of an engine in the CVCT mechanism through a motor frequency converter according to the measurement and control instruction so as to enable the engine to run and further drive an OCV valve to be measured in the CVCT mechanism to move;

the OCV valve measurement and control device acquires the current phase information of a camshaft of an engine in the CVCT mechanism and the rotating speed information of the engine;

the OCV valve measurement and control device generates a control signal for controlling the movement of the OCV valve to be measured according to the collected phase information and the collected rotating speed information and in combination with the measurement and control instruction, controls the movement of the OCV valve to be measured, and adjusts the phase of a camshaft of the engine in real time so as to adjust the valve timing of the engine;

the OCV valve measurement and control device collects performance parameters of the OCV valve to be measured and judges whether the performance of the OCV valve to be measured is qualified or not.

10. The OCV valve measurement and control system according to claim 9, wherein power lines used in the OCV valve measurement and control system are RVVP power lines with shielding layers.

Technical Field

The invention relates to the field of automobile detection, in particular to an OCV valve measurement and control device, method and system.

Background

In general, in automated engineering, a Variable Valve Timing (VVT) control technique describes a technique of adjusting the timing for opening and closing an oil control valve based on the rotation of an internal combustion engine, which changes the state in which the valve timing is fixed in a conventional engine by adjusting the opening and closing timing of the oil control valve to match the rotation of the engine. Therefore, high fuel efficiency and high output can be simultaneously obtained at both high and low speeds. The CVCT mechanism is one of a plurality of VVT (variable valve timing) realizing mechanisms, is a mechanical, electrical and hydraulic integrated system which mainly comprises an Oil Control Valve (OCV), a phase shifter and a camshaft and can continuously adjust the valve timing of an engine. After the CVCT mechanism is developed, there are no corresponding testing device and testing means, the working mechanism of the system cannot be deeply discussed, the working process of the system cannot be verified and perfected, and a new round of design and research and development cannot be effectively performed. The OCV valve measurement and control system device can realize the control of the rotating speed and the phase of an engine and the monitoring of signals such as pressure, current, temperature and the like, and the actual working performance of a phase adjusting mechanism is known according to the test result, so that a reliable basis is provided for further research and development, and the device is ready for the product development and application in the future. Then, the existing technologies in the domestic automobile factories and related supply chains have the problems of poor stability performance of developed equipment, low reaction speed, large volume of a control unit and the like due to unclear understanding of system principles.

An OCV valve measurement and control device is not available in the market at present to realize detection and control of various indexes of the CVCT mechanism.

Disclosure of Invention

The invention provides a device, a method and a system for measuring and controlling an OCV (oil control valve), which are used for quickly and accurately detecting the performance of the OCV. Specifically, the technical scheme of the invention is as follows:

in one aspect, the present invention provides an OCV valve measurement and control device, including: the device comprises a main control module, a measurement acquisition module, a power supply conversion module and an operation execution module; wherein: the power supply conversion module is used for converting the accessed power supply voltage into working voltages with different specifications so as to provide the working voltages for each module; the upper computer sends a measurement and control instruction to the main control module; the main control module sets the working condition of the engine through the operation execution module according to the measurement and control instruction and drives and controls the OCV valve to move; the measurement acquisition module acquires the motion parameters of the OCV valve; the upper computer or the main control module generates an adjusting control signal according to the collected motion parameters of the OCV valve and by combining with the target motion parameters in the measurement and control instruction, so as to adjust and control the motion of the OCV valve; the measurement acquisition module acquires the performance parameters of the OCV valve and sends the performance parameters of the OCV valve to the main control module to judge whether the performance of the OCV valve is qualified.

Preferably, the measurement acquisition module comprises: the rotating speed acquisition submodule is used for acquiring the rotating speed of an engine driving the OCV valve to move; the phase acquisition submodule is used for acquiring the phase of a camshaft of the engine; the temperature acquisition submodule is used for acquiring the temperature of the OCV valve during movement; the oil pressure acquisition submodule is used for acquiring the oil pressure in the OCV valve; and the current acquisition submodule is used for acquiring the current when the OCV valve moves.

Preferably, the motion parameters are a phase parameter of a camshaft of the OCV valve and a rotational speed parameter of an engine that drives the OCV valve to move; the master control module comprises: the information receiving and transmitting sub-module is used for carrying out information interaction with each sub-module; the information processing submodule is used for acquiring a phase adjusting control signal for adjusting the phase of the camshaft to the target phase by combining the target phase information of the camshaft of the OCV in the measurement and control instruction according to the phase parameter information acquired by the measurement and acquisition submodule; the operation execution module adjusts and controls the phase of a camshaft of the engine after receiving the phase adjustment control signal; and the performance detection submodule is used for measuring the performance parameters of the OCV valve collected by the collection submodule according to different working conditions and evaluating whether the performance of the OCV valve is qualified or not.

Preferably, the phase acquisition sub-module comprises: the camshaft sensor unit is used for acquiring the camshaft phase of the engine through a camshaft sensor; and/or an encoder unit for automatically acquiring the camshaft phase of the engine by means of an encoder.

Preferably, an optical coupling isolation module is arranged between the output end of the measurement acquisition module and the input end of the main control module; and/or an optical coupling isolation module is arranged between the output end of the main control module and the input end of the driving execution module.

Preferably, the information processing sub-module specifically includes: the difference calculation unit is used for calculating the difference between the phase parameter acquired by the measurement acquisition module and the target phase; the PID parameter setting unit is used for generating a current PID control parameter according to the difference between the phase parameter and the target phase, the currently acquired rotating speed parameter and a preset rule; and the PID control unit is used for generating a corresponding control signal according to the input PID control parameter so as to control and adjust the OCV valve to the target phase.

Preferably, the camshaft sensor used is a magneto-electric camshaft position sensor; the signal output end of the magneto-electric camshaft position sensor is also provided with a signal setting circuit which is used for carrying out signal setting processing on the voltage signal output by the magneto-electric camshaft position sensor to obtain a square wave signal with the same frequency as the voltage signal output by the magneto-electric camshaft position sensor.

In a second aspect, the present invention further provides an OCV valve measurement and control method, which is applied to the OCV valve measurement and control device according to any one of the present invention, and the method includes: receiving a measurement and control instruction sent by an upper computer; setting the working condition of the engine according to the measurement and control command, and driving and controlling the OCV valve to move; collecting a motion parameter of the OCV valve; generating an adjusting control signal according to the collected motion parameters of the OCV valve and by combining target motion parameters in the measurement and control command, so as to adjust and control the motion of the OCV valve; collecting performance parameters of the OCV valve; and judging whether the performance of the OCV valve is qualified or not according to the performance parameters of the OCV valve and in combination with the performance parameter standard of the OCV valve.

In a third aspect, the invention further provides an OCV valve measurement and control system, which comprises any one of the OCV valve measurement and control device, an upper computer and a CVCT mechanism; the OCV valve measurement and control device is in communication connection with the upper computer and is electrically connected with the CVCT mechanism; wherein: the upper computer sends a measurement and control instruction to the OCV valve measurement and control device; the OCV valve measurement and control device sets the working condition of an engine in the CVCT mechanism through a motor frequency converter according to the measurement and control instruction so as to enable the engine to run and further drive an OCV valve to be measured in the CVCT mechanism to move; the OCV valve measurement and control device acquires the current phase information of a camshaft of an engine in the CVCT mechanism and the rotating speed information of the engine; the OCV valve measurement and control device generates a control signal for controlling the movement of the OCV valve to be measured according to the collected phase information and the collected rotating speed information and in combination with the measurement and control instruction, controls the movement of the OCV valve to be measured, and adjusts the phase of a camshaft of the engine in real time so as to adjust the valve timing of the engine; the OCV valve measurement and control device collects performance parameters of the OCV valve to be measured and judges whether the performance of the OCV valve to be measured is qualified or not.

Preferably, the power lines adopted in the OCV valve measurement and control system are all RVVP power lines with shielding layers.

The invention at least comprises the following technical effects:

(1) after main control module received the observing and controlling instruction in this application, just can set up the operating mode to through the motion of drive execution module drive OCV valve, recycle and measure the motion parameter that collection module gathered the OCV valve, and then control the regulation to OCV, and gather some performance parameters of OCV valve through measuring collection module, so that main control module carries out the performance evaluation to this OCV valve. This application uses host system as the core, measures each item parameter information of collection module auxiliary collection OCV valve, and host system generally adopts the MCU chip of high performance, has the characteristics that can improve system stability ability, promote reaction rate, improve and detect valve body performance degree of accuracy, reduce device volume and reduce cost and can put in market fast in batches.

(2) In this application, the main control module is according to measuring rotational speed and the phase place of the OCV valve that gathers of collection module, target phase place under the current operating mode of reunion, acquire current phase place and target phase place's difference, thereby obtain the regulation control signal that corresponds, through this PID control, can realize the control of closed loop, through the motion of constantly adjusting the OCV valve, make the phase place of camshaft reach or be close to target phase place, thereby make the valve reach the best in right time, and each item performance parameter of the OCV valve of gathering in this accommodation process, also can be more accurate reflect each item performance of OCV valve, make final testing result more accurate.

(3) In this application, can adopt two kinds of modes about the measurement of camshaft phase place and gather, one kind is that the tradition measures the collection through camshaft sensor, and another kind then acquires and gathers through the mode of encoder, adopts the mode of encoder, then can reduce the complexity of circuit greatly for whole measurement and control device is simpler, and more intelligent.

(4) In this application, if it is different with the required operating voltage of host system to measure the collection module, then can set up an opto-coupler isolation module between measurement collection module and host system to reduce signal interference, the guarantee is measured the precision and the degree of accuracy of the collection signal that collection module exported for host system. Similarly, an optical coupling isolation module can be arranged between the main control module and the driving main control module. In addition, all power lines in the whole measurement and control device or the measurement and control system can adopt RVVP power lines with shielding layers, so that fluctuation caused by strong interference generated by external electricity to system stability, especially influence on sampling precision of the sensor can be effectively prevented, and stability of system operation is further improved.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.

Fig. 1 is a block diagram illustrating a structure of an OCV valve measurement and control device according to an embodiment of the present invention;

FIG. 2 is a block diagram of another embodiment of an OCV valve measurement and control apparatus of the present invention;

FIG. 3 is a circuit diagram of a signal setting circuit provided at an output terminal of the magneto-electric camshaft position sensor;

FIG. 4 is a circuit diagram of signal amplification and current sampling for the regulation control signal output by the MCU module;

FIG. 5 is a block diagram of a further embodiment of an OCV valve measurement and control apparatus of the present invention;

FIG. 6 is a flow chart of one embodiment of an OCV valve measurement and control method of the present invention;

fig. 7 is a block diagram of an embodiment of an OCV valve measurement and control system according to the present invention.

Detailed Description

In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically depicted, or only one of them is labeled. In this document, "one" means not only "only one" but also a case of "more than one".

It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.

Regarding the OCV valve and the corresponding CVCT mechanism, the specific structure and operation principle thereof are the prior art, and are not described herein for reducing the space.

As shown in fig. 1, the present invention provides an embodiment of an OCV valve measurement and control device, including: the system comprises a main control module 100, a measurement acquisition module 200, a power supply conversion module 300 and an operation execution module 400; wherein:

a power conversion module 300, configured to convert an accessed power voltage into working voltages with different specifications, so as to provide the working voltages to each module;

specifically, because the power supply voltages required by the modules are different, a power conversion module capable of providing power supply voltages of different specifications is required; preferably, the guide rail type integrated power supply module is adopted, so that a complex power supply conversion circuit is omitted, the size of a circuit board is reduced, all cables in the device are clear in layout, wiring is standard, the use specification meets the standard, the cost is saved, enough space is reserved for later maintenance, the production period of the device can be shortened, and the device can be rapidly put into market and applied in a product mode. For example, if power supply voltages of three specifications of 24V, 12V and 5V need to be provided, a bright weft switch power supply can be adopted: the HDR-60-5 provides 5V voltage, the EDR-120-12 provides 12V voltage, and the EDR-120-24 provides 24V voltage, and the switching power supplies are small in size, high in precision, small in ripple, in a rail type installation mode, and easy to install. Preferably, the power supply voltages of different specifications contained in the power supply conversion module are independent and isolated from each other, a switch can be arranged at the front end of the power supply to control the on-off of the overall power supply of the circuit, and a 220V indicator lamp is provided for displaying.

The main control module 100 is used for receiving a measurement and control instruction sent by an upper computer, setting the working condition of an engine through the operation execution module according to the measurement and control instruction, and driving and controlling the OCV valve to move;

specifically, the main control module 100 is a core of the measurement and control device of this embodiment, and controls and schedules each module to operate. All control type modules in the traditional scheme are expensive NI board cards, porphyrizing board cards or PLC modules, the scheme can adopt high-performance mcu as a main control chip, and various related functions can be completed by integrating various large circuit modules in a matched manner, so that the cost is greatly reduced, and the scheme is more suitable for large-scale production of products. Generally, the main control module 100 is provided with a plurality of communication interfaces, for example, a 485 serial communication interface, for connecting a variable frequency controller of the OCV valve (the variable frequency controller is used to control the rotation speed of the engine); the CAN communication interface CAN be used for connecting external equipment; and the network interface is used for keeping communication connection with an upper computer or an industrial personal computer and the like.

Preferably, the main control chip adopted by the main control module 100 in the present application is a domestic MM32F103XX series MCU as the main control chip, the MCU is a new-generation 32-bit microcontroller based on an ARMCortex-M3 kernel, the working voltage is 2V-5.5V, the industrial-grade temperature is (-40 ℃ to 105 ℃), the precision of a built-in 48MHz crystal oscillator reaches 1% under normal temperature and normal pressure, the built-in high-speed configurable memory is provided, the strong anti-interference performance is achieved (ESD 8KV, EFT4KV), the MCU has rich peripheral interfaces, SPI, UART, CAN2.0, IIC, 12-bit ADC and the like, a built-in Flash module with ultrahigh working main frequency and large capacity and an SRAM module meet the using conditions of the system, and an embedded real-time operating system RT-Thread3.0.4 is combined for use, so that the embedded firmware of the device is more modularized, the functions of the module are more refined, the portability and the reusability are greatly enhanced; the high-performance Ethernet interface chip W5500 and the built-in LWIP protocol stack component are used in the part for exchanging TCP data with the outside, so that the networking performance is greatly improved, and the communication operation is greatly simplified. The RT-Threadv3.0.4 embedded real-time operating system mainly schedules six tasks which are a TCPServer monitoring task, an AD sampling task, a PID calculation task, a relative phase sampling and calculation task, a PWM control output task, a motor start-stop and rotating speed control task and other real-time tasks, the tasks can respond in real time without mutual influence, a software watchdog mechanism is added, and the program can be ensured to run stably all the time. An IAP application program upgrade interface is reserved in the existing firmware version considering the possibility that the subsequent firmware will need to be upgraded. The standard Ethernet interface with the rate of 10M/100M is used in the data transmission layer, and the optimized data structure and the non-blocking TCP communication structure are used, so that the information can be quickly transmitted between the whole device and the execution mechanism, and the overall response speed and the execution efficiency of the system are improved.

The measurement acquisition module 200 acquires the movement parameters of the OCV valve; specifically, the motion parameters of the OCV valve mainly refer to rotational speed information of an engine that drives the OCV valve to move and camshaft phase information thereof.

The upper computer or the main control module 100 is used for generating an adjusting control signal according to the collected movement parameters of the OCV valve and by combining target movement parameters in the measurement and control command, so as to adjust and control the movement of the OCV valve;

the measurement acquisition module 200 acquires performance parameters of the OCV valve, and transmits the performance parameters of the OCV valve to the main control module 100 to determine whether the performance of the OCV valve is qualified.

The working principle of the OCV valve measurement and control device of this embodiment is: the engine speed information and camshaft phase information signals acquired by the measurement acquisition module 200 are sent to the main control module 100, and an instruction is sent through analysis and calculation, the driving execution module 400 outputs a PWM signal (adjustment control signal) to control the OCV valve, so that a high-pressure oil channel of the OCV valve is changed, and a phase shifter of a rack is driven to work, so that the phase of an air inlet camshaft and the phase of an air outlet camshaft are adjusted in real time according to different engine speeds (different working conditions are simulated), wherein the phases are opposite, an initial value is adjusted and set by an engine cylinder cover manufacturer, and the general range is within 40 degrees, and the valve timing is optimal. In the phase adjustment process, the control performance of the OCV valve is detected by monitoring information such as oil pressure, OCV current, phase change and the like.

All host system module and collection module are expensive NI integrated circuit board, the board of polishing or PLC module in traditional scheme, and this embodiment uses high performance mcu as host system chip (host system), and each big circuit module of integration can accomplish related various functions supporting, and cost greatly reduced is fit for product scale more and puts into production.

The parameters needing to be monitored in the work of the OCV valve measurement and control device are mainly as follows:

pressure: the oil pressure of the main oil gallery, the oil pressure of the OCV inlet and the oil pressure of the OCV outlets PA and PB; temperature: the oil temperature of the main oil gallery and the oil temperature of the OCV inlet;

current: intake-side OCV current, exhaust-side OCV current;

phase position: the phase of an air inlet camshaft and the phase of an air outlet camshaft;

rotating speed: the engine speed.

Accordingly, as shown in fig. 2, the measurement acquisition module 200 in another embodiment of the measurement and control device of the present invention includes:

a rotation speed acquisition submodule 210 for acquiring a rotation speed of an engine that drives the OCV valve to move; specifically, the rotation speed measurement can be realized by using an encoder, for example, a crankshaft encoder used for measuring the rotation speed can be a crankshaft encoder with the model number of E6C3-CWZ5 GH. The method for measuring the rotating speed comprises a frequency measurement method and a cycle measurement method (the prior art is not expanded here), for example, when the cycle measurement method is used for measuring the rotating speed of an engine, a Z-phase signal of an encoder is used as a periodic signal, a rotating period is formed between every two adjacent Z-phase pulses, a system measures the number of timing signals between the two adjacent Z-phase pulses to determine the rotating speed, and the time base frequency of the system is 1 MHz.

The phase acquisition submodule 220 is used for acquiring the phase of a camshaft of the engine; specifically, an intake camshaft phase and an exhaust camshaft phase; regarding the phase acquisition, two different methods can be adopted for acquisition, specifically, the phase acquisition sub-module includes: camshaft sensing unit, encoder unit. Camshaft sensing unit passes through camshaft sensor and gathers the camshaft phase place of engine, and wherein, camshaft sensor for example can adopt magnetoelectric camshaft sensor, and this kind of mode is more traditional phase place collection mode. In the other mode, the encoder unit automatically acquires the phase of the camshaft of the engine in an encoder mode; the encoder mode has the characteristics of more convenience, stability, high efficiency, simple circuit, easy realization of software algorithm, cost saving and the like for signal acquisition. Because the forward and reverse rotation parameters of the motor do not need to be measured, the real-time relative phase can be accurately acquired only by utilizing the Z-axis signal and the timer function of the MCU.

In addition, if the camshaft sensor used is a magneto-electric camshaft position sensor; the signal output end of the magneto-electric camshaft position sensor is also provided with a signal setting circuit which is used for carrying out signal setting processing on the voltage signal output by the magneto-electric camshaft position sensor to obtain a square wave signal with the same frequency as the voltage signal output by the magneto-electric camshaft position sensor. Specifically, an implementation manner of the signal setting circuit is shown in fig. 3, wherein an output voltage signal Z1+ and a output voltage signal Z1-of the magnetoelectric camshaft position sensor are input into the signal setting circuit to be set, specifically, an input voltage signal Z1+ passes through a resistor R1_12 and a resistor R1_15 in sequence and is electrically connected with a negative input end of a voltage comparator U1A, and an input voltage signal Z1 passes through resistors R1_10, R1_14 and R1_16 in sequence and is electrically connected with a positive input end of the voltage comparator U1A; the voltage signal Z1+ is connected to ground through a capacitor C1_10, and the voltage signal Z1-is connected to ground through a capacitor C1_ 11; the common end of the resistor R1_10 connected with the resistor R1_14 is electrically connected with the input end of a voltage regulator tube D1_10, and the common end of the resistor R1_12 and the resistor R1_15 is electrically connected with the output end of the voltage regulator tube D1_ 10; a capacitor C1_13 is arranged between the common terminal of the resistors R1_12 and R1_15 and the common terminal of the resistors R1_14 and R1_ 16; the common end of the resistors R1_10 and R1_14 is electrically connected with the common end of the resistor R1_12 and the capacitor C1_10 through a parallel RC circuit (the resistor R1_11 is connected with the capacitor C1_12 in parallel); the input end of the voltage regulator tube D1_10 is grounded through a capacitor C1_15, two ends of the capacitor C1_15 are electrically connected through a diode D1_11, the input end of the diode D1_11 is electrically connected with a +5V power supply through a resistor R1_13, and the output end of the diode D1_11 is grounded; the output end of the voltage comparator U1A is connected to a +5V power supply through a pull-up resistor R1_ 19; the output end of the voltage comparator U1A is electrically connected with the common end of the resistors R1_14 and R1_16 after passing through an RC circuit, the RC circuit comprises a series RC sub-circuit formed by connecting a resistor R1_18 and a capacitor C1_14 in series, and two ends of the series RC sub-circuit are connected with a resistor R1_17 in parallel; the voltage signal NE1_ O output by the output end of the voltage comparator U1A is a square wave signal output after setting.

The voltage comparator U1A used in the setting circuit may be a voltage comparator of model LM2901D, but it is needless to say that other voltage comparators such as a low-loss voltage comparator of LM339 series may be used.

For the phase acquisition submodule 220, 2 sampling modes of an encoder mode and a magnetoelectric camshaft sensor mode can be adopted, and the expandability is stronger.

A temperature acquisition sub-module 230 for acquiring a temperature at which the OCV valve moves; specifically, the oil temperature of the main oil gallery and the oil temperature of the OCV inlet are mainly collected; for example, the model of the temperature transmitter is ADAM-4015, the temperature transmitter is used in cooperation with a Pt-100 thermal resistor, and an output interface is used for communication between a standard ModbusRTU protocol and an MCU.

The oil pressure acquisition submodule 240 is used for acquiring the oil pressure in the OCV valve; specifically, the oil pressure of the main oil gallery, the oil pressure of the OCV inlet, and the oil pressures of the OCV outlets PA and PB;

a current collecting sub-module 250 for collecting a current when the OCV valve moves; specifically, an intake-side OCV current and an exhaust-side OCV current; specifically, as shown in fig. 4, after receiving the adjustment control signal output by the main control module, the operation execution module amplifies the phase adjustment control signal (PWM signal) output by the MCU module through the circuit, where P2IN in the circuit is the adjustment control signal PWM input by the MCU module, and the amplified adjustment control signal output by P2OUT is transmitted to the OCV valve to be tested; in the circuit, the resistor R2_7 is a sampling resistor, and the output of the PV2 is a sampling current. The current collection submodule only needs to collect the current at the PV 2.

The corresponding signals acquired by the acquisition sub-modules are current signals, the current signals are converted into voltage signals through serially connected resistors, the pressure signals are converted into voltage signals through pressure sensors, the temperature signals are converted into voltage signals through thermocouple sensors, all the voltage signals are input into 12-bit AD sampling channels of the main control module, and actual signal values are obtained through calculation of AD sampling tasks.

The control signals output by the OCV valve measurement and control device during working mainly comprise PWM signals, frequency converter control signals and TCP structure data signals. The PWM signal is used for controlling the opening of the OCV, and the adjustment of the phase of the camshaft under different working conditions is realized. The frequency converter control signal is used for adjusting the rotating speed of the engine to realize different working conditions. The TCP structure data signal is used for monitoring and displaying of the upper computer and participating in calculation of control instruction parameters.

A service end is developed in the TCPServer monitoring task, a TCP link is actively initiated to the TCPServer monitoring task by an upper computer software client, the client sends a request packet to request various monitoring data after connection is established, the data received by the service end is in a mode of ring buffer zone plus interruption, then a hardware CRC (cyclic redundancy check) calculation unit analyzes the data packet, and different responses are made according to a proposed protocol. In order to ensure that the upper computer software can refresh data in time, the heartbeat time of the client and the server is 500ms, and because only one TCP link is provided, the expense on CPU resources is not high, and the communication can be completely kept all the time.

The AD sampling task utilizes up to 7 external channels available for the ADC to work in a continuous scanning mode, circularly and automatically converts the acquired values on the 7 channels, and then encapsulates the result into a member variable corresponding to a TCP data structure body. In AD analog quantity parameters monitored by the device when in use, only a torque signal belongs to a high-speed signal and needs to be displayed in a monitoring curve graph in real time, and other signal data can be refreshed every 3-5 seconds.

The motor start-stop and rotating speed control task is realized by using a 485 serial port as a hardware peripheral, because the MCU carries a UART peripheral interface, an MAX485 chip is used in a circuit to convert TTL level signals into 485 signals, and an interface terminal is connected with 120R matching resistance to enhance the anti-interference performance of communication. The twisted-pair line through taking the shielding layer is connected with the converter, carries out remote data through industry MODBUS agreement and converter and alternately, can the main drive motor on the reliable and stable control rack.

The relative phase sampling and calculating task mainly utilizes an input capture mode and an encoder interface mode of a high-grade timer T1, the timer is configured into a corresponding mode, a signal output by a crankshaft encoder triggers a capture register count value on a corresponding channel to increase, then the motor rotating speed under the working condition at the moment is calculated by a multi-period frequency measurement algorithm, the multi-period frequency measurement method has the advantages of 2 methods of a frequency measurement method and a cycle measurement method, the frequency of a measured signal is obtained by measuring the time of a plurality of periods of the measured signal and then converting the measured signal, low-frequency and high-frequency signals can be considered, the measurement precision is improved, and the method is very suitable for a scene with the requirement of the motor rotating speed spanning 800 RPM-6000 RPM. After the rotating speed is obtained, the characteristic point (crankshaft phase) of the crankshaft encoder signal is recorded, the characteristic point of the camshaft encoder signal is measured and calculated by the same method, and finally the relative phase of the camshaft can be calculated by the characteristic point and the characteristic point.

The PWM control output task mainly utilizes a PWM output mode of the high-level timer T1, PWM pulse waves with different duty ratios can be output on different channels, the pulse waves are input into the output execution unit 10, a triode and an MOS (metal oxide semiconductor) tube in a circuit amplify signals, the driving capability is enhanced, so that the OCV valve can normally and quickly move in the whole cavity, and the task is directly related to the performance of the device and can also be used for manually detecting the quality of the OCV valve body.

In the above embodiment, the motion parameters are the phase parameter of the camshaft of the OCV valve and the rotation speed parameter of the engine that drives the OCV valve to move; the main control module 100 specifically includes:

the information transceiving submodule 110 is used for performing information interaction with each submodule;

the information processing submodule 120 is configured to obtain a phase adjustment control signal for adjusting the phase of the camshaft to a target phase according to the phase parameter information acquired by the measurement acquisition submodule and by combining with target phase information of the camshaft of the OCV valve in the measurement and control instruction;

the operation execution module 400 adjusts a phase of a camshaft controlling the engine after receiving the phase adjustment control signal;

and the performance detection submodule 130 is used for measuring the performance parameters of the OCV valve collected by the collection submodule according to different working conditions and evaluating whether the performance of the OCV valve is qualified or not.

Preferably, as shown in fig. 5, on the basis of the above embodiment, the information processing sub-module 120 specifically includes:

a difference calculating unit 121, configured to calculate a difference between the phase parameter acquired by the measurement acquisition module and the target phase;

the PID parameter setting unit 122 is configured to generate a current PID control parameter according to a preset rule by combining a currently acquired rotation speed parameter with a difference between a phase parameter and a target phase;

and the PID control unit 123 is configured to generate a corresponding control signal according to the input PID control parameter, so as to control and adjust the OCV valve to a target phase.

In this embodiment, a PID algorithm is used for phase modulation control of the camshaft, and specifically, a closed-loop phase control system is included, the related phase acquisition module is designed by the aforementioned phase measurement method, a measured phase value and a set target phase value are input into the main control module, and the main control module outputs a PWM signal for adjustment control by using a classical position type PID control algorithm, and adjusts the phase of the camshaft to approach the target phase. The device adopts a position type PID control algorithm, and is mainly based on two considerations: firstly, the device has higher requirement on phase control precision; secondly, the maximum change range of the phase shifter is 40 degrees, and the large-amplitude change of the phase has no destructive influence on the phase shifter and the engine. And the PID parameter self-tuning module generates a current PID control parameter according to a certain rule according to the current deviation and the current working condition of the system, and then inputs the control parameter into the PID controller to control the controlled object. The control method can enable the control system to be in a relatively optimal state at each working condition point, thereby improving the adjustment performance of the system and ensuring the control quality. The main control module can realize quick and high-precision control of different phases. In the phase adjustment process within the range of 15 degrees, the maximum adjustment time is less than 0.4 second, the maximum overshoot is less than 1.5 degrees, the control precision reaches +/-0.3 degrees, and the application requirement is met. The control frequency is too low, a good control effect cannot be achieved certainly, the control frequency is too high, excessive system resources are consumed, the control quality is not improved at all, and the PID calculation task output period is 5ms, so that the application requirement is completely met.

Preferably, an optical coupling isolation module 500 is arranged between the output end of the measurement acquisition module 200 and the input end of the main control module 100; specifically, because there is the problem of different input mains voltage in the collection and the control signal, can use low-speed opto-coupler to keep apart the signal, reduce the clutter of signal and make the sampling more accurate. Such as low speed opto-coupler TLP521-4, to isolate the signal.

Similarly, an optical coupling isolation module 500 may be disposed between the output end of the main control module 100 and the input end of the driving execution module 400.

Preferably, in any of the embodiments of the measurement and control device, all power lines and signal lines may use RVVP wires with shielding layers. Through set up opto-coupler isolation circuit in many places circuit to and adopt the RVVP power cord/signal line of taking the shielding layer, can effectually prevent the fluctuation that strong interference that outside electricity produced caused system stability, especially cause the influence to sensor sampling precision, thereby further improve the stability ability of system operation.

Based on the same technical concept, the present invention further provides an OCV valve measurement and control method, which can be applied to any OCV valve measurement and control device of the present invention, and specifically, a flowchart of an embodiment of the OCV valve measurement and control method is shown in fig. 6, and includes:

s101, receiving a measurement and control instruction issued by an upper computer;

s102, setting the working condition of the engine according to the measurement and control instruction, and driving and controlling the OCV valve to move;

s103, collecting the motion parameters of the OCV valve;

s104, generating an adjusting control signal according to the collected movement parameters of the OCV valve and by combining target movement parameters in the measurement and control command, wherein the adjusting control signal is used for adjusting and controlling the movement of the OCV valve;

s105, collecting performance parameters of the OCV valve;

and S106, judging whether the performance of the OCV valve is qualified or not according to the performance parameters of the OCV valve and by combining the performance parameter standard of the OCV valve.

In this embodiment, an upper computer is connected with the OCV valve measurement and control device of the present invention through ethernet communication, a tester reaches measurement and control instructions from top to bottom, the upper computer transmits the measurement and control instructions to a main control chip (main control module) of the OCV valve measurement and control device, the main control chip sets a working condition (rotation speed) of an engine, the OCV valve is driven and controlled to move through an operation execution module, a measurement and acquisition module of the OCV valve measurement and control device acquires the rotation speed and camshaft phase information of the engine driving the OCV valve to move, and then according to a target phase in the measurement and control instructions, an adjustment control signal for enabling a camshaft to move from a current phase to the target phase is acquired, so that the OCV. In the adjusting control, various performance parameters of the OCV valve, such as the current temperature, current, engine speed, camshaft phase, engine oil pressure and the like, can be collected, and the performance parameter standard of the OCV valve is combined, so that whether the performance of the OCV valve is qualified or not can be judged.

Finally, the invention also provides an OCV valve measurement and control system, the embodiment of which is shown in fig. 7, and the OCV valve measurement and control system comprises an OCV valve measurement and control device 20, an upper computer 10 and a CVCT mechanism 30; wherein:

the upper computer 10 issues a measurement and control instruction to the OCV valve measurement and control device 20;

the OCV valve measurement and control device 20 sets the working condition of an engine in the CVCT mechanism 30 through a motor frequency converter according to the measurement and control instruction so as to enable the engine to run and further drive the OCV valve to be measured in the CVCT mechanism to move;

the OCV valve measurement and control device 20 collects the current phase information of a camshaft of an engine in the CVCT mechanism and the rotating speed information of the engine;

the OCV valve measurement and control device 20 generates a control signal for controlling the movement of the OCV valve to be measured according to the collected phase information and the collected rotating speed information in combination with a measurement and control instruction, controls the movement of the OCV valve to be measured, and adjusts the phase of a camshaft of the engine in real time so as to adjust the valve timing of the engine;

the OCV valve measurement and control device 20 collects performance parameters of the OCV valve to be measured, and determines whether the performance of the OCV valve to be measured is qualified.

In the embodiment of the system, the OCV valve measurement and control device 20 mainly adopts a high-capacity and high-dominant-frequency MCU of a cortex M3 kernel of MM32F103xx series as a main control chip (main control module), a built-in Flash module and an RAM module are matched with abundant peripheral interfaces of the built-in Flash module and the RAM module, so that the use condition of the device can be completely met, and the use of a domestic embedded real-time operating system RT-Thread is combined, so that an embedded firmware program of the device is more modularized, the complexity of software development is greatly reduced, and later maintenance and upgrading are easy. The embedded software has clear architecture and modularized code encapsulation, and uniformly schedules a plurality of tasks by an embedded real-time operating system, wherein the tasks comprise a TCPServer monitoring task (used for monitoring and displaying an upper computer and participating in the calculation of control instruction parameters), an AD sampling task and a PID calculation task (adopting a PID regulation control signal); the method has the advantages that multiple real-time tasks such as relative phase sampling and calculating tasks, PWM control output tasks, motor start and stop and rotating speed control tasks and the like are distributed to each task, the corresponding priority level is distributed to the tasks with high priority levels, the tasks with low priority levels can be interrupted by the tasks with high priority levels, the real-time performance and the stability of the whole working process are guaranteed, software codes of the tasks are highly modularized, and the portability is high.

Preferably, in any of the above embodiments, the power lines used in the OCV valve measurement and control system or the OCV valve measurement and control device are RVVP power lines with shielding layers. In addition, because the motor can generate stronger magnetic field interference when running at high speed, a magnetic ring can be added on the power line of the power distribution cabinet to reduce EMI interference.

The OCV valve measurement and control method and the OCV valve measurement and control system of the present invention correspond to the OCV valve measurement and control device of the present invention, and the technical details of the embodiment of the OCV valve measurement and control device of the present invention are also applicable to the OCV valve measurement and control system and method of the present invention, and are not described again to reduce repetition.

The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.

It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:复合式电磁驱动全可变配气机构控制系统及其控制方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类