A solenoid valve simulation testing device and equipment
By designing a solenoid valve simulation test device, and using a processor to control controllable switches and components such as inductors and thermistors, multi-channel automated testing and fault simulation of solenoid valve coils were realized. This solved the problem that existing devices could not quickly adapt to multi-channel solenoid valve testing, and improved testing efficiency and safety.
Patent Information
- Application Number
- CN202611207740.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-11
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2046-08-11
AI Technical Summary
Existing solenoid valve simulation testing equipment cannot meet the rapid testing requirements of modern multi-channel solenoid valve vehicle control systems, resulting in low testing efficiency.
A solenoid valve simulation test device was designed, including M simulation branches and N controllable switches. The processor controls the on and off of the controllable switches to realize the parameter simulation and multi-channel access of the solenoid valve coil. Combined with components such as inductors and thermistors, the device accurately simulates the electrical characteristics of the solenoid valve and supports fault injection and protection mechanisms.
It realizes automated parameter simulation and multi-channel access of solenoid valve coils, improves the testing efficiency of vehicle control system, supports automated injection of various faults, and protects the safety of solenoid valve simulation test device and control unit.
Smart Images

Figure CN122731313B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive electronic control technology, and in particular to a solenoid valve simulation test device and equipment. Background Technology
[0002] With the rapid development of automotive electronic control technology, solenoid valve actuators are widely used in vehicle control systems (such as body controllers, engine controllers, and chassis controllers). Automotive solenoid valves primarily use the suction force generated by energizing their internal coils to drive the valve core, thereby opening or closing air or oil circuits. During the R&D and off-line testing phases of vehicle control systems, solenoid valve simulation equipment is typically used as a simulated load to replace real physical solenoid valves, verifying the drive logic and fault diagnosis functions of the vehicle control system. However, modern vehicles generally feature multi-channel solenoid valve actuators, while existing solenoid valve simulation testing devices can only provide a single-channel simulated load. This is insufficient to meet the rapid testing needs of multi-channel solenoid valves in vehicle control systems, and the testing efficiency is low, making it difficult to satisfy the testing requirements of vehicle control systems. Summary of the Invention
[0003] The purpose of this invention is to provide a solenoid valve simulation testing device and equipment to solve the technical problem that existing single-channel solenoid valve simulation loads cannot meet the rapid testing requirements of multiple control channels when testing modern multi-channel solenoid valve vehicle control systems, resulting in low overall testing efficiency.
[0004] To solve the above-mentioned technical problems, the present invention provides a solenoid valve simulation testing device, comprising: M analog branches, each analog branch includes a solenoid valve coil analog unit and a first controllable switch connected in series. The input terminal of each solenoid valve coil analog unit is used to connect to at least two first test ports of the solenoid valve control unit, and the output terminals of each first controllable switch are connected to form an analog common terminal. There are N second controllable switches, the input terminals of each second controllable switch are connected to the analog common terminal, and the output terminals are used to connect to different second test ports of the solenoid valve control unit respectively. M and N are both integers not less than 2. The processor's output is connected to the controlled terminals of each first controllable switch and each second controllable switch, respectively. It is used to control the on or off of the corresponding first controllable switch based on the type of the solenoid valve to be simulated, so as to cooperate with the solenoid valve control unit to determine the number of parallel simulated branches; and to control the on or off of the corresponding second controllable switch based on the type of the solenoid valve to be simulated, so as to realize the testing of the solenoid valve to be simulated.
[0005] Optionally, the solenoid valve coil simulation unit includes: An inductor, the first end of which is used to connect to the corresponding first test port; The first resistor has its first end connected to the second end of the inductor, and its second end is connected to the input terminal of the first controllable switch.
[0006] Optionally, the solenoid valve coil simulation unit also includes: The first thermistor is connected at its first end to the second end of the inductor. The second resistor has its first end connected to the second end of the first thermistor, and its second end is grounded.
[0007] Optional, also includes: The second thermistor has its first terminal connected to the analog common terminal. The third controllable switch has its input terminal connected to the second terminal of the second thermistor, its output terminal grounded, and its controlled terminal connected to the output terminal of the processor. The processor is also used to control the third controllable switch to turn on, so that the simulated common terminal is grounded through the second thermistor to simulate a short-circuit fault to ground.
[0008] Optionally, the processor is also used for: Simultaneously control at least two selected second controllable switches to be turned on, so as to connect the solenoid valve simulation test device to at least two different second test ports of the solenoid valve control unit at the same time to simulate wire harness coupling faults. And / or, A pulse width modulation signal is output to the first controllable switch to control the first controllable switch to quickly switch on and off to simulate a poor contact fault in the solenoid valve; And / or, In operation, the first controllable switch is disconnected to simulate an open-circuit fault in the solenoid valve.
[0009] Optional, also includes: The third resistor has its first end connected to the output of each analog branch and its second end connected to the input of each second controllable switch. The first voltage sampling branch has its input terminal connected to the first terminal of the third resistor and its output terminal connected to the input terminal of the processor. It is used to sample the first voltage at the first terminal of the third resistor. The second voltage sampling branch has its input terminal connected to the second terminal of the third resistor and its output terminal connected to the input terminal of the processor. It is used to acquire the second voltage at the second terminal of the third resistor. The processor is also used to determine the current flowing through the third resistor based on the voltage across the third resistor, and to control the first controllable switch and / or the second controllable switch to turn off for overload protection when it is determined that the first voltage and / or the second voltage and / or the current exceeds their respective preset safety thresholds.
[0010] Optional, also includes: Temperature detection unit, used to obtain the temperature of the third resistor; The heat dissipation unit is connected to the processor's output terminal. The processor is also used to control the heat dissipation unit to turn on when the temperature is greater than a preset first temperature threshold, and to control the heat dissipation unit to turn off after the temperature is lower than a preset second temperature threshold and continues to exceed a preset safe time; wherein the first temperature threshold is greater than the second temperature threshold.
[0011] Optionally, the temperature detection unit includes: The third thermistor, with its first terminal connected to the power supply; The fourth resistor has its first end connected to the second end of the third thermistor and the input terminal of the processor, and its second end is grounded.
[0012] Optionally, the heat dissipation unit includes: The fan, with its first end connected to the power supply; The fourth controllable switch has its input terminal connected to the second terminal of the fan, its output terminal grounded, and its controlled terminal connected to the output terminal of the processor.
[0013] To address the aforementioned problems, the present invention also provides a solenoid valve simulation device, comprising a solenoid valve control unit and a communication unit, and further comprising the solenoid valve simulation testing device as described above; wherein, the communication unit is connected to the processor in the solenoid valve control unit and the processor in the solenoid valve simulation testing device, for enabling the processor to interact with the solenoid valve control unit to test the solenoid valve control unit using the solenoid valve simulation testing device.
[0014] This invention provides a solenoid valve simulation testing device, comprising a processor, M simulation branches, and N second controllable switches. The processor controls the on / off state of the first controllable switches and can cooperate with the solenoid valve control unit to change the number of simulation branches connected in parallel to the common simulation terminal. By controlling the parallel combination of different simulation branches, the equivalent impedance and equivalent inductive reactance of the solenoid valve simulation testing device can be changed, thereby simulating the electrical characteristics of coils of different types of solenoid valves using the same hardware combination. During solenoid valve simulation testing, the input terminals of each simulation branch and the output terminals of each second controllable switch are connected to the corresponding test ports of the solenoid valve control unit. By controlling the corresponding second controllable switch to turn on, the coil of the solenoid valve simulated in the above process can be connected to the designated second test port for testing. Therefore, the solenoid valve simulation testing device provided by this invention realizes the parameter simulation of the solenoid valve coil and the automated centralized control of multi-channel access, which can meet the rapid testing needs of modern multi-valve vehicle control systems and effectively improve the testing efficiency of vehicle control systems.
[0015] The present invention also provides a solenoid valve simulation device, which has the same beneficial effects as the solenoid valve simulation test device described above. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the prior art and embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A structural diagram of a solenoid valve simulation testing device provided by the present invention; Figure 2 A structural diagram of a simulation branch of an electromagnetic valve simulation testing device provided by the present invention; Figure 3 This invention provides a structural diagram of the second controllable switch in a solenoid valve simulation test device. Figure 4 This is a structural diagram of another electromagnetic valve simulation testing device provided by the present invention; Figure 5 This is a structural diagram of a solenoid valve simulation device provided by the present invention. Detailed Implementation
[0018] The core of this invention is to provide a solenoid valve simulation test device and equipment, which aims to simulate solenoid valves with different electrical parameters and automatically switch and access external multi-channel control ports through the solenoid valve simulation test device, so as to meet the needs of rapid polling test and fault simulation in multi-channel scenarios of modern multi-channel vehicle systems, and improve the test automation level and test efficiency of vehicle control systems.
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0020] This invention provides a solenoid valve simulation testing device, such as... Figure 1 As shown, Figure 1 A structural diagram of a solenoid valve simulation testing device provided by the present invention. The solenoid valve simulation testing device includes: M analog branches 11, each analog branch includes a solenoid valve coil analog unit and a first controllable switch K1 connected in series. The input terminal of each solenoid valve coil analog unit is used to connect to at least two first test ports of the solenoid valve control unit, and the output terminals of each first controllable switch K1 are connected to form an analog common terminal. There are N second controllable switches 12, the input terminals of each second controllable switch K2 are connected to the analog common terminal, and the output terminals are used to connect to different second test ports of the solenoid valve control unit respectively. M and N are both integers not less than 2. The processor 13 has its output terminals connected to the controlled terminals of each first controllable switch K1 and each second controllable switch K2, respectively. It is used to control the conduction or cutoff of the corresponding first controllable switch K1 based on the type of the solenoid valve to be simulated, so as to cooperate with the solenoid valve control unit to determine the number of parallel simulated branches; and to control the conduction or cutoff of the corresponding second controllable switch K2 based on the type of the solenoid valve to be simulated, so as to realize the testing of the solenoid valve to be simulated.
[0021] First, it's important to understand that automotive solenoid valves are key actuators in electronic control systems. They use electromagnetic force to control the valve core's movement, achieving precise regulation of the fluid medium. Automotive solenoid valves can be functionally categorized into three types: shifting, locking, and pressure regulating solenoid valves. They operate in two modes: on / off and pulse. In fuel systems, they precisely control injection efficiency; in hydraulic transmissions, they manage braking, transmission, and suspension parameters; and they also perform multiple functions such as emission control, air conditioning regulation, and vacuum system operation. The core components of a solenoid valve are an electromagnetic coil and an iron core armature. Its working principle is based on the attraction force generated by energizing the electromagnetic coil, which drives the closing element to actuate. It is often used in conjunction with sensors to achieve automated control. Essentially, a solenoid valve uses electromagnetism to generate mechanical displacement, thereby controlling the opening and closing of the gas / fuel passage. Specifically, when the coil is energized, the inductance generates a constant magnetic field, which in turn generates attraction that overcomes the spring force, pulling the iron core and causing the valve core to switch positions, opening / closing the medium passage. When the coil is de-energized, the magnetic field and attraction disappear, and the spring pushes the iron core back, resetting the valve body and restoring the pipeline to its initial state.
[0022] Different types of solenoid valves often have coils with different equivalent inductance and internal resistance parameters. Furthermore, modern vehicle control systems typically contain multiple independently controlled solenoid valve channels. Existing methods for testing multi-channel solenoid valve vehicle control systems using pure resistance to simulate solenoid valve coils require frequent manual replacement of resistors of different specifications and repeated plugging and unplugging of wiring to switch channels, resulting in low testing efficiency. To address this technical problem, this embodiment constructs a solenoid valve simulation test device based on multi-branch parallel connection and switch multiplexing.
[0023] Specifically, the aforementioned solenoid valve control unit includes a controller for the vehicle control system (including at least one of the body controller, engine controller, and chassis controller) and at least two switches. For any switch, one end of the switch is connected to the vehicle power supply, which can be 12V or 24V, and the other end of the switch (i.e., Figure 1 The HSD (High Side Driver) is connected to the corresponding analog branch, and the control terminal of the switch is connected to the controller. One switch can be connected to one or more analog branches. In practical applications, the number of switches is preferably the same as the number of analog branches, ensuring a one-to-one correspondence between switches and analog branches. It should be noted that in actual vehicle control systems, the controller's drive control method for the solenoid valve coil circuit is mainly divided into High Side Driver (HSD) which controls the on / off state of the positive power supply, and Low Side Driver (LSD) which controls the on / off state of the ground side. The aforementioned first test port corresponds to the drive signal access point for the High Side Driver. In this embodiment, the internal switch at the first test port (i.e., the switch on the HSD side) and the first controllable switch K1 at the end of the subsequent analog branch together constitute the control of the analog branch. The switch at the first test port controls the on / off state of the vehicle power supply to the designated analog branch on the input side of the analog branch; while the first controllable switch K1 controls whether the corresponding analog branch is connected to the subsequent analog common terminal on the output side of the analog branch. This design, which synchronously controls the number of connections on both sides of the simulated branch, enables the solenoid valve simulation test device provided in this embodiment to serve as a general-purpose test load, flexibly compatible with different modes of drive signal access, such as high-side drive or low-side drive.
[0024] Furthermore, such as Figure 2 As shown, Figure 2This invention provides a structural diagram of the simulated branch of a solenoid valve simulation testing device. Considering the differences in coil material and winding specifications among different types of solenoid valves, their equivalent inductive reactance and equivalent impedance parameters exhibit significant differences. To accurately simulate these differences, the device can pre-configure inductors with different inductance values and resistors with different resistance values in its M simulated branches. Through the power supply selection on the input side of the first test port of the solenoid valve control unit, and in conjunction with the processor's control over the conduction of the first controllable switch of the selected simulated branch on the output side, the target number of simulated branches can be precisely connected in parallel to the simulated common terminal. According to the parallel connection principle of circuits, after multiple branches with independent resistance and inductance values are connected in parallel, the total equivalent impedance and total equivalent inductive reactance of the overall circuit will dynamically change with the combination of the connected branches. Based on this, this solenoid valve simulation testing device can utilize a limited number of basic physical components in the hardware circuit to combine equivalent electrical parameters covering a large numerical range. Specifically, the solenoid valve control unit activates the corresponding first test port via its internal switch, providing power to the selected analog branch on the input side. Simultaneously, the processor 13 can send control signals to the controlled terminal of the selected first controllable switch K1 via pins IO1 to IOM, depending on the type of solenoid valve to be simulated. By changing the number of first controllable switches K1 in the on state, a corresponding number of analog branches can be connected in parallel to the analog common terminal, thereby combining different values of equivalent impedance and equivalent inductive reactance in the hardware path. This simulates the electrical characteristics of coils of different types of solenoid valves, or the aging impedance drift phenomenon that occurs in the same solenoid valve after long-term use. Figure 3 As shown, Figure 3 The diagram shows the structure of the second controllable switch K2 in the electromagnetic valve simulation test device provided by this invention. After completing the electromagnetic valve characteristic combination, the processor 13 further controls the corresponding second controllable switch K2 to turn on through pins CT1 to CTN, directly connecting the combined electromagnetic valve simulation circuit to the second test port designated by the electromagnetic valve control unit, thus completing the automatic allocation and access of the test channel and providing a hardware foundation for subsequent rapid testing and fault simulation.
[0025] It should be noted that the specific values of M and N mentioned above can be set according to the actual number of test ports required by the solenoid valve control unit. Furthermore, in this embodiment, the first controllable switch K1 and the second controllable switch K2 can be solid-state relays with strong overcurrent capability. Solid-state relays (SSRs) are semiconductor switching devices without mechanical contacts, consisting of optocoupler isolation, power switches, and protection circuits. They control the switching of high-voltage current through weak current signals and are available in DC and AC versions. Compared to electromagnetic relays, they have faster response, no contact arcs, a lifespan of up to hundreds of millions of cycles, quiet operation, strong resistance to vibration and interference, and high safety due to strong and weak current isolation. They are widely used in the automated control of solenoid valves, motors, and heating loads. The processor 13 controls the on / off state of the solid-state relays to perform millisecond-level action switching, enabling rapid polling tests of multiple control channels. It can also control any two or more second controllable switches K2 to simultaneously close and conduct, simulating wiring coupling faults such as short circuits between the coils of two solenoid valves in actual applications, further verifying the fault diagnosis logic and protection function of the solenoid valve control unit.
[0026] As can be seen, the solenoid valve simulation test device provided in this embodiment controls the on / off state of the first controllable switch K1 and the second controllable switch K2 through the processor 13, realizing the free combination of the electrical characteristics of the solenoid valve and the automatic switching of the test interface, eliminating the need for manual cable plugging and unplugging and load replacement, and effectively improving the testing efficiency of multi-channel solenoid valves in the vehicle control system.
[0027] Based on the above embodiments: As an optional embodiment, such as Figure 2 As shown, the solenoid valve coil simulation unit includes: Inductor L1, the first end of inductor L1 is used to connect to the corresponding first test port; The first resistor R1 has its first end connected to the second end of the inductor L1, and its second end connected to the input terminal of the first controllable switch K1.
[0028] Considering that the essence of a real solenoid valve is an inductor coil with internal resistance, and that in existing technical solutions, solenoid valve simulation test devices usually only use pure resistors as loads, they cannot simulate the current rise characteristics of the solenoid valve coil when it is energized and the reverse high voltage spike characteristics when it is de-energized. As a result, the control logic and fault diagnosis logic of the solenoid valve control unit cannot be fully covered and tested.
[0029] Based on this, this embodiment incorporates an inductor L1 and a first resistor R1 connected in series in the solenoid valve coil simulation unit. When the solenoid valve simulation test device is operating, the first end of the inductor L1 is connected to the drive signal output by the solenoid valve control unit, and the second end is connected to the first controllable switch K1 via the first resistor R1. The physical characteristics of the inductor L1 impede sudden changes in current in the circuit, simulating the inductive reactance response of a real solenoid valve coil; the first resistor R1 limits the steady-state current, simulating the DC resistance of a real solenoid valve coil. The combination of inductor L1 and first resistor R1 accurately reproduces the electrical characteristics of a real solenoid valve coil during operation. The external solenoid valve control unit primarily controls the coil circuit using two methods: high-side drive (HSD) and low-side drive (LSD). The solenoid valve coil simulation unit provided in this embodiment can flexibly accommodate both of these different drive signal input modes, exhibiting a certain degree of universality.
[0030] It should be noted that, depending on actual needs, inductors L1 of different sizes (e.g., 1mH, 2mH, 5mH inductors, etc.) and resistors of different values can be configured in each simulated branch. This allows multiple solenoid valve coil simulation units to be connected in parallel to generate various equivalent impedances and equivalent inductive reactances by turning the first controllable switch K1 on and off. Furthermore, during fault injection testing, the processor 13 can output a pulse width modulation signal to a designated first controllable switch K1 to control the rapid switching on and off of the first controllable switch K1 to simulate a poor contact fault in the solenoid valve; or, when the solenoid valve control unit is operating with a drive signal output, it can directly control the first controllable switch K1 to open, thereby simulating an internal open circuit or external disconnection fault in the solenoid valve.
[0031] As can be seen, the solenoid valve coil simulation unit provided in this embodiment forms a resistance and inductance test load that is closer to the real solenoid valve through the series connection of inductor L1 and first resistor R1. At the same time, combined with the on and off action of the first controllable switch K1, it meets the verification requirements for abnormal faults such as poor contact, open circuit or open circuit of solenoid valve.
[0032] As an optional embodiment, the solenoid valve coil simulation unit further includes: The first thermistor NTC1 is connected to the second terminal of the inductor L1. The second resistor R2 has its first end connected to the second end of the first thermistor NTC1, and its second end is grounded.
[0033] Considering that the coils in real solenoid valves are mostly wound with copper enameled wire, their DC resistance increases with the rise in temperature, which in turn causes the working current flowing through the coil of the solenoid valve to decrease with the rise in temperature. However, the solenoid valve simulation test devices in the existing technical solutions (such as commercial simple loads and discrete simulators) do not have the ability to simulate temperature drift characteristics and cannot cover the verification of diagnostic thresholds, current limiting logic and thermal protection logic of solenoid valve control units in high and low temperature environments.
[0034] Based on this, such as Figure 2 As shown, this embodiment adds a first thermistor NTC1 and a second resistor R2 to the solenoid valve coil simulation unit, and the first thermistor NTC1 is a negative temperature coefficient thermistor (NTC). During the operation of the solenoid valve simulation test device, as the energizing time increases, the overall circuit temperature gradually rises, and the resistance of the first thermistor NTC1 decreases as the temperature rises. Since the first thermistor NTC1 and the second resistor R2 are connected in series between the inductor L1 and ground, the continuously decreasing resistance of the first thermistor NTC1 will gradually divert some of the current originally flowing to the first resistor R1, resulting in a corresponding decrease in the current flowing through the main circuit. Through this branch current diversion method, the current reduction characteristics of the coil of a real solenoid valve due to temperature rise can be accurately simulated at the hardware level. Among them, the second resistor R2 plays the role of current limiting and resistance matching in the solenoid valve coil simulation unit (for example, it can be preferably a fixed resistor of 20 ohms), preventing the first thermistor NTC1 from having too low a resistance under extreme high temperature conditions, which would lead to a short circuit to ground. Those skilled in the art can select the temperature coefficient specification of the first thermistor NTC1 and the specific resistance value of the second resistor R2 according to actual needs, and simulate the working temperature drift curve of the coil (e.g., copper coil) of different specifications of solenoid valves, thereby fully verifying the control and protection logic of the solenoid valve control unit.
[0035] As can be seen, the solenoid valve simulation test device provided in this embodiment utilizes the physical characteristics of negative temperature coefficient thermistors to achieve grounding current shunting. It can achieve passive temperature drift simulation without the need for additional temperature control heating plates or complex temperature control programs. This reduces system hardware costs while improving reliability. The solenoid valve simulation test device can reproduce the coil of a real solenoid valve, effectively filling the technical gap that traditional solutions cannot cover the verification of diagnostic thresholds, current limiting logic, and thermal protection logic under high and low temperature environments.
[0036] As an optional embodiment, it also includes: The second thermistor PTC2 has its first terminal connected to the analog common terminal. The third controllable switch K3 has its input terminal connected to the second terminal of the second thermistor PTC2, its output terminal grounded, and its controlled terminal connected to the output terminal of the processor 13. The processor 13 is also used to control the third controllable switch K3 to turn on, so that the simulated common terminal is grounded through the second thermistor PTC2 to simulate a short circuit to ground fault.
[0037] Considering that in real vehicle operating environments, the external wiring harness of solenoid valves is prone to short-circuit faults to ground due to wear and breakage, when fault testing the solenoid valve control unit, if the traditional method of manually short-circuiting the test cable directly to the ground wire is used, it is easy to generate excessive instantaneous short-circuit current. This not only fails to accurately verify the short-circuit protection logic of the controller, but may also damage or even burn out the external solenoid valve control unit or the solenoid valve simulation test device itself.
[0038] Based on this, such as Figure 2 As shown, in this embodiment, a second thermistor PTC2 and a third controllable switch K3 are connected in series between the analog common terminal and the ground line. The second thermistor PTC2 can specifically be a positive temperature coefficient (PTC) thermistor, and the third controllable switch K3 can specifically be an NMOS transistor. During the short-circuit fault injection test to ground, the MCU microcontroller, acting as processor 13, sends a control signal to the controlled terminal of the third controllable switch K3 through its corresponding pin S1, controlling the third controllable switch K3 to conduct. At this time, the analog common terminal connected to the solenoid valve control circuit will be shorted to the ground line via the power PTC resistor, thereby realizing short-circuit fault injection. During this process, the power PTC resistor acts as a load, effectively limiting the sudden increase in short-circuit current. This provides the overcurrent conditions required to trigger fault diagnosis and protects the solenoid valve simulation test device and the external solenoid valve control unit from damage or burnout due to overcurrent.
[0039] It should be noted that by using the automated action of the internal switch combined with the power PTC resistor, manual destructive short-circuit wiring is avoided. This allows for a safer and more standardized triggering of the thermal protection or overcurrent protection control program inside the solenoid valve control unit, thereby verifying whether the protection function of the solenoid valve control unit itself is normal. At the same time, it can also verify the operational stability of the entire solenoid valve control system and whether the fault reporting function is good.
[0040] As can be seen, the solenoid valve simulation test device provided in this embodiment achieves automated injection of short-circuit faults to ground by controlling the third controllable switch K3 and the second thermistor PTC2 through the processor 13. While verifying the fault protection and reporting functions of the solenoid valve control unit, it can effectively avoid damage to the test hardware caused by the short-circuit current.
[0041] As an optional embodiment, processor 13 is also used for: Simultaneously control at least two selected second controllable switches K2 to conduct, so as to connect the solenoid valve simulation test device to at least two different second test ports of the solenoid valve control unit at the same time, and simulate wire harness coupling faults. And / or, A pulse width modulation signal is output to the first controllable switch K1 to control the first controllable switch K1 to quickly switch on and off to simulate a poor contact fault in the solenoid valve; And / or, In operation, the first controllable switch K1 is disconnected to simulate an open-circuit fault in the solenoid valve.
[0042] In real-world vehicle operating environments, the external wiring harnesses of multi-way solenoid valves are typically bundled together. Due to vehicle vibration, wiring harness aging, or loose connectors, complex faults such as short circuits between harnesses, poor connector contact, or broken wiring harnesses can easily occur. Existing testing equipment can usually only perform normal load simulations and lacks the automated injection capability for these complex wiring faults. Relying on manually breaking the wiring harness for rewiring is not only inefficient but also makes it difficult to accurately reproduce the high-frequency contact problems caused by vehicle vibration.
[0043] Based on this, this embodiment achieves automated injection of various circuit faults through the program control of the internal switches by the processor 13. Specifically, when simulating a wire harness coupling fault, the processor 13 controls at least two second controllable switches K2 to close simultaneously, connecting the solenoid valve simulation test device to different second test ports of the solenoid valve control unit at the same time, thereby connecting different control channels in the physical circuit to simulate a wire harness coupling fault; when simulating a poor contact fault, the processor 13 outputs a pulse width modulation signal to the first controllable switch K1, using the high and low level switching of the control signal to make the first controllable switch K1 quickly switch between the on and off states to simulate a poor contact fault of the solenoid valve; when simulating an open circuit fault, the processor 13 controls the first controllable switch K1 to open under the normal operating state of the solenoid valve control unit outputting the drive signal, cutting off the current loop of the simulated branch to simulate an open circuit fault of the coil.
[0044] It should be noted that the processor 13 can independently execute any one of the three fault injection methods mentioned above, or it can combine and execute multiple fault injection operations on different test channels to verify the fault diagnosis logic and fault reporting function of the solenoid valve control unit under different circuit conditions.
[0045] As can be seen, the solenoid valve simulation test device provided in this embodiment realizes the automated injection of wiring harness coupling, poor contact and open circuit faults through the processor 13 control, avoiding the process of relying on manual wiring modification in traditional testing, and effectively improving the automation level and testing efficiency of solenoid valve control unit fault testing.
[0046] As an optional embodiment, such as Figure 4 As shown, Figure 4 A structural diagram of another electromagnetic valve simulation testing device provided by the present invention. This electromagnetic valve simulation testing device further includes: The third resistor R3 has its first end connected to the output of each analog branch and its second end connected to the input of each second controllable switch K2. The first voltage sampling branch has its input terminal connected to the first terminal of the third resistor R3 and its output terminal connected to the input terminal of the processor 13, and is used to sample the first voltage at the first terminal of the third resistor R3. The second voltage sampling branch has its input terminal connected to the second terminal of the third resistor R3 and its output terminal connected to the input terminal of the processor 13. It is used to collect the second voltage at the second terminal of the third resistor R3. The processor 13 is also configured to determine the current flowing through the third resistor R3 based on the voltage across the third resistor R3, and to control the first controllable switch K1 and / or the second controllable switch K2 to turn off for overload protection when it is determined that the first voltage and / or the second voltage and / or the current exceeds their respective preset safety thresholds.
[0047] Considering that during the multi-channel parallel test or short-circuit fault injection of the solenoid valve control unit, abnormally large current or excessively high voltage may occur in the circuit, which may easily damage the internal components of the solenoid valve simulation test device, or even affect the external solenoid valve control unit.
[0048] Based on this, in this embodiment, a third resistor R3 is set between the output terminal of each simulation branch and the input terminal of the second controllable switch K2. When the solenoid valve simulation test device is working, the first voltage sampling branch and the second voltage sampling branch respectively collect the first voltage and the second voltage across the third resistor R3 in real time, and transmit the corresponding voltage signals to the processor 13 through pins AD1 and AD2 of the processor 13 respectively. The processor 13 calculates the actual current flowing through the third resistor R3 based on the difference between the first voltage and the second voltage and the resistance value of the third resistor R3. When the processor 13 determines that the first voltage, the second voltage, or the calculated current exceeds a preset safety threshold, such as the voltage exceeding the withstand voltage of 40V of the solenoid valve simulation test device, or the current exceeding the normal 3A current of the solenoid valve simulation test device, the processor 13 will immediately send a control signal to the corresponding upstream and downstream switches, namely the first controllable switch K1 and / or the second controllable switch K2, to turn them off, cut off the abnormal current loop, and thus realize the overload protection function.
[0049] Among them, such as Figure 4 As shown, the voltage sampling branch described above can be constructed using voltage divider resistors to form a voltage divider network. For example, a voltage divider network consisting of the first voltage divider resistor R5, the second voltage divider resistor R6, the third voltage divider resistor R7, and the fourth voltage divider resistor R8 can be used. The resistance values of each of these voltage divider resistors can be independently set within the range of 50 kΩ to 100 kΩ according to actual needs. Through this voltage divider network, the large voltage on the solenoid valve circuit can be proportionally converted into a small voltage that meets the input requirements of the processor 13 and transmitted to the processor 13 (e.g., the corresponding AD module) for safe reading. In addition, when the processor 13 determines that the voltage or current exceeds the preset safety threshold and controls the corresponding switch to turn off to cut off the abnormal current loop, it can also simultaneously trigger an alarm action to promptly notify the test personnel that the equipment has entered an overload protection state, further improving the safety and maintainability of the testing process.
[0050] It should be noted that the third resistor R3 here is mainly used as a current sampling resistor, and its resistance is relatively small (e.g., preferably 2-10 milliohms). While achieving current monitoring, it will not affect the overall equivalent impedance characteristics of the solenoid valve simulation test device. Furthermore, those skilled in the art can set the preset safety thresholds for the first voltage, second voltage, and current according to actual needs, namely the power specifications of the solenoid valve control unit being tested and the hardware capacity of the solenoid valve simulation test device itself, to ensure the safety of the hardware device under various fault injection test conditions.
[0051] As can be seen, the solenoid valve simulation test device provided in this embodiment, through the cooperation of the third resistor R3 and the dual voltage sampling branch, realizes real-time calculation and monitoring of the operating voltage and current of the internal circuit, and the processor 13 controls the switch to disconnect when an overload abnormality occurs, effectively protecting the hardware safety of the solenoid valve simulation test device and the solenoid valve control unit.
[0052] As an optional embodiment, it also includes: Temperature detection unit, used to obtain the temperature of the third resistor R3; A heat dissipation unit, the controlled end of which is connected to the output end of the processor 13; The processor 13 is also configured to control the heat dissipation unit to turn on when the temperature is greater than a preset first temperature threshold, and to control the heat dissipation unit to turn off after the temperature is lower than a preset second temperature threshold and continues to exceed a preset safe time; wherein the first temperature threshold is greater than the second temperature threshold.
[0053] Considering that during prolonged simulation testing or short-circuit fault injection of the solenoid valve control unit, the internal circuitry of the solenoid valve simulation test device (such as the circuit containing the third resistor R3) will continuously carry a large current, generating a significant amount of heat. If heat dissipation is not timely, the internal electronic components may overheat, potentially leading to component damage or even the complete destruction of the solenoid valve simulation test device.
[0054] Based on this, such as Figure 4 As shown, this embodiment sets up a temperature detection unit and a heat dissipation unit in the solenoid valve simulation test device, and uses the processor 13 to execute temperature control logic that combines interval and delay. Specifically, an NTC thermistor can be set as a temperature detection unit next to the third resistor R3, which is used as a power resistor in the circuit, and a fan can be used as a heat dissipation unit. During operation, as the temperature of the third resistor R3 gradually increases, the resistance change of the NTC thermistor is converted into a voltage signal, which is transmitted to the corresponding module in the processor 13 for reading through the processor's pin AD3. When the processor 13 determines that the temperature corresponding to the collected voltage is greater than the preset first temperature threshold (e.g., 50°C), it directly controls the fan to start running for active cooling; when the processor 13 determines that the temperature has dropped back to normal, that is, below the preset second temperature threshold (e.g., 40°C), and this low temperature state lasts for more than the set safety time (e.g., 5 minutes), the processor 13 then controls the fan to turn off. By setting the first temperature threshold to be greater than the second temperature threshold and introducing a safety time judgment in the shutdown condition, frequent fan start-stop actions caused by small temperature fluctuations can be avoided.
[0055] It should be noted that in the actual physical structure, the third resistor R3 typically generates the most heat due to the current flowing through the combined current of all simulated branches. Therefore, placing the NTC thermistor next to the third resistor R3 can most accurately reflect the overall thermal state of the solenoid valve simulation test device. Furthermore, the specific values of the first temperature threshold, the second temperature threshold, and the preset safety time can all be flexibly set in the processor 13 program according to the hardware's temperature tolerance and actual heat dissipation requirements of the solenoid valve simulation test device.
[0056] As can be seen, the solenoid valve simulation test device provided in this embodiment controls the fan by combining the processor 13 with high and low temperature thresholds and continuous safe time, thereby realizing the automated management of internal hardware temperature. While ensuring that the solenoid valve simulation test device continues to operate normally and will not be damaged due to high temperature, it effectively avoids the frequent start-stop of heat dissipation components.
[0057] As an optional embodiment, the temperature detection unit includes: The third thermistor NTC3, the first terminal of the third thermistor NTC3 is connected to the power supply; The fourth resistor R4 has its first end connected to the second end of the third thermistor NTC3 and the input terminal of the processor 13, respectively, and its second end is grounded.
[0058] Considering that the analog-to-digital conversion module of processor 13 can usually only read voltage signals, if the temperature acquisition circuit is designed to be too complex when acquiring the temperature of the third resistor R3, it will increase the hardware cost of the solenoid valve simulation test device and easily introduce external electromagnetic interference, affecting the accuracy of temperature acquisition.
[0059] Based on this, this embodiment constructs a voltage divider temperature detection unit composed of a third thermistor NTC3 and a fourth resistor R4 connected in series, such as... Figure 4 As shown. In a specific application, a third thermistor NTC3 is placed next to the third resistor R3 to sense its temperature. When the temperature of the third resistor R3 changes, the resistance of the third thermistor NTC3 changes accordingly, causing a change in the voltage at the voltage divider node between the third thermistor NTC3 and the fourth resistor R4. This voltage divider node is connected to the input terminal of the processor 13, allowing the processor 13 to acquire the voltage signal of this node through pin AD3 and directly calculate the actual temperature of the third resistor R3.
[0060] The third thermistor, NTC3, is preferably an NTC thermistor. As the operating time of the solenoid valve simulation test device increases and the temperature of the third resistor R3 rises, the resistance of the NTC thermistor gradually decreases, causing the voltage shared by the fourth resistor R4 (whose resistance can preferably be 30-40 kΩ) to gradually increase. The processor 13 reads this constantly changing voltage value in real time, and when the voltage value exceeds the voltage setting value corresponding to the preset first temperature threshold, it triggers the heat dissipation function of the solenoid valve simulation test device. The above hardware connection method has a simple structure and can effectively avoid control failures caused by program malfunction or abnormal software sampling.
[0061] As can be seen, the temperature detection unit provided in this embodiment utilizes a series voltage divider circuit composed of the third thermistor NTC3 and the fourth resistor R4 to directly convert the physical temperature change into a voltage signal, providing a stable and reliable hardware foundation for the processor 13 to accurately control the heat dissipation unit of the solenoid valve simulation test device.
[0062] As an optional embodiment, the heat dissipation unit includes: The fan, with its first end connected to the power supply; The fourth controllable switch K4 has its input terminal connected to the second terminal of the fan, its output terminal grounded, and its controlled terminal connected to the output terminal of the processor 13.
[0063] Considering that if the heat dissipation components continue to operate during the operation of the solenoid valve simulation test device, it will not only continuously generate noise and shorten the physical life of the heat dissipation components, but also cause unnecessary energy consumption.
[0064] Based on this, in this embodiment, a fourth controllable switch K4 is set between the fan and the ground wire, and the processor 13 realizes independent start and stop control of the heat dissipation unit. When the solenoid valve simulation test device is working, when the processor 13 determines through the aforementioned temperature detection unit that the internal circuit temperature of the solenoid valve simulation test device is greater than the preset first temperature threshold, the processor 13 sends a control signal to the controlled terminal of the fourth controllable switch K4, so that the fourth controllable switch K4 is turned on, thereby turning on the current loop of the fan and controlling the fan to start running for active cooling; when the aforementioned set shutdown condition is met, the processor 13 controls the fourth controllable switch K4 to turn off, cutting off the current loop of the fan and controlling the fan to turn off.
[0065] It should be noted that the aforementioned fourth controllable switch K4 can specifically be a conventional electronic switching device such as a transistor or a field-effect transistor. The control program within the processor 13 automatically controls the on / off state of the fourth controllable switch K4, ensuring that the fan only operates when there is a genuine risk of overheating in the solenoid valve simulation test device, thus providing on-demand cooling, avoiding manual intervention, and effectively extending the fan's lifespan.
[0066] As can be seen, the heat dissipation unit provided in this embodiment, through the series connection of the fourth controllable switch K4 and the fan, realizes the automatic on / off control of the fan grounding circuit by the processor 13. Under the premise of ensuring the overall thermal safety of the solenoid valve simulation test device, it reduces the operating power consumption and realizes on-demand heat dissipation.
[0067] It should also be noted that although this embodiment mainly uses a processor 13 (such as an MCU) to automate the control of the internal switches to improve testing efficiency, in actual alternatives, an MCU may not be used. Instead, manual operation of the switches can be employed to configure the channels and switch functions of the solenoid valve simulation test device. Furthermore, the specific series and parallel positions and connection order of the first controllable switch K1, the second controllable switch K2, the inductor L1, and other electronic modules used for fault injection involved in this embodiment can be interchanged and adjusted according to actual circuit wiring requirements. Simultaneously, those skilled in the art can increase the number of channels in the simulation branch or change the location and derivative types of the fault injection nodes according to actual needs. The aforementioned modifications, such as replacing automatic control with manual control, swapping component positions, increasing or decreasing the number of channels, and changing fault injection nodes, do not affect the overall functionality and flexibility of the solenoid valve simulation test device, and their corresponding equivalent replacement schemes should fall within the protection scope of this invention.
[0068] The present invention also provides a solenoid valve simulation device, such as... Figure 5 As shown, Figure 5 This invention provides a structural diagram of a solenoid valve simulation device. The solenoid valve simulation device includes a solenoid valve control unit 21 and a communication unit 22, and also includes the solenoid valve simulation testing device as described above. The communication unit 22 is connected to both the solenoid valve control unit 21 and the processor 13 in the solenoid valve simulation testing device, enabling data interaction between the processor 13 and the solenoid valve control unit 21, so as to test the solenoid valve control unit 21 using the solenoid valve simulation testing device.
[0069] Specifically, the communication unit 22 is preferably a CAN bus module. The processor 13 directly interacts with the solenoid valve control unit 21 under test (such as a body controller) through this communication unit 22, establishing a closed-loop test link. During operation, the processor 13 receives drive commands in real time and switches the underlying analog circuit, while simultaneously feeding back the execution status and collected electrical parameters to the solenoid valve control unit 21 for verification of control logic and fault diagnosis functions. This closed-loop structure eliminates the cumbersome external wiring and bulky hardware load box of traditional open-loop testing, resulting in a smaller device size and higher simulation accuracy and faster dynamic response. Simultaneously, the processor 13 can also report the test program status, real-time current and voltage data, and fault / anomaly protection information to external master control devices (such as test hosts, computers, etc.) through the communication unit 22 to meet integration requirements.
[0070] In practical applications, to improve the human-computer interaction and system integration of the solenoid valve simulation device, the device can also be configured with an input unit 23 and a display unit 24 connected to the processor 13. Specifically, the input unit 23 can preferably be a matrix keyboard, used to receive fault injection commands from external sources and send them to the processor 13 to execute corresponding circuit switching or fault simulation operations; the display unit 24 can preferably be an OLED screen, used to display the electrical parameters, operating voltage and current, and fault alarm information of each simulated branch of the current solenoid valve simulation test device in real time.
[0071] It should also be noted that although this embodiment mainly uses an on-board vehicle control system (such as a chassis solenoid valve controller) as an example for detailed description, the solenoid valve simulation testing device and equipment provided by this invention are not limited to the automotive field. Those skilled in the art can widely extend its application to other similar inductive load automation testing and fault simulation scenarios such as new energy water pumps and wind turbine brake valves, all of which should fall within the protection scope of this invention.
[0072] For a description of the internal structure, control principle, and corresponding beneficial effects of the solenoid valve simulation device provided by this invention, please refer to the embodiments of the solenoid valve simulation test device described above, which will not be repeated here.
[0073] It should be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0074] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A solenoid valve simulation testing device, characterized in that, include: M simulated branches, each of which includes a solenoid valve coil simulation unit and a first controllable switch connected in series. The input terminal of each solenoid valve coil simulation unit is used to connect to at least two first test ports of the solenoid valve control unit, and the output terminals of each first controllable switch are connected to form a simulated common terminal. There are N second controllable switches, the input terminal of each second controllable switch is connected to the analog common terminal, and the output terminal is used to connect to different second test ports of the solenoid valve control unit respectively. M and N are both integers not less than 2. The processor, whose output is connected to the controlled terminals of each of the first controllable switches and each of the second controllable switches, is used to control the on or off of the corresponding first controllable switches based on the type of the solenoid valve to be simulated, so as to cooperate with the solenoid valve control unit to determine the number of parallel simulated branches; to control the on or off of the corresponding second controllable switches based on the type of the solenoid valve to be simulated, so as to realize the testing of the solenoid valve to be simulated; and to control at least two selected second controllable switches to be turned on, so as to connect the solenoid valve simulation test device to at least two different second test ports of the solenoid valve control unit at the same time to simulate wire harness coupling faults.
2. The solenoid valve simulation test device as described in claim 1, characterized in that, The solenoid valve coil simulation unit includes: An inductor, wherein the first end of the inductor is used to connect to the corresponding first test port; A first resistor, the first end of which is connected to the second end of the inductor, and the second end of which is connected to the input terminal of the first controllable switch.
3. The electromagnetic valve simulation test device as described in claim 2, characterized in that, The solenoid valve coil simulation unit also includes: A first thermistor, wherein a first end of the first thermistor is connected to a second end of the inductor; The second resistor has its first end connected to the second end of the first thermistor, and its second end is grounded.
4. The solenoid valve simulation test device as described in claim 1, characterized in that, Also includes: A second thermistor, the first end of which is connected to the analog common terminal; The third controllable switch has its input terminal connected to the second terminal of the second thermistor, its output terminal grounded, and its controlled terminal connected to the output terminal of the processor. The processor is also used to control the third controllable switch to turn on, so that the simulated common terminal is grounded through the second thermistor to simulate a short circuit to ground.
5. The solenoid valve simulation test device as described in claim 1, characterized in that, The processor is also used for: A pulse width modulation signal is output to the first controllable switch to control the first controllable switch to quickly switch on and off to simulate a poor contact fault in the solenoid valve; And / or, In operation, the first controllable switch is disconnected to simulate an open-circuit fault in the solenoid valve.
6. The solenoid valve simulation testing apparatus according to any one of claims 1 to 5, characterized in that, Also includes: The third resistor has its first end connected to the output end of each of the analog branches and its second end connected to the input end of each of the second controllable switches. A first voltage sampling branch, the input terminal of which is connected to the first terminal of the third resistor, and the output terminal of which is connected to the input terminal of the processor, is used to acquire the first voltage at the first terminal of the third resistor; The second voltage sampling branch has its input terminal connected to the second terminal of the third resistor and its output terminal connected to the input terminal of the processor, and is used to acquire the second voltage at the second terminal of the third resistor. The processor is further configured to determine the current flowing through the third resistor based on the voltage across the third resistor, and to control the first controllable switch and / or the second controllable switch to turn off for overload protection when it is determined that the first voltage and / or the second voltage and / or the current exceeds their respective preset safety thresholds.
7. The electromagnetic valve simulation test device as described in claim 6, characterized in that, Also includes: A temperature detection unit is used to obtain the temperature of the third resistor; A heat dissipation unit, wherein the controlled end of the heat dissipation unit is connected to the output end of the processor; The processor is further configured to control the heat dissipation unit to turn on when the temperature is greater than a preset first temperature threshold, and to control the heat dissipation unit to turn off after the temperature is lower than a preset second temperature threshold and continues to do so for a preset safe time; wherein the first temperature threshold is greater than the second temperature threshold.
8. The electromagnetic valve simulation test device as described in claim 7, characterized in that, The temperature detection unit includes: The third thermistor, the first end of which is connected to the power supply; The fourth resistor has its first end connected to the second end of the third thermistor and the input terminal of the processor, and its second end is grounded.
9. The electromagnetic valve simulation test device as described in claim 7, characterized in that, The heat dissipation unit includes: A fan, the first end of which is connected to a power source; The fourth controllable switch has its input terminal connected to the second terminal of the fan, its output terminal grounded, and its controlled terminal connected to the output terminal of the processor.
10. A solenoid valve simulation device, characterized in that, The device includes a solenoid valve control unit and a communication unit, and further includes a solenoid valve simulation test apparatus as described in any one of claims 1 to 9; wherein the communication unit is connected to the processor in the solenoid valve control unit and the solenoid valve simulation test apparatus respectively, and is used to enable the processor to interact with the solenoid valve control unit to test the solenoid valve control unit using the solenoid valve simulation test apparatus.
Citation Information
Patent Citations
Complete vehicle signal simulation device
CN102889996A
Engine electronic control unit testing device and system
CN112711243A
