CN114211927B - Solenoid valve control method, device, equipment and storage medium based on air suspension - Google Patents
Solenoid valve control method, device, equipment and storage medium based on air suspension Download PDFInfo
- Publication number
- CN114211927B CN114211927B CN202210064713.9A CN202210064713A CN114211927B CN 114211927 B CN114211927 B CN 114211927B CN 202210064713 A CN202210064713 A CN 202210064713A CN 114211927 B CN114211927 B CN 114211927B
- Authority
- CN
- China
- Prior art keywords
- solenoid valve
- target
- current
- height
- pressure
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000000725 suspension Substances 0.000 title claims abstract description 65
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000008859 change Effects 0.000 claims description 27
- 238000005516 engineering process Methods 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000007599 discharging Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60G—VEHICLE SUSPENSION ARRANGEMENTS
- B60G17/00—Resilient suspensions having means for adjusting the spring or vibration-damper characteristics, for regulating the distance between a supporting surface and a sprung part of vehicle or for locking suspension during use to meet varying vehicular or surface conditions, e.g. due to speed or load
- B60G17/02—Spring characteristics, e.g. mechanical springs and mechanical adjusting means
- B60G17/04—Spring characteristics, e.g. mechanical springs and mechanical adjusting means fluid spring characteristics
- B60G17/052—Pneumatic spring characteristics
- B60G17/0523—Regulating distributors or valves for pneumatic springs
- B60G17/0525—Height adjusting or levelling valves
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60G—VEHICLE SUSPENSION ARRANGEMENTS
- B60G2400/00—Indexing codes relating to detected, measured or calculated conditions or factors
- B60G2400/25—Stroke; Height; Displacement
- B60G2400/252—Stroke; Height; Displacement vertical
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60G—VEHICLE SUSPENSION ARRANGEMENTS
- B60G2500/00—Indexing codes relating to the regulated action or device
- B60G2500/20—Spring action or springs
- B60G2500/204—Pressure regulating valves for air-springs
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Vehicle Body Suspensions (AREA)
Abstract
本发明涉及电气控制技术领域,公开了一种基于空气悬架的电磁阀控制方法、装置、设备及存储介质,所述方法包括:根据当前高度和高度压力特性信息得到空气弹簧在负载状态下的目标压强信息;通过空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量;根据电磁阀的流量特性信息、待充放气体量生成目标PWM控制信号;由于本发明是通过空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量,再根据电磁阀的流量特性信息、待充放气体量生成的目标PWM控制信号控制电磁阀,相较于现有技术通过系统状态控制电磁阀,能够有效提高控制电磁阀的效率和准确率,进而为“过充”、“过放”及频繁充放气现象提供预测支持。
The invention relates to the field of electrical control technology and discloses a solenoid valve control method, device, equipment and storage medium based on air suspension. The method includes: obtaining the air spring under load state based on the current altitude and altitude pressure characteristic information. Target pressure information; the amount of gas to be charged and discharged is generated through the flow characteristic information of the air spring, the target pressure information and the target height; the target PWM control signal is generated according to the flow characteristic information of the solenoid valve and the amount of gas to be charged and discharged; because the present invention uses air The flow characteristic information of the spring, the target pressure information and the target height generate the amount of gas to be filled and discharged, and then the target PWM control signal generated based on the flow characteristic information of the solenoid valve and the amount of gas to be filled and discharged is used to control the solenoid valve. Compared with the existing technology, System status control solenoid valve can effectively improve the efficiency and accuracy of controlling the solenoid valve, thereby providing predictive support for "overcharge", "overdischarge" and frequent charging and deflation phenomena.
Description
技术领域Technical field
本发明涉及电气控制技术领域,尤其涉及基于空气悬架的电磁阀控制方法、装置、设备及存储介质。The present invention relates to the field of electrical control technology, and in particular to a solenoid valve control method, device, equipment and storage medium based on air suspension.
背景技术Background technique
目前,大型商用车、豪华乘用车以及其他车型常配备电控空气悬架系统,并在工作过程中通过电磁阀对空气弹簧充放气进行车身高度控制,而现有控制电磁阀的方式往往通过实时的高度信号传输给电子控制单元(Electronic Control Unit,ECU),使得ECU将当前高度与目标高度进行比较,根据高度差值控制电磁阀进行充放气,但是电磁阀的占空比取决于高度的差值,上述方式缺乏对充气量的预测,进而无法对控制动作进行预测,由于计算速度及响应速度的影响、计算及控制滞后于状态识别,在某一动作应当开始或停止的时间之后才开始执行或停止这一动作,从而造成过充、过放以及频繁充放气等不良现象的出现,导致最终控制电磁阀的效率和准确率较低。At present, large commercial vehicles, luxury passenger cars and other models are often equipped with electronically controlled air suspension systems, and the air spring is inflated and deflated through solenoid valves to control the vehicle height during operation. However, the existing method of controlling solenoid valves often The real-time altitude signal is transmitted to the Electronic Control Unit (ECU), allowing the ECU to compare the current altitude with the target altitude, and control the solenoid valve to inflate and deflate based on the height difference. However, the duty cycle of the solenoid valve depends on The height difference, the above method lacks prediction of the inflation amount, and thus cannot predict the control action. Due to the influence of calculation speed and response speed, calculation and control lag behind status recognition, after the time when an action should start or stop. This action will only start or stop, resulting in overcharge, overdischarge, frequent charging and deflation, and other undesirable phenomena, resulting in low efficiency and low accuracy of the final control solenoid valve.
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solution of the present invention, and does not represent an admission that the above content is prior art.
发明内容Contents of the invention
本发明的主要目的在于提供一种基于空气悬架的电磁阀控制方法、装置、设备及存储介质,旨在解决现有技术控制电磁阀的效率和准确率较低,且无法为“过充”、“过放”及频繁充放气现象提供预测支持的技术问题。The main purpose of the present invention is to provide a solenoid valve control method, device, equipment and storage medium based on air suspension, aiming to solve the problem of low efficiency and accuracy of controlling the solenoid valve in the existing technology, and the inability to "overcharge" , "over-discharge" and frequent charging and deflating phenomena to provide technical issues with predictive support.
为实现上述目的,本发明提供了一种基于空气悬架的电磁阀控制方法,所述基于空气悬架的电磁阀控制方法包括以下步骤:In order to achieve the above object, the present invention provides a solenoid valve control method based on air suspension. The solenoid valve control method based on air suspension includes the following steps:
根据当前高度和当前气压信息确定空气弹簧所处的负载状态;Determine the load state of the air spring based on the current altitude and current air pressure information;
根据所述当前高度和高度压力特性信息得到所述空气弹簧在所述负载状态下的目标压强信息;Obtain the target pressure information of the air spring under the load state according to the current height and height pressure characteristic information;
通过所述空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量;The amount of gas to be charged and discharged is generated based on the flow characteristic information, target pressure information and target height of the air spring;
根据电磁阀的流量特性信息、所述待充放气体量生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制。A target PWM control signal is generated based on the flow characteristic information of the solenoid valve and the amount of gas to be charged and discharged, and the solenoid valve is controlled based on the target PWM control signal.
可选地,所述根据当前高度和当前气压信息确定空气弹簧所处的负载状态,包括:Optionally, determining the load state of the air spring based on the current height and current air pressure information includes:
根据空气弹簧的流量特性信息构建对应的流量-压力-高度模型;Construct the corresponding flow-pressure-height model based on the flow characteristic information of the air spring;
根据电磁阀的流量特性信息构建对应的流量-压力-占空比模型;Construct the corresponding flow-pressure-duty cycle model based on the flow characteristic information of the solenoid valve;
通过流量-压力-高度模型和流量-压力-占空比模型对所述当前高度和当前气压信息进行计算,得到所述空气弹簧所处的负载状态。The current height and current air pressure information are calculated through the flow-pressure-height model and the flow-pressure-duty cycle model to obtain the load state of the air spring.
可选地,所述根据所述当前高度和目标高度得到所述空气弹簧在所述负载状态下的目标压强信息,包括:Optionally, obtaining the target pressure information of the air spring in the load state based on the current height and the target height includes:
通过高度压力特性信息对所述当前高度进行计算,得到当前压强信息;Calculate the current altitude through altitude pressure characteristic information to obtain current pressure information;
根据所述高度压力特性信息得到对应的内压集合;Obtain the corresponding internal pressure set according to the altitude pressure characteristic information;
将所述当前压强信息和内压集合进行线性插值,得到所述空气弹簧在所述负载状态下的目标压强信息。The current pressure information and the internal pressure set are linearly interpolated to obtain the target pressure information of the air spring under the load state.
可选地,所述通过所述空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量,包括:Optionally, generating the gas volume to be filled and deflated through the flow characteristic information, target pressure information and target height of the air spring includes:
对当前高度和目标高度进行作差计算,得到对应的高度变化值;Calculate the difference between the current altitude and the target altitude to obtain the corresponding altitude change value;
根据所述空气弹簧的流量特性信息确定升降单位高度所需的流量;Determine the flow required for lifting unit height according to the flow characteristic information of the air spring;
通过目标循环计算策略和目标压强信息对所述高度变化值和升降单位高度所需的流量进行累加计算,得到待充放气体量。Through the target cycle calculation strategy and the target pressure information, the height change value and the flow rate required for lifting unit height are accumulated and calculated to obtain the amount of gas to be filled and discharged.
可选地,所述根据电磁阀的流量特性信息、所述待充放气体量生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制,包括:Optionally, generating a target PWM control signal based on the flow characteristic information of the solenoid valve and the amount of gas to be filled and discharged, and controlling the solenoid valve based on the target PWM control signal includes:
根据电磁阀的流量特性信息对所述待充放气体量进行计算,得到当前充放气空占比和当前周期数;Calculate the amount of gas to be charged and discharged based on the flow characteristic information of the solenoid valve to obtain the current filling and deflating air ratio and the current cycle number;
通过所述当前充放气空占比和当前周期数生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制。A target PWM control signal is generated based on the current charging and deflating air duty ratio and the current cycle number, and the solenoid valve is controlled based on the target PWM control signal.
可选地,所述根据电磁阀的流量特性信息对所述待充放气体量进行计算,得到当前充放气空占比和当前周期数,包括:Optionally, the amount of gas to be charged and discharged is calculated based on the flow characteristic information of the solenoid valve to obtain the current charging and discharging air duty ratio and the current cycle number, including:
获取所述电磁阀的目标占空比集合;Obtain the target duty cycle set of the solenoid valve;
根据所述电磁阀的流量特性信息对所述目标占空比集合进行计算,得到对应的流量集合;Calculate the target duty cycle set according to the flow characteristic information of the solenoid valve to obtain the corresponding flow set;
将所述流量集合中的流量与待充放气体量作比,得到对应的占空比数量;Compare the flow rate in the flow set with the amount of gas to be charged and discharged to obtain the corresponding duty cycle amount;
根据所述占空比数量和预设控制时间进行比较,得到当前充放气空占比和当前周期数。Based on the comparison between the duty cycle number and the preset control time, the current charging and deflating air duty cycle and the current cycle number are obtained.
可选地,所述通过所述当前充放气空占比和当前周期数生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制,包括:Optionally, generating a target PWM control signal through the current charging and deflating duty ratio and the current cycle number, and controlling the solenoid valve based on the target PWM control signal includes:
获取当前单个周期数,根据所述当前单个周期数和当前周期数得到对应的周期长度;Obtain the current single cycle number, and obtain the corresponding cycle length according to the current single cycle number and the current cycle number;
根据所述当前周期数得到对应的起始周期和结束周期;Obtain the corresponding starting period and ending period according to the current period number;
根据所述当前充放气空占比、周期长度、起始周期以及结束周期生成目标PWM控制信号;Generate a target PWM control signal according to the current charging and deflating duty ratio, cycle length, starting period and ending period;
在所述目标PWM控制信号为目标PWM开启信号时,控制所述电磁阀的通道开启;When the target PWM control signal is the target PWM opening signal, control the channel of the solenoid valve to open;
在所述目标PWM控制信号为目标PWM关闭信号时,控制所述电磁阀的通道关闭。When the target PWM control signal is the target PWM closing signal, the channel of the solenoid valve is controlled to be closed.
此外,为实现上述目的,本发明还提出一种基于空气悬架的电磁阀控制装置,所述基于空气悬架的电磁阀控制装置包括:In addition, to achieve the above object, the present invention also proposes a solenoid valve control device based on air suspension. The solenoid valve control device based on air suspension includes:
确定模块,用于根据当前高度和当前气压信息确定空气弹簧所处的负载状态;A determination module used to determine the load state of the air spring based on the current altitude and current air pressure information;
获取模块,用于根据所述当前高度和高度压力特性信息得到所述空气弹簧在所述负载状态下的目标压强信息;An acquisition module configured to obtain the target pressure information of the air spring in the load state based on the current height and height pressure characteristic information;
生成模块,用于通过所述空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量;A generation module used to generate the amount of gas to be charged and discharged based on the flow characteristic information, target pressure information and target height of the air spring;
控制模块,用于根据电磁阀的流量特性信息、所述待充放气体量生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制。A control module configured to generate a target PWM control signal based on the flow characteristic information of the solenoid valve and the amount of gas to be filled and discharged, and to control the solenoid valve based on the target PWM control signal.
此外,为实现上述目的,本发明还提出一种基于空气悬架的电磁阀控制设备,所述基于空气悬架的电磁阀控制设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于空气悬架的电磁阀控制程序,所述基于空气悬架的电磁阀控制程序配置为实现如上文所述的基于空气悬架的电磁阀控制方法。In addition, to achieve the above object, the present invention also proposes an air suspension-based solenoid valve control device. The air suspension-based solenoid valve control device includes: a memory, a processor, and a device stored in the memory and available in the memory. An air suspension-based solenoid valve control program running on the processor, the air suspension-based solenoid valve control program is configured to implement the air suspension-based solenoid valve control method as described above.
此外,为实现上述目的,本发明还提出一种存储介质,所述存储介质上存储有基于空气悬架的电磁阀控制程序,所述基于空气悬架的电磁阀控制程序被处理器执行时实现如上文所述的基于空气悬架的电磁阀控制方法。In addition, to achieve the above object, the present invention also proposes a storage medium on which a solenoid valve control program based on air suspension is stored. The solenoid valve control program based on air suspension is implemented when executed by a processor. The solenoid valve control method based on air suspension is as described above.
本发明提出的基于空气悬架的电磁阀控制方法,根据当前高度和当前气压信息确定空气弹簧所处的负载状态;根据所述当前高度和高度压力特性信息得到所述空气弹簧在所述负载状态下的目标压强信息;通过所述空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量;根据电磁阀的流量特性信息、所述待充放气体量生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制;由于本发明是通过空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量,再根据电磁阀的流量特性信息、待充放气体量生成的目标PWM控制信号控制电磁阀,相较于现有技术通过系统状态控制电磁阀,能够有效提高控制电磁阀的效率和准确率,进而为“过充”、“过放”及频繁充放气现象提供预测支持。The solenoid valve control method based on air suspension proposed by the present invention determines the load state of the air spring based on the current height and current air pressure information; and obtains the load state of the air spring based on the current height and height pressure characteristic information. The target pressure information under the air spring; the gas volume to be charged and discharged is generated through the flow characteristic information of the air spring, the target pressure information and the target height; the target PWM control signal is generated according to the flow characteristic information of the solenoid valve and the gas volume to be charged and discharged, And the solenoid valve is controlled based on the target PWM control signal; because the present invention generates the amount of gas to be filled and discharged through the flow characteristic information of the air spring, the target pressure information and the target height, and then based on the flow characteristic information of the solenoid valve, The target PWM control signal generated by the amount of gas to be charged and discharged controls the solenoid valve. Compared with the existing technology of controlling the solenoid valve through the system status, it can effectively improve the efficiency and accuracy of controlling the solenoid valve, thereby providing "overcharge" and "overdischarge". ” and frequent inflation and deflation phenomena provide prediction support.
附图说明Description of the drawings
图1是本发明实施例方案涉及的硬件运行环境的基于空气悬架的电磁阀控制设备的结构示意图;Figure 1 is a schematic structural diagram of an air suspension-based solenoid valve control device in the hardware operating environment involved in the embodiment of the present invention;
图2为本发明基于空气悬架的电磁阀控制方法第一实施例的流程示意图;Figure 2 is a schematic flow chart of the first embodiment of the solenoid valve control method based on air suspension according to the present invention;
图3为本发明基于空气悬架的电磁阀控制方法一实施例的整体流程示意图;Figure 3 is an overall flow diagram of an embodiment of the solenoid valve control method based on air suspension according to the present invention;
图4为本发明基于空气悬架的电磁阀控制方法第二实施例的流程示意图;Figure 4 is a schematic flow chart of the second embodiment of the solenoid valve control method based on air suspension according to the present invention;
图5为本发明基于空气悬架的电磁阀控制方法一实施例的充气示意图;Figure 5 is an inflation schematic diagram of an embodiment of the solenoid valve control method based on air suspension according to the present invention;
图6为本发明基于空气悬架的电磁阀控制方法第三实施例的流程示意图;Figure 6 is a schematic flow chart of the third embodiment of the solenoid valve control method based on air suspension according to the present invention;
图7为本发明基于空气悬架的电磁阀控制方法一实施例的流量变化流程示意图;Figure 7 is a schematic diagram of the flow rate change process of an embodiment of the solenoid valve control method based on air suspension according to the present invention;
图8为本发明基于空气悬架的电磁阀控制装置第一实施例的功能模块示意图。Figure 8 is a functional module schematic diagram of the first embodiment of the solenoid valve control device based on air suspension of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional features and advantages of the present invention will be further described with reference to the embodiments and the accompanying drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention and are not intended to limit the present invention.
参照图1,图1为本发明实施例方案涉及的硬件运行环境的基于空气悬架的电磁阀控制设备结构示意图。Referring to Figure 1, Figure 1 is a schematic structural diagram of an air suspension-based solenoid valve control device in the hardware operating environment involved in the embodiment of the present invention.
如图1所示,该基于空气悬架的电磁阀控制设备可以包括:处理器1001,例如中央处理器(Central Processing Unit,CPU),通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如无线保真(Wireless-Fidelity,Wi-Fi)接口)。存储器1005可以是高速的随机存取存储器(RandomAccess Memory,RAM)存储器,也可以是稳定的非易失性存储器(Non-Volatile Memory,NVM),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in Figure 1, the air suspension-based solenoid valve control device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize connection communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard). The optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
本领域技术人员可以理解,图1中示出的结构并不构成对基于空气悬架的电磁阀控制设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 1 does not constitute a limitation to the solenoid valve control device based on air suspension, and may include more or less components than shown in the figure, or combine certain components, or Different component arrangements.
如图1所示,作为一种存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及基于空气悬架的电磁阀控制程序。As shown in FIG. 1 , memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and an air suspension-based solenoid valve control program.
在图1所示的基于空气悬架的电磁阀控制设备中,网络接口1004主要用于与网络一体化平台工作站进行数据通信;用户接口1003主要用于与用户进行数据交互;本发明基于空气悬架的电磁阀控制设备中的处理器1001、存储器1005可以设置在基于空气悬架的电磁阀控制设备中,所述基于空气悬架的电磁阀控制设备通过处理器1001调用存储器1005中存储的基于空气悬架的电磁阀控制程序,并执行本发明实施例提供的基于空气悬架的电磁阀控制方法。In the air suspension-based solenoid valve control device shown in Figure 1, the network interface 1004 is mainly used for data communication with the network integration platform workstation; the user interface 1003 is mainly used for data interaction with the user; the present invention is based on the air suspension The processor 1001 and the memory 1005 in the solenoid valve control device of the frame can be set in the solenoid valve control device based on air suspension. The solenoid valve control device based on air suspension calls the solenoid valve control device based on air suspension through the processor 1001 and the memory 1005. The solenoid valve control program of the air suspension is executed, and the solenoid valve control method based on the air suspension provided by the embodiment of the present invention is executed.
基于上述硬件结构,提出本发明基于空气悬架的电磁阀控制方法实施例。Based on the above hardware structure, an embodiment of the solenoid valve control method based on air suspension of the present invention is proposed.
参照图2,图2为本发明基于空气悬架的电磁阀控制方法第一实施例的流程示意图。Referring to Figure 2, Figure 2 is a schematic flow chart of the first embodiment of the solenoid valve control method based on air suspension of the present invention.
在第一实施例中,所述基于空气悬架的电磁阀控制方法包括以下步骤:In a first embodiment, the air suspension-based solenoid valve control method includes the following steps:
步骤S10,根据当前高度和当前气压信息确定空气弹簧所处的负载状态。Step S10: Determine the load state of the air spring based on the current height and current air pressure information.
需要说明的是,本实施例的执行主体为基于空气悬架的电磁阀控制设备,还可为其他可实现相同或相似功能的设备,例如电磁阀控制器等,本实施例对此不作限制,在本实施例中,以电磁阀控制器为例进行说明。It should be noted that the execution subject of this embodiment is a solenoid valve control device based on air suspension, and may also be other devices that can achieve the same or similar functions, such as a solenoid valve controller, etc. This embodiment does not limit this. In this embodiment, the solenoid valve controller is taken as an example for explanation.
应当理解的是,当前高度指的是空气弹簧当前所在的高度,而当前气压信息指的是空气弹簧在当前高度下所承受的气体压力信息,该当前气压信息包括气压大小、气压方向等信息。It should be understood that the current height refers to the current height of the air spring, and the current air pressure information refers to the gas pressure information that the air spring bears at the current height. The current air pressure information includes information such as air pressure magnitude and air pressure direction.
可以理解的是,负载状态指的是空气弹簧在当前高度和当前气压信息下所处的负荷装载状态,通过该负载状态可以反映空气弹簧的载荷情况,在得到当前高度和当前气压信息后,通过空气弹簧和电磁阀的模型检测空气弹簧在当前条件下的负载状态。It can be understood that the load state refers to the load state of the air spring under the current height and current air pressure information. The load state can reflect the load situation of the air spring. After obtaining the current height and current air pressure information, through Models of air springs and solenoid valves detect the load status of the air spring under current conditions.
进一步地,步骤S10,包括:根据空气弹簧的流量特性信息构建对应的流量-压力-高度模型;根据电磁阀的流量特性信息构建对应的流量-压力-占空比模型;通过流量-压力-高度模型和流量-压力-占空比模型对所述当前高度和当前气压信息进行计算,得到所述空气弹簧所处的负载状态。Further, step S10 includes: constructing a corresponding flow-pressure-height model according to the flow characteristic information of the air spring; constructing a corresponding flow-pressure-duty cycle model according to the flow characteristic information of the solenoid valve; using the flow-pressure-height model The model and the flow-pressure-duty cycle model calculate the current height and current air pressure information to obtain the load state of the air spring.
应当理解的是,流量-压力-高度模型指的是空气弹簧的流量、压力与高度之间的映射关系所构建的模型,而空气弹簧的流量特性信息包括:空气的密度、经过空气弹簧的空气质量、空气弹簧节流孔面积、空气弹簧节流孔的流量系数以及附加空气室与空气弹簧之间压力的变化量,而流量-压力-占空比模型指的是电磁阀的流量、压力与占空比之间的映射关系所构建的模型。It should be understood that the flow-pressure-height model refers to the model constructed from the mapping relationship between the flow, pressure and height of the air spring, and the flow characteristic information of the air spring includes: the density of the air, the air passing through the air spring mass, air spring orifice area, air spring orifice flow coefficient and the change in pressure between the additional air chamber and the air spring, while the flow-pressure-duty cycle model refers to the flow, pressure and A model constructed based on the mapping relationship between duty cycles.
可以理解的是,在构建出流量-压力-高度模型和流量-压力-占空比模型后,通过流量-压力-高度模型和流量-压力-占空比模型对空气弹簧的当前高度和当前气压进行计算,以得到空气弹簧在当前条件下的负载状态,该负载状态与当前高度对应。It can be understood that after constructing the flow-pressure-height model and the flow-pressure-duty cycle model, the current height and current air pressure of the air spring can be calculated through the flow-pressure-height model and the flow-pressure-duty cycle model. Calculations are performed to obtain the load state of the air spring under current conditions, which corresponds to the current height.
步骤S20,根据所述当前高度和目标高度得到所述空气弹簧在所述负载状态下的目标压强信息。Step S20: Obtain the target pressure information of the air spring in the load state according to the current height and the target height.
可以理解的是,目标高度指的是空气弹簧被调节后的高度,而目标压强信息指的是在目标高度和负载状态下所承受的压强信息,即空气弹簧在同一负载、不同高度的情况下所承受的内部压强,不同内压所对应的载荷情况下,高度变化带来的内部压强的变化。It can be understood that the target height refers to the height of the air spring after being adjusted, and the target pressure information refers to the pressure information experienced under the target height and load state, that is, the air spring is under the same load and different heights. The internal pressure endured, the change in internal pressure caused by the height change under the load conditions corresponding to different internal pressures.
进一步地,步骤S20,包括:通过高度压力特性信息对所述当前高度进行计算,得到当前压强信息;根据所述高度压力特性信息得到对应的内压集合;将所述当前压强信息和内压集合进行线性插值,得到所述空气弹簧在所述负载状态下的目标压强信息。Further, step S20 includes: calculating the current altitude through altitude pressure characteristic information to obtain current pressure information; obtaining a corresponding internal pressure set according to the altitude pressure characteristic information; and combining the current pressure information and internal pressure set. Linear interpolation is performed to obtain the target pressure information of the air spring under the load state.
应当理解的是,当前压强信息指的是空气弹簧在当前高度和负载状态下所承受的压强信息,高度压力特性信息指的是空气弹簧设计高度与压力之间的特性信息,在已知该高度压力特性信息中的任一条件时,可以查找到另一条件,例如,已知条件为当前高度,则查找到的另一条件为与当前高度对应的压力,并通过该压力得到对应的压强信息,同样,通过高度压力特性信息查找出与设计高度对应的内部压强集合,即设计高度在不同标准下对应的内部压强为多个。It should be understood that the current pressure information refers to the pressure information that the air spring bears under the current height and load state, and the height pressure characteristic information refers to the characteristic information between the design height and pressure of the air spring. When the height is known, When any condition in the pressure characteristic information is met, another condition can be found. For example, if the known condition is the current altitude, then the other condition found is the pressure corresponding to the current altitude, and the corresponding pressure information can be obtained through this pressure. , Similarly, the internal pressure set corresponding to the design height is found through the height pressure characteristic information, that is, the design height has multiple internal pressures corresponding to different standards.
可以理解的是,在得到当前压强信息和内压集合后,将当前压强信息与内压集合中的各个内压分别进行线性插值,以得到在负载状态下不变的情况下,空气弹簧在目标高度时所承受的目标压强信息。It can be understood that after obtaining the current pressure information and the internal pressure set, linear interpolation is performed between the current pressure information and each internal pressure in the internal pressure set to obtain the target pressure of the air spring under the condition that the load state remains unchanged. Target pressure information experienced at altitude.
步骤S30,通过所述空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量。Step S30: Generate the gas volume to be filled and discharged based on the flow characteristic information, target pressure information and target height of the air spring.
应当理解的是,待充放气体量指的是电磁阀需要充气或者放气的体积,即在当前高度小于目标高度时,需要控制电磁阀进行充气,在当前高度大于目标高度时,需要控制电磁阀进行放气,而控制电磁阀充气或者放气的体积是通过流量特性信息、目标压强信息以及目标高度确定的。It should be understood that the amount of gas to be filled or deflated refers to the volume that the solenoid valve needs to inflate or deflate. That is, when the current height is less than the target height, the solenoid valve needs to be controlled to inflate. When the current height is greater than the target height, the solenoid valve needs to be controlled. The valve is deflated, and the volume that controls the solenoid valve to be inflated or deflated is determined through flow characteristic information, target pressure information, and target height.
步骤S40,根据电磁阀的流量特性信息、所述待充放气体量生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制。Step S40: Generate a target PWM control signal based on the flow characteristic information of the solenoid valve and the amount of gas to be charged and discharged, and control the solenoid valve based on the target PWM control signal.
可以理解的是,电磁阀的流量特性信息指的是电磁阀在一定进口压力下,出口压力与出口流量之间的特性曲线,目标PWM控制信号指的是控制电磁阀进行开启或者关闭的信号,在得到待充放气体量后,根据电磁阀的流量特性信息和待充放气体量生成目标PWM控制信号,然后通过PWM控制信号控制电磁阀的关闭。It can be understood that the flow characteristic information of the solenoid valve refers to the characteristic curve between the outlet pressure and the outlet flow of the solenoid valve under a certain inlet pressure. The target PWM control signal refers to the signal that controls the solenoid valve to open or close. After obtaining the amount of gas to be charged and discharged, a target PWM control signal is generated based on the flow characteristic information of the solenoid valve and the amount of gas to be charged and discharged, and then the closing of the solenoid valve is controlled through the PWM control signal.
应当理解的是,参考图3,图3为整体流程示意图,具体流程为:获取空气弹簧的当前高度和当前高压信息,根据当前高度、当前高压信息以及空气弹簧设计高度压力特征信息得到等负载变化值目标高度的目标压强信息,然后根据目标压强信息、空气弹簧的流量特性信息以及目标高度生成所需的待充放气体量,再基于所需的待充放气体量和电磁阀的流量特性信息得到对应的占空比和周期数,最后通过占空比和周期数生成目标PWM控制信号。It should be understood that, with reference to Figure 3, Figure 3 is a schematic diagram of the overall process. The specific process is: obtain the current height and current high pressure information of the air spring, and obtain the equal load change based on the current height, current high pressure information and air spring design height pressure characteristic information. The target pressure information of the target height is calculated, and then the required gas volume to be charged and discharged is generated based on the target pressure information, the flow characteristic information of the air spring and the target height, and then based on the required gas volume to be charged and discharged and the flow characteristic information of the solenoid valve The corresponding duty cycle and number of cycles are obtained, and finally the target PWM control signal is generated through the duty cycle and number of cycles.
本实施例根据当前高度和当前气压信息确定空气弹簧所处的负载状态;根据所述当前高度和高度压力特性信息得到所述空气弹簧在所述负载状态下的目标压强信息;通过所述空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量;根据电磁阀的流量特性信息、所述待充放气体量生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制;由于本实施例是通过空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量,再根据电磁阀的流量特性信息、待充放气体量生成的目标PWM控制信号控制电磁阀,相较于现有技术通过系统状态控制电磁阀,能够有效提高控制电磁阀的效率和准确率,进而为“过充”、“过放”及频繁充放气现象提供预测支持。This embodiment determines the load state of the air spring based on the current height and current air pressure information; obtains the target pressure information of the air spring under the load state based on the current height and height pressure characteristic information; through the air spring The flow characteristic information, the target pressure information and the target height generate the gas volume to be charged and discharged; the target PWM control signal is generated based on the flow characteristic information of the solenoid valve and the gas volume to be filled and discharged, and the target PWM control signal is generated based on the target PWM control signal. The solenoid valve is controlled; since this embodiment generates the amount of gas to be filled and discharged through the flow characteristic information of the air spring, the target pressure information and the target height, and then generates the target PWM control based on the flow characteristic information of the solenoid valve and the amount of gas to be filled and discharged. Compared with the existing technology of controlling the solenoid valve through system status, the signal control solenoid valve can effectively improve the efficiency and accuracy of controlling the solenoid valve, thereby providing predictive support for "overcharge", "overdischarge" and frequent charging and deflation phenomena. .
在一实施例中,如图4所述,基于第一实施例提出本发明基于空气悬架的电磁阀控制方法第二实施例,所述步骤S30,包括:In one embodiment, as shown in Figure 4, a second embodiment of the air suspension-based solenoid valve control method of the present invention is proposed based on the first embodiment. The step S30 includes:
步骤S301,对当前高度和目标高度进行作差计算,得到对应的高度变化值。Step S301: Perform a difference calculation between the current height and the target height to obtain the corresponding height change value.
应当理解的是,高度变化值指的是指的空气弹簧由当前高度调节为目标高度时高度发生变化的数值,该高度变化值由当前高度和目标高度进行作差得到的,例如,空气弹簧的当前高度为L1,而调节后的目标高度为L2,则高度变化量△L=|L1-L2|。It should be understood that the height change value refers to the value of the height change of the air spring when it is adjusted from the current height to the target height. The height change value is obtained by the difference between the current height and the target height. For example, the height change value of the air spring is The current height is L1, and the adjusted target height is L2, then the height change amount △L=|L1-L2|.
步骤S302,根据所述空气弹簧的流量特性信息确定升降单位高度所需的流量。Step S302: Determine the flow rate required to lift the unit height according to the flow characteristic information of the air spring.
可以理解的是,流量指的是空气弹簧在不同负载下上升或者下降一个单位高度时所需的流量,在当前高度小于目标高度时,该流量为上升一个单位高度时所需的流量,在当前高度大于目标高度时,该流量为下降一个单位高度时所需的流量,该单位高度可以为1mm。It can be understood that the flow rate refers to the flow rate required when the air spring rises or falls by one unit height under different loads. When the current height is less than the target height, the flow rate is the flow rate required when it rises by one unit height. At the current When the height is greater than the target height, the flow rate is the flow rate required to drop one unit height, and the unit height can be 1mm.
步骤S303,通过目标循环计算策略和目标压强信息对所述高度变化值和升降单位高度所需的流量进行累加计算,得到待充放气体量。Step S303: The height change value and the flow rate required for lifting the unit height are accumulated and calculated through the target cycle calculation strategy and the target pressure information to obtain the amount of gas to be filled and deflated.
应当理解的是,目标循环计算策略指的是循环计算充放气体量的策略,在得到升降单位高度所需的流量后,通过高度变化值和升降单位高度所需的流量累加计算从当前高度至目标高度所需的总流量值,然后通过总流量值得到待充放气体量,例如,下降或上升一个单位高度所需的流量为m,且从当前高度上升或下降至目标高度有n个单位高度,电磁阀的数量为p,则总流量值为m*n*p。It should be understood that the target cycle calculation strategy refers to the strategy of cyclically calculating the amount of gas filling and discharging. After obtaining the flow rate required for lifting unit height, the height change value and the flow rate required for lifting unit height are accumulated to calculate the flow rate from the current height to The total flow value required for the target height is then used to obtain the amount of gas to be filled and discharged. For example, the flow required to drop or rise one unit height is m, and there are n units to rise or fall from the current height to the target height. height, the number of solenoid valves is p, then the total flow value is m*n*p.
可以理解的是,参考图5,图5为充气示意图,具体为:空气弹簧在空气弹簧在不同负载、不同高度情况下提升1mm所需的充气量,不同负载是通过压强反映,而提升高度是通过空气弹簧的当前高度和目标高度确定,而竖坐标的参数为提升1mm所需充气量。It can be understood that, with reference to Figure 5, Figure 5 is a schematic diagram of inflation, specifically: the amount of inflation required for the air spring to lift 1mm under different loads and different heights. Different loads are reflected by pressure, and the lifting height is It is determined by the current height and target height of the air spring, and the parameter of the vertical coordinate is the amount of inflation required to lift 1mm.
本实施例通过对当前高度和目标高度进行作差计算,得到对应的高度变化值;根据所述空气弹簧的流量特性信息确定升降单位高度所需的流量;通过目标循环计算策略和目标压强信息对所述高度变化值和升降单位高度所需的流量进行累加计算,得到待充放气体量;由于本实施例是通过对当前高度和目标高度进行作差计算,然后根据空气弹簧的流量特性信息确定升降单位高度所需的流量,再通过目标循环计算策略对高度变化值和升降单位高度所需的流量进行累加计算,从而能够有效提高得到待充放气体量的准确性。In this embodiment, the corresponding height change value is obtained by performing a difference calculation between the current height and the target height; the flow rate required for lifting the unit height is determined based on the flow characteristic information of the air spring; the target cycle calculation strategy and the target pressure information are used to calculate The height change value and the flow rate required for lifting unit height are cumulatively calculated to obtain the amount of gas to be filled and discharged; since this embodiment is calculated by making a difference between the current height and the target height, and then determined based on the flow characteristic information of the air spring The flow rate required to lift the unit height is then accumulated and calculated through the target cycle calculation strategy to calculate the height change value and the flow rate required to lift the unit height, thereby effectively improving the accuracy of obtaining the amount of gas to be filled and discharged.
在一实施例中,如图6所述,基于第一实施例提出本发明基于空气悬架的电磁阀控制方法第三实施例,所述步骤S40,包括:In one embodiment, as shown in Figure 6, a third embodiment of the air suspension-based solenoid valve control method of the present invention is proposed based on the first embodiment. The step S40 includes:
步骤S401,根据电磁阀的流量特性信息对所述待充放气体量进行计算,得到当前充放气空占比和当前周期数。Step S401: Calculate the amount of gas to be charged and deflated based on the flow characteristic information of the solenoid valve to obtain the current filling and deflating air ratio and the current cycle number.
可以理解的是,当前充放气空占比指的是充气或者放气时间与总时间之间的比值,当前周期数指的是充气或者放气的周期数量,在得到待充放气体量后,通过电磁阀的流量特性信息对待充放气体量进行计算,以得到对应的当前充放气空占比和当前周期数。It can be understood that the current filling and deflating air ratio refers to the ratio between the filling or deflating time and the total time, and the current cycle number refers to the number of filling or deflating cycles. After obtaining the amount of gas to be filled and deflated, , calculate the amount of gas to be charged and discharged through the flow characteristic information of the solenoid valve to obtain the corresponding current filling and discharge air ratio and current cycle number.
进一步地,步骤S401,包括:获取所述电磁阀的目标占空比集合;根据所述电磁阀的流量特性信息对所述目标占空比集合进行计算,得到对应的流量集合;将所述流量集合中的流量与待充放气体量作比,得到对应的占空比数量;根据所述占空比数量和预设控制时间进行比较,得到当前充放气空占比和当前周期数。Further, step S401 includes: obtaining a target duty cycle set of the solenoid valve; calculating the target duty cycle set according to the flow characteristic information of the solenoid valve to obtain a corresponding flow rate set; converting the flow rate The flow rate in the set is compared with the amount of gas to be charged and discharged to obtain the corresponding duty cycle number; the current charge and discharge air duty ratio and the current cycle number are obtained by comparing the duty cycle number and the preset control time.
应当理解的是,目标占空比集合指的是由电磁阀常见的空占比组成的集合,例如,在电磁阀为充气时,占空比为40%、60%以及80%,此时电磁阀的前后端为气源和空气弹簧,在电磁阀为放气时,占空比为60%、80%以及100%,此时电磁阀的前后端为空气弹簧和大气。It should be understood that the target duty cycle set refers to a set composed of common duty cycles of the solenoid valve. For example, when the solenoid valve is inflated, the duty cycles are 40%, 60% and 80%. At this time, the solenoid valve The front and rear ends of the valve are the air source and the air spring. When the solenoid valve is deflating, the duty cycle is 60%, 80% and 100%. At this time, the front and rear ends of the solenoid valve are the air spring and the atmosphere.
可以理解的是,流量集合指的是由与占空比对应的流量组成的集合,预设控制时间指的是控制电磁阀所需要的时间,在得到目标占空比集合后,通过电磁阀的流量特性信息对目标占空比集合进行计算,以得到对应的流量集合,然后将流量集合中的流量与待充放气体量作比值,即可得到占空比数量,然后将占空比数量和预设控制时间进行比较时,将周期数量取整,以得到最准确的当前充放气空占比和当前周期数。It can be understood that the flow set refers to the set of flows corresponding to the duty cycle, and the preset control time refers to the time required to control the solenoid valve. After the target duty cycle set is obtained, the solenoid valve The flow characteristic information calculates the target duty cycle set to obtain the corresponding flow rate set, and then ratios the flow rate in the flow set to the amount of gas to be charged and discharged to obtain the duty cycle quantity, and then sums the duty cycle quantity and When comparing the preset control times, the cycle number is rounded to obtain the most accurate current charging and deflating air ratio and current cycle number.
步骤S402,通过所述当前充放气空占比和当前周期数生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制。Step S402: Generate a target PWM control signal based on the current charging and deflating duty ratio and the current cycle number, and control the solenoid valve based on the target PWM control signal.
应当理解的是,在得到当前充放气空占比和当前周期数后,根据当前充放气空占比和当前周期数生成对应的目标PWM控制信号,在目标PWM控制信号为目标PWM开启信号时,控制电磁阀的通道进行开启,在目标PWM开启信号为目标PWM关闭信号时,控制电磁阀的通道进行关闭。It should be understood that, after obtaining the current charging and deflating duty ratio and the current cycle number, the corresponding target PWM control signal is generated according to the current charging and deflating duty ratio and the current cycle number, and the target PWM control signal is the target PWM start signal. When the target PWM opening signal is the target PWM closing signal, the channel controlling the solenoid valve is closed.
进一步地,步骤S402,包括:获取当前单个周期数,根据所述当前单个周期数和当前周期数得到对应的周期长度;根据所述当前周期数得到对应的起始周期和结束周期;根据所述当前充放气空占比、周期长度、起始周期以及结束周期生成目标PWM控制信号;在所述目标PWM控制信号为目标PWM开启信号时,控制所述电磁阀的通道开启;在所述目标PWM控制信号为目标PWM关闭信号时,控制所述电磁阀的通道关闭。Further, step S402 includes: obtaining the current single cycle number, obtaining the corresponding cycle length according to the current single cycle number and the current cycle number; obtaining the corresponding start cycle and end cycle according to the current cycle number; The current charging and deflating duty ratio, cycle length, starting period and ending period generate a target PWM control signal; when the target PWM control signal is a target PWM opening signal, the channel of the solenoid valve is controlled to open; when the target When the PWM control signal is the target PWM closing signal, the channel of the solenoid valve is controlled to be closed.
可以理解的是,周期长度指的是控制电磁阀持续周期的长度,例如,单个周期数为A,当前周期数为B,则周期长度为B/A,起始周期指的是当前周期数中起始的周期,同样,结束周期指的是当前周期数中结束的周期,通过当前充放气空占比和周期长度计算PWM控制信号的设置时间,即将目标PWM控制信号在起始周期至当前充放气空占比*周期长度将信号设置为目标PWM开启信号,即目标PWM开启信号为“0”,在当前充放气空占比*周期长度至结束周期将信号设置为目标PWM关闭信号,即目标PWM关闭信号为“1”。It can be understood that the cycle length refers to the length of the continuous cycle of the control solenoid valve. For example, if the single cycle number is A and the current cycle number is B, then the cycle length is B/A, and the starting cycle refers to the current cycle number. The starting cycle, similarly, the ending cycle refers to the cycle ending in the current cycle number. The setting time of the PWM control signal is calculated through the current charging and deflating duty ratio and cycle length, that is, the target PWM control signal is between the starting cycle and the current period. The signal is set as the target PWM turn-on signal by charging and deflating air duty ratio * cycle length, that is, the target PWM turn-on signal is "0", and the signal is set as the target PWM off signal from the current charging and deflating air duty ratio * cycle length to the end period. , that is, the target PWM off signal is "1".
应当理解的是,在得到目标PWM控制信号后,判断目标PWM控制信号是否为目标PWM开启信号,若是,则控制电磁阀的通道开启,若判定目标PWM控制信号为目标PWM关闭信号,则控制电磁阀的通道关闭,同时控制主阀位于充气或者放气。It should be understood that after obtaining the target PWM control signal, it is determined whether the target PWM control signal is the target PWM on signal. If so, the channel of the solenoid valve is controlled to be opened. If it is determined that the target PWM control signal is the target PWM off signal, the solenoid valve is controlled. The valve channel is closed, and the main valve is controlled to be inflated or deflated.
可以理解的是,参考图7,图7为流量变化流程示意图,具体为:通道单周期的流量随压差和占空比的变化而变化,即在压差或者占空比中任一参数发生变化时,流量也会随着变化,通过图7可以反映出流量的整体变化情况,包括三个参数,分别为占空比、单周期流量以及压差,例如,随着占空比的减小和压差的增大,单周期流量也在增大。It can be understood that, with reference to Figure 7, Figure 7 is a schematic diagram of the flow change process, specifically: the flow rate of a single cycle of the channel changes with changes in pressure difference and duty cycle, that is, any parameter in the pressure difference or duty cycle changes. When the flow rate changes, the flow rate will also change. Figure 7 can reflect the overall change in flow rate, including three parameters, namely duty cycle, single-cycle flow rate and pressure difference. For example, as the duty cycle decreases As the pressure difference increases, the single-cycle flow rate also increases.
本实施例根据电磁阀的流量特性信息对所述待充放气体量进行计算,得到当前充放气空占比和当前周期数;通过所述当前充放气空占比和当前周期数生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制;由于本实施例是通过电磁阀的流量特性信息计算待充放气体量,然后根据当前充放气空占比和当前周期数生成目标PWM控制信号,再通过目标PWM控制信号控制电磁阀的开启和关闭,从而能够有效提高电磁阀的准确率。This embodiment calculates the amount of gas to be charged and discharged based on the flow characteristic information of the solenoid valve to obtain the current filling and deflating air duty ratio and the current cycle number; a target is generated based on the current filling and deflating air duty ratio and the current cycle number. PWM control signal, and controls the solenoid valve based on the target PWM control signal; since this embodiment calculates the amount of gas to be filled and discharged through the flow characteristic information of the solenoid valve, and then calculates the amount of gas to be filled and discharged according to the current filling and discharge air ratio and the current The number of cycles generates a target PWM control signal, and then the target PWM control signal is used to control the opening and closing of the solenoid valve, thereby effectively improving the accuracy of the solenoid valve.
此外,本发明实施例还提出一种存储介质,所述存储介质上存储有基于空气悬架的电磁阀控制程序,所述基于空气悬架的电磁阀控制程序被处理器执行时实现如上文所述的基于空气悬架的电磁阀控制方法的步骤。In addition, embodiments of the present invention also provide a storage medium on which a solenoid valve control program based on air suspension is stored. When the solenoid valve control program based on air suspension is executed by a processor, the solenoid valve control program based on air suspension is implemented as described above. The steps of the solenoid valve control method based on air suspension.
由于本存储介质采用了上述所有实施例的全部技术方案,因此至少具有上述实施例的技术方案所带来的所有有益效果,在此不再一一赘述。Since this storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described again here.
此外,参照图8,本发明实施例还提出一种基于空气悬架的电磁阀控制装置,所述基于空气悬架的电磁阀控制装置包括:In addition, referring to Figure 8, an embodiment of the present invention also proposes an air suspension-based solenoid valve control device. The air suspension-based solenoid valve control device includes:
确定模块10,用于根据当前高度和当前气压信息确定空气弹簧所处的负载状态。The determination module 10 is used to determine the load state of the air spring according to the current altitude and current air pressure information.
获取模块20,用于根据所述当前高度和高度压力特性信息得到所述空气弹簧在所述负载状态下的目标压强信息。The acquisition module 20 is configured to obtain the target pressure information of the air spring in the load state according to the current height and height pressure characteristic information.
生成模块30,用于通过所述空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量。The generation module 30 is used to generate the amount of gas to be filled and discharged based on the flow characteristic information, target pressure information and target height of the air spring.
控制模块40,用于根据电磁阀的流量特性信息、所述待充放气体量生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制。The control module 40 is configured to generate a target PWM control signal based on the flow characteristic information of the solenoid valve and the amount of gas to be filled and discharged, and to control the solenoid valve based on the target PWM control signal.
本实施例根据当前高度和当前气压信息确定空气弹簧所处的负载状态;根据所述当前高度和高度压力特性信息得到所述空气弹簧在所述负载状态下的目标压强信息;通过所述空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量;根据电磁阀的流量特性信息、所述待充放气体量生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制;由于本实施例是通过空气弹簧的流量特性信息、目标压强信息以及目标高度生成待充放气体量,再根据电磁阀的流量特性信息、待充放气体量生成的目标PWM控制信号控制电磁阀,相较于现有技术通过系统状态控制电磁阀,能够有效提高控制电磁阀的效率和准确率,进而为“过充”、“过放”及频繁充放气现象提供预测支持。This embodiment determines the load state of the air spring based on the current height and current air pressure information; obtains the target pressure information of the air spring under the load state based on the current height and height pressure characteristic information; through the air spring The flow characteristic information, the target pressure information and the target height generate the gas volume to be charged and discharged; the target PWM control signal is generated based on the flow characteristic information of the solenoid valve and the gas volume to be filled and discharged, and the target PWM control signal is generated based on the target PWM control signal. The solenoid valve is controlled; since this embodiment generates the amount of gas to be filled and discharged through the flow characteristic information of the air spring, the target pressure information and the target height, and then generates the target PWM control based on the flow characteristic information of the solenoid valve and the amount of gas to be filled and discharged. Compared with the existing technology of controlling the solenoid valve through system status, the signal control solenoid valve can effectively improve the efficiency and accuracy of controlling the solenoid valve, thereby providing predictive support for "overcharge", "overdischarge" and frequent charging and deflation phenomena. .
需要说明的是,以上所描述的工作流程仅仅是示意性的,并不对本发明的保护范围构成限定,在实际应用中,本领域的技术人员可以根据实际的需要选择其中的部分或者全部来实现本实施例方案的目的,此处不做限制。It should be noted that the workflow described above is only illustrative and does not limit the scope of the present invention. In practical applications, those skilled in the art can select some or all of them for implementation according to actual needs. The purpose of this embodiment is not limited here.
另外,未在本实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的基于空气悬架的电磁阀控制方法,此处不再赘述。In addition, for technical details that are not described in detail in this embodiment, please refer to the solenoid valve control method based on air suspension provided by any embodiment of the present invention, and will not be described again here.
在一实施例中,所述确定模块10,还用于根据空气弹簧的流量特性信息构建对应的流量-压力-高度模型;根据电磁阀的流量特性信息构建对应的流量-压力-占空比模型;通过流量-压力-高度模型和流量-压力-占空比模型对所述当前高度和当前气压信息进行计算,得到所述空气弹簧所处的负载状态。In one embodiment, the determination module 10 is also used to construct a corresponding flow-pressure-height model according to the flow characteristic information of the air spring; and to construct a corresponding flow-pressure-duty cycle model according to the flow characteristic information of the solenoid valve. ; Calculate the current height and current air pressure information through the flow-pressure-height model and the flow-pressure-duty cycle model to obtain the load state of the air spring.
在一实施例中,所述获取模块20,还用于通过高度压力特性信息对所述当前高度进行计算,得到当前压强信息;根据所述高度压力特性信息得到对应的内压集合;将所述当前压强信息和内压集合进行线性插值,得到所述空气弹簧在所述负载状态下的目标压强信息。In one embodiment, the acquisition module 20 is also used to calculate the current altitude based on the altitude pressure characteristic information to obtain the current pressure information; obtain the corresponding internal pressure set according to the altitude pressure characteristic information; and convert the The current pressure information and the internal pressure set are linearly interpolated to obtain the target pressure information of the air spring under the load state.
在一实施例中,所述生成模块30,还用于对当前高度和目标高度进行作差计算,得到对应的高度变化值;根据所述空气弹簧的流量特性信息确定升降单位高度所需的流量;通过目标循环计算策略和目标压强信息对所述高度变化值和升降单位高度所需的流量进行累加计算,得到待充放气体量。In one embodiment, the generation module 30 is also used to calculate the difference between the current height and the target height to obtain the corresponding height change value; and determine the flow rate required for lifting the unit height according to the flow characteristic information of the air spring. ; Through the target cycle calculation strategy and the target pressure information, the height change value and the flow rate required for lifting unit height are accumulated and calculated to obtain the amount of gas to be charged and discharged.
在一实施例中,所述控制模块40,还用于根据电磁阀的流量特性信息对所述待充放气体量进行计算,得到当前充放气空占比和当前周期数;通过所述当前充放气空占比和当前周期数生成目标PWM控制信号,并基于所述目标PWM控制信号对所述电磁阀进行控制。In one embodiment, the control module 40 is also used to calculate the amount of gas to be filled and deflated based on the flow characteristic information of the solenoid valve to obtain the current filling and deflating air duty ratio and the current cycle number; The charging and deflating duty ratio and the current cycle number generate a target PWM control signal, and the solenoid valve is controlled based on the target PWM control signal.
在一实施例中,所述控制模块40,还用于获取所述电磁阀的目标占空比集合;根据所述电磁阀的流量特性信息对所述目标占空比集合进行计算,得到对应的流量集合;将所述流量集合中的流量与待充放气体量作比,得到对应的占空比数量;根据所述占空比数量和预设控制时间进行比较,得到当前充放气空占比和当前周期数。In one embodiment, the control module 40 is also used to obtain a target duty cycle set of the solenoid valve; calculate the target duty cycle set according to the flow characteristic information of the solenoid valve to obtain the corresponding Flow rate set; compare the flow rate in the flow set with the amount of gas to be charged and discharged to obtain the corresponding duty cycle number; compare the duty cycle number with the preset control time to obtain the current filling and deflating air volume ratio and the current period number.
在一实施例中,所述控制模块40,还用于获取当前单个周期数,根据所述当前单个周期数和当前周期数得到对应的周期长度;根据所述当前周期数得到对应的起始周期和结束周期;根据所述当前充放气空占比、周期长度、起始周期以及结束周期生成目标PWM控制信号;在所述目标PWM控制信号为目标PWM开启信号时,控制所述电磁阀的通道开启;在所述目标PWM控制信号为目标PWM关闭信号时,控制所述电磁阀的通道关闭。In one embodiment, the control module 40 is also used to obtain the current single cycle number, obtain the corresponding cycle length according to the current single cycle number and the current cycle number, and obtain the corresponding starting cycle according to the current cycle number. and the end cycle; generate a target PWM control signal according to the current charging and deflating duty cycle, cycle length, starting cycle and ending cycle; when the target PWM control signal is a target PWM start signal, control the solenoid valve The channel is open; when the target PWM control signal is the target PWM close signal, the channel of the solenoid valve is controlled to be closed.
本发明所述基于空气悬架的电磁阀控制装置的其他实施例或具有实现方法可参照上述各方法实施例,此处不在赘余。For other embodiments of the air suspension-based solenoid valve control device of the present invention or implementation methods, please refer to the above method embodiments, which are not redundant here.
此外,需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。Furthermore, it should be noted that, as used herein, the terms "include", "comprises" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or system that includes a list of elements includes not only those elements, but also other elements not expressly listed or elements inherent to the process, method, article or system. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器(Read Only Memory,ROM)/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,一体化平台工作站,或者网络设备等)执行本发明各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as a read-only memory). , ROM)/RAM, magnetic disk, optical disk), including a number of instructions to cause a terminal device (which can be a mobile phone, a computer, an integrated platform workstation, or a network device, etc.) to execute the methods described in various embodiments of the present invention. .
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the description and drawings of the present invention may be directly or indirectly used in other related technical fields. , are all similarly included in the scope of patent protection of the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210064713.9A CN114211927B (en) | 2022-01-20 | 2022-01-20 | Solenoid valve control method, device, equipment and storage medium based on air suspension |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210064713.9A CN114211927B (en) | 2022-01-20 | 2022-01-20 | Solenoid valve control method, device, equipment and storage medium based on air suspension |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114211927A CN114211927A (en) | 2022-03-22 |
| CN114211927B true CN114211927B (en) | 2024-01-30 |
Family
ID=80708888
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210064713.9A Active CN114211927B (en) | 2022-01-20 | 2022-01-20 | Solenoid valve control method, device, equipment and storage medium based on air suspension |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114211927B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115266155B (en) * | 2022-06-30 | 2025-04-08 | 东风商用车有限公司 | A method and system for testing components of an electronically controlled air suspension system |
| CN115742652B (en) * | 2022-10-28 | 2024-06-14 | 中国重汽集团济南动力有限公司 | An electronically controlled suspension control method, device and storage medium |
| EP4626715A1 (en) * | 2022-11-30 | 2025-10-08 | ZF CV Systems Europe BV | Pneumatic valve arrangement and method of operating a pneumatic valve arrangement |
| CN117341406B (en) * | 2023-09-27 | 2025-01-28 | 东风商用车有限公司 | A method, device and apparatus for adjusting suspension height based on air flow |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01293211A (en) * | 1988-05-19 | 1989-11-27 | Fuji Heavy Ind Ltd | Control device for active suspension |
| CN108068570A (en) * | 2017-06-12 | 2018-05-25 | 江苏大学 | A kind of electronic control air suspension overall height is adjusted and vehicle gesture ambiguity sliding-mode control |
| CN109649106A (en) * | 2018-12-03 | 2019-04-19 | 珠海格力电器股份有限公司 | Air suspension height control system and control method |
| CN110001341A (en) * | 2019-03-05 | 2019-07-12 | 江苏大学 | A kind of air suspension transverse direction interconnected control systems and method |
| CN110341413A (en) * | 2019-06-20 | 2019-10-18 | 江苏大学 | A limited time control method and system for vehicle body height of an electronically controlled air suspension system |
| CN111497549A (en) * | 2020-05-19 | 2020-08-07 | 珠海格力电器股份有限公司 | Method and device for adjusting air suspension height, storage medium and processor |
| CN111993852A (en) * | 2020-06-19 | 2020-11-27 | 东风商用车有限公司 | Air suspension electric control system with double-height and pressure control |
| CN112124028A (en) * | 2020-09-21 | 2020-12-25 | 华南理工大学 | An electronically controlled air suspension system and its control method and system, and electronic control unit |
| CN112373261A (en) * | 2020-09-30 | 2021-02-19 | 东风商用车有限公司 | Height smooth control method for commercial vehicle electric control air suspension |
| CN112590484A (en) * | 2020-12-21 | 2021-04-02 | 华南理工大学 | Electric control air suspension vehicle body height adjusting method based on model prediction control |
| DE102019219880A1 (en) * | 2019-12-17 | 2021-06-17 | Continental Teves Ag & Co. Ohg | Method for operating an air suspension system and an air suspension system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8113521B2 (en) * | 2009-06-19 | 2012-02-14 | Pin Hsiu Rubber Co., Ltd. | Intelligent electronic air suspension system that automatically adjusts its air pressure |
| US20210061040A1 (en) * | 2019-08-30 | 2021-03-04 | Aktv8, Llc | Height adjustment system |
-
2022
- 2022-01-20 CN CN202210064713.9A patent/CN114211927B/en active Active
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01293211A (en) * | 1988-05-19 | 1989-11-27 | Fuji Heavy Ind Ltd | Control device for active suspension |
| CN108068570A (en) * | 2017-06-12 | 2018-05-25 | 江苏大学 | A kind of electronic control air suspension overall height is adjusted and vehicle gesture ambiguity sliding-mode control |
| CN109649106A (en) * | 2018-12-03 | 2019-04-19 | 珠海格力电器股份有限公司 | Air suspension height control system and control method |
| CN110001341A (en) * | 2019-03-05 | 2019-07-12 | 江苏大学 | A kind of air suspension transverse direction interconnected control systems and method |
| CN110341413A (en) * | 2019-06-20 | 2019-10-18 | 江苏大学 | A limited time control method and system for vehicle body height of an electronically controlled air suspension system |
| DE102019219880A1 (en) * | 2019-12-17 | 2021-06-17 | Continental Teves Ag & Co. Ohg | Method for operating an air suspension system and an air suspension system |
| CN111497549A (en) * | 2020-05-19 | 2020-08-07 | 珠海格力电器股份有限公司 | Method and device for adjusting air suspension height, storage medium and processor |
| WO2021232794A1 (en) * | 2020-05-19 | 2021-11-25 | 格力电器(武汉)有限公司 | Method and device for adjusting height of air suspension, storage medium and processor |
| CN111993852A (en) * | 2020-06-19 | 2020-11-27 | 东风商用车有限公司 | Air suspension electric control system with double-height and pressure control |
| CN112124028A (en) * | 2020-09-21 | 2020-12-25 | 华南理工大学 | An electronically controlled air suspension system and its control method and system, and electronic control unit |
| CN112373261A (en) * | 2020-09-30 | 2021-02-19 | 东风商用车有限公司 | Height smooth control method for commercial vehicle electric control air suspension |
| CN112590484A (en) * | 2020-12-21 | 2021-04-02 | 华南理工大学 | Electric control air suspension vehicle body height adjusting method based on model prediction control |
Non-Patent Citations (1)
| Title |
|---|
| 电子控制空气悬架高度调节过程非线性模型;黄俊明;周孔亢;徐兴;秦云;;机械工程学报(第06期);全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114211927A (en) | 2022-03-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114211927B (en) | Solenoid valve control method, device, equipment and storage medium based on air suspension | |
| US9287723B2 (en) | Cell balancing apparatus and method using a voltage variation pattern of each cell to estimate an open circuit voltage value for each cell | |
| CN113306449B (en) | Battery health reminding method and system for new energy automobile | |
| JP6556449B2 (en) | Apparatus and method for purging hydrogen storage system | |
| CN113435663A (en) | CNN-LSTM combined load prediction method considering electric vehicle charging load influence | |
| US11498384B2 (en) | Method and device for operating a pneumatic system with a compressed air supply unit and an air spring unit, pneumatic system comprising a compressed air supply unit and an air spring unit, and vehicle | |
| JP2018084329A (en) | Hydrogen fuel supply method and hydrogen supply system | |
| JP2010053733A (en) | Method and device for controlling the number of operated air compressors | |
| CN113829955A (en) | Energy management method for fuel cell vehicle | |
| CN112861362B (en) | Power assembly performance parameter optimization method and device based on vehicle oil consumption | |
| CN115438312A (en) | A new energy output probability distribution model establishment, application method and medium | |
| CN108564223A (en) | The combination evaluation method and device of photovoltaic power generation power prediction method | |
| CN208361622U (en) | A kind of elevator floor acquisition device | |
| CN114779081A (en) | Method and device for predicting service life of vehicle battery through mutual learning and storage medium | |
| CN111479730A (en) | Braking system with correction device for valve opening time and method for correcting valve opening time | |
| CN115817094B (en) | Air spring air pressure control method, device, computer equipment and storage medium | |
| JP2019132360A (en) | Filling control method for hydraulic fuel and filling control device for hydrogen fuel | |
| CN116305573A (en) | Aerodynamic characteristic simulation method, device, equipment and medium of high-altitude aircraft | |
| CN117048271A (en) | Air spring adjusting method, device, equipment and computer readable storage medium | |
| JP7316807B2 (en) | STL actuation path planning | |
| JP2003076935A (en) | Heat load pattern calculation system and method, and computer program | |
| KR20220011333A (en) | Vehicle and control method for the same | |
| CN114551943A (en) | Air quantity control method and system for fuel cell system | |
| CN115167141B (en) | Brake cylinder pressure control method, control system and train | |
| CN115648883B (en) | Control method and device for electromagnetic valve of vehicle |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |