[go: up one dir, main page]

CN114043827B - Tire pressure signal processing method and device - Google Patents

Tire pressure signal processing method and device Download PDF

Info

Publication number
CN114043827B
CN114043827B CN202111358498.5A CN202111358498A CN114043827B CN 114043827 B CN114043827 B CN 114043827B CN 202111358498 A CN202111358498 A CN 202111358498A CN 114043827 B CN114043827 B CN 114043827B
Authority
CN
China
Prior art keywords
data
tire pressure
pressure signal
baud rate
signal
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
Application number
CN202111358498.5A
Other languages
Chinese (zh)
Other versions
CN114043827A (en
Inventor
吴登祺
王力
徐红如
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wanjie Electronic Technology (Jiangsu) Co.,Ltd.
Original Assignee
Nanjing Yingruichuang Electronic Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanjing Yingruichuang Electronic Technology Co Ltd filed Critical Nanjing Yingruichuang Electronic Technology Co Ltd
Priority to CN202111358498.5A priority Critical patent/CN114043827B/en
Publication of CN114043827A publication Critical patent/CN114043827A/en
Application granted granted Critical
Publication of CN114043827B publication Critical patent/CN114043827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60CVEHICLE TYRES; TYRE INFLATION; TYRE CHANGING; CONNECTING VALVES TO INFLATABLE ELASTIC BODIES IN GENERAL; DEVICES OR ARRANGEMENTS RELATED TO TYRES
    • B60C23/00Devices for measuring, signalling, controlling, or distributing tyre pressure or temperature, specially adapted for mounting on vehicles; Arrangement of tyre inflating devices on vehicles, e.g. of pumps or of tanks; Tyre cooling arrangements
    • B60C23/02Signalling devices actuated by tyre pressure
    • B60C23/04Signalling devices actuated by tyre pressure mounted on the wheel or tyre
    • B60C23/0408Signalling devices actuated by tyre pressure mounted on the wheel or tyre transmitting the signals by non-mechanical means from the wheel or tyre to a vehicle body mounted receiver
    • B60C23/0474Measurement control, e.g. setting measurement rate or calibrating of sensors; Further processing of measured values, e.g. filtering, compensating or slope monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Measuring Fluid Pressure (AREA)

Abstract

本发明提供了一种胎压信号的处理方法和装置,该方法包括:根据预先获取的原始胎压信号和预先获取的信号电平状态数据,确定运行帧数据、第一数据和实际波特率;根据实际波特率,确定波特率时钟;采集特率时钟对应的时间范围内的第一数据,作为第二数据;根据预设的格式配置规则、预设的长度配置规则以及第二数据,确定同步帧数据和第三数据;将运行帧数据、同步帧数据、第三数据和实际波特率作为处理后的胎压信号,将处理后的胎压信号发送至预设的检测电路。本方法能够对原始胎压信号进行有效性检测以及同步性匹配,有助于后续电路检测到的胎压状态更加精确。

The invention provides a tire pressure signal processing method and device. The method includes: determining the running frame data, the first data and the actual baud rate based on the pre-acquired original tire pressure signal and the pre-acquired signal level status data. ; Determine the baud rate clock based on the actual baud rate; collect the first data within the time range corresponding to the baud rate clock as the second data; according to the preset format configuration rules, the preset length configuration rules and the second data , determine the synchronization frame data and the third data; use the running frame data, the synchronization frame data, the third data and the actual baud rate as the processed tire pressure signal, and send the processed tire pressure signal to the preset detection circuit. This method can perform validity detection and synchronization matching on the original tire pressure signal, which helps the tire pressure status detected by subsequent circuits to be more accurate.

Description

胎压信号的处理方法和装置Tire pressure signal processing method and device

技术领域Technical field

本发明涉及信号处理技术领域,尤其是涉及一种胎压信号的处理方法和装置。The present invention relates to the field of signal processing technology, and in particular, to a tire pressure signal processing method and device.

背景技术Background technique

在车辆行驶过程中,车胎的胎压会不断发生变化,所以需要实时监测胎压信号,以保证车辆的安全行驶。目前胎压监测系统的传感器采集的胎压信号的通信格式多样,所以无法准确采集有参考意义的胎压信号,也无法对胎压信号进行有效处理,从而无法准确判断车胎的胎压状态。During the driving of the vehicle, the tire pressure of the tires will continue to change, so the tire pressure signal needs to be monitored in real time to ensure the safe driving of the vehicle. Currently, the tire pressure signals collected by the sensors of the tire pressure monitoring system have various communication formats, so it is impossible to accurately collect tire pressure signals with reference significance, and it is also impossible to effectively process the tire pressure signals, so that the tire pressure status of the tires cannot be accurately judged.

发明内容Contents of the invention

基于此,本发明的目的在于提供一种胎压信号的处理方法和装置,以对原始胎压信号进行有效性检测以及同步性匹配,有助于后续电路检测到更加精确的胎压状态。Based on this, the purpose of the present invention is to provide a tire pressure signal processing method and device to perform validity detection and synchronization matching on the original tire pressure signal, which helps subsequent circuits detect a more accurate tire pressure state.

第一方面,本发明提供一种胎压信号的处理方法,该方法包括:根据预先获取的原始胎压信号和预先获取的信号电平状态数据,确定运行帧数据、第一数据和实际波特率;根据实际波特率,确定波特率时钟;采集特率时钟对应的时间范围内的第一数据,作为第二数据;根据预设的格式配置规则、预设的长度配置规则以及第二数据,确定同步帧数据和第三数据;将运行帧数据、同步帧数据、第三数据和实际波特率作为处理后的胎压信号,将处理后的胎压信号发送至预设的检测电路。In a first aspect, the present invention provides a method for processing tire pressure signals. The method includes: determining the running frame data, the first data and the actual baud based on the pre-acquired original tire pressure signal and the pre-acquired signal level status data. rate; determine the baud rate clock according to the actual baud rate; collect the first data within the time range corresponding to the baud rate clock as the second data; according to the preset format configuration rules, the preset length configuration rules and the second data, determine the synchronization frame data and the third data; use the running frame data, the synchronization frame data, the third data and the actual baud rate as the processed tire pressure signal, and send the processed tire pressure signal to the preset detection circuit .

在可选的实施方式中,信号电平状态数据的状态包括高电平宽度状态和低电平宽度状态;根据预先获取的原始胎压信号和预先获取的信号电平状态数据,确定运行帧数据、第一数据和实际波特率的步骤,包括:对原始胎压信号进行边缘性检测;判断信号电平状态数据的状态是否为高电平宽度状态;若边缘性检测成功,且信号电平状态数据的状态为高电平宽度状态,则提取出原始胎压信号中的运行帧数据;将原始胎压信号中的除了运行帧数据之外的其他数据作为第一数据;根据运行帧数据,确定实际波特率。In an optional implementation, the status of the signal level status data includes a high level width status and a low level width status; the running frame data is determined based on the pre-acquired original tire pressure signal and the pre-acquired signal level status data. , the steps of first data and actual baud rate include: performing edge detection on the original tire pressure signal; judging whether the state of the signal level status data is a high level width state; if the edge detection is successful and the signal level If the state of the status data is a high level width state, then the running frame data in the original tire pressure signal is extracted; other data in the original tire pressure signal except the running frame data is used as the first data; according to the running frame data, Determine the actual baud rate.

在可选的实施方式中,该方法还包括:若边缘性检测成功,且信号电平状态数据的状态为高电平宽度状态,则产生有效的原始胎压信号的次数加一;若连续产生有效的原始胎压信号的次数达到预设次数,则提取多个运行帧数据;若连续产生预设次数的有效的原始胎压信号没有达到预设次数,则不执行提取多个运行帧数据的步骤。In an optional implementation, the method further includes: if the edge detection is successful and the state of the signal level status data is a high level width state, then adding one to the number of times valid original tire pressure signals are generated; if the signal level status data is continuously generated If the number of valid original tire pressure signals reaches the preset number, multiple running frame data will be extracted; if the number of valid raw tire pressure signals continuously generated the preset number of times does not reach the preset number, the extraction of multiple running frame data will not be performed. step.

在可选的实施方式中,根据运行帧数据,确定实际波特率的步骤,包括:将多个运行帧数据的持续总时间除以运行帧数据的数量,得到实际波特率。In an optional implementation, the step of determining the actual baud rate based on the running frame data includes: dividing the total duration of multiple running frame data by the number of running frame data to obtain the actual baud rate.

在可选的实施方式中,该方法还包括:若连续产生有效的原始胎压信号的次数达到预设次数,则生成原始胎压信号的有效锁定信号,其中,有效锁定信号为使能信号。In an optional implementation, the method further includes: if the number of times valid original tire pressure signals are continuously generated reaches a preset number of times, generating an effective locking signal of the original tire pressure signal, where the effective locking signal is an enable signal.

在可选的实施方式中,采集特率时钟对应的时间范围内的第一数据,作为第二数据的步骤,包括:若生成有效锁定信号,则采集特率时钟对应的时间范围内的第一数据;将多个第一数据组合为第二数据。In an optional embodiment, the step of collecting the first data within the time range corresponding to the bit rate clock as the second data includes: if a valid lock signal is generated, collecting the first data within the time range corresponding to the bit rate clock. Data; combine multiple first data into second data.

在可选的实施方式中,根据预设的格式配置规则、预设的长度配置规则以及第二数据,确定同步帧数据和第三数据的步骤,包括:将第二数据与预设的格式配置规则、预设的长度配置规则进行匹配,得到匹配结果;若匹配结果表征匹配成功,则从第二数据中提取同步帧数据和第三数据,其中第三数据包括数据帧数据和校验帧数据。In an optional implementation, the step of determining the synchronization frame data and the third data according to the preset format configuration rules, the preset length configuration rules and the second data includes: combining the second data with the preset format configuration Rules and preset length configuration rules are matched to obtain a matching result; if the matching result indicates that the match is successful, synchronization frame data and third data are extracted from the second data, where the third data includes data frame data and verification frame data. .

在可选的实施方式中,根据实际波特率,确定波特率时钟的步骤,包括:根据实际波特率或者预先获取的预设波特率,确定波特率时钟。In an optional implementation, the step of determining the baud rate clock based on the actual baud rate includes: determining the baud rate clock based on the actual baud rate or a preset baud rate obtained in advance.

在可选的实施方式中,该方法还包括:通过胎压传感器采集胎压的第一胎压信号;对第一胎压信号进行滤波处理,得到原始胎压信号。In an optional embodiment, the method further includes: collecting a first tire pressure signal of tire pressure through a tire pressure sensor; filtering the first tire pressure signal to obtain an original tire pressure signal.

第二方面,本发明提供一种胎压信号的处理装置,装置包括:第一处理单元,用于根据预先获取的原始胎压信号和预先获取的信号电平状态数据,确定运行帧数据、第一数据和实际波特率;第二处理单元,用于根据实际波特率,确定波特率时钟;第三处理单元,用于采集特率时钟对应的时间范围内的第一数据,作为第二数据;第四处理单元,用于根据预设的格式配置规则、预设的长度配置规则以及第二数据,确定同步帧数据和第三数据;输出单元,用于将运行帧数据、同步帧数据、第三数据和实际波特率作为处理后的胎压信号,将处理后的胎压信号发送至预设的检测电路。In a second aspect, the present invention provides a tire pressure signal processing device. The device includes: a first processing unit, configured to determine the running frame data, the third signal level status data based on the pre-acquired original tire pressure signal and the pre-acquired signal level status data. One data and the actual baud rate; the second processing unit is used to determine the baud rate clock according to the actual baud rate; the third processing unit is used to collect the first data within the time range corresponding to the baud rate clock as the third the second data; the fourth processing unit, used to determine the synchronization frame data and the third data according to the preset format configuration rules, the preset length configuration rules and the second data; the output unit, used to convert the running frame data, the synchronization frame The data, the third data and the actual baud rate are used as the processed tire pressure signal, and the processed tire pressure signal is sent to the preset detection circuit.

本发明的有益效果如下:The beneficial effects of the present invention are as follows:

本发明提供了一种胎压信号的处理方法和装置,该方法包括:根据预先获取的原始胎压信号和预先获取的信号电平状态数据,确定运行帧数据、第一数据和实际波特率;根据实际波特率,确定波特率时钟;采集特率时钟对应的时间范围内的第一数据,作为第二数据;根据预设的格式配置规则、预设的长度配置规则以及第二数据,确定同步帧数据和第三数据;将运行帧数据、同步帧数据、第三数据和实际波特率作为处理后的胎压信号,将处理后的胎压信号发送至预设的检测电路。本方法能够对原始胎压信号进行有效性检测以及同步性匹配,有助于后续电路检测到的胎压状态更加精确。The invention provides a tire pressure signal processing method and device. The method includes: determining the running frame data, the first data and the actual baud rate based on the pre-acquired original tire pressure signal and the pre-acquired signal level status data. ; Determine the baud rate clock based on the actual baud rate; collect the first data within the time range corresponding to the baud rate clock as the second data; according to the preset format configuration rules, the preset length configuration rules and the second data , determine the synchronization frame data and the third data; use the running frame data, the synchronization frame data, the third data and the actual baud rate as the processed tire pressure signal, and send the processed tire pressure signal to the preset detection circuit. This method can perform validity detection and synchronization matching on the original tire pressure signal, which helps the tire pressure status detected by subsequent circuits to be more accurate.

发明的其他特征和优点将在随后的说明书中阐述,或者,部分特征和优点可以从说明书推知或毫无疑义地确定,或者通过实施本发明的上述技术即可得知。Other features and advantages of the invention will be set forth in the subsequent description, or some of the features and advantages may be inferred or unambiguously determined from the description, or may be learned by practicing the above-mentioned techniques of the invention.

为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实施方式,并配合所附附图,作详细说明如下。In order to make the above objects, features and advantages of the present invention more obvious and easy to understand, the preferred embodiments are described in detail below along with the accompanying drawings.

附图说明Description of the drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the specific embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings that need to be used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description The drawings illustrate some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting any creative effort.

图1为本发明实施例提供的一种胎压信号的处理方法的流程图;Figure 1 is a flow chart of a tire pressure signal processing method provided by an embodiment of the present invention;

图2为本发明实施例提供的第二种胎压信号的处理方法的流程图;Figure 2 is a flow chart of a second tire pressure signal processing method provided by an embodiment of the present invention;

图3为本发明实施例提供的帧格式实例示意图;Figure 3 is a schematic diagram of an example of a frame format provided by an embodiment of the present invention;

图4为本发明实施例提供的一种胎压信号的处理装置示意图;Figure 4 is a schematic diagram of a tire pressure signal processing device provided by an embodiment of the present invention;

图5为本发明实施例提供的一种胎压信号的处理系统示意图。Figure 5 is a schematic diagram of a tire pressure signal processing system provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, rather than all embodiments. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。Therefore, the following detailed description of the embodiments of the invention provided in the appended drawings is not intended to limit the scope of the claimed invention, but rather to represent selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present invention.

目前胎压监测系统采用的传感器信号通信格式多样,不同产品之间的信号一般采用标准曼切斯特编码、差分曼切斯特编码和反曼切斯特编码格式进行传输,但这些方法无法同步所有的信号,也无法对信号进行有效性测试以及分类,因此,设计一种低成本高性能的曼切斯特编码及延伸码格式信号的帧同步检测方法成为亟待解决的技术问题。基于此,本发明提供了一种胎压信号的处理方法和装置,该方案应用于胎压检测的场景中。Currently, tire pressure monitoring systems use various sensor signal communication formats. Signals between different products are generally transmitted using standard Manchester encoding, differential Manchester encoding and inverse Manchester encoding formats. However, these methods cannot be synchronized. It is impossible to test the validity and classify all signals. Therefore, designing a low-cost and high-performance frame synchronization detection method for signals in Manchester encoding and extended code formats has become an urgent technical problem to be solved. Based on this, the present invention provides a method and device for processing tire pressure signals, and this solution is applied in the scenario of tire pressure detection.

实施例一Embodiment 1

本发明实施例提供一种胎压信号的处理方法,如图1所示,该方法包括:An embodiment of the present invention provides a method for processing tire pressure signals, as shown in Figure 1. The method includes:

步骤S102,根据预先获取的原始胎压信号和预先获取的信号电平状态数据,确定运行帧数据、第一数据和实际波特率。Step S102: Determine the running frame data, the first data and the actual baud rate based on the pre-acquired original tire pressure signal and the pre-acquired signal level status data.

具体地,这一步骤是由有效性侦测模块来执行的,该步骤的目的是侦测原始胎压信号的有效性。并且,这一步还将生成原始胎压信号的有效锁定信号,该有效锁定信号是后续的帧同步模块的使能信号。Specifically, this step is performed by the validity detection module, and the purpose of this step is to detect the validity of the original tire pressure signal. Moreover, this step will also generate an effective locking signal of the original tire pressure signal, which is the enable signal of the subsequent frame synchronization module.

步骤S104,根据实际波特率,确定波特率时钟。Step S104: Determine the baud rate clock based on the actual baud rate.

具体地,这一步骤是由波特率时钟模块来执行的,目的是产生波特率时钟以供后续使用。Specifically, this step is performed by the baud rate clock module, with the purpose of generating a baud rate clock for subsequent use.

步骤S106,采集特率时钟对应的时间范围内的第一数据,作为第二数据。Step S106: Collect the first data within the time range corresponding to the bit rate clock as the second data.

步骤S108,根据预设的格式配置规则、预设的长度配置规则以及第二数据,确定同步帧数据和第三数据。Step S108: Determine the synchronization frame data and the third data according to the preset format configuration rules, the preset length configuration rules and the second data.

步骤S110,将运行帧数据、同步帧数据、第三数据和实际波特率作为处理后的胎压信号,将处理后的胎压信号发送至预设的检测电路。Step S110, use the running frame data, the synchronization frame data, the third data and the actual baud rate as the processed tire pressure signal, and send the processed tire pressure signal to the preset detection circuit.

具体地,步骤S106-步骤S110是由帧同步模块执行的,主要目的是对信号进行帧同步处理。Specifically, steps S106 to S110 are executed by the frame synchronization module, and the main purpose is to perform frame synchronization processing on the signal.

本发明提供了一种胎压信号的处理方法,该方法包括:根据预先获取的原始胎压信号和预先获取的信号电平状态数据,确定运行帧数据、第一数据和实际波特率;根据实际波特率,确定波特率时钟;采集特率时钟对应的时间范围内的第一数据,作为第二数据;根据预设的格式配置规则、预设的长度配置规则以及第二数据,确定同步帧数据和第三数据;将运行帧数据、同步帧数据、第三数据和实际波特率作为处理后的胎压信号,将处理后的胎压信号发送至预设的检测电路。本方法能够对原始胎压信号进行有效性检测以及同步性匹配,有助于后续电路检测到的胎压状态更加精确。The invention provides a tire pressure signal processing method. The method includes: determining the running frame data, the first data and the actual baud rate according to the pre-acquired original tire pressure signal and the pre-acquired signal level status data; Actual baud rate, determine the baud rate clock; collect the first data within the time range corresponding to the baud rate clock as the second data; determine according to the preset format configuration rules, preset length configuration rules and the second data Synchronize the frame data and the third data; use the running frame data, the synchronization frame data, the third data and the actual baud rate as the processed tire pressure signal, and send the processed tire pressure signal to the preset detection circuit. This method can perform validity detection and synchronization matching on the original tire pressure signal, which helps the tire pressure status detected by subsequent circuits to be more accurate.

实施例二Embodiment 2

本发明实施例提供了第二种胎压信号的处理方法,如图2所示,该方法包括:The embodiment of the present invention provides a second tire pressure signal processing method, as shown in Figure 2. The method includes:

步骤S202,通过胎压传感器采集胎压的第一胎压信号;对第一胎压信号进行滤波处理,得到原始胎压信号。Step S202: Collect the first tire pressure signal of the tire pressure through the tire pressure sensor; filter the first tire pressure signal to obtain the original tire pressure signal.

具体地,首先,车胎处预设有传感器,胎压传感器采集胎压的第一胎压信号(也称为rx_data或者第一基带信号),并将第一胎压信号传输给有效性侦测模块;然后,有效性侦测模块对第一胎压信号进行滤波处理,得到原始胎压信号。另外,有效性侦测模块只有接收到用户提供的使能信号(即dbr_en)后才会工作,开始工作后,有效性侦测模块将处于高电平状态。Specifically, first, a sensor is preset at the tire. The tire pressure sensor collects the first tire pressure signal (also called rx_data or the first baseband signal) of the tire pressure, and transmits the first tire pressure signal to the validity detection module. ; Then, the validity detection module performs filtering on the first tire pressure signal to obtain the original tire pressure signal. In addition, the validity detection module will only work after receiving the enable signal (ie dbr_en) provided by the user. After starting to work, the validity detection module will be in a high level state.

步骤S204,对原始胎压信号进行边缘性检测。Step S204: Perform edge detection on the original tire pressure signal.

具体地,这一步骤是由有效性侦测模块执行的。有效性侦测模块会根据系统时钟持续检测原始胎压信号中是否包含有边缘信号(即edge_det信号,边沿信号),如果没有检测到edge_det信号,则有效性侦测模块状态机会保持第零状态(即BAUD_DET_ST0),若接收到edge_det信号(即边缘性检测成功),有效性侦测模块会进入第一状态(BAUD_DET_ST1)状态,然后再次检测,如果又接收到edge_det信号,则执行步骤S206,如果没有edge_det信号,则保持BAUD_DET_ST1状态不变。Specifically, this step is performed by the validity detection module. The validity detection module will continue to detect whether the original tire pressure signal contains an edge signal (ie, edge_det signal, edge signal) based on the system clock. If no edge_det signal is detected, the validity detection module state will remain in the zeroth state ( That is, BAUD_DET_ST0), if the edge_det signal is received (that is, the edge detection is successful), the validity detection module will enter the first state (BAUD_DET_ST1), and then detect again. If the edge_det signal is received again, step S206 will be executed. If not edge_det signal, the BAUD_DET_ST1 state remains unchanged.

步骤S206,判断信号电平状态数据的状态是否为高电平宽度状态。Step S206: Determine whether the state of the signal level state data is a high level width state.

在具体实施时,信号电平状态数据的状态包括高电平宽度状态和低电平宽度状态。In specific implementation, the state of the signal level state data includes a high level width state and a low level width state.

具体地,判断步骤为:有效性侦测模块将人工输入的检测信号与baud_div[15:0](即分频系数)比较得到误差绝对值,如果误差绝对值在阈值baud_th[15:0](预先配置的波特率误差阈值)以内,则产生一个脉冲baud_valid信号(即信号电平状态数据)。根据脉冲baud_valid信号即可判断出信号电平状态数据的状态是高电平宽度状态还是低电平宽度状态。注意,baud_th[15:0]和baud_div[15:0]是用来组合起来配置CDC module波特率,单一baud_div配置BAUD generator波特率。Specifically, the judgment step is: the validity detection module compares the manually input detection signal with baud_div[15:0] (ie, the frequency division coefficient) to obtain the absolute value of the error. If the absolute value of the error is within the threshold baud_th[15:0]( Within the preconfigured baud rate error threshold), a pulse baud_valid signal (ie, signal level status data) is generated. According to the pulse baud_valid signal, it can be determined whether the state of the signal level status data is a high level width state or a low level width state. Note that baud_th[15:0] and baud_div[15:0] are used to configure the CDC module baud rate in combination, and a single baud_div configures the BAUD generator baud rate.

步骤S208,若边缘性检测成功,且信号电平状态数据的状态为高电平宽度状态,则提取出原始胎压信号中的运行帧数据。Step S208, if the edge detection is successful and the state of the signal level state data is a high level width state, the running frame data in the original tire pressure signal is extracted.

在具体实施时,若边缘性检测成功,且信号电平状态数据的状态为高电平宽度状态,则产生有效的原始胎压信号的次数加一;若连续产生有效的原始胎压信号的次数达到预设次数,则提取多个运行帧数据;若连续产生预设次数的有效的原始胎压信号没有达到预设次数,则不执行提取多个运行帧数据的步骤。In the specific implementation, if the edge detection is successful and the state of the signal level status data is a high level width state, the number of times valid original tire pressure signals are generated is increased by one; if the number of times valid original tire pressure signals are generated continuously When the preset number of times is reached, multiple running frame data are extracted; if the preset number of consecutive valid original tire pressure signals are not generated, the step of extracting multiple running frame data is not performed.

具体地,信号电平状态数据又称为baud_valid信号,用于接收信号的采样点。Specifically, the signal level status data is also called the baud_valid signal and is used to receive the sampling point of the signal.

具体地,再次开始采样时,系统同样保持采样边沿信号edge_det,若没有edge_det信号,则保持BAUD_DET_ST1状态不变,若有edge_det信号到来,此时开始判断baud_valid信号是否为高电平(即高电平宽度状态),若为高电平,则状态机进入下一个状态BAUD_DET_ST2,若baud_valid为低电平(即低电平宽度状态),则表示检测出错,回到初始状态BAUD_DET_ST0重新开始循环;进入BAUD_DET_ST2状态后,系统同样保持采样边沿信号edge_det,若没有edge_det信号,则保持BAUD_DET_ST2状态不变,若有edge_det信号到来,此时开始判断baud_valid信号是否为高电平,若为高电平,则状态机进入下一个状态BAUD_DET_ST3,若baud_valid为低电平,则表示检测出错,回到初始状态BAUD_DET_ST0重新开始循环;以此类推,直到到达BAUD_DET_ST7。这个循环次数可以根据用户的需求设定,比如本申请设置为7次,则只有连续接收到6次edge_det时,表示原始胎压信号是有效的,是满足用户需求的。此时,能够从每个原始胎压信号中提取到运行帧数据,原始胎压信号除了运行帧数据以外的其他数据称为第一数据(又称为cdc_data),该第一数据也将发送至帧同步模块,以供后续调用。Specifically, when sampling starts again, the system also maintains the sampling edge signal edge_det. If there is no edge_det signal, the BAUD_DET_ST1 state remains unchanged. If an edge_det signal arrives, it begins to determine whether the baud_valid signal is high level (i.e. high level). Width state), if it is high level, the state machine enters the next state BAUD_DET_ST2. If baud_valid is low level (i.e., low level width state), it means a detection error, return to the initial state BAUD_DET_ST0 and start the cycle again; enter BAUD_DET_ST2 After the state, the system also maintains the sampling edge signal edge_det. If there is no edge_det signal, the BAUD_DET_ST2 state remains unchanged. If an edge_det signal arrives, it begins to determine whether the baud_valid signal is high level. If it is high level, the state machine Enter the next state BAUD_DET_ST3. If baud_valid is low level, it means a detection error. Return to the initial state BAUD_DET_ST0 and start the cycle again; and so on until reaching BAUD_DET_ST7. This number of cycles can be set according to the user's needs. For example, if this application sets it to 7 times, then only when edge_det is received 6 times continuously, it means that the original tire pressure signal is valid and meets the user's needs. At this time, the running frame data can be extracted from each original tire pressure signal. The other data of the original tire pressure signal except the running frame data is called the first data (also called cdc_data), and the first data will also be sent to Frame synchronization module for subsequent calls.

步骤S210,若连续产生有效的原始胎压信号的次数达到预设次数,则生成原始胎压信号的有效锁定信号,其中,有效锁定信号为使能信号。Step S210: If the number of times valid original tire pressure signals are continuously generated reaches a preset number of times, a valid locking signal of the original tire pressure signal is generated, where the valid locking signal is an enable signal.

具体地,如果能够从每个原始胎压信号中提取到运行帧数据,有效性侦测模块也就可以判断出这些原始胎压信号是有效的,就会同时生成原始胎压信号的有效锁定信号(又称为lock)。有效性侦测模块(又称为CDR模块)会将有效锁定信号输入至后续的帧同步模块(又称为SYNC模块),有效锁定信号相当于帧同步模块的触发信号或使能信号。Specifically, if the running frame data can be extracted from each original tire pressure signal, the validity detection module can also determine that these original tire pressure signals are valid, and will simultaneously generate a valid locking signal of the original tire pressure signal. (also called lock). The validity detection module (also known as the CDR module) will input the valid lock signal to the subsequent frame synchronization module (also known as the SYNC module). The valid lock signal is equivalent to the trigger signal or enable signal of the frame synchronization module.

步骤S212,将多个运行帧数据的持续总时间除以运行帧数据的数量,得到实际波特率。Step S212: Divide the total duration of multiple running frame data by the number of running frame data to obtain the actual baud rate.

具体地,整个系统内部设置有系统时钟(即clk),有效性侦测模块能够将多个运行帧数据的持续总时间除以运行帧数据的数量,得到实际波特率。有效性侦测模块将实际波特率(即baud_auto[15:0])发送至波特率时钟模块。Specifically, the entire system is equipped with a system clock (ie clk), and the validity detection module can divide the total duration of multiple running frame data by the number of running frame data to obtain the actual baud rate. The validity detection module sends the actual baud rate (ie baud_auto[15:0]) to the baud rate clock module.

步骤S214,根据实际波特率或者预先获取的预设波特率,确定波特率时钟。Step S214: Determine the baud rate clock based on the actual baud rate or the preset baud rate obtained in advance.

具体地,这一步骤是由波特率时钟模块(又称为BAUD_generator模块)来执行的,波特率时钟模块用于生成波特率时钟(即baud_clk),并将其发送至帧同步模块。Specifically, this step is performed by the baud rate clock module (also known as BAUD_generator module), which is used to generate the baud rate clock (ie baud_clk) and send it to the frame synchronization module.

具体地,根据baud_manul(人工选择波特率)的值可以选择使用通过baud_div[15:0]手动配置波特率,还是采用CDR模块(即有效性侦测模块)检测到的实际波特率配置baud_auto[15:0]。人工输入的baud_manul为1时选择baud_div[15:0](即选择手动配置波特率),为0时选择baud_auto[15:0](即选择CDR模块计算出来的实际波特率)。这一步可以根据用户需求选择实际波特率或者手动配置的波特率,现有技术一般只能通过手动配置的波特率进行后续的计算,但这个手动配置的波特率误差较大,准确度远远不如有效性侦测模块计算出来的实际波特率。Specifically, according to the value of baud_manul (manually selected baud rate), you can choose to use the manual baud rate configuration through baud_div[15:0], or use the actual baud rate configuration detected by the CDR module (ie, validity detection module) baud_auto[15:0]. When the manually input baud_manul is 1, select baud_div[15:0] (that is, select the manual baud rate configuration), and when it is 0, select baud_auto[15:0] (that is, select the actual baud rate calculated by the CDR module). In this step, the actual baud rate or the manually configured baud rate can be selected according to the user's needs. The existing technology can generally only perform subsequent calculations through the manually configured baud rate. However, this manually configured baud rate has a large error and is not accurate. The degree is far inferior to the actual baud rate calculated by the validity detection module.

步骤S216,若生成有效锁定信号,则采集特率时钟对应的时间范围内的第一数据;将多个第一数据组合为第二数据。Step S216: If a valid lock signal is generated, collect the first data within the time range corresponding to the bit rate clock; combine the plurality of first data into second data.

具体地,这一步骤是由帧同步模块执行的。当帧同步模块接收到有效锁定信号后,就开始工作,将根据波特率时钟采集相应的第一数据。Specifically, this step is performed by the frame synchronization module. When the frame synchronization module receives a valid lock signal, it starts working and collects the corresponding first data according to the baud rate clock.

步骤S218,将第二数据与预设的格式配置规则、预设的长度配置规则进行匹配,得到匹配结果;若匹配结果表征匹配成功,则从第二数据中提取同步帧数据和第三数据。Step S218: Match the second data with the preset format configuration rules and the preset length configuration rules to obtain a matching result; if the matching result indicates that the match is successful, extract the synchronization frame data and the third data from the second data.

在具体实施时,第三数据包括数据帧数据和校验帧数据。In specific implementation, the third data includes data frame data and check frame data.

具体地,这一步骤是由帧同步模块执行的。将第二数据与预设的格式配置规则(即sync_pt[31:0])、预设的长度配置规则(sync_pt_length[5:0])进行匹配,如果匹配成功,则视为帧同步成功,则可以从第二数据中提取同步帧数据(即sync_data)和第三数据,同时还能生成帧同步成功电平信号(即sync_det,同步标志信号),同时,还能够通过sync_timeout_th(时间同步装置)同步配置所有原始胎压信号的时间。在此,第二数据中除了同步帧数据的其他数据为第三数据,第三数据一般包括数据帧数据和校验帧数据。Specifically, this step is performed by the frame synchronization module. Match the second data with the preset format configuration rules (ie, sync_pt[31:0]) and the preset length configuration rules (sync_pt_length[5:0]). If the match is successful, the frame synchronization is deemed to be successful, then The synchronization frame data (i.e., sync_data) and the third data can be extracted from the second data, and the frame synchronization success level signal (i.e., sync_det, synchronization flag signal) can also be generated. At the same time, it can also be synchronized through sync_timeout_th (time synchronization device) Configure the timing of all raw tire pressure signals. Here, the other data in the second data except the synchronization frame data is third data, and the third data generally includes data frame data and check frame data.

具体地,到此,原始胎压信号被分解成四个部分,分别是运行帧数据(又称为RUNING)、同步帧数据(又称为SYNC)、数据帧数据(又称为DATA)和校验帧数据(又称为CRC)。这四部分的具体内容为:RUNING:6~128chips,SYNC:1~32chips,高位先出;DATA1~256bit,高位先出,AES加密(可选);CRC:CRC-8(x8+x2+x1+1)。具体地,如图3所示为帧格式实例示意图,RUNING12chips;SYNC:11110110chips;DATA:0101100100100bits。Specifically, at this point, the original tire pressure signal has been decomposed into four parts, namely running frame data (also called RUNING), synchronization frame data (also called SYNC), data frame data (also called DATA) and calibration Frame check data (also called CRC). The specific contents of these four parts are: RUNING: 6~128chips, SYNC: 1~32chips, high bit first out; DATA1~256bit, high bit first out, AES encryption (optional); CRC: CRC-8 (x8+x2+x1 +1). Specifically, Figure 3 shows a schematic diagram of an example frame format, RUNING12chips; SYNC:11110110chips; DATA: 0101100100100bits.

具体地,如果没有匹配成功,则所有模块复位,重新执行步骤S202。Specifically, if no matching is successful, all modules are reset and step S202 is executed again.

步骤S220,将运行帧数据、同步帧数据、第三数据和实际波特率作为处理后的胎压信号,将处理后的胎压信号发送至预设的检测电路。Step S220: Use the running frame data, the synchronization frame data, the third data and the actual baud rate as the processed tire pressure signal, and send the processed tire pressure signal to the preset detection circuit.

本实施例提供了一种胎压信号的处理方法,该方法通过有效性侦测模块对信号进行边沿性检测和有效性测试;通过波特率时钟模块对信号进行时间校正;通过帧同步模块对信号进行同步性匹配,通过这些方法,实现了对原始数据的格式性的拆分,即将原始胎压信号分为四个部分并传输给后续的检测电路,以便于后续检测电路对胎压进行更加精确的检测。This embodiment provides a method for processing tire pressure signals. This method performs edge detection and validity testing on the signal through a validity detection module; performs time correction on the signal through a baud rate clock module; and performs time correction on the signal through a frame synchronization module. The signals are synchronized and matched. Through these methods, the format of the original data is split, that is, the original tire pressure signal is divided into four parts and transmitted to the subsequent detection circuit, so that the subsequent detection circuit can more accurately analyze the tire pressure. Accurate detection.

实施例三Embodiment 3

本发明提供一种胎压信号的处理装置,如图4所示,该装置包括:The present invention provides a tire pressure signal processing device, as shown in Figure 4. The device includes:

第一处理单元41,用于根据预先获取的原始胎压信号和预先获取的信号电平状态数据,确定运行帧数据、第一数据和实际波特率。The first processing unit 41 is configured to determine the running frame data, the first data and the actual baud rate based on the pre-acquired original tire pressure signal and the pre-acquired signal level status data.

第二处理单元42,用于根据实际波特率,确定波特率时钟。The second processing unit 42 is used to determine the baud rate clock according to the actual baud rate.

第三处理单元43,用于采集特率时钟对应的时间范围内的第一数据,作为第二数据。The third processing unit 43 is used to collect the first data within the time range corresponding to the bit rate clock as the second data.

第四处理单元44,用于根据预设的格式配置规则、预设的长度配置规则以及第二数据,确定同步帧数据和第三数据。The fourth processing unit 44 is configured to determine the synchronization frame data and the third data according to the preset format configuration rules, the preset length configuration rules and the second data.

输出单元45,用于将运行帧数据、同步帧数据、第三数据和实际波特率作为处理后的胎压信号,将处理后的胎压信号发送至预设的检测电路。The output unit 45 is used to use the running frame data, the synchronization frame data, the third data and the actual baud rate as the processed tire pressure signal, and send the processed tire pressure signal to the preset detection circuit.

本发明实施例所提供的胎压信号的处理装置,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。The implementation principle and technical effects of the tire pressure signal processing device provided by the embodiments of the present invention are the same as those of the foregoing method embodiments. For the purpose of brief description, for parts not mentioned in the device embodiments, please refer to the foregoing method embodiments. Corresponding content.

实施例四Embodiment 4

本发明实施例提供了一种胎压信号的处理系统50,如图5所示,该系统包括三个模块:有效性侦测模块51、波特率时钟模块52和帧同步模块53,三者依次相连,有效性侦测模块51与帧同步模块53也相连。The embodiment of the present invention provides a tire pressure signal processing system 50. As shown in Figure 5, the system includes three modules: a validity detection module 51, a baud rate clock module 52 and a frame synchronization module 53. Connected in turn, the validity detection module 51 and the frame synchronization module 53 are also connected.

该系统的工作流程如下:The workflow of this system is as follows:

1.在车胎处设置传感器。1. Install sensors on the tires.

2.传感器实时采集最开始的第一胎压信号。2. The sensor collects the first tire pressure signal in real time.

3.将第一胎压信号发送至CDR模块,该模块的作用是侦测有效信号。3. Send the first tire pressure signal to the CDR module, which is used to detect valid signals.

4.CDR模块对初始胎压信号进行滤波处理,得到滤波后的胎压信号,即原始胎压信号。(CDR模块接收到用户输入的使能信号dbr_en才会开始后续的工作)。4. The CDR module filters the initial tire pressure signal to obtain the filtered tire pressure signal, which is the original tire pressure signal. (The CDR module will not start subsequent work until it receives the enable signal dbr_en input by the user).

5.确认电平宽度,这个确认结果是根据用户输入的数据得到的。具体方法是:根据baud_div和baud_th,计算得到相应的脉冲信号:baud_valid,根据脉冲信号:baud_valid确定电平状态。5. Confirm the level width. This confirmation result is obtained based on the data input by the user. The specific method is: based on baud_div and baud_th, calculate the corresponding pulse signal: baud_valid, and determine the level state based on the pulse signal: baud_valid.

6.CDR模块还会判断滤波后的胎压信号是否是有效胎压信号。判断方法是:把滤波后的胎压信号进行边缘性检测,如果边缘性检测成功(即检测到edge_det信号即脉冲存在,状态机会进入BAUD_DET_ST1状态;再次开始采样时,系统同样保持采样边沿信号edge_det,若没有edge_det信号,则保持BAUD_DET_ST1状态不变,若有edge_det信号到来,此时开始判断baud_valid信号是否为高电平,若为高电平,则状态机进入下一个状态BAUD_DET_ST2,若baud_valid为低电平,则表示检测出错,回到初始状态BAUD_DET_ST0重新开始循环;进入BAUD_DET_ST2状态后,系统同样保持采样边沿信号edge_det,若没有edge_det信号,则保持BAUD_DET_ST2状态不变,若有edge_det信号到来,此时开始判断baud_valid信号是否为高电平,若为高电平,则状态机进入下一个状态BAUD_DET_ST3,若baud_valid为低电平,则表示检测出错,回到初始状态BAUD_DET_ST0重新开始循环。以此类推,直到到达BAUD_DET_ST7,此时状态机将一直保持这个状态,表示RUNING接收结束,已经收到超过6个码片的RUNING信号,并能得到有效信号标志lock(这是相当于SYNC模块的使能信号),作为SYNC模块的触发信号。自然地,滤波后的胎压信号就可以分解为四个部分:RUNING、和其他部分(即第一数据)。6. The CDR module will also determine whether the filtered tire pressure signal is a valid tire pressure signal. The judgment method is: perform edge detection on the filtered tire pressure signal. If the edge detection is successful (that is, the edge_det signal is detected, that is, the pulse exists, the state machine enters the BAUD_DET_ST1 state; when sampling is started again, the system also maintains the sampling edge signal edge_det, If there is no edge_det signal, the BAUD_DET_ST1 state remains unchanged. If there is an edge_det signal, it is judged whether the baud_valid signal is high level. If it is high level, the state machine enters the next state BAUD_DET_ST2. If baud_valid is low level, If it is flat, it means that the detection error has occurred, return to the initial state BAUD_DET_ST0 and start the cycle again; after entering the BAUD_DET_ST2 state, the system also maintains the sampling edge signal edge_det. If there is no edge_det signal, the BAUD_DET_ST2 state remains unchanged. If an edge_det signal arrives, the system starts at this time. Determine whether the baud_valid signal is high level. If it is high level, the state machine enters the next state BAUD_DET_ST3. If baud_valid is low level, it indicates a detection error and returns to the initial state BAUD_DET_ST0 to start the cycle again. And so on, until Reaching BAUD_DET_ST7, the state machine will remain in this state at this time, indicating that RUNING reception has ended, more than 6 chips of RUNING signals have been received, and the valid signal flag lock can be obtained (this is equivalent to the enable signal of the SYNC module). As the trigger signal of the SYNC module. Naturally, the filtered tire pressure signal can be decomposed into four parts: RUNING, and other parts (ie, the first data).

7.计算实际波特率,把实际波特率输入BAUD_generator模块。(CDR模块、BAUD_generator模块、SYNC模块中都设置有系统时钟这个装置)。7. Calculate the actual baud rate and enter the actual baud rate into the BAUD_generator module. (The CDR module, BAUD_generator module, and SYNC module are all equipped with a system clock device).

将多次RUNING的持续的总时间÷次数=实际波特率。Divide the total duration of multiple RUNINGs ÷ the number of times = the actual baud rate.

8.BAUD_generator模块能接收实际波特率,还能接收人工输入的波特率,用户可以选择自己输入的波特率,也可以选择实际波特率作为波特率时钟baud_clk输出至SYNC模块。(baud_manul为1时选择自己输入的波特率,为0时选择实际波特率)。一般都选择实际波特率,这一数据更加准确。8. The BAUD_generator module can receive the actual baud rate, as well as the manually input baud rate. The user can choose the baud rate input by himself, or select the actual baud rate as the baud rate clock baud_clk to output to the SYNC module. (When baud_manul is 1, select the baud rate you entered, and when it is 0, select the actual baud rate). Generally, the actual baud rate is selected, which is more accurate.

9.SYNC模块接收到了波特率时钟baud_clk和使能信号(有效信号标志lock)和cdc_data(即第一数据)。9. The SYNC module received the baud rate clock baud_clk and the enable signal (valid signal flag lock) and cdc_data (ie, the first data).

10.根据波特率时钟baud_clk,采集cdc_data,得到目标cdc_data(即第二数据)。10. According to the baud rate clock baud_clk, collect cdc_data and obtain the target cdc_data (ie, the second data).

将目标cdc_data中的SYNC数据与sync_pt[31:0]进行格式匹配,与sync_pt_length[5:0]进行长度匹配,都匹配上,则视为帧同步成功,则产生同步标志信号sync_det。如此,即可从第二数据提取到sync_data数据,第二数据中除了sync_data数据之外的数据为第三数据,一般包括DATA和CRC。根据sync_data还能生成sync_det。Match the format of the SYNC data in the target cdc_data with sync_pt[31:0] and the length with sync_pt_length[5:0]. If both are matched, the frame synchronization is deemed to be successful, and the synchronization flag signal sync_det is generated. In this way, the sync_data data can be extracted from the second data. The data in the second data except the sync_data data is the third data, which generally includes DATA and CRC. Sync_det can also be generated based on sync_data.

否则,上述计算都作废,重新开始整个过程。Otherwise, the above calculations are invalid and the whole process starts again.

11.将sync_det、sync_data、RUNING、DATA、CRC和实际波特率,这些数据作为处理后的胎压信号数据,发送至后续的电路。11. Send sync_det, sync_data, RUNING, DATA, CRC and actual baud rate as processed tire pressure signal data to subsequent circuits.

本发明实施例所提供的胎压信号的处理系统,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,本实施例部分未提及之处,可参考前述方法实施例中相应内容。The implementation principle and technical effects of the tire pressure signal processing system provided by the embodiments of the present invention are the same as those of the foregoing method embodiments. For the sake of brief description, for parts not mentioned in this embodiment, please refer to the foregoing method embodiments. Corresponding content.

实施例五Embodiment 5

本发明实施例提供第三种胎压信号的处理方法,该方法包括:Embodiments of the present invention provide a third tire pressure signal processing method, which method includes:

传感器接收的数据rx_data先进入CDR模块,根据配置的波特率误差阈值baud_th[15:0]和分频系数baud_div[15:0]进行信号波特率检测,当检测到匹配的波特率时,输出lock信号,高电平有效,并将数据cdc_data传递到SYNC模块。The data rx_data received by the sensor first enters the CDR module, and the signal baud rate is detected according to the configured baud rate error threshold baud_th[15:0] and frequency division coefficient baud_div[15:0]. When a matching baud rate is detected , output the lock signal, active high level, and pass the data cdc_data to the SYNC module.

同时,将检测得的信号实际波特率通过baud_auto[15:0]传递到BAUD_generator模块中,BAUD_generator模块将时钟分频之后,产生baud_clk,送给SYNC模块。At the same time, the actual baud rate of the detected signal is passed to the BAUD_generator module through baud_auto[15:0]. After the BAUD_generator module divides the clock, it generates baud_clk and sends it to the SYNC module.

SYNC模块通过同步模式sync_pt[31:0]和同步模式长度sync_pt_length[5:0]配置同步格式,在接收到高电平lock信号后,使用baud_clk对cdc_data进行采样,当检测到与同步模式匹配的信号后,产生同步标志信号sync_det,高电平有效,并将数据通过sync_data传递至后续电路。The SYNC module configures the synchronization format through the synchronization mode sync_pt[31:0] and the synchronization mode length sync_pt_length[5:0]. After receiving the high-level lock signal, baud_clk is used to sample cdc_data. When it detects that the synchronization pattern matches After the signal is generated, the synchronization flag signal sync_det is generated, which is active at high level, and the data is transferred to the subsequent circuit through sync_data.

CDR模块用于侦测有效信号,有如下端口:rx_data,baud_div[15:0],baud_th[15:0],baud_auto[15:0],cdc_data和lock。The CDR module is used to detect valid signals and has the following ports: rx_data, baud_div[15:0], baud_th[15:0], baud_auto[15:0], cdc_data and lock.

BAUD_generator模块用于生成波特率的时钟,其有如下端口:baud_manul,baud_auto[15:0]和baud_div[15:0]。The BAUD_generator module is used to generate a baud rate clock and has the following ports: baud_manul, baud_auto[15:0] and baud_div[15:0].

SYNC模块用于帧同步,其有如下端口:baud_clk,cdc_data,lock,sync_data,sync_det,sync_pt[31:0],sync_pt_length[5:0和sync_timeout_th[31:0]。The SYNC module is used for frame synchronization and has the following ports: baud_clk, cdc_data, lock, sync_data, sync_det, sync_pt[31:0], sync_pt_length[5:0 and sync_timeout_th[31:0].

本发明实施例所提供的胎压信号的处理方法,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,本实施例部分未提及之处,可参考前述方法实施例中相应内容。The implementation principle and technical effects of the tire pressure signal processing method provided by the embodiments of the present invention are the same as those of the foregoing method embodiments. For the sake of brief description, for parts not mentioned in this embodiment, please refer to the foregoing method embodiments. Corresponding content.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, but not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or substitutions do not deviate from the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present invention. scope.

Claims (5)

1.一种胎压信号的处理方法,其特征在于,所述方法包括:1. A method for processing tire pressure signals, characterized in that the method includes: 根据预先获取的原始胎压信号和预先获取的信号电平状态数据,确定运行帧数据、第一数据和实际波特率;Determine the running frame data, the first data and the actual baud rate according to the pre-acquired original tire pressure signal and the pre-acquired signal level status data; 根据所述实际波特率,确定波特率时钟;Determine the baud rate clock according to the actual baud rate; 采集所述特率时钟对应的时间范围内的所述第一数据,作为第二数据;Collect the first data within the time range corresponding to the bit rate clock as second data; 根据预设的格式配置规则、预设的长度配置规则以及所述第二数据,确定同步帧数据和第三数据;Determine the synchronization frame data and the third data according to the preset format configuration rules, the preset length configuration rules and the second data; 将所述运行帧数据、所述同步帧数据、所述第三数据和所述实际波特率作为处理后的胎压信号,将所述处理后的胎压信号发送至预设的检测电路;Use the running frame data, the synchronization frame data, the third data and the actual baud rate as a processed tire pressure signal, and send the processed tire pressure signal to a preset detection circuit; 所述信号电平状态数据的状态包括高电平宽度状态和低电平宽度状态;The state of the signal level state data includes a high level width state and a low level width state; 所述根据预先获取的原始胎压信号和预先获取的信号电平状态数据,确定运行帧数据、第一数据和实际波特率的步骤,包括:The step of determining the running frame data, the first data and the actual baud rate based on the pre-acquired original tire pressure signal and the pre-acquired signal level status data includes: 对所述原始胎压信号进行边缘性检测;Perform edge detection on the original tire pressure signal; 判断所述信号电平状态数据的状态是否为高电平宽度状态;Determine whether the state of the signal level status data is a high level width state; 若所述边缘性检测成功,且所述信号电平状态数据的状态为高电平宽度状态,则提取出所述原始胎压信号中的运行帧数据;If the edge detection is successful and the state of the signal level status data is a high level width state, extract the running frame data in the original tire pressure signal; 将所述原始胎压信号中的除了所述运行帧数据之外的其他数据作为所述第一数据;Use other data in the original tire pressure signal except the running frame data as the first data; 根据所述运行帧数据,确定所述实际波特率;Determine the actual baud rate according to the running frame data; 根据所述运行帧数据,确定所述实际波特率的步骤,包括:According to the running frame data, the step of determining the actual baud rate includes: 将多个所述运行帧数据的持续总时间除以所述运行帧数据的数量,得到所述实际波特率;Divide the total duration of multiple running frame data by the number of running frame data to obtain the actual baud rate; 所述方法还包括:The method also includes: 若连续产生有效的所述原始胎压信号的次数达到预设次数,则生成所述原始胎压信号的有效锁定信号,其中,所述有效锁定信号为使能信号;If the number of times the valid original tire pressure signal is continuously generated reaches a preset number of times, an effective locking signal of the original tire pressure signal is generated, wherein the effective locking signal is an enable signal; 采集所述特率时钟对应的时间范围内的所述第一数据,作为第二数据的步骤,包括:The step of collecting the first data within the time range corresponding to the bit rate clock as the second data includes: 若生成所述有效锁定信号,则采集所述特率时钟对应的时间范围内的所述第一数据;If the valid lock signal is generated, collect the first data within the time range corresponding to the bit rate clock; 将多个所述第一数据组合为所述第二数据;Combine a plurality of the first data into the second data; 根据预设的格式配置规则、预设的长度配置规则以及所述第二数据,确定同步帧数据和第三数据的步骤,包括:According to the preset format configuration rules, the preset length configuration rules and the second data, the step of determining the synchronization frame data and the third data includes: 将所述第二数据与所述预设的格式配置规则、所述预设的长度配置规则进行匹配,得到匹配结果;Match the second data with the preset format configuration rules and the preset length configuration rules to obtain a matching result; 若所述匹配结果表征匹配成功,则从所述第二数据中提取所述同步帧数据和所述第三数据,其中所述第三数据包括数据帧数据和校验帧数据。If the matching result indicates that the matching is successful, the synchronization frame data and the third data are extracted from the second data, where the third data includes data frame data and verification frame data. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that, the method further comprises: 若所述边缘性检测成功,且所述信号电平状态数据的状态为高电平宽度状态,则产生有效的所述原始胎压信号的次数加一;If the edge detection is successful and the state of the signal level status data is a high level width state, then the number of times the valid original tire pressure signal is generated is increased by one; 若连续产生有效的所述原始胎压信号的次数达到预设次数,则提取多个所述运行帧数据;If the number of times that the valid original tire pressure signal is continuously generated reaches a preset number of times, extract a plurality of the running frame data; 若连续产生预设次数的有效的所述原始胎压信号没有达到所述预设次数,则不执行所述提取多个所述运行帧数据的步骤。If the preset number of consecutively generated valid original tire pressure signals does not reach the preset number, the step of extracting multiple running frame data is not performed. 3.根据权利要求1所述的方法,其特征在于,所述根据所述实际波特率,确定波特率时钟的步骤,包括:3. The method according to claim 1, characterized in that the step of determining the baud rate clock according to the actual baud rate includes: 根据所述实际波特率或者预先获取的预设波特率,确定所述波特率时钟。The baud rate clock is determined according to the actual baud rate or a preset baud rate obtained in advance. 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, characterized in that, the method further comprises: 通过胎压传感器采集胎压的第一胎压信号;Collect the first tire pressure signal of tire pressure through the tire pressure sensor; 对所述第一胎压信号进行滤波处理,得到所述原始胎压信号。Filter the first tire pressure signal to obtain the original tire pressure signal. 5.一种采用如权利要求1所述的胎压信号的处理方法的胎压信号的处理装置,其特征在于,所述装置包括:5. A tire pressure signal processing device using the tire pressure signal processing method according to claim 1, characterized in that the device includes: 第一处理单元,用于根据预先获取的原始胎压信号和预先获取的信号电平状态数据,确定运行帧数据、第一数据和实际波特率;The first processing unit is used to determine the running frame data, the first data and the actual baud rate based on the pre-acquired original tire pressure signal and the pre-acquired signal level status data; 第二处理单元,用于根据所述实际波特率,确定波特率时钟;a second processing unit, configured to determine the baud rate clock according to the actual baud rate; 第三处理单元,用于采集所述特率时钟对应的时间范围内的所述第一数据,作为第二数据;A third processing unit, configured to collect the first data within the time range corresponding to the bit rate clock as second data; 第四处理单元,用于根据预设的格式配置规则、预设的长度配置规则以及所述第二数据,确定同步帧数据和第三数据;A fourth processing unit configured to determine the synchronization frame data and the third data according to the preset format configuration rules, the preset length configuration rules and the second data; 输出单元,用于将所述运行帧数据、所述同步帧数据、所述第三数据和所述实际波特率作为处理后的胎压信号,将所述处理后的胎压信号发送至预设的检测电路。An output unit is configured to use the running frame data, the synchronization frame data, the third data and the actual baud rate as a processed tire pressure signal, and send the processed tire pressure signal to a preset Detection circuit set up.
CN202111358498.5A 2021-11-16 2021-11-16 Tire pressure signal processing method and device Active CN114043827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111358498.5A CN114043827B (en) 2021-11-16 2021-11-16 Tire pressure signal processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111358498.5A CN114043827B (en) 2021-11-16 2021-11-16 Tire pressure signal processing method and device

Publications (2)

Publication Number Publication Date
CN114043827A CN114043827A (en) 2022-02-15
CN114043827B true CN114043827B (en) 2023-09-29

Family

ID=80209456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111358498.5A Active CN114043827B (en) 2021-11-16 2021-11-16 Tire pressure signal processing method and device

Country Status (1)

Country Link
CN (1) CN114043827B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990047331A (en) * 1997-12-03 1999-07-05 정선종 Frequency hopping synchronization device and synchronization signal detection method and device in asynchronous serial data communication
CN105946472A (en) * 2016-05-14 2016-09-21 北京电子科技职业学院 Automobile tyre pressure monitoring system
CN108891210A (en) * 2018-06-28 2018-11-27 深圳市道通科技股份有限公司 Recognition methods, device and the equipment of tyre pressure sensor
CN109397999A (en) * 2018-12-21 2019-03-01 李艳华 A kind of tire pressure monitoring control method of compatible RKE function
WO2019114758A1 (en) * 2017-12-13 2019-06-20 深圳市道通科技股份有限公司 Tire pressure sensor activation method and device, storage medium and front-end processor
CN111817703A (en) * 2020-06-03 2020-10-23 南京英锐创电子科技有限公司 Detection circuit for specific encoded signal
CN112455167A (en) * 2020-12-08 2021-03-09 安徽江淮汽车集团股份有限公司 Tire pressure sensor ID acquisition method, tire pressure sensor ID acquisition device and computer-readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006138344A1 (en) * 2005-06-14 2006-12-28 Siemens Vdo Automotive Corporation Signal recognition for combined receiver for remote keyless entry and pressure monitoring systems

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990047331A (en) * 1997-12-03 1999-07-05 정선종 Frequency hopping synchronization device and synchronization signal detection method and device in asynchronous serial data communication
CN105946472A (en) * 2016-05-14 2016-09-21 北京电子科技职业学院 Automobile tyre pressure monitoring system
WO2019114758A1 (en) * 2017-12-13 2019-06-20 深圳市道通科技股份有限公司 Tire pressure sensor activation method and device, storage medium and front-end processor
CN108891210A (en) * 2018-06-28 2018-11-27 深圳市道通科技股份有限公司 Recognition methods, device and the equipment of tyre pressure sensor
WO2020001248A1 (en) * 2018-06-28 2020-01-02 深圳市道通科技股份有限公司 Method, apparatus, and device for identifying tire pressure sensor
CN109397999A (en) * 2018-12-21 2019-03-01 李艳华 A kind of tire pressure monitoring control method of compatible RKE function
CN111817703A (en) * 2020-06-03 2020-10-23 南京英锐创电子科技有限公司 Detection circuit for specific encoded signal
CN112455167A (en) * 2020-12-08 2021-03-09 安徽江淮汽车集团股份有限公司 Tire pressure sensor ID acquisition method, tire pressure sensor ID acquisition device and computer-readable storage medium

Also Published As

Publication number Publication date
CN114043827A (en) 2022-02-15

Similar Documents

Publication Publication Date Title
CN101217330B (en) A method and device for time synchronism calibration
CN101577564B (en) Self-adaptive signal frequency spectrum sensing and detection method based on decision threshold
CN106556821A (en) Multi-chip transceiver test in radar system
EP3396900B1 (en) Fraudulent message detection
CN106559286A (en) A kind of error-code testing method and system based on CAN
CN104205680A (en) Method and apparatus for differential communications
CN108390752B (en) Signal receiving method
CN101346891A (en) Apparatus and method for detecting frame boundary in wireless communication system
US20160223370A1 (en) Sensor bus system and unit with internal event verification
CN105281883A (en) Multi-channel synchronization method, synchronization device and system
KR20130021652A (en) Interface apparatus and method for converting a plurality of different vehicles diagnosis protocol to standard diagnosis protocol
US11606185B2 (en) Detection of physical layer parameter of a master device in an ethernet network
CN114043827B (en) Tire pressure signal processing method and device
WO2008117441A1 (en) Equalizer characteristic optimization method, transmission system, communication device, and program
CN114690745B (en) Intrusion detection method of CAN bus in vehicle
CN102480455B (en) Detecting method and detecting device for primary synchronization signals in long-term evolution system
JP5250505B2 (en) Mobile communication device test system and test method
US20240388416A1 (en) Indicating presence of a portion of data corresponding to a predetermined pattern at a reception datapath of a physical layer
CN102355318B (en) Method and device for recognizing clock reference type
CN107888336A (en) Spaceborne ADS B signals detection of preamble system and method
Gallo et al. Revision and verification of an enhanced UART
CN105307185A (en) Crowd-sourcing cooperative spectrum sensing method based on data cleaning
CN116545470B (en) A PDW-based S response signal decoder decoding method and FPGA implementation device
WO2016000372A1 (en) Sequence detection method and device, and computer storage medium
CN101964668B (en) Difference frequency hopping communication method based on correlation capture of m sequence

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
CP03 Change of name, title or address

Address after: Floor 14, Building A, Chuangzhi Building, No. 17 Xinghuo Road, Jiangbei New District, Nanjing, Jiangsu Province, 211800

Patentee after: Wanjie Electronic Technology (Jiangsu) Co.,Ltd.

Country or region after: China

Address before: 14th Floor, Building A, Chuangzhi Building, No. 17 Xinghuo Road, Jiangbei New District, Nanjing City, Jiangsu Province

Patentee before: Nanjing yingruichuang Electronic Technology Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address