Solenoid valve simulation device and system and solenoid valve detection method
Through the automated detection scheme of the solenoid valve simulation device, the solenoid valve functional signals are collected and analyzed, and the problems of high manual inspection cost, cumbersome operation and low efficiency are solved, and efficient and high-quality solenoid valve functional detection is achieved.
Patent Information
- Application Number
- CN202411397577.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-01-10
AI Technical Summary
In the prior art, the detection of solenoid valve output function of gas alarm products requires manual monitoring, resulting in high cost, cumbersome operation and low efficiency.
A solenoid valve simulation device is designed, including a solenoid valve signal acquisition circuit, a processing chip and a detection status output circuit. Through an automated detection scheme, the solenoid valve function signal is collected and the detection status is output to realize automatic detection.
It realizes efficient and high-quality solenoid valve function detection, reduces detection costs, simplifies operating procedures, and improves detection efficiency.
Smart Images

Figure CN119290370A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic circuits, and in particular to a solenoid valve simulation device, a system and a solenoid valve detection method. Background Art
[0002] For the solenoid valve output function detection of gas alarm products, the solenoid valve structure is generally connected to the body, and the valve body structure is manually monitored to see if it is in action, so as to achieve the purpose of detecting whether the product output function interface is normal. When conducting batch testing, the cost is high, the operation is cumbersome, and the efficiency is low. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present invention provides a solenoid valve simulation device, system and solenoid valve detection method. The function detection of the solenoid valve is realized through an automated detection scheme, which solves the problems of high cost, cumbersome operation and low efficiency of manual detection methods.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a solenoid valve simulation device, comprising: Solenoid valve signal acquisition circuit, processing chip and detection status output circuit; The solenoid valve signal acquisition circuit is used to connect to the solenoid valve to be detected and acquire the functional signal of the solenoid valve to be detected, and transmit the functional signal to the processing chip; The processing chip is used to receive the functional signal collected by the solenoid valve signal collection circuit, and send an output signal to the detection state output circuit to instruct the detection state output circuit to output the detection state; The detection state output circuit receives the output signal sent by the processing chip and outputs the detection state according to the output signal.
[0005] Further, the solenoid valve signal acquisition circuit includes an input terminal, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, a voltage divider resistor, a load resistor, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a fifth capacitor, a diode and an amplifier chip; The input terminal is connected to the first resistor and the voltage divider resistor, and receives the detection signal; One end of the first resistor is connected to the input terminal, and the other end is connected to the positive input terminal of the amplifier chip; One end of the second capacitor is connected to the positive input terminal of the amplifier chip, and the other end is grounded; One end of the voltage dividing resistor is connected to the input terminal, and the other end is connected to the diode; The second resistor is connected in parallel with the first capacitor, one end of which is grounded and the other end is connected to the output end of the amplifier chip; One end of the third resistor is connected to the output end of the amplifier chip, and the other end outputs a current monitoring signal to the processing chip; One end of the fourth resistor is connected to the diode, and the other end is connected to the negative input terminal of the amplifier chip; One end of the load resistor is connected to the diode, and the other end is grounded; One end of the fifth resistor is connected to the voltage-dividing resistor, and the other end is connected to the fifth capacitor, the sixth resistor and the seventh resistor, and outputs a voltage monitoring signal to the processing chip; One end of the sixth resistor is connected to the fifth resistor, and the other end is grounded; One end of the seventh resistor is connected to the fifth resistor, and the other end outputs a rising edge PLS signal to the processing chip.
[0006] Further, the diode is a transient voltage suppression (TVS) diode, and the voltage divider resistor, the fourth resistor, the fifth resistor and the load resistor are connected to the cathode of the diode.
[0007] Furthermore, the detection status output circuit includes at least one or more of the following modules: Communication output module, indicator light output module, buzzer output module, switch output module.
[0008] Furthermore, the communication output module adopts an RS-485 interface, and the switch output module is a relay.
[0009] Furthermore, the device also includes: The DC power input module and / or the AC power input module are used to provide electrical energy.
[0010] According to a second aspect of an embodiment of the present disclosure, there is provided a solenoid valve simulation system, comprising the above-mentioned solenoid valve simulation device, the system further comprising: a driving solenoid valve function output port; The solenoid valve to be detected is connected to the input terminal of the solenoid valve simulation device through the driving solenoid valve function output port. After the solenoid valve to be detected is powered on, the driving solenoid valve function output port outputs a detection signal to the solenoid valve simulation device.
[0011] According to a third aspect of an embodiment of the present disclosure, a solenoid valve detection method is provided, using the above-mentioned solenoid valve simulation device, the method comprising: Access detection signal; acquiring a function signal of the solenoid valve according to the detection signal; The detection state of the solenoid valve is acquired according to the functional signal.
[0012] Furthermore, the functional signal includes at least one or more of the following signals: a current monitoring signal, a voltage monitoring signal, a rising edge (PLS) signal, The current monitoring signal indicates a current monitoring value, the voltage monitoring signal indicates a voltage monitoring value, and the PLS signal indicates a cycle duration of triggering monitoring and / or a number of triggering monitoring. The step of acquiring the detection state of the solenoid valve according to the function signal comprises: When the function signal exceeds a preset signal range, it is determined that the solenoid valve to be detected functions normally; When the functional signal is within the preset signal range, it is determined that the solenoid valve to be detected is malfunctioning.
[0013] Furthermore, the method further comprises: The detection state of the solenoid valve is output.
[0014] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the solenoid valve signal acquisition circuit is connected to the solenoid valve to be detected and acquires the functional signal of the solenoid valve to be detected, and the functional signal is transmitted to the processing chip, and then the processing chip sends an output signal to the output module according to the functional signal, instructing the detection state output circuit to output the detection state. The automatic solenoid valve function detection through the functional signal solves the problems of high cost, cumbersome operation and low efficiency of manual detection means, and realizes efficient and high-quality solenoid valve function detection.
[0015] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0017] Figure 1 It is a schematic structural diagram of a solenoid valve simulation device according to an exemplary embodiment.
[0018] Figure 2 It is a schematic diagram of a solenoid valve signal acquisition circuit according to an exemplary embodiment.
[0019] Figure 3 is a schematic diagram showing a detection state output circuit according to an exemplary embodiment.
[0020] Figure 4 It is a schematic structural diagram of a solenoid valve simulation system according to an exemplary embodiment.
[0021] Figure 5 is a schematic structural diagram of yet another solenoid valve simulation system according to an exemplary embodiment.
[0022] Figure 6 The figure is a flow chart of a solenoid valve detection method according to an exemplary embodiment. DETAILED DESCRIPTION
[0023] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0024] For the solenoid valve output function detection of gas alarm products, the solenoid valve structure is generally connected to the body, and the valve body structure is manually monitored to see if it is in action, so as to achieve the purpose of detecting whether the product output function interface is normal. When conducting batch testing, the cost is high, the operation is cumbersome, and the efficiency is low.
[0025] For example, due to the large size of the gas solenoid valve, the integrated volume of the assembly line is large during batch testing, and the operation is complicated; the gas solenoid valve cannot automatically reset after being energized, and needs to be manually pulled up and reset, which is cumbersome to operate; the gas solenoid valve body does not have a state feedback function, and the degree of automation of batch functional testing operations is low.
[0026] In order to solve the above problems, the embodiments of the present invention provide a solenoid valve simulation device, system and solenoid valve detection method, which obtains the functional signal of the solenoid valve by simulating the operating environment, and judges the function of the solenoid valve based on the functional signal, thereby realizing an efficient and high-quality solenoid valve automatic detection mechanism.
[0027] An exemplary embodiment of the present disclosure provides a solenoid valve simulation device, the structure of which is as follows: Figure 1 As shown, including: Solenoid valve signal acquisition circuit 101 , processing chip 102 and detection state output circuit 103 .
[0028] The solenoid valve signal acquisition circuit 101 is used to connect to the solenoid valve to be detected and acquire the functional signal of the solenoid valve to be detected, and transmit the functional signal to the processing chip 102; The processing chip 102 is used to receive the function signal collected by the solenoid valve signal collection circuit 101, and send an output signal to the detection state output circuit 103 to instruct the detection state output circuit 103 to output the detection state; The detection state output circuit 103 receives the output signal sent by the processing chip 102 and outputs the detection state according to the output signal.
[0029] Furthermore, the device also includes: The DC power input module 104 and / or the AC power input module 105 are used to provide electrical energy.
[0030] According to one embodiment, the processing chip 102 may be a micro control unit (MCU).
[0031] An exemplary embodiment of the present disclosure further provides a solenoid valve simulation device, wherein the solenoid valve signal acquisition circuit is as follows Figure 2 As shown, including: Input terminal J2, first resistor R1, second resistor R2, third resistor R3, fourth resistor R4, fifth resistor R5, sixth resistor R6, seventh resistor R7, voltage divider resistor Rs, load resistor R Load, first capacitor C1, second capacitor C2, third capacitor C3, fourth capacitor C4, fifth capacitor C5, diode D1 and amplifier chip U1.
[0032] The input terminal J2 is connected to the first resistor R1 and the voltage-dividing resistor Rs, and receives a detection signal.
[0033] One end of the first resistor R1 is connected to the input terminal J2, and the other end is connected to the positive input terminal of the amplifier chip U1.
[0034] One end of the second capacitor C2 is connected to the positive input terminal of the amplifier chip U1 , and the other end is grounded (GND).
[0035] One end of the voltage-dividing resistor Rs is connected to the input terminal J2 , and the other end is connected to the diode D1 .
[0036] The second resistor R2 is connected in parallel with the first capacitor C1 , one end of which is grounded, and the other end of which is connected to the output end of the amplifier chip U1 .
[0037] One end of the third resistor R3 is connected to the output end of the amplifier chip U1, and the other end thereof outputs a current monitoring signal to the processing chip 102. The current monitoring signal may be an AMPS signal.
[0038] One end of the fourth resistor R4 is connected to the diode D1 , and the other end is connected to the negative input terminal of the amplifier chip U1 .
[0039] One end of the load resistor R Load is connected to the diode D1 , and the other end is grounded.
[0040] One end of the fifth resistor R5 is connected to the voltage-dividing resistor Rs, and the other end is connected to the fifth capacitor C5, the sixth resistor R6 and the seventh resistor R7, and outputs a voltage monitoring signal to the processing chip 102. The voltage monitoring signal may be an ADC signal.
[0041] One end of the sixth resistor R6 is connected to the fifth resistor R5 , and the other end is grounded.
[0042] One end of the seventh resistor R7 is connected to the fifth resistor R5 , and the other end thereof outputs a PLS signal to the processing chip U1 .
[0043] According to an implementation manner, the diode D1 is a TVS diode, and the voltage divider resistor Rs, the fourth resistor R4, the fifth resistor R5 and the load resistor R Load are connected to the cathode of the diode D1.
[0044] According to one embodiment, Figure 2 The solenoid valve signal acquisition circuit shown includes a load discharge circuit, a current measurement circuit, a voltage divider circuit, and a rising edge detection circuit. The processing chip 102 is specifically an MCU.
[0045] The load discharge circuit includes J2, Rs, R Load, and D1. The YV signal of J2 is connected in series with R Load through Rs, and D1 is connected in parallel with R Load.
[0046] The current measurement circuit includes J2, R1, Rs, R2, R3, R4, C1, C2, C3, C, C4, Ul1, R Load, and D1. The YV signal of J2 is connected to U1 through R1; R1 is connected to Rs; Rs is connected to R4, R Load, and D1; R4 is connected to U1; U1 is connected to R3, R2, and C1. The AMPS signal of R3 pin is connected to MCU.
[0047] The voltage divider circuit includes Rs, R Load, R5, and R6. Rs is connected to R Load and R5; R5 is connected to R6 and C4. The R5 pin is connected to the MCU to output the ADC signal.
[0048] The rising edge detection circuit includes R7. The R7 pin is connected to the MCU to output the PLS signal.
[0049] An exemplary embodiment of the present disclosure also provides a detection state output circuit, whose structure is as follows: Figure 3As shown, it includes at least one or more of the following modules: Communication output module 301 , indicator light output module 302 , buzzer output module 303 , switch output module 304 .
[0050] The current measurement circuit, the voltage divider circuit and the rising edge detection circuit are respectively connected to the input and output ports IO1, IO2 and IO3 of the MCU to send current monitoring signals, voltage monitoring signals and PLS signals to the MCU. According to one embodiment, the current measurement circuit is connected to IO1 through the eighth resistor R8, the voltage divider circuit is connected to IO2 through the ninth resistor R9, and the rising edge detection circuit is connected to IO3 through R10.
[0051] The communication output module 301 performs communication output via the output terminal J3, the indicator light output module 302 performs indicator light output via the output terminal J4, the buzzer output module 303 performs buzzer output via the output terminal J5, and the switch output module 304 performs switch output via the output terminal J6.
[0052] The communication output module 301 uses an RS-485 interface (such as an RS485 communication module), and the switch output module 303 is a relay. The communication output module is connected to the input and output ports IO4 and IO5 of the MCU, the indicator light output module 302 is connected to the input and output port IO6 of the MCU, the buzzer output module 303 is connected to the input and output port IO7 of the MCU, and the switch output module 304 is connected to the input and output port IO8 of the MCU.
[0053] An exemplary embodiment of the present disclosure also provides a solenoid valve simulation system, such as Figure 4 As shown, it includes the solenoid valve simulation device and the solenoid valve driving function output port provided by the embodiment of the present disclosure.
[0054] The solenoid valve to be detected is connected to the input terminal of the solenoid valve simulation device through the driving solenoid valve function output port. After the solenoid valve to be detected is powered on, the driving solenoid valve function output port outputs a detection signal to the solenoid valve simulation device.
[0055] According to an exemplary embodiment, the system may include multiple solenoid valve simulation devices to test multiple solenoid valves in parallel. Multiple solenoid valve driving function output ports may also be provided to connect multiple solenoid valves to the same solenoid valve simulation device for testing.
[0056] According to an exemplary embodiment, the positive electrode of the output port driving the electromagnetic valve function is connected to the YV terminal of J2, and the negative electrode is connected to the GND of J2.
[0057] An exemplary embodiment of the present disclosure also provides a solenoid valve simulation system, the structure of which is as follows: Figure 5 As shown, it includes a solenoid valve, a solenoid valve driving function output port J1 and a solenoid valve simulation device.
[0058] The electromagnetic valve simulation device comprises an electromagnetic valve signal acquisition circuit, a processing chip and a detection state output circuit.
[0059] The solenoid valve can be set in related electronic instrument products (such as electronic product modules with wired solenoid valve driving functions), connected to the input terminal J2 of the solenoid valve simulation device through J1, and output a detection signal to J2. The detection signal can be a high-level YV signal.
[0060] The signal positive pole YV+ of the solenoid valve function driving port J1 of the electronic product module with wired solenoid valve driving function is connected to the YV end of the input terminal J2 at the circuit board end of the solenoid valve simulation device through the board end terminal; the signal negative pole YV of the solenoid valve function driving port J1 is connected to the GND end of the input terminal J2 at the circuit board end of the solenoid valve simulation device through the board end terminal.
[0061] The solenoid valve signal acquisition circuit includes a load discharge circuit, a current measurement circuit, a voltage divider circuit and a rising edge detection circuit. Among them, the current measurement circuit outputs a current monitoring signal, which can be specifically an AMPS signal; the voltage divider circuit outputs a voltage monitoring signal, which can be specifically an ADC signal; and the rising edge detection circuit outputs a PLS signal.
[0062] The processing chip may be an MCU. The current measurement circuit, the voltage divider circuit and the rising edge detection circuit are respectively connected to the input ports IO1, IO2 and IO3 of the MCU to send a current monitoring signal, a voltage monitoring signal and a PLS signal to the MCU.
[0063] The MCU includes a data monitoring unit and a condition setting unit.
[0064] Among them, the data monitoring unit is used to receive functional signals and analyze to obtain information such as real-time voltage monitoring value, real-time current monitoring value, real-time trigger cycle duration monitoring value and real-time trigger number record monitoring value.
[0065] The condition setting unit is used to preset the signal range, which includes but is not limited to the following information: Voltage limit range, current limit range, trigger cycle duration range, trigger condition count range.
[0066] The MCU can analyze the monitoring value indicated by the function signal according to the preset signal range, and then judge the detection status of the solenoid valve. And according to the judgment result of the detection status, it can output relevant information and / or issue an alarm.
[0067] The solenoid valve simulation device further comprises an AC power input module and a DC power input module. According to an exemplary embodiment, the DC power input module is a backup power supply.
[0068] The AC power input module is connected to the first input end of the solenoid valve simulation device, and the DC power input module is connected to the second input end of the solenoid valve simulation device circuit.
[0069] The detection status output circuit includes RS485 communication output module, indicator light output module, buzzer output module and switch quantity output module, which are respectively connected to the output terminals YVZT-RS485, YVZT-LED, YVZT-BEEP and YVZT-IO of MCU, and perform corresponding processing according to the signals sent by MCU.
[0070] When the solenoid valve function drive port J1 of the electronic product module with wired solenoid valve drive function is connected to the solenoid valve simulation device circuit J2 through the board terminal, the YV signal is high level, such as Figure 2 As shown, at this time, YV passes through the resistor Rs of the current measurement circuit; Rs is connected in series with R1, and Rs is also connected in series with R4 for voltage division, and then the two parallel resistors R1 and R4 will be shunted, and at this time a cross-voltage signal will be formed at both ends of Rs. The cross-voltage signal is amplified by the Ul chip, and the current monitoring signal (such as AMPS) is output through the OUT pin of U1 in series with R3, and connected to the pin IO1 of the MCU. The MCU compares the collected AMPS signal with the preset judgment condition (for example, whether the AMPS signal meets the preset signal range). According to one embodiment, the signal range can be a current threshold. When it is greater than or equal to the current threshold, the RS485 communication output module, the indicator light output module, the buzzer output module and the switch output module are triggered to output an alarm. Specifically, the YVZT-RS485 communication status signal, the YVZT-LED indicator light status signal, the YVZT-BEEP buzzer status signal, and the YVZT-10 relay status signal are output and maintained for the corresponding set time.
[0071] When the YV high-level signal is connected in series with the load resistor Rload through the resistor Rs of the voltage divider circuit, the resistor Rs is connected in series with the resistor R5; the resistor R5 is connected in series with the resistor R Load and the resistor R6 for voltage division, and Rs is connected to the capacitor C4 through R4. The R5 pin generates a voltage greater than the voltage monitoring signal (such as an ADC signal), and C4 performs bypass filtering to eliminate the voltage harmonics of the voltage monitoring signal (such as an ADC signal). R5 is connected to the pin IO2 of the MCU, and the MCU compares the collected ADC signal with the preset judgment condition (for example, whether the ADC signal meets the preset signal range). According to one embodiment, the signal range can be a voltage threshold, and when it is greater than or equal to the voltage threshold, the RS485 communication output module, the indicator light output module, the buzzer output module and the switch output module are triggered to output an alarm. Specifically, the YVZT-RS485 communication status signal, the YVZT-LED indicator light status signal, the YVZT-BEEP buzzer status signal, and the YVZT-10 relay status signal are output and maintained for the corresponding set time.
[0072] When the YV high-level signal passes through the R7 pin of the rising edge detection circuit, a PLS signal is generated and connected to the IO3 pin of the MCU. The collected PLS signal is compared with the preset judgment condition (for example, whether the PLS signal meets the preset signal range). According to one embodiment, the signal range may include a trigger cycle duration threshold and / or a trigger condition count threshold. When the trigger cycle duration is greater than or equal to the trigger cycle duration threshold and / or the trigger count record is greater than or equal to the trigger condition count threshold, the YVZT-RS485 communication status signal, the YVZT-LED indicator status signal, the YVZT-BEEP buzzer status signal, and the YVZT-10 relay status signal are output and maintained for the corresponding set time.
[0073] The voltage monitoring signal, current monitoring signal and PLS signal collected are output to the MCU detection status output circuit module, and the judgment condition design and real-time data detection and comparison are performed by the MCU. The MCU judges the condition through the AMPS signal, ADC signal, and PLS signal (including the rising edge cycle detection data). When the AMPS, ADC, and PLS signal data are greater than or equal to the preset threshold, the MCU outputs the TX communication signal to the RS485 communication module through the pin IO4 and outputs the RX communication signal to the RS485 communication module through the pin IO5. The RS485 communication module converts the serial port signal into the solenoid valve drive YVZT-RS485 communication status signal and connects it to the J3 board terminal for status data output and upload. At the same time, the AMPS signal, ADC signal, and PLS signal data collected by real-time monitoring are uploaded for communication. When the AMPS signal, ADC signal, and PLS signal data are greater than or equal to the preset threshold, the MCU outputs the solenoid valve drive YVZT-LED indicator light status signal through the pin IO6 and connects it to the J4 board terminal for output. The indicator light is on, indicating that the solenoid valve drive is normal. When the AMPS signal, ADC signal, and PLS signal data are greater than or equal to the preset threshold, the MCU outputs the solenoid valve drive VVZT-BEEP buzzer status signal through pin IO7 and connects to the J5 board terminal for output. The buzzer sounds to indicate that the solenoid valve drive is normal. When the AMPS signal, ADC signal, and PLS signal data are greater than or equal to the preset threshold, the MCU outputs the solenoid valve drive YVZT-10 relay status signal through pin IO8 and connects to the J6 board terminal for output. The relay is energized to indicate that the solenoid valve drive is normal.
[0074] If it is a YV low level signal, or the AMPS signal, ADC signal, or PLS signal data is less than or equal to the preset threshold, the YVZT-RS485 communication status signal, the YVZT-LED indicator status signal, the YVZT-BEEP buzzer status signal, and the YVZT-10 relay status signal will have no output or will stop outputting.
[0075] The duration of the YV state output that the detection state output circuit continuously outputs can be preset.
[0076] An exemplary embodiment of the present disclosure also provides a solenoid valve detection method. In combination with the solenoid valve simulation device and system provided in the embodiments of the present invention, the process of using the method to automatically detect the solenoid valve drive is as follows: Figure 6 As shown, including: Step 601: Access detection signal.
[0077] In this step, the solenoid valve signal acquisition circuit is connected to the detection signal. The detection signal can be a solenoid valve working drive signal. When the solenoid valve or the electronic product module with wired solenoid valve driving function is connected to the solenoid valve simulation device or system, the solenoid valve working drive signal can be applied to the solenoid valve.
[0078] According to an exemplary embodiment, the detection signal is either a YV high level signal or a YV low level signal.
[0079] Step 602: Acquire a function signal of the solenoid valve according to the detection signal.
[0080] The functional signal includes at least one or more of the following signals: current monitoring signal, voltage monitoring signal, rising edge signal. Among them, the current monitoring signal can be an AMPS signal, the voltage monitoring signal can be an ADC signal, and the rising edge signal can be a PLS signal. The voltage monitoring signal indicates the voltage value when the solenoid valve is working, the current monitoring signal indicates the current value when the solenoid valve is working, and the rising edge signal indicates the trigger cycle length and / or trigger times when the solenoid valve is working.
[0081] Step 603: Acquire the detection status of the solenoid valve according to the functional signal.
[0082] In this step, the detection state of the solenoid valve is obtained by acquiring the function signal, for example, the current value is obtained through the AMPS signal, the voltage value is obtained through the ADC signal, and the trigger cycle duration and / or the number of triggers is obtained through the PLS signal.
[0083] The step of acquiring the detection state of the solenoid valve according to the function signal comprises: When the function signal exceeds a preset signal range, it is determined that the solenoid valve to be detected functions normally; When the functional signal is within the preset signal range, it is determined that the solenoid valve to be detected is malfunctioning.
[0084] For example, the signal range is set to be greater than or equal to a preset threshold value. Then, when the data indicated by the function signal is less than the preset threshold value, it indicates that the function signal exceeds the signal range.
[0085] According to an exemplary embodiment, a current threshold, a voltage threshold, a trigger cycle duration threshold, and a trigger condition count threshold can be set. When the detection signal input is at a high level and the data indicated by any signal in the function signal is greater than or equal to the corresponding threshold, it is determined that the electromagnetic valve to be detected is functioning normally; when the detection signal input is at a low level and the data indicated by any signal in the function signal is less than the corresponding threshold, it is determined that the electromagnetic valve to be detected is functioning abnormally.
[0086] Step 604: output the detection status of the solenoid valve.
[0087] After completing the automatic solenoid valve detection status detection, the detection result can be further output.
[0088] For example, the detection status obtained by the detection is output through the detection status output circuit to save data or remind the operator.
[0089] The means of outputting the detection status include but are not limited to: 1. Transmit function signal related data through the communication output module.
[0090] The data can be transmitted when the detection status is judged to be normal, or when the detection status is judged to be abnormal. The relevant data can also be transmitted and backed up in any status.
[0091] Data can be transmitted to a preset data storage platform or pushed to a specific account.
[0092] 2. The indicator light output module lights up.
[0093] The indicator light may be turned on when the detection state is judged to be normal, or the indicator light may be turned on when the detection state is judged to be abnormal.
[0094] Furthermore, a light group including multiple indicator lights may be configured to indicate different detection states through different lighting combinations.
[0095] 3. Make buzzing sound through the buzzer output module.
[0096] The buzzer may sound when the detection state is judged to be normal, or may sound when the detection state is judged to be abnormal. Alternatively, different buzzer sounds may be used to indicate different detection states.
[0097] 4. Output relay status signal through switch output module.
[0098] The output can be made when the detection state is judged to be normal, or when the detection state is judged to be abnormal.
[0099] The above-mentioned means of outputting the detection status may be used alone or in combination to achieve the purpose of quickly and clearly indicating the detection status of the solenoid valve.
[0100] The embodiments of the present disclosure provide a solenoid valve simulation device, system and solenoid valve detection method, wherein the solenoid valve signal acquisition circuit is connected to the solenoid valve to be detected and collects the functional signal of the solenoid valve to be detected, transmits the functional signal to the processing chip, and then the processing chip sends an output signal to the output module according to the functional signal, instructing the detection state output circuit to output the detection state. The automatic solenoid valve function detection is performed through the functional signal, which solves the problems of high cost, cumbersome operation and low efficiency of manual detection means, and realizes efficient and high-quality solenoid valve function detection.
[0101] In view of the deficiencies in the prior art, the solenoid valve simulation device and system provided in the embodiments of the present invention use line-end terminal blocks to connect the product function output port, collect the solenoid valve drive port signal, and at the same time add voltage real-time value detection, current real-time value detection, and control pulse rising edge period value detection. Through an automated detection scheme with voltage detection function, current detection function, rising edge pulse timer detection function, voltage limit detection, current limit detection, and pulse period limit detection, the load capacity, voltage, current, power-on trigger times, signal polarity and other performance of the product solenoid valve output function can be automatically detected. At the same time, it can output detection status signals such as sound, light, switch quantity and RS485 communication, which can meet the access needs of various automated detection application methods such as industrial visual application judgment, industrial PLC controller, central control touch screen human-machine interface, PC host computer, etc.
[0102] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0103] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A solenoid valve simulation device, characterized in that: include: Solenoid valve signal acquisition circuit, processing chip and detection status output circuit; The solenoid valve signal acquisition circuit is used to connect to the solenoid valve to be detected and acquire the functional signal of the solenoid valve to be detected, and transmit the functional signal to the processing chip; The processing chip is used to receive the functional signal collected by the solenoid valve signal collection circuit, and send an output signal to the detection state output circuit to instruct the detection state output circuit to output the detection state; The detection state output circuit receives the output signal sent by the processing chip and outputs the detection state according to the output signal.
2. The solenoid valve simulation device according to claim 1, characterized in that: The solenoid valve signal acquisition circuit includes an input terminal, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, a voltage divider resistor, a load resistor, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a fifth capacitor, a diode and an amplifier chip; The input terminal is connected to the first resistor and the voltage divider resistor, and receives the detection signal; One end of the first resistor is connected to the input terminal, and the other end is connected to the positive input terminal of the amplifier chip; One end of the second capacitor is connected to the positive input terminal of the amplifier chip, and the other end is grounded; One end of the voltage dividing resistor is connected to the input terminal, and the other end is connected to the diode; The second resistor is connected in parallel with the first capacitor, one end of which is grounded and the other end is connected to the output end of the amplifier chip; One end of the third resistor is connected to the output end of the amplifier chip, and the other end outputs a current monitoring signal to the processing chip; One end of the fourth resistor is connected to the diode, and the other end is connected to the negative input terminal of the amplifier chip; One end of the load resistor is connected to the diode, and the other end is grounded; One end of the fifth resistor is connected to the voltage-dividing resistor, and the other end is connected to the fifth capacitor, the sixth resistor and the seventh resistor, and outputs a voltage monitoring signal to the processing chip; One end of the sixth resistor is connected to the fifth resistor, and the other end is grounded; One end of the seventh resistor is connected to the fifth resistor, and the other end outputs a rising edge PLS signal to the processing chip.
3. The solenoid valve simulation device according to claim 2, characterized in that: The diode is a transient voltage suppression TVS diode, and the voltage divider resistor, the fourth resistor, the fifth resistor and the load resistor are connected to the cathode of the diode.
4. The solenoid valve simulation device according to claim 2, characterized in that: The detection status output circuit includes at least one or more of the following modules: Communication output module, indicator light output module, buzzer output module, switch output module.
5. The solenoid valve simulation device according to claim 4, characterized in that: The communication output module adopts RS-485 interface, and the switch output module is a relay.
6. The solenoid valve simulation device according to claim 1, characterized in that: The device also includes: The DC power input module and / or the AC power input module are used to provide electrical energy.
7. A solenoid valve simulation system, characterized in that: The system comprises the solenoid valve simulation device as claimed in any one of claims 1 to 6, and further comprises: a function output port for driving the solenoid valve; The solenoid valve to be detected is connected to the input terminal of the solenoid valve simulation device through the driving solenoid valve function output port. After the solenoid valve to be detected is powered on, the driving solenoid valve function output port outputs a detection signal to the solenoid valve simulation device.
8. A solenoid valve detection method, characterized in that: Using the solenoid valve simulation device as described in any one of claims 1 to 6, the method comprises: Access detection signal; acquiring a function signal of the solenoid valve according to the detection signal; The detection state of the solenoid valve is acquired according to the functional signal.
9. The solenoid valve detection method according to claim 8, characterized in that: The functional signal includes at least one or more of the following signals: a current monitoring signal, a voltage monitoring signal, a rising edge PLS signal, The current monitoring signal indicates a current monitoring value, the voltage monitoring signal indicates a voltage monitoring value, and the PLS signal indicates a cycle duration of triggering monitoring and / or a number of triggering monitoring. The step of acquiring the detection state of the solenoid valve according to the function signal comprises: When the function signal exceeds a preset signal range, it is determined that the solenoid valve to be detected functions normally; When the functional signal is within the preset signal range, it is determined that the solenoid valve to be detected is malfunctioning.
10. The solenoid valve detection method according to claim 8 or 9, characterized in that: The method further comprises: The detection state of the solenoid valve is output.