Voltage simulation test system and method of electromagnetic valve and terminal equipment
By using a parallel interface circuit and a voltage simulation device, the online testing problem of traditional solenoid valve voltage testing methods has been solved, enabling safe and accurate voltage simulation testing and improving testing accuracy and safety.
Patent Information
- Application Number
- CN202511071966.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-31
- Publication Date
- 2025-11-18
AI Technical Summary
Traditional methods for testing the voltage of solenoid valves require disconnecting the original circuit for testing, making online testing impossible, resulting in low simulation accuracy and potential safety hazards.
The system employs a parallel interface circuit and a voltage simulation device, including a bidirectional thyristor, a power adaptive circuit, and a control chip. Voltage simulation tests are performed through superimposed or independent power supply modes. Transient voltage suppression diodes and fuses are used for protection, and isolation and feedback circuits are used for signal isolation and acquisition.
This technology enables safe and accurate simulation testing of solenoid valve voltage without interrupting the field circuit, thus improving testing accuracy and safety.
Smart Images

Figure CN120971840A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of automation control, and particularly relates to a voltage simulation test system and method for an electromagnetic valve and terminal equipment. BACKGROUND
[0002] At present, the traditional voltage test method for an electromagnetic valve usually needs to disconnect the original circuit and externally connect an independent power supply, which has some problems in the application of automation control:
[0003] (1) Online test is impossible. In modern industrial production, continuous operation of equipment is crucial to improve production efficiency and reduce production cost. However, the traditional voltage test method for an electromagnetic valve usually requires shutdown and power-off to disconnect the original circuit and connect the test equipment, which seriously affects the continuity of production and increases downtime and production cost.
[0004] (2) Low simulation accuracy. The traditional voltage test method for an electromagnetic valve has limitations in simulating the actual working conditions of the electromagnetic valve. It often ignores the influence of actual working conditions such as field circuit impedance and power supply fluctuation on the performance of the electromagnetic valve, and cannot accurately simulate, resulting in deviation between the test results and the actual situation.
[0005] (3) Safety risk. The traditional voltage test method for an electromagnetic valve needs frequent wiring and disconnection, which increases the risk of loose or shorted contacts, which may cause equipment damage, personnel injury and other serious consequences. Therefore, the traditional voltage test method for an electromagnetic valve has great hidden dangers in safety. SUMMARY
[0006] The application provides a voltage simulation test system and method for an electromagnetic valve and terminal equipment, which can solve the problem of low test accuracy and high safety risk caused by the need to disconnect the original field circuit when testing the voltage of the electromagnetic valve by the existing method.
[0007] In a first aspect, the application provides a voltage simulation test system for an electromagnetic valve, which comprises a parallel interface circuit and a voltage simulation device, wherein
[0008] The parallel interface circuit comprises a bidirectional thyristor connected in parallel across the coil of the electromagnetic valve for adjusting the simulation voltage value output by the voltage simulation device; wherein the electromagnetic valve is an execution load of a field circuit, and the coil of the electromagnetic valve is connected with a field power supply in the field circuit;
[0009] The voltage simulation device comprises a power supply adaptive circuit and a control chip.
[0010] The input end of the power supply adaptive circuit is connected with the control chip, the output end of the power supply adaptive circuit is connected with the parallel interface circuit, and the power supply mode is determined according to the field power supply state of the field circuit where the electromagnetic valve is located, and the power supply mode is sent to the control chip; the power supply mode includes superimposed power supply mode and independent power supply mode.
[0011] The control chip is used for generating a pulse width modulation driving signal according to the power supply mode, and controlling the parallel interface circuit according to the pulse width modulation driving signal to perform voltage analog test on the electromagnetic valve.
[0012] In a possible implementation manner of the first aspect, the parallel interface circuit further includes a transient voltage suppression diode and a fuse, wherein,
[0013] The transient voltage suppression diode and the bidirectional thyristor constitute a first parallel circuit, and the first parallel circuit is connected in parallel across the coil of the electromagnetic valve.
[0014] The transient voltage suppression diode is used for absorbing a surge voltage of the field circuit or a reverse electromotive force generated when the coil of the electromagnetic valve is disconnected.
[0015] The fuse is connected in series between the first parallel circuit and the voltage analog device, and is used for short-circuit protection of the field circuit.
[0016] In a possible implementation manner of the first aspect, the voltage analog device includes an isolation and feedback circuit, wherein,
[0017] The input end of the isolation and feedback circuit is connected with the control chip, and the output end of the isolation and feedback circuit is connected with the parallel interface circuit, and the field circuit where the electromagnetic valve is located is isolated and a feedback signal is outputted.
[0018] The control chip is further used for collecting the feedback signal outputted by the isolation and feedback circuit to obtain a sampling signal, and generating an analog curve according to the sampling signal.
[0019] In a possible implementation manner of the first aspect, the power supply adaptive circuit includes a voltage detection circuit, a switching relay and a programmable power supply, wherein,
[0020] The voltage detection circuit is connected in parallel across the coil of the electromagnetic valve, is used for detecting the voltage across the coil of the electromagnetic valve to obtain a voltage detection result, and sends the voltage detection result to the control chip.
[0021] The switching relay is used for switching the power supply mode according to the voltage detection result sent by the control chip.
[0022] The programmable power supply is configured to output different voltages in the superimposed power supply mode or the independent power supply mode.
[0023] In a possible implementation manner of the first aspect, the control chip includes a microcontroller, a pulse width modulation driving circuit, and a sampling circuit, wherein
[0024] The microcontroller includes a pulse width modulation generator and an analog-to-digital conversion circuit, wherein the pulse width modulation generator is configured to generate a pulse width modulation signal, and the analog-to-digital conversion circuit is configured to perform conversion between an analog signal and a digital signal.
[0025] An input end of the pulse width modulation driving circuit is connected to the pulse width modulation generator, and an output end of the pulse width modulation driving circuit is connected to the bidirectional thyristor in the parallel interface circuit and the switching relay in the power supply adaptive circuit, so as to convert the pulse width modulation signal into the pulse width modulation driving signal and control the bidirectional thyristor or the switching relay according to the pulse width modulation driving signal.
[0026] An input end of the sampling circuit is connected to a Hall current sensor, and an output end of the sampling circuit is connected to the analog-to-digital conversion circuit in the microcontroller, so as to collect a feedback signal of the Hall current sensor and transmit the feedback signal to the analog-to-digital conversion circuit, wherein the Hall current sensor is configured to measure a current flowing through the electromagnetic valve coil.
[0027] In a possible implementation manner of the first aspect, the isolation and feedback circuit includes an optical coupling isolator and an isolation power supply, wherein
[0028] The optical coupling isolator is connected to the microcontroller, and is configured to transmit the pulse width modulation signal and the feedback signal to the microcontroller.
[0029] The isolation power supply is configured to provide independent power supply for the microcontroller and the Hall current sensor.
[0030] In a possible implementation manner of the first aspect, the voltage simulation device further includes a bleeder circuit, wherein
[0031] An input end of the bleeder circuit is connected to the control chip, and an output end of the bleeder circuit is connected to the parallel interface circuit, so as to bleed energy stored in the coil of the electromagnetic valve.
[0032] In a possible implementation manner of the first aspect, the bleeder circuit includes a bleeder transistor and a bleeder resistor, wherein
[0033] The bleed transistor is connected in parallel between the two ends of the solenoid of the electromagnetic valve, and the bleed transistor is connected in parallel with the transient voltage suppression diode.
[0034] The input end of the bleed resistor is connected with the source of the bleed transistor, and the output end of the bleed resistor is grounded.
[0035] In a possible implementation of the first aspect, the voltage simulation device further comprises a user interaction device, wherein,
[0036] The user interaction device is connected with the control chip, and is configured to display the voltage value, the current value and the working mode between the two ends of the solenoid of the electromagnetic valve in real time, and set the voltage simulation test parameters of the electromagnetic valve.
[0037] In the second aspect, the embodiments of the present application provide a voltage simulation test method of an electromagnetic valve, the voltage simulation test system of the electromagnetic valve is connected to the two ends of the solenoid of the electromagnetic valve in a field circuit, and the method comprises:
[0038] Obtaining the field power state of the field circuit;
[0039] If the field power state of the field circuit is powered, the simulation voltage value output by the voltage simulation test system of the electromagnetic valve is superimposed into the field voltage of the field circuit to obtain a first simulation voltage value, and the electromagnetic valve in operation is subjected to a first simulation test through the first simulation voltage value to obtain a first simulation curve;
[0040] If the field power state of the field circuit is unpowered, the electromagnetic valve is subjected to a second simulation test through the simulation voltage value output by the voltage simulation test system of the electromagnetic valve to obtain a second simulation curve; wherein the first simulation test and the second simulation test comprise excitation process simulation, de-excitation process simulation and fault working condition simulation.
[0041] In a possible implementation of the second aspect, in the process of simulating the excitation process of the electromagnetic valve, the method comprises:
[0042] According to a preset excitation simulation requirement, an excitation simulation voltage value corresponding to the preset excitation simulation requirement is determined;
[0043] According to the field power state of the field circuit and the excitation simulation voltage value, a first target simulation voltage value between the two ends of the solenoid of the electromagnetic valve is determined;
[0044] The voltage between the two ends of the solenoid of the electromagnetic valve is increased from zero voltage to the first target simulation voltage value according to a preset voltage increasing condition, and the excitation process simulation of the electromagnetic valve is performed;
[0045] The control chip in the voltage simulation test system of the electromagnetic valve collects a first feedback signal of a Hall current sensor in the isolation and feedback circuit, and generates an excitation process simulation curve, wherein the first feedback signal is obtained by measuring a current flowing through both ends of a coil of the electromagnetic valve by the Hall current sensor in the excitation process.
[0046] In a possible implementation of the second aspect, in the process of simulating the de-excitation process of the electromagnetic valve, the method comprises:
[0047] In the case that the electromagnetic valve is excited to a preset attraction state, a power supply of the electromagnetic valve is cut off according to a power-off instruction issued by the control chip in the voltage simulation test system of the electromagnetic valve, so as to turn on a bleeding transistor in a bleeding circuit in the voltage simulation test system of the electromagnetic valve.
[0048] The control chip in the voltage simulation test system of the electromagnetic valve collects a second feedback signal of the Hall current sensor in the isolation and feedback circuit, and generates a de-excitation process simulation curve, wherein the second feedback signal is obtained by measuring a current flowing through both ends of the coil of the electromagnetic valve by the Hall current sensor in the de-excitation process.
[0049] In a possible implementation of the second aspect, in the process of simulating the fault working condition of the electromagnetic valve, the method comprises:
[0050] According to a preset fault type, a fault simulation voltage value corresponding to the preset fault type is determined.
[0051] According to a field power supply state of the field circuit and the fault simulation voltage value, a third target simulation voltage value between both ends of the coil of the electromagnetic valve is determined.
[0052] The third target simulation voltage value is output to both ends of the coil of the electromagnetic valve, and the fault working condition of the electromagnetic valve is simulated to generate a fault working condition simulation curve.
[0053] In a third aspect, an embodiment of the present application provides a terminal device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the voltage simulation test method of the electromagnetic valve according to any one of the above aspects when executing the computer program.
[0054] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executable by a processor to implement the voltage simulation test method of the electromagnetic valve according to any one of the above aspects.
[0055] In a fifth aspect, the embodiments of the present application provide a computer program product, which, when running on a terminal device, causes the terminal device to perform the voltage simulation test method of the solenoid valve according to any one of the first aspect.
[0056] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0057] The embodiments of the present application provide a voltage simulation test system of a solenoid valve, which comprises a parallel interface circuit and a voltage simulation device. The parallel interface circuit comprises a bidirectional thyristor connected in parallel across the coil of the solenoid valve, and is used to adjust the simulation voltage value output by the voltage simulation device. The solenoid valve is an execution load of a field circuit, and the coil of the solenoid valve is connected with a field power supply in the field circuit. The voltage simulation device comprises a power supply adaptive circuit and a control chip. The input end of the power supply adaptive circuit is connected with the control chip, and the output end of the power supply adaptive circuit is connected with the parallel interface circuit. The power supply adaptive circuit is used to determine a power supply mode according to the field power supply state of the field circuit where the solenoid valve is located, and send the power supply mode to the control chip. The power supply mode comprises a superimposed power supply mode and an independent power supply mode. The control chip is used to generate a pulse width modulation driving signal according to the power supply mode, and control the parallel interface circuit according to the pulse width modulation driving signal, so as to perform voltage simulation test on the solenoid valve. The system can safely and accurately perform voltage simulation test without cutting off the original field circuit where the solenoid valve is located. BRIEF DESCRIPTION OF DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0059] Figure 1 is a structural schematic diagram of a voltage simulation test system of a solenoid valve provided by an embodiment of the present application;
[0060] Figure 2 is a structural schematic diagram of a power supply adaptive circuit provided by an embodiment of the present application;
[0061] Figure 3 is a structural schematic diagram of a control chip provided by an embodiment of the present application;
[0062] Figure 4 is a structural schematic diagram of an electric isolation and feedback circuit provided by an embodiment of the present application;
[0063] Figure 5is a structural schematic diagram of a bleed circuit provided by an embodiment of the present application;
[0064] Figure 6 is a flow schematic diagram of a voltage simulation test method of a solenoid valve provided by an embodiment of the present application;
[0065] Figure 7 is a schematic diagram of a voltage / current waveform theoretical curve of a solenoid valve provided by an embodiment of the present application;
[0066] Figure 8 is a structural schematic diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0067] In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular sequences of steps, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known methods, devices, circuits, and
[0068] It should be understood that the term "comprises" when used in this specification and the appended claims indicates the presence of the described features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0069] It should also be understood that the term "and / or" when used in this specification and the appended claims, means any one or more of the associated listed items can be present, and includes multiples of any one or more of the associated listed items.
[0070] As used in this specification and the appended claims, the term "if" can be interpreted as meaning "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [a described condition or event] is detected" can be interpreted as meaning "upon determining" or "in response to determining" or "upon detecting [the described condition or event]" or "in response to detecting [the described condition or event]," depending on the context.
[0071] In addition, in the description of the specification and the appended claims, the terms "first", "second", "third", etc. are used only to distinguish descriptions, and cannot be understood as indicating or implying relative importance.
[0072] Reference to "one embodiment" or "some embodiments" or "one implementation" or "some implementations" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. The appearances of the phrase "in one embodiment" or "in some embodiments" or "in one implementation" or "in some implementations" in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily referring to some, but not all, embodiments. The terms "including," "comprising," "having" and variations thereof are meant to encompass the items listed thereafter, but do not exclude other items from being present. The terms "a" and "an" are meant to encompass one or more items.
[0073] Referring to Figure 1 , Figure 1 is a structural schematic diagram of a voltage simulation test system of an electromagnetic valve provided by an embodiment of the present application. The voltage simulation test system 1 of the electromagnetic valve comprises a parallel interface circuit 10 and a voltage simulation device 20.
[0074] The parallel interface circuit 10 comprises a bidirectional thyristor 101 connected in parallel across the coil of the electromagnetic valve 30, for adjusting the analog voltage value output by the voltage simulation device 20; the electromagnetic valve 30 is an execution load of a field circuit, and the coil of the electromagnetic valve 30 is connected with a field power supply 40 in the field circuit.
[0075] The voltage simulation device 20 comprises a power supply adaptive circuit 201 and a control chip 202.
[0076] The input end of the power supply adaptive circuit 201 is connected with the control chip 202, and the output end of the power supply adaptive circuit 201 is connected with the parallel interface circuit 10, for determining a power supply mode according to the field power supply state of the field circuit where the electromagnetic valve 30 is located, and sending the power supply mode to the control chip 202; the power supply mode comprises a superimposed power supply mode and an independent power supply mode.
[0077] The control chip 202 is configured to generate a pulse width modulation driving signal according to the power supply mode, and control the parallel interface circuit 10 according to the pulse width modulation driving signal to perform voltage simulation test on the electromagnetic valve 30.
[0078] The voltage simulation test system 1 of the electromagnetic valve is a system for performing voltage simulation test on the electromagnetic valve, and can simulate different voltage conditions by specific circuit design and device combination, so as to evaluate the performance of the electromagnetic valve under various voltage environments. The voltage simulation test system 1 of the electromagnetic valve can help the tester to understand the working characteristics of the electromagnetic valve under different voltages, such as response time, attraction and release characteristics, so as to optimize the design of the electromagnetic valve and troubleshoot potential problems of the electromagnetic valve.
[0079] The field circuit is a working circuit where the solenoid valve is located. The field circuit has a field power supply 40, which provides power for the field circuit and the solenoid valve 30. The solenoid valve 30 is a valve that controls fluid flow by using electromagnetic force, which is usually composed of an electromagnetic coil, a core, a valve body, and a valve flap. The solenoid valve 30 can receive an electrical signal from the voltage simulation device 20 and convert electrical energy into mechanical energy to achieve fluid on-off, direction switching, or flow regulation. The solenoid valve 30 is the test object in the voltage simulation test system 1 of the solenoid valve, and is the execution load in the field circuit. By applying different voltages to the solenoid valve 30, the excitation and de-excitation characteristics of the solenoid valve can be tested, as well as the working stability and reliability under different voltages.
[0080] The parallel interface circuit 10 is a component that connects the solenoid valve 30 and the voltage simulation device 20. The parallel interface circuit 10 includes a bidirectional thyristor 101, which is connected in parallel across the solenoid valve 30 coil and serves as a connection and voltage regulation. The bidirectional thyristor 101, as the main switching element in the parallel interface circuit 10, can support bidirectional current control and allow the voltage simulation device 20 to superimpose or inject voltage when the original field circuit where the solenoid valve 30 is located is powered on or powered off. In this embodiment, the withstand voltage of the bidirectional thyristor 101 needs to be higher than the maximum voltage of the field circuit, and the rated current of the bidirectional thyristor 101 needs to be greater than the maximum working current of the solenoid valve 30.
[0081] The voltage simulation device 20 is the core part of the voltage simulation test system 1 of the solenoid valve, which can generate and output different sizes and waveforms of simulated voltage values, thereby simulating the working characteristics of the solenoid valve 30 under different voltage conditions.
[0082] The voltage simulation device 20 comprises a power supply adaptive circuit 201 and a control chip 202. The power supply adaptive circuit 201 is used to monitor the power supply state of the field circuit where the electromagnetic valve 30 is located in real time, and automatically adjust the power supply mode and output voltage according to the voltage requirement of the electromagnetic valve 30. When the power supply state is power on, the power supply mode is determined as the superimposed power supply mode; when the power supply state is power off, the power supply mode is determined as the independent power supply mode. After determining the power supply mode, the power supply adaptive circuit 201 sends the power supply mode to the control chip 202, so that the control chip 202 adjusts the corresponding control strategy according to different power supply modes. The superimposed power supply mode is a power supply mode, in which multiple power supply modules may supply power to the electromagnetic valve 30 together, and the output voltages of the power supply modules are superimposed through specific circuit design to meet the specific voltage requirement. The independent power supply mode is another power supply mode, in which the electromagnetic valve is independently powered by a single power supply (such as a programmable power supply 2013), which can output corresponding voltage values according to the working state and requirement of the electromagnetic valve 30, without voltage superimposition with other power supplies.
[0083] After receiving the power supply mode information sent by the power supply adaptive circuit 201, the control chip 202 can generate a corresponding pulse width modulation (PWM) drive signal according to the mode, and then send the generated PWM drive signal to the parallel interface circuit 10, so as to control the conduction and turn-off of the bidirectional thyristor 101, thereby realizing accurate control of the coil current of the electromagnetic valve 30, and further controlling the opening, closing and action speed of the electromagnetic valve. The duty ratio, frequency and other parameters of the PWM signal are accurately adjusted according to the power supply mode and the working requirement of the electromagnetic valve 30. The control chip 202, as the main part of the voltage simulation device 20, is responsible for coordinating and controlling the work of each component, to ensure that the electromagnetic valve 30 can accurately and stably perform simulation test according to the preset requirement.
[0084] In this embodiment, the bidirectional thyristor 101 is connected in parallel across the coil of the electromagnetic valve, so that the voltage simulation test of the electromagnetic valve can be realized without modifying the original field circuit.
[0085] The parallel interface circuit 10 plays a role of connection and voltage regulation in the voltage simulation test system 1 of the electromagnetic valve, which can ensure that the simulation voltage value output by the voltage simulation device 20 is applied to the coil of the electromagnetic valve 30 in the expected manner, and also ensure the safe and stable operation of the circuit.
[0086] It can be understood that the embodiment of the application provides a voltage simulation test system of a solenoid valve, the system comprising a parallel interface circuit, a voltage simulation device, wherein the parallel interface circuit comprises a bidirectional thyristor, the bidirectional thyristor being connected in parallel across the coil of the solenoid valve, and being used for adjusting the analog voltage value output by the voltage simulation device; wherein the solenoid valve is an execution load of a field circuit, and the coil of the solenoid valve is connected with a field power supply in the field circuit. The voltage simulation device comprises a power supply adaptive circuit and a control chip; wherein the input end of the power supply adaptive circuit is connected with the control chip, and the output end of the power supply adaptive circuit is connected with the parallel interface circuit, and is used for determining a power supply mode according to the field power supply state of the field circuit where the solenoid valve is located, and sending the power supply mode to the control chip; the power supply mode comprises a superimposed power supply mode and an independent power supply mode; the control chip is used for generating a pulse width modulation driving signal according to the power supply mode, and controlling the parallel interface circuit according to the pulse width modulation driving signal, so as to perform voltage simulation test on the solenoid valve. The system can safely and accurately perform voltage simulation test without cutting off the original field circuit where the solenoid valve is located.
[0087] In some examples, as shown in FIG. 1, the parallel interface circuit 10 further comprises a transient voltage suppression diode 102 and a fuse 103. Figure 1
[0088] The transient voltage suppression diode 102 and the bidirectional thyristor 101 constitute a first parallel circuit, and the first parallel circuit is connected in parallel across the coil of the solenoid valve 30.
[0089] The transient voltage suppression diode 102 is used for absorbing the surge voltage of the field circuit or the reverse electromotive force generated when the coil of the solenoid valve 30 is disconnected.
[0090] The fuse 103 is connected in series between the first parallel circuit and the voltage simulation device 20, and is used for short-circuit protection of the field circuit.
[0091] The transient voltage suppression diode (TVS) 102 is a high-efficiency protection device in the form of a diode, has an extremely fast response time and a relatively high surge absorption capacity. When the two ends of the transient voltage suppression diode 102 are subjected to instantaneous high-energy impact, the transient voltage suppression diode 102 can suddenly reduce its impedance at an extremely high speed, and at the same time, absorb a large current, limit the voltage between its two ends to a predetermined value, so as to ensure that the subsequent circuit elements are not damaged by the impact of the energy.
[0092] In the embodiment, the transient voltage suppression diode 102 is connected in parallel with the solenoid 30, and the transient voltage suppression diode 102 and the triac 101 can form a first parallel circuit. The transient voltage suppression diode 102 can absorb the surge voltage in the field circuit or the reverse electromotive force generated when the solenoid 30 is disconnected. The surge voltage refers to the transient overvoltage occurring in the field circuit, which can be caused by external factors (such as lightning, power grid switching) or internal factors (such as inductive load power-off, switch operation). The reverse electromotive force is generated due to the inductive characteristic when the solenoid is powered off.
[0093] The fuse 103 is an overcurrent protection device. The fuse 103 mainly includes a fuse body and a fuse tube. When a short circuit or a serious overload occurs in the circuit, a large amount of heat is generated in the fuse body, so that the temperature of the fuse body rapidly rises. When the temperature reaches the melting point of the fuse body, the fuse body melts, thereby cutting off the circuit and protecting the circuit. In the embodiment, the fuse 103 is connected in series between the first parallel circuit and the voltage simulation device 20, so that the short circuit of the field circuit caused by the internal failure of the voltage simulation device 20 can be prevented.
[0094] It should be understood that, by the cooperation of the triac, the transient voltage suppression diode, and the fuse, the parallel interface circuit can effectively protect the voltage simulation device and improve the reliability and safety of the voltage simulation test system of the solenoid valve.
[0095] In some examples, as shown in Figure 1 the voltage simulation device 20 includes an isolation and feedback circuit 203.
[0096] The input end of the isolation and feedback circuit 203 is connected with the control chip 202, and the output end of the isolation and feedback circuit 203 is connected with the parallel interface circuit 10, so as to isolate the field circuit in which the solenoid valve 30 is located and output a feedback signal.
[0097] The control chip 202 is further configured to collect the feedback signal output by the isolation and feedback circuit 203 to obtain a sampling signal, and generate a simulation curve according to the sampling signal.
[0098] The isolation and feedback circuit 203 can electrically isolate the field circuit in which the solenoid valve 30 is located from other parts of the voltage simulation device 20. The electrical isolation can effectively prevent the interference signals (such as electromagnetic interference and voltage fluctuation) in the field circuit from entering the voltage simulation device 20, so as to protect the sensitive components such as the control chip 202 from being damaged, and improve the stability and reliability of the whole system. The electrical isolation can also play a safety protection role, so as to avoid the harm to the voltage simulation device 20 and the test personnel caused by the failure in the field circuit.
[0099] The isolation and feedback circuit 203 can also monitor the working state of the electromagnetic valve 30 in real time, convert the corresponding state information into feedback signals for output, and feed the feedback signals back to the control chip 202, so that closed-loop control can be achieved. The control chip 202 adjusts the pulse width modulation driving signal in real time according to the feedback signal, so that the working state of the electromagnetic valve 30 is maintained within the expected range, thereby improving the precision and stability of the control.
[0100] The control chip 202 can also collect the feedback signals output by the isolation and feedback circuit 203 in real time. These feedback signals contain various information of the coil of the electromagnetic valve 30 during the working process, such as the coil current, voltage, action state of the electromagnetic valve, etc. The control chip 202 can generate analog curves of the voltage across the coil of the electromagnetic valve 30 by processing and analyzing the collected feedback signals. These analog curves can directly reflect the performance of the electromagnetic valve under different working conditions, such as voltage variation, response time, etc., providing an important basis for subsequent fault diagnosis and performance optimization.
[0101] It should be understood that the power supply adaptive circuit, the control chip and the isolation and feedback circuit in the voltage simulation device cooperate with each other to complete the accurate control and monitoring of the electromagnetic valve. The power supply adaptive circuit determines the power supply mode according to the field power state of the field circuit to provide appropriate power supply for the electromagnetic valve; the control chip generates a PWM driving signal according to the power supply mode to control the parallel interface circuit to drive the electromagnetic valve and collect feedback signals to generate analog curves; the isolation and feedback circuit outputs the feedback signals to ensure the stability and reliability of the system. Through the above-mentioned cooperation, the voltage simulation device 20 can adapt to different field environments to provide accurate and stable control for the electromagnetic valve.
[0102] In some examples, as shown in Figure 2 , the power supply adaptive circuit 201 includes a voltage detection circuit 2011, a switching relay 2012 and a programmable power supply 2013. Figure 2 is a structural schematic diagram of a power supply adaptive circuit provided by an embodiment of the present application. Figure 2 The voltage detection circuit 2011 is connected in parallel across the coil of the electromagnetic valve 30, and is used to detect the voltage across the coil of the electromagnetic valve 30 to obtain a voltage detection result, and send the voltage detection result to the control chip 202.
[0103] The switching relay 2012 is used to switch the power supply mode according to the voltage detection result sent by the control chip 202.
[0104] The programmable power supply 2013 is used to output different voltages in the superimposed power supply mode or the independent power supply mode.
[0105] The programmable power supply 2013 is used to output different voltages in the superimposed power supply mode or the independent power supply mode.
[0106] The key components in the power supply adaptive circuit 201 include a voltage detection circuit 2011, a switching relay 2012, and a programmable power supply 2013. The voltage detection circuit 2011 is connected in parallel across the coil of the electromagnetic valve 30, and mainly detects the voltage value across the coil of the electromagnetic valve 30 in real time through a differential amplifier. By measuring the potential difference across the coil, accurate voltage information is obtained. In this embodiment, a preset voltage threshold is set, and the voltage threshold is compared with the voltage value across the coil of the electromagnetic valve 30 to determine the final voltage detection result. If the voltage value across the coil of the electromagnetic valve 30 is greater than the preset voltage threshold (e.g., 5V), it is determined that the voltage detection result is that the field power supply of the field circuit has power. If the voltage value across the coil of the electromagnetic valve 30 is less than or equal to the preset voltage threshold (e.g., 5V), it is determined that the voltage detection result is that the field power supply of the field circuit has no power. Then, the obtained voltage detection result is sent to the control chip 202, so that the control chip 202 makes a corresponding control decision according to the detection result.
[0107] The switching relay 2012 is an electrical control element that can switch different power supply modes according to the control instructions sent by the control chip 202. The switching relay 2012 contains a contact system inside, and by controlling the on-off state of the contacts, the switching of the power supply circuit can be realized.
[0108] The programmable power supply 2013 is a power supply device that can flexibly set the output voltage. The programmable power supply 2013 can output different voltage values in the superimposed power supply mode or the independent power supply mode according to the control signal. The programmable power supply 2013 has high flexibility and programmability, and can output different voltage values in a wide range to provide stable and suitable power supply for the electromagnetic valve to simulate different working conditions of the electromagnetic valve. It should be noted that an overcurrent protection module is provided inside the programmable power supply 2013 to prevent damage to the power supply due to coil short circuit. In the programmable power supply 2013, an H-bridge topology is used to realize the switching of the polarity of the power supply, and reverse voltage injection is supported to accelerate demagnetization. The H-bridge topology is a circuit architecture composed of four switching elements (such as metal oxide semiconductor field effect transistors MOSFET, insulated gate bipolar transistors IGBT, or relays), which can control the bidirectional flow of current and realize the excitation and demagnetization process of the electromagnetic valve. In the voltage simulation test of the electromagnetic valve, the H-bridge can be used to dynamically adjust the voltage polarity, support forward excitation, reverse demagnetization, and generation of complex waveforms.
[0109] Specifically, when the voltage detection circuit 2011 detects that the field power supply of the field circuit has electricity, under the control of the control chip 202, the switching relay 2012 will switch to the superimposed power supply mode, and the power supply adaptive circuit 201 will superimpose the power supply provided by the programmable power supply 2013 on the field power supply to act on both ends of the coil of the electromagnetic valve 30, so as to meet the voltage or current demand of the electromagnetic valve 30 under specific working conditions. When the voltage detection circuit 2011 detects that the field power supply of the field circuit has no electricity, under the control of the control chip 202, the switching relay 2012 will switch to the independent power supply mode, and the power supply adaptive circuit 201 will independently provide power supply for the electromagnetic valve 30 through the programmable power supply 2013, so as to meet the voltage or current demand required by the simulation test of the electromagnetic valve 30 under different voltage conditions.
[0110] It should be noted that a passive filter can also be connected in series at the output end of the power supply to suppress high-frequency noise interference.
[0111] In some examples, as shown in Figure 3 , the control chip 202 includes a microcontroller 2021, a pulse width modulation driving circuit 2022, and a sampling circuit 2023. Figure 3 is a structural schematic diagram of a control chip provided by an embodiment of the present application. Figure 3 The control chip 202 includes a microcontroller 2021, a pulse width modulation driving circuit 2022, and a sampling circuit 2023.
[0112] The microcontroller 2021 includes a pulse width modulation generator 401 and an analog-to-digital conversion circuit 402. The pulse width modulation generator 401 is configured to generate a pulse width modulation signal, and the analog-to-digital conversion circuit 402 is configured to convert an analog signal into a digital signal.
[0113] The input end of the pulse width modulation driving circuit 2022 is connected to the pulse width modulation generator 401, and the output end of the pulse width modulation driving circuit 2022 is connected to the bidirectional thyristor 101 in the parallel interface circuit 10 and the switching relay 2012 in the power supply adaptive circuit 201, and is configured to convert the pulse width modulation signal into a pulse width modulation driving signal and control the bidirectional thyristor 101 or the switching relay 2012 according to the pulse width modulation driving signal.
[0114] The input end of the sampling circuit 2023 is connected to the Hall current sensor 2031 in the isolation and feedback circuit 203, and the output end of the sampling circuit 2023 is connected to the analog-to-digital conversion circuit 402 in the microcontroller 2021, and is configured to collect a feedback signal of the Hall current sensor 2031 and transmit the feedback signal to the analog-to-digital conversion circuit 402; wherein the Hall current sensor 2031 is configured to measure the current flowing through the coil of the electromagnetic valve 30.
[0115] In the present embodiment, the key components in the control chip 202 include a microcontroller 2021, a pulse width modulation driving circuit 2022, and a sampling circuit 2023. The control chip 202 can run a real-time operating system (such as FreeRTOS) to manage multiple tasks, such as dynamic model calculation (field curve, loss of excitation curve), duty cycle adjustment of pulse width modulation PWM signal, fault injection logic control, etc.
[0116] The microcontroller 2021 is a computer chip integrating processor, memory, input / output interface, etc. The microcontroller 2021 as the core control chip in the control chip 202 is built-in with a pulse width modulation generator 401 and an analog-to-digital conversion circuit 402. The pulse width modulation generator 401 can generate a pulse width modulation (PWM) signal. The PWM signal is a pulse signal with a fixed frequency but a variable duty cycle, and the average power of the output signal can be adjusted by changing the duty cycle of the PWM signal. In the present embodiment, the PWM signal is generated by the pulse width modulation generator 401, and the duty cycle of the PWM signal is adjusted to control the driving of the electromagnetic valve 30. The analog-to-digital conversion circuit 402 can realize the conversion between analog and digital signals. In actual application, the signal output by the sensor is an analog signal, and the internal processing of the microcontroller is a digital signal. The analog signal output by the sensor can be converted into a digital signal by the analog-to-digital conversion circuit 402, so that the microcontroller 2021 can process and analyze it.
[0117] The input end of the pulse width modulation driving circuit 2022 is connected with the pulse width modulation generator 401 in the microcontroller 2021, and can receive the PWM signal generated by the pulse width modulation generator 401. The output end of the pulse width modulation driving circuit 2022 can be connected with the bidirectional thyristor 101 in the parallel interface circuit 10 and the switching relay 2012 in the power adaptive circuit 201, and can convert the received PWM signal into a pulse width modulation driving signal suitable for driving the bidirectional thyristor 101 or the switching relay 2012. According to the characteristics of the driving signal, the conduction and shutdown of the bidirectional thyristor 101 or the contact switching of the switching relay 2012 are controlled, so as to realize the control of the bidirectional thyristor 101 or the switching relay 2012. In the present embodiment, the pulse width modulation driving circuit 2022 can use a MOSFET transistor driver to convert the PWM signal generated in the microcontroller 2021 into a high-power driving signal to control the bidirectional thyristor 101 or the switching relay 2012.
[0118] The input terminal of the sampling circuit 2023 is connected to the Hall current sensor 2031 in the isolation and feedback circuit 203, allowing the acquisition of the feedback signal output by the Hall current sensor 2031. The Hall current sensor 2031 utilizes the Hall effect principle to non-contactly measure the current flowing through the coil of the solenoid valve 30. When current flows through the coil, a magnetic field is generated around it. The Hall current sensor 2031 detects the magnitude of this magnetic field and converts it into a corresponding electrical signal for output. In this embodiment, by monitoring the current in the solenoid valve coil in real time through the Hall current sensor 2031, feedback signals can be provided to the system. This allows the control chip 202 to control and adjust the system based on the current magnitude, thereby determining whether the solenoid valve 30 is operating normally and whether overcurrent has occurred.
[0119] The output of the sampling circuit 2023 is connected to the analog-to-digital converter circuit 402 in the microcontroller 2021. The collected feedback signal can be transmitted to the analog-to-digital converter circuit 402 to convert the analog signal into a digital signal that the microcontroller 2021 can process, so that the microcontroller 2021 can accurately control and adjust the system according to the feedback signal, thereby generating an analog curve.
[0120] It should be noted that in this embodiment, a resistor-capacitor filter circuit can also be connected in series in the pulse width modulation drive circuit 2022 to convert the PWM signal into a smooth analog voltage value. The sampling circuit 2023 can acquire data from the Hall current sensor or the voltage sensor through a 16-bit ADC, with an accuracy of ±1%. An anti-aliasing filter (such as a second-order low-pass filter with a cutoff frequency of 1kHz) can also be configured in the input channel of the sampling circuit 2023 to filter the acquired signal.
[0121] In some examples, such as Figure 4 As shown, Figure 4 This is a schematic diagram of an electrical isolation and feedback circuit provided in an embodiment of this application. Figure 4 In the middle, the isolation and feedback circuit 203 also includes an optocoupler isolator 2032 and an isolation power supply 2033.
[0122] Among them, the optocoupler 2032 is connected to the microcontroller 2021 and is used to transmit the pulse width modulation signal and the feedback signal to the microcontroller 2021.
[0123] The isolated power supply 2033 is used to provide independent power to the microcontroller 2021 and the Hall current sensor 2031.
[0124] In this embodiment, the isolation and feedback circuit 203 can ensure the electrical isolation of the analog device and the field circuit, and ensure the safety of the system. The key components in the isolation and feedback circuit 203 also include an optocoupler 2032 and an isolation power supply 2033. The optocoupler 2032 is a device that transmits electrical signals through light as a medium. By using the optical coupling characteristics between the light-emitting diode and the photosensitive triode, when there is an electrical signal at the input end, the light-emitting diode emits light, and the photosensitive triode is turned on under the irradiation of light, thereby realizing the conversion and transmission of electrical signals to optical signals and then to electrical signals. In this embodiment, the optocoupler 2032 is connected with the microcontroller 2021, and can transmit the PWM signal and the feedback signal. Specifically, the optocoupler 2032 can safely transmit the pulse width modulation signal generated from the pulse width modulation generator 401 to the microcontroller 2021, ensuring that the PWM signal is not disturbed by external electrical interference during transmission. The feedback signal collected by the Hall current sensor 2031 and the like can also be transmitted to the microcontroller 2021, realizing the electrical isolation between the input and output circuits and improving the stability and reliability of the system.
[0125] In the voltage analog test system of the electromagnetic valve, different parts of the circuit may have different requirements for the power supply, or in order to avoid mutual interference between circuits, an isolation power supply can be used. The isolation power supply 2033 can use a DC-DC isolation module to provide stable and independent power supply (such as 5V, isolation voltage > 1500V) for the microcontroller 2021 and the Hall current sensor 2031, which can ensure their normal work and improve the anti-interference ability and safety of the system.
[0126] It should be understood that in the voltage analog test system of the electromagnetic valve, all signals are transmitted through the optocoupler, which can avoid common-mode interference and improve the stability and safety of the system.
[0127] In some examples, as shown in Figure 1 the voltage analog device 20 further comprises a bleeder circuit 204.
[0128] The input end of the bleeder circuit 204 is connected with the control chip 202, and the output end of the bleeder circuit 204 is connected with the parallel interface circuit 10, which is used for bleeding the energy stored in the coil of the electromagnetic valve 30.
[0129] When the electromagnetic valve 30 is powered off or in a specific working state switching, a certain amount of energy will be stored in the coil of the electromagnetic valve 30, and if not discharged in time, overvoltage, electromagnetic interference and other problems may occur, affecting the stability and reliability of the circuit, and other components may also be damaged. Therefore, the voltage simulation device 20 can also be provided with a discharge circuit 204. The input end of the discharge circuit 204 is connected with the control chip 202, and the output end of the discharge circuit is connected with the parallel interface circuit 10, which can discharge the energy stored in the coil of the electromagnetic valve 30, so as to quickly consume the energy stored in the coil of the electromagnetic valve 30 when simulating the de-excitation of the coil of the electromagnetic valve 30, and control the decay rate of the magnetic field. It should be understood that the discharge circuit 204 can release the energy in the coil in the form of heat energy and the like through a specific circuit structure and components, so as to ensure the safe and stable operation of the circuit.
[0130] In some examples, as shown in Figure 5 Figure 5 is a structure diagram of a discharge circuit provided in an embodiment of the present application. Figure 5 In the embodiment, the discharge circuit 204 includes a discharge transistor 2041 and a discharge resistor 2042.
[0131] The discharge transistor 2041 is connected in parallel across the coil of the electromagnetic valve 30, and the discharge transistor 2041 is connected in parallel with the transient voltage suppression diode 102.
[0132] The input end of the discharge resistor 2042 is connected with the source of the discharge transistor 2041, and the output end of the discharge resistor 2042 is grounded.
[0133] In the embodiment, the key components in the discharge circuit 204 can include the discharge transistor 2041 (discharge MOSFET). The discharge transistor 2041 can be selected from N-channel MOSFET with low on-resistance, and the discharge transistor 2041 is connected in parallel across the coil of the electromagnetic valve 30, and the discharge transistor 2041 is also connected in parallel with the transient voltage suppression diode 102. In the discharge circuit 204, the discharge transistor 2041 plays a role of switch and control, such as in the normal excitation process, the control chip controls the discharge transistor 2041 to be turned off; in the simulation of de-excitation process, the control chip 202 sends a control signal related to energy discharge, and the discharge transistor 2041 is turned on, providing a discharge channel for the energy stored in the coil of the electromagnetic valve 30, and the coil current is quickly attenuated through the discharge resistor. By controlling the turn-on and turn-off of the discharge transistor, the timing and process of energy discharge can be accurately controlled.
[0134] The bleed resistor 2042 is an energy consumption element in the bleed circuit 204. When the bleed transistor 2041 is turned on, the energy stored in the coil of the electromagnetic valve 30 forms a loop through the bleed transistor 2041 and the bleed resistor 2042, and the energy is consumed in the form of heat on the bleed resistor 2042, thereby achieving energy bleeding. The resistance value of the bleed resistor 2042 will affect the speed and efficiency of energy bleeding, and a suitable resistance value can be selected according to the actual situation. The resistance value of the bleed resistor 2042 can be calculated according to the inductance of the coil of the electromagnetic valve 30, and the calculation formula is as follows wherein R represents the resistance value of the bleed resistor, L represents the inductance value of the coil of the electromagnetic valve, and t represents the target bleeding time.
[0135] It should be noted that the transient voltage suppression diode 102 provides secondary protection for the bleed circuit 204 to prevent voltage spikes during the bleeding process.
[0136] In some examples, as shown in Figure 1 , the voltage simulation device 20 further comprises a user interaction device 205.
[0137] The user interaction device 205 is connected with the control chip 202, and is configured to display the voltage value, current value and working mode of the coil of the electromagnetic valve 30 in real time, and set the voltage simulation test parameters of the electromagnetic valve 30.
[0138] As shown in Figure 1 , the voltage simulation device 20 further comprises a user interaction device 205, which can provide a user interface for displaying the voltage value, current value and working mode of the coil of the electromagnetic valve 30 in real time, so that the tester can understand the working condition of the electromagnetic valve in real time, and adjust or optimize according to the actual demand. The user interface provided by the user interaction device 205 can also allow the tester to set the voltage simulation test parameters of the electromagnetic valve 30, such as the test voltage range, the duty cycle and frequency of the pulse width modulation signal, and the fault injection parameters (such as the drop amplitude and duration), so that the tester can flexibly adjust these test parameters according to different test requirements.
[0139] The user interaction device 205 communicates with the control chip 202 through a serial communication bus RS-485 or a controller area network CAN bus, and can obtain various data in the voltage simulation test process, such as voltage value, current value and working mode, and can display the simulation curves generated in the simulation test process in the form of dynamic graphics or curves.
[0140] It should be understood that through the real-time display and parameter setting function of the user interaction device, the tester can quickly understand the working state of the electromagnetic valve and the test progress, timely adjust the test parameters, improve the test efficiency, and also can make the tester timely discover abnormal conditions and handle them, ensure the accuracy of the test results, and also improve the use experience.
[0141] It can be understood that the voltage simulation test system of the electromagnetic valve provided by the application has the following advantages: (1) The bidirectional thyristor is connected in parallel to the two ends of the coil of the electromagnetic valve, without the need to cut off the original field circuit, so that "on-line connection" can be realized, avoiding the contact aging and downtime loss caused by frequent disconnection in the traditional voltage simulation test of the electromagnetic valve. At the same time, it can also be compatible with alternating current electromagnetic valves and direct current electromagnetic valves, and support adaptive access in scenarios with electric field and scenarios without electric field. (2) Based on the inductance characteristics of the electromagnetic valve, a dynamic model is constructed, and real-time adjustment voltage waveform is output through a pulse modulation generator PWM or a digital-to-analog converter DAC to accurately simulate the excitation process, de-excitation process and fault mode. (3) The state of the two ends of the coil of the electromagnetic valve is monitored in real time through the built-in isolation type current sensor and voltage sensor (such as a Hall sensor); the electrical isolation between the voltage simulation device and the field circuit is ensured through optical coupling isolation to avoid interference or damage. (4) The voltage detection circuit and the programmable power supply are integrated, and the working mode is automatically switched according to the field power state (with power, without power) of the field circuit. When there is power, the differential superimposed voltage simulates the excitation and de-excitation under the real working condition; when there is no power, independent power supply is provided for full-parameter controllable test. It can cover the full life cycle test requirements (installation and debugging, monitoring during operation, fault diagnosis) of the electromagnetic valve; and it can also eliminate the simulation error caused by the mismatch between the traditional external power supply and the field line impedance. (5) By using the cut-off relay and the discharge circuit, reverse voltage injection (forced de-excitation, reset time shortened by 80%) and energy feedback (coil energy stored in the internal capacitor, energy saving rate > 15%) can be supported. Thus, the limitation of traditional one-way control is broken through, the bidirectional dynamic response test of the electromagnetic valve is realized, and the energy consumption and temperature rise of long-period test are reduced. (6) The three-level protection system composed of transient voltage suppression diode, fuse and isolation power supply ensures the safety and reliability of the voltage simulation test system.
[0142] Please refer to Figure 6 , Figure 6 is a flowchart of a voltage simulation test method of an electromagnetic valve provided by an embodiment of the application. The voltage simulation test system 1 of any one of the above electromagnetic valves is connected to the two ends of the coil of the electromagnetic valve in the field circuit, and the method comprises:
[0143] S11, acquiring the field power state of the field circuit.
[0144] S12, if the field power supply state of the field circuit is powered, the analog voltage value output by the solenoid valve voltage analog test system is superimposed on the field voltage of the field circuit to obtain a first analog voltage value, and the working solenoid valve is tested by the first analog voltage value to obtain a first analog curve.
[0145] S13, if the field power supply state of the field circuit is not powered, the solenoid valve is tested by the analog voltage value output by the solenoid valve voltage analog test system to obtain a second analog curve; wherein the first analog test and the second analog test include excitation process simulation, de-excitation process simulation and fault condition simulation.
[0146] It should be noted that the method can be applied to the solenoid valve voltage analog test system for online simulation test of the solenoid valve.
[0147] First, the field power supply state of the field circuit is obtained to understand the actual power supply of the solenoid valve in the field circuit, that is, to determine whether the field power supply is in a powered state. Wherein, the presence or absence of the field power supply will affect the working state of the solenoid valve and the access mode of the test system.
[0148] In this embodiment, the voltage value across the solenoid valve can be monitored in real time by the voltage detection circuit connected in parallel across the solenoid valve in the test system. The detected voltage value is compared with the preset voltage threshold value, if the detected voltage value is greater than the preset voltage threshold value, it can be determined that the field power supply state is powered; if the detected voltage value is less than or equal to the preset voltage threshold value, it can be determined that the field power supply state is not powered.
[0149] Then, in the case that the field power supply state of the field circuit is powered, that is, the field power supply in the field circuit is normally powered, the analog voltage value output by the test system can be superimposed on the field voltage of the field circuit, and the voltage after superposition is the first analog voltage value. The performance of the solenoid valve in actual work can be tested by simulating different voltage changes through the first analog voltage value, without cutting off the power supply of the original circuit, and more truly simulating the voltage fluctuation or interference that may occur in the actual working condition. The performance data of the solenoid valve under different voltage conditions can be obtained by testing the working solenoid valve through the first analog voltage value, and the corresponding analog curve, that is, the first analog curve, can be generated. Through the first analog curve, the state response characteristics, stability and other performance indicators of the solenoid valve in the actual working state can be analyzed.
[0150] In the case of no power supply on site, the programmable power supply in the voltage simulation test system can be directly used to provide power supply for the electromagnetic valve, that is, the simulation voltage value provided by the test system is directly used to supply power for the electromagnetic valve, the working conditions of the electromagnetic valve under different voltages are simulated, the performance data of the electromagnetic valve are obtained, and the corresponding simulation curve, that is, the second simulation curve, is generated. Through the second simulation curve, the state response characteristics, stability and other performance indicators of the electromagnetic valve under independent power supply conditions can be analyzed.
[0151] In the formula, the excitation process simulation is to simulate the process of the electromagnetic valve from the power-off state to the power-on excitation, and to observe the changes of the response time, the attraction degree and other parameters of the electromagnetic valve with the simulation voltage value. The de-excitation process simulation is to simulate the process of the electromagnetic valve from the power-on excitation state to the power-off de-excitation, and to analyze the relationship between the release time, the residual magnetic force and other parameters of the electromagnetic valve and the simulation voltage value. The fault working condition simulation is to simulate some fault conditions that may occur in the working process of the electromagnetic valve, such as voltage mutation and voltage fluctuation, and to observe the working state and performance of the electromagnetic valve under these fault working conditions, so as to evaluate the anti-interference ability and reliability of the electromagnetic valve.
[0152] It should be noted that in the voltage simulation test process of the electromagnetic valve, the PWM signal in the control chip is the core means to realize dynamic voltage regulation. The PWM signal is a technology for equivalent control of voltage or power by adjusting the duty cycle (high level time ratio of the whole cycle) of the pulse signal.
[0153] (1) Dynamic voltage waveform generation.
[0154] Excitation process simulation (soft start): the low duty cycle (such as 20%) of the PWM signal is output in the initial stage, and gradually increased to 100%, to simulate the exponential curve of the slow rise of the coil current (to avoid current impact).
[0155] The calculation formula of the simulation voltage value is as follows:
[0156] D(t) = D max (1-e -t / τ );
[0157] In the formula, D(t) represents the simulation voltage value, τ represents the time constant of the electromagnetic valve, which is determined by the inductance L and the resistance R of the electromagnetic valve; D max represents the maximum voltage value.
[0158] De-excitation process simulation (active release): the duty cycle of the PWM signal is rapidly reduced to 0%, and the release circuit (such as a parallel resistance) is triggered at the same time to accelerate the decay of the magnetic field.
[0159] Reverse voltage injection: temporarily output negative duty cycle of the PWM signal (H-bridge circuit is required), and forcibly demagnetize.
[0160] (2) Fault condition simulation.
[0161] Voltage fluctuation: periodically modulate the duty cycle of the PWM signal (such as ±10% sinusoidal fluctuation), simulate the instability of the power supply.
[0162] Instantaneous interruption: abruptly reduce the duty cycle of the PWM signal to 0% and maintain for several milliseconds, simulate the poor contact of the line.
[0163] It should be understood that through the above design, the adjustment of the PWM signal becomes the core bridge connecting the digital control and the analog power output in this embodiment, realizing the high-precision dynamic simulation of the excitation process and the de-excitation process of the electromagnetic valve, while taking into account the efficiency and safety.
[0164] It should be understood that through the voltage simulation test method of the electromagnetic valve, the performance of the electromagnetic valve under different power supply states and different voltage conditions can be comprehensively and accurately evaluated, providing a reference basis for the design of the electromagnetic valve and the elimination of potential hidden dangers.
[0165] In one possible implementation, in the process of simulating the excitation process of the electromagnetic valve, the method comprises:
[0166] According to the preset excitation simulation requirement, an excitation simulation voltage value corresponding to the preset excitation simulation requirement is determined.
[0167] According to the field power supply state of the field circuit and the excitation simulation voltage value, a first target simulation voltage value across the coil of the electromagnetic valve is determined.
[0168] The voltage across the coil of the electromagnetic valve is increased from zero voltage to the first target simulation voltage value according to a preset voltage increase condition, and the excitation process simulation of the electromagnetic valve is performed.
[0169] The control chip in the voltage simulation test system of the electromagnetic valve collects a first feedback signal of the Hall current sensor in the isolation and feedback circuit, and generates an excitation process simulation curve, wherein the first feedback signal is obtained by measuring the current flowing through the coil of the electromagnetic valve by the Hall current sensor during the excitation process.
[0170] In the process of simulating the excitation process of the electromagnetic valve, the preset excitation simulation requirement is a simulation target pre-set based on the actual application scene, performance requirements and test purposes of the electromagnetic valve. The excitation simulation voltage value is a voltage value determined according to the preset excitation simulation requirement. According to the excitation simulation voltage value, the excitation of the electromagnetic valve can be simulated, so as to evaluate the performance of the electromagnetic valve under different excitation voltages.
[0171] After the excitation simulation voltage value is determined, the actual simulation voltage value across the coil of the solenoid valve needs to be determined according to the field power state of the field circuit and the excitation simulation voltage value. Specifically, if the field power state is on, the field power provides a basic field voltage value for the coil of the solenoid valve. At this time, the excitation simulation voltage value is the superposition value of the field voltage value and the first target simulation voltage value, that is, the corresponding first target simulation voltage value is accurately output by the programmable power supply in the test system, and is superimposed with the field voltage value. If the field power state is off, the field power does not provide a voltage. At this time, the first target simulation voltage value is equal to the excitation simulation voltage value, and the excitation simulation voltage value is directly output to the coil of the solenoid valve by the programmable power supply in the test system.
[0172] Then, by gradually increasing the voltage across the coil of the solenoid valve to the first target simulation voltage value, the excitation process of the solenoid valve in actual work is simulated, and the response of the solenoid valve at different voltage stages is observed, such as whether the attraction process is smooth, whether there is abnormal vibration or noise, etc., so as to evaluate the excitation performance of the solenoid valve. The preset voltage increasing condition is a rule for increasing the voltage across the coil of the solenoid valve, such as including the rate of voltage increase, the step of voltage increase, etc. The preset voltage increasing condition can be determined according to the characteristics of the solenoid valve and the test purpose, to ensure that the simulation process can truly reflect the excitation characteristics of the solenoid valve.
[0173] In the simulation of the excitation process of the solenoid valve, the Hall current sensor in the isolation and feedback circuit in the test system measures the current in the coil of the solenoid valve in real time, and converts the current signal into a voltage signal to generate a first feedback signal. The control chip in the test system collects the first feedback signal output by the Hall current sensor through a sampling circuit, and performs analog-to-digital conversion and other processing to convert it into a digital signal, and processes it to generate an excitation process simulation curve. The curve can be displayed on the human-computer interaction device of the control chip for analysis by the test personnel. By analyzing the excitation process simulation curve according to the ideal voltage / current waveform curve of the solenoid valve (such as shown in FIG. 6), the excitation response speed, current stability and other performance indicators of the solenoid valve can be evaluated. Figure 7 Figure 7 In the simulation of the excitation process of the solenoid valve, the Hall current sensor in the isolation and feedback circuit in the test system measures the current in the coil of the solenoid valve in real time, and converts the current signal into a voltage signal to generate a first feedback signal. The control chip in the test system collects the first feedback signal output by the Hall current sensor through a sampling circuit, and performs analog-to-digital conversion and other processing to convert it into a digital signal, and processes it to generate an excitation process simulation curve. The curve can be displayed on the human-computer interaction device of the control chip for analysis by the test personnel. By analyzing the excitation process simulation curve according to the ideal voltage / current waveform curve of the solenoid valve (such as shown in FIG. 6), the excitation response speed, current stability and other performance indicators of the solenoid valve can be evaluated. Figure 7
[0174] In one possible implementation, in the simulation of the de-excitation process of the solenoid valve, the method comprises:
[0175] In the case that the solenoid valve is excited to a preset pull-in state, according to the power-off instruction issued by the control chip in the voltage simulation test system of the solenoid valve, the power supply of the solenoid valve is cut off to make the bleed transistor in the bleed circuit of the voltage simulation test system of the solenoid valve conduct.
[0176] The second feedback signal of the Hall current sensor in the isolation and feedback circuit is collected by the control chip in the voltage simulation test system of the solenoid valve to generate a loss of excitation process simulation curve, wherein the second feedback signal is obtained by measuring the current flowing through the two ends of the coil of the solenoid valve by the Hall current sensor in the loss of excitation process.
[0177] The preset pull-in state can be understood as a stable working state of the solenoid valve. By setting the preset pull-in state, the change process of the solenoid valve from the pull-in state to the release state can be accurately observed and analyzed, thereby providing a basis for evaluating the loss of excitation performance of the solenoid valve.
[0178] In the excitation process simulation, the control chip supplies power to the coil of the solenoid valve according to the preset excitation strategy, and simultaneously monitors the current and other parameters of the solenoid valve in real time by using the Hall current sensor. When the solenoid valve reaches the preset pull-in state, the control chip issues a power-off instruction, i.e. the power supply of the solenoid valve is cut off through the corresponding control circuit, so that the coil of the solenoid valve is no longer supplied with power. After the power supply of the solenoid valve is cut off, the control chip can control the bleed transistor in the bleed circuit to conduct, and the energy stored in the coil of the solenoid valve is discharged through the loop formed by the bleed transistor and the bleed resistor.
[0179] At this time, the Hall current sensor in the isolation and feedback circuit in the test system measures the current in the coil of the solenoid valve in real time in the loss of excitation process, and converts the current signal into a voltage signal to generate a second feedback signal. The control chip in the test system collects the second feedback signal output by the Hall current sensor through a sampling circuit, and performs analog-to-digital conversion and other processing to convert it into a digital signal, and processes it to generate a loss of excitation process simulation curve. The curve can be displayed on the man-machine interaction device of the control chip for analysis by the test personnel. By analyzing the loss of excitation process simulation curve, the loss of excitation response speed, current decay, residual magnetic force and other performance indicators of the solenoid valve can be evaluated.
[0180] In a possible implementation, in the process of simulating the fault working condition of the solenoid valve, the method comprises:
[0181] According to the preset fault type, a fault simulation voltage value corresponding to the preset fault type is determined.
[0182] According to the field power supply state of the field circuit and the fault simulation voltage value, a third target simulation voltage value at the two ends of the coil of the solenoid valve is determined.
[0183] The third target simulation voltage value is output to both ends of the coil of the electromagnetic valve to simulate a fault working condition of the electromagnetic valve, and a fault working condition simulation curve is generated.
[0184] The preset fault type is usually set based on various abnormal conditions that the electromagnetic valve may encounter in actual application, such as voltage fluctuation, transient interruption, etc. According to the electrical characteristics of the electromagnetic valve, the influence of different fault types on the voltage of the coil of the electromagnetic valve is analyzed to determine the corresponding fault simulation voltage. According to the preset fault type, the corresponding fault simulation voltage is determined, which can provide a voltage excitation conforming to a specific fault type for the coil of the electromagnetic valve in simulation testing, so that the fault scene that the electromagnetic valve may encounter in actual work can be accurately simulated to evaluate the performance and reliability of the electromagnetic valve under fault conditions.
[0185] After the fault simulation voltage is determined, the actual simulation voltage value at both ends of the coil of the electromagnetic valve can be determined according to the field power state of the field circuit and the fault simulation voltage. Specifically, if the field power state is powered on, the field power will provide a basic field voltage value for the coil of the electromagnetic valve, and at this time, the fault simulation voltage value is the superposition value of the field voltage value and the third target simulation voltage value, that is, the corresponding third target simulation voltage value is accurately output by the programmable power supply in the test system, and is superimposed with the field voltage value. If the field power state is powered off, the field power does not provide voltage, and at this time, the third target simulation voltage value is equal to the fault simulation voltage value, and the fault simulation voltage value is directly output to both ends of the coil of the electromagnetic valve by the programmable power supply in the test system.
[0186] Then, the determined third target simulation voltage value is accurately applied to both ends of the coil of the electromagnetic valve, the electromagnetic valve is in a preset fault working condition, and relevant parameters of the electromagnetic valve are collected in real time to generate a fault working condition simulation curve. The curve can be displayed on the man-machine interaction device of the control chip for analysis by the tester. By analyzing the fault working condition simulation curve, the fault response characteristics, performance change law and other performance indicators of the electromagnetic valve can be evaluated.
[0187] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0188] The embodiments of the present application also provide a terminal device, as shown in Figure 8 The terminal device provided by an embodiment of the present application is shown in Figure 8 The terminal device provided by an embodiment of the present application is shown in Figure 8The terminal device 5 of this embodiment comprises a memory 51, a processor 52, and a computer program stored in the memory 51 and executable on the processor 52, and the processor 52 implements the steps in the voltage simulation test method embodiment of the solenoid valve of any of the above when executing the computer program.
[0189] The computer readable storage medium stores the computer program, and the computer program is executed by the processor to implement the steps in the various method embodiments.
[0190] The computer program product is run on the mobile terminal, so that the mobile terminal implements the steps in the various method embodiments when being executed.
[0191] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the above embodiment methods can be completed by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. The computer program is executed by the processor to implement the steps in the various method embodiments. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or some intermediate forms. The computer readable medium at least includes any entity or device capable of carrying the computer program code to the photographing device / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, U disk, mobile hard disk, magnetic disk or optical disk, etc. In some jurisdictions, according to legislation and patent practice, the computer readable medium cannot be an electrical carrier signal and a telecommunication signal.
[0192] In the above embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0193] Those skilled in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0194] In the embodiments provided by the present application, it should be understood that the disclosed apparatus / network device and method can be implemented in other manners. For example, the embodiments of the apparatus / network device described above are merely illustrative. For example, the division of the modules or units is only a logical function division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between the units can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.
[0195] The units described as separated components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., can be located in one place or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments of the present application.
[0196] The above embodiments are only used to illustrate the technical solutions of the present application, but not limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A voltage analog test system for solenoid valves, characterized by, The application relates to a voltage simulation device for an electromagnetic valve. The parallel interface circuit comprises a bidirectional thyristor which is connected in parallel across the coil of the electromagnetic valve and is used for adjusting the analog voltage value output by the voltage simulation device; wherein the electromagnetic valve is an execution load of a field circuit, and the coil of the electromagnetic valve is connected with a field power supply in the field circuit. The voltage simulation device comprises a power supply adaptive circuit and a control chip. The input end of the power supply adaptive circuit is connected with the control chip, and the output end of the power supply adaptive circuit is connected with the parallel interface circuit, which is used for determining a power supply mode according to the field power supply state of the field circuit where the electromagnetic valve is located and sending the power supply mode to the control chip; the power supply mode comprises a superimposed power supply mode and an independent power supply mode. The control chip is used for generating a pulse width modulation driving signal according to the power supply mode and controlling the parallel interface circuit according to the pulse width modulation driving signal to perform voltage simulation test on the electromagnetic valve. The parallel interface circuit further comprises a transient voltage suppression diode and a fuse.
2. The voltage analog test system for a solenoid valve according to claim 1, wherein The transient voltage suppression diode and the bidirectional thyristor constitute a first parallel circuit which is connected in parallel across the coil of the electromagnetic valve. The transient voltage suppression diode is used for absorbing the surge voltage of the field circuit or the reverse electromotive force generated when the coil of the electromagnetic valve is disconnected. The fuse is connected in series between the first parallel circuit and the voltage simulation device and is used for short-circuit protection of the field circuit. The voltage simulation device comprises an isolation and feedback circuit.
3. The voltage analog test system for a solenoid valve according to claim 2, wherein The input end of the isolation and feedback circuit is connected with the control chip, and the output end of the isolation and feedback circuit is connected with the parallel interface circuit, which is used for isolating the field circuit where the electromagnetic valve is located and outputting a feedback signal. The control chip is further used for collecting the feedback signal output by the isolation and feedback circuit to obtain a sampling signal and generating an analog curve according to the sampling signal. The power supply adaptive circuit comprises a voltage detection circuit, a switching relay and a programmable power supply.
4. The voltage analog test system for a solenoid valve according to claim 3, wherein The voltage detection circuit is connected in parallel across the coil of the electromagnetic valve and is used for detecting the voltage across the coil of the electromagnetic valve to obtain a voltage detection result and sending the voltage detection result to the control chip. The switching relay is used for switching the power supply mode according to the voltage detection result sent by the control chip. The programmable power supply is used for outputting different voltages in the superimposed power supply mode or the independent power supply mode. The control chip comprises a microcontroller, a pulse width modulation driving circuit and a sampling circuit.
5. The voltage analog test system for a solenoid valve according to claim 4, wherein The microcontroller comprises a pulse width modulation generator and an analog-to-digital conversion circuit; the pulse width modulation generator is used for generating a pulse width modulation signal, and the analog-to-digital conversion circuit is used for conversion between an analog signal and a digital signal. An input end of the pulse width modulation drive circuit is connected to the pulse width modulation generator, and an output end of the pulse width modulation drive circuit is connected to the bidirectional thyristor in the parallel interface circuit and the switching relay in the power supply adaptive circuit, for converting the pulse width modulation signal into the pulse width modulation drive signal and controlling the bidirectional thyristor or the switching relay according to the pulse width modulation drive signal; An input end of the sampling circuit is connected to the Hall current sensor, and an output end of the sampling circuit is connected to the analog-to-digital conversion circuit in the microcontroller, for collecting a feedback signal of the Hall current sensor and transmitting the feedback signal to the analog-to-digital conversion circuit, wherein the Hall current sensor is used for measuring a current flowing through the electromagnetic valve coil.
6. The voltage analog test system for a solenoid valve as claimed in claim 5, wherein The isolation and feedback circuit comprises an optical coupling isolator, an isolation power supply and a Hall current sensor, wherein The optical coupling isolator is connected to the microcontroller, for transmitting the pulse width modulation signal and the feedback signal to the microcontroller; The isolation power supply is used for providing independent power supply for the microcontroller and the Hall current sensor.
7. The voltage analog test system for a solenoid valve as recited in claim 3, wherein, The voltage simulation device further comprises a bleeder circuit, wherein An input end of the bleeder circuit is connected to the control chip, and an output end of the bleeder circuit is connected to the parallel interface circuit, for bleeding the energy stored in the coil of the electromagnetic valve.
8. The voltage analog test system for a solenoid valve as claimed in claim 7, wherein The bleeder circuit comprises a bleeder transistor and a bleeder resistor, wherein The bleeder transistor is connected in parallel across the coil of the electromagnetic valve, and the bleeder transistor is connected in parallel with the transient voltage suppression diode; An input end of the bleeder resistor is connected to a source electrode of the bleeder transistor, and an output end of the bleeder resistor is grounded.
9. The voltage analog test system for a solenoid valve as recited in claim 3, wherein, The voltage simulation device further comprises a user interaction device, wherein The user interaction device is connected to the control chip, for displaying the voltage value, the current value and the working mode across the coil of the electromagnetic valve in real time, and setting the voltage simulation test parameters of the electromagnetic valve.
10. A voltage analog test method of a solenoid valve, characterized by, The method comprises the following steps: acquiring the field power supply state of the field circuit; if the field power supply state of the field circuit is powered, superimposing the simulation voltage value output by the voltage simulation test system of the electromagnetic valve to the field voltage of the field circuit to obtain a first simulation voltage value, and performing a first simulation test on the working electromagnetic valve through the first simulation voltage value to obtain a first simulation curve; if the field power supply state of the field circuit is unpowered, performing a second simulation test on the electromagnetic valve through the simulation voltage value output by the voltage simulation test system of the electromagnetic valve to obtain a second simulation curve; wherein the first simulation test and the second simulation test comprise excitation process simulation, de-excitation process simulation and fault working condition simulation.
11. The voltage analog test method of the electromagnetic valve according to claim 10, wherein In the process of performing the excitation process simulation on the electromagnetic valve, the method comprises the following steps: determining an excitation simulation voltage value corresponding to a preset excitation simulation requirement according to the preset excitation simulation requirement; determining a first target simulation voltage value across the coil of the electromagnetic valve according to the field power state of the field circuit and the excitation simulation voltage value; increasing the voltage across the coil of the electromagnetic valve from zero voltage to the first target simulation voltage value according to a preset boosting condition, and simulating an excitation process of the electromagnetic valve; collecting a first feedback signal of a Hall current sensor in the isolation and feedback circuit through a control chip in the voltage simulation test system of the electromagnetic valve, and generating an excitation process simulation curve, wherein the first feedback signal is obtained by measuring the current flowing through the coil of the electromagnetic valve by the Hall current sensor in the excitation process.
12. The voltage analog test method of the electromagnetic valve according to claim 11, wherein In the process of simulating the de-excitation process of the electromagnetic valve, the method comprises: In the case that the electromagnetic valve is excited to a preset attraction state, cutting off the power supply of the electromagnetic valve according to the power-off instruction issued by the control chip in the voltage simulation test system of the electromagnetic valve, so as to turn on the bleeding transistor in the bleeding circuit in the voltage simulation test system of the electromagnetic valve; collecting a second feedback signal of the Hall current sensor in the isolation and feedback circuit through the control chip in the voltage simulation test system of the electromagnetic valve, and generating a de-excitation process simulation curve, wherein the second feedback signal is obtained by measuring the current flowing through the coil of the electromagnetic valve by the Hall current sensor in the de-excitation process.
13. The voltage analog test method of the electromagnetic valve according to claim 10, wherein In the process of simulating the fault working condition of the electromagnetic valve, the method comprises: determining a fault simulation voltage value corresponding to a preset fault type according to the preset fault type; determining a third target simulation voltage value across the coil of the electromagnetic valve according to the field power state of the field circuit and the fault simulation voltage value; outputting the third target simulation voltage value to the coil of the electromagnetic valve, and simulating the fault working condition of the electromagnetic valve to generate a fault working condition simulation curve.
14. A terminal device, comprising: The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the method according to any one of claims 10 to 13.
15. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the method according to any one of claims 10 to 13.
16. A computer program product, characterised in that, The computer program is executed to cause the method according to any one of claims 10 to 13 to be executed.
Citation Information
Cited By
Power supply automatic adaptation control method and system based on active detection, computer equipment and storage medium
CN121325730A