CN111308919B - Wheel speed signal transmission method, device, terminal and computer readable storage medium - Google Patents

Wheel speed signal transmission method, device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN111308919B
CN111308919B CN201811516346.1A CN201811516346A CN111308919B CN 111308919 B CN111308919 B CN 111308919B CN 201811516346 A CN201811516346 A CN 201811516346A CN 111308919 B CN111308919 B CN 111308919B
Authority
CN
China
Prior art keywords
wheel speed
value
speed signal
counter
analog
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
CN201811516346.1A
Other languages
Chinese (zh)
Other versions
CN111308919A (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.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group 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 Guangzhou Automobile Group Co Ltd filed Critical Guangzhou Automobile Group Co Ltd
Priority to CN201811516346.1A priority Critical patent/CN111308919B/en
Publication of CN111308919A publication Critical patent/CN111308919A/en
Application granted granted Critical
Publication of CN111308919B publication Critical patent/CN111308919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Abstract

The embodiment of the invention discloses a wheel speed signal transmission method, a wheel speed signal transmission device, a wheel speed signal transmission terminal and a computer readable storage medium, wherein the method comprises the following steps: after adding 1 to the value of the counter, sending the value of the counter to a wheel speed signal transmission bus; the wheel speed signal transmission bus is used for transmitting a wheel speed signal to a rack test environment; calculating the checksum of the analog wheel speed signal corresponding to the current value of the counter; and sending the check sum of the analog wheel speed signal to the wheel speed signal transmission bus, and adding 1 to the value of the counter. The embodiment of the invention can realize the correct generation of the wheel speed signal by utilizing software programming, can omit a swing mechanism and a wheel speed sensor, and has wide application range, strong safety and high method portability.

Description

Wheel speed signal transmission method, device, terminal and computer readable storage medium
Technical Field
The invention relates to the field of automobile testing, in particular to a wheel speed signal transmission method, a wheel speed signal transmission device, a wheel speed signal transmission terminal and a computer readable storage medium.
Background
The vehicle Body Controller (BCM) and keyless entry (PEPS) system test is mainly divided into a real vehicle test part and a rack test part. In the real vehicle test, the working conditions that a tester needs to frequently move the key position, a single person cannot independently complete the test or the static test cannot meet the test requirements, such as dynamic test dangerousness and the like can occur. And the bench test can avoid the above phenomena. The smooth establishment of the bench test environment effectively generates the wheel speed signal which cannot be started. If there is no wheel speed signal, the power state of the stand cannot be switched from the ON gear to the OFF gear (the actual vehicle is not normally powered down). Efficient generation of the wheel speed signal is therefore a necessary condition for implementing bench testing. The conventional wheel speed signal acquisition method utilizes a slewing mechanism and a wheel speed sensor to realize effective generation of signals, is high in cost and poor in safety, and has great threat to personal safety of bench testers particularly when high-speed working conditions are simulated.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, a terminal and a computer-readable storage medium for transmitting a wheel speed signal, which can utilize software programming to correctly generate a wheel speed signal, can omit a rotation mechanism and a wheel speed sensor, and have a wide application range, high safety and high method portability.
In a first aspect, an embodiment of the present invention provides a wheel speed signal transmission method, including:
after adding 1 to the value of the counter, sending the value of the counter to a wheel speed signal transmission bus; the wheel speed signal transmission bus is used for transmitting a wheel speed signal to a rack test environment;
calculating the checksum of the analog wheel speed signal corresponding to the current value of the counter;
and sending the check sum of the analog wheel speed signal to the wheel speed signal transmission bus, and adding 1 to the value of the counter.
Preferably, after adding 1 to the value of the counter, the sending the value of the counter to the wheel speed signal transmission bus specifically includes:
after adding 1 to the value of the counter, if the value of the counter is greater than a preset value, setting the value of the counter to be 0, otherwise, maintaining the value of the counter as the current value;
and sending the value of the counter to a wheel speed signal transmission bus.
Preferably, the calculating a checksum of the analog wheel speed signal corresponding to the current value of the counter includes:
using the VSPY built-in byte X (algorithm calculates the value of each byte in the analog wheel speed signal corresponding to the current value of the counter;
and adding the values of all the bytes, and taking the inverted code as the checksum of the analog wheel speed signal.
Preferably, the value of the counter is sent to a wheel speed signal transmission bus, specifically, the value of the counter is sent to the wheel speed signal transmission bus by using a Transmit algorithm built in the VSPY.
Preferably, the calculating of the value of each byte in the simulated wheel speed signal corresponding to the current value of the counter by using the byte X built in the VSPY specifically includes:
if the analog wheel speed signal corresponding to the current value of the counter is a continuous value, using byte X built in VSPY (calculating the value of each byte in the Raw value of the analog wheel speed signal by an algorithm;
if the simulated wheel speed signal is a discrete value, the value of each byte in the value of the simulated wheel speed signal is calculated using byte X (algorithm) built in VSPY.
Preferably, the adding the values of all bytes and then taking the inverted code as the checksum of the analog wheel speed signal specifically includes:
performing addition operation on the values of all bytes and then performing exclusive or operation on the values of all bytes and 0xFF to obtain an inverse code;
and taking the code inversions as a check sum of the analog wheel speed signal.
In a second aspect, an embodiment of the present invention further provides a wheel speed signal transmitting apparatus, including:
the device comprises a first transmission module, a second transmission module and a control module, wherein the first transmission module is used for sending the value of a counter to a wheel speed signal transmission bus after adding 1 to the value of the counter; the wheel speed signal transmission bus is used for transmitting a wheel speed signal to a rack test environment;
the calculating module is used for calculating the checksum of the analog wheel speed signal corresponding to the current value of the counter;
and the second transmission module is used for sending the check sum of the analog wheel speed signal to the wheel speed signal transmission bus and adding 1 to the value of the counter.
Preferably, the first transfer module includes:
the cycle counting unit is used for setting the value of the counter to be 0 if the value of the counter is larger than a preset value after the value of the counter is added with 1, and otherwise, maintaining the value of the counter as the current value;
and the transmission execution unit is used for sending the value of the counter to a wheel speed signal transmission bus.
In a third aspect, embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method provided in any of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides an apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the method provided in any embodiment of the present invention.
The embodiment of the invention has the following beneficial effects:
according to the technical scheme of the embodiment of the invention, the counter value for confirming the number of the analog wheel speed signals is generated by a method of accumulating 1 by the counter, the checksum is calculated aiming at the analog wheel speed signals, and the counter value and the checksum are transmitted to the bus, so that the number of the analog wheel speed signals and the reliability of the signal values are ensured, the bus can transmit effective wheel speed signals, the correct generation of the wheel speed signals by utilizing software programming is realized, a rotating mechanism and a wheel speed sensor are saved, and the method has the effects of wide application range, strong safety and high method portability.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1 is a flow chart of a wheel speed signaling method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for transmitting wheel speed signals according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a method for transmitting a wheel speed signal according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a wheel speed signal transmission device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not limitation. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Furthermore, the terms first, second, third and the like in the description and in the claims, are used for descriptive purposes only to distinguish one element from another, and are not to be construed as indicating or implying relative importance or implying any order or order to the indicated elements. The terms are interchangeable where appropriate. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
Fig. 1 is a flowchart of a wheel speed signaling method according to an embodiment of the present invention. This embodiment may be applicable to the case where a software module is used to output a wheel speed signal during bench testing. The method may be performed by a wheel speed signaling apparatus, which may be integrated in a device having a memory and a processor.
As shown in fig. 1, a wheel speed signaling method according to an embodiment of the present invention includes the following steps 110, 120, and 130.
Step 110, after adding 1 to the value of the counter, sending the value of the counter to a wheel speed signal transmission bus; the wheel speed signal transmission bus is used for transmitting a wheel speed signal for a rack test environment.
The wheel speed signal represents the change situation of the wheel when the wheel rotates, when the real vehicle tests or runs, an automobile ECU (Electronic Control Unit) converts the change situation into a wheel speed signal and sends the wheel speed signal to a vehicle bus, and other working nodes or modules can acquire a wheel speed value. Because the wheel speed signal is a safety signal, there is a high reliability requirement for the wheel speed signal, so that it is necessary to perfect a verification scheme for simulating the wheel speed signal, and if the wheel speed signal is abnormal, the bus should consider the wheel speed signal invalid. In this embodiment, the analog wheel speed signal refers to a wheel speed signal that is simulated by a software module. The value of the counter is used for confirming whether the quantity of the wheel speed signals is normal or not, the quantity of the wheel speed signals is marked by adopting a mode of accumulating 1 by the counter and is transmitted to the bus, and each unit on the bus can confirm the reliability of the quantity of the wheel speed signals according to the quantity. The wheel speed signaling bus may be a vehicle bus. In embodiments of the present invention, the bench test may include bench test of a Body Controller (BCM), keyless entry (PEPS) or other components, functional modules.
Step 120, calculating a checksum of the analog wheel speed signal corresponding to the current value of the counter;
as described above, the value of the counter is used to confirm whether the number of wheel speed signals is normal, and accordingly, every time 1 is added to the counter, the counter corresponds to one analog wheel speed signal. And the checksum, also called a message checksum, is used for confirming whether the wheel speed signal value is normal or not, and the abnormal signal cannot be normally received. In the prior art, various technical means can be used for calculating the checksum, and a person skilled in the art can select a proper checksum calculation method according to the actual condition of the bench test.
And step 130, sending the checksum of the analog wheel speed signal to the wheel speed signal transmission bus, and adding 1 to the value of the counter.
The check sum of the simulated wheel speed signal is sent to the bus, and then the unit on the bus can confirm whether the signal value is normal or not according to the check sum, so that the effective generation of the wheel speed signal is realized. When the transmission of one signal is completed, the counter is incremented by 1 and the next signal is processed.
Through the above description, those skilled in the art can appreciate that in the technical solution of the embodiment of the present invention, a counter value for confirming the number of the analog wheel speed signals is generated by a method of adding 1 to the counter, a checksum is calculated for the analog wheel speed signals, and the counter value and the checksum are transmitted to the bus, so that the number of the analog wheel speed signals and the reliability of the signal value are ensured, the bus can transmit effective wheel speed signals, thereby realizing correct generation of the wheel speed signals by using software programming, saving a swing mechanism and a wheel speed sensor, and having the effects of wide application range, strong safety, and high method portability.
On the basis of the above embodiments, the present invention also provides a preferred embodiment to further accurately verify the number of signals. Step 110, after adding 1 to the value of the counter, sending the value of the counter to a wheel speed signal transmission bus, specifically including: after adding 1 to the value of the counter, if the value of the counter is greater than a preset value, setting the value of the counter to be 0, otherwise, maintaining the value of the counter as the current value; and sending the value of the counter to a wheel speed signal transmission bus. This preferred embodiment enables the counter to count cyclically avoiding data redundancy. In a specific implementation, the counter should have an initial value. The initial value is not limited in the embodiment of the present invention, and it should be understood that the preferred implementation of step 110 above is started using any initial value, which causes the value of the counter to cycle between 0 and the preset value.
For better explaining the preferred embodiment, please refer to fig. 2, fig. 2 is a flow chart of another wheel speed signal transmission method according to the embodiment of the present invention. The wheel speed signal transmission method takes-1 as the initial value of the counter, so that the counter starts counting from 0 after adding 1 for the first time, the calculation is further simplified, and the preset value is preferably 15. Specifically, the wheel speed signaling method shown in fig. 2 includes:
step 210, initializing the value of a counter to be-1;
step 220, adding 1 to the value of the counter;
step 230, determine whether the value of the counter is greater than 15? If so, setting the value of the counter to 0;
step 240, sending the value of the counter to a wheel speed signal transmission bus;
step 120, calculating a checksum of the analog wheel speed signal corresponding to the current value of the counter;
step 130, sending the checksum of the analog wheel speed signal to the wheel speed signal transmission bus, and then returning to step 220 to increment the value of the counter by 1.
Preferably, on the basis of any of the above embodiments, the calculating a checksum of the analog wheel speed signal corresponding to the current value of the counter includes:
using the VSPY built-in byte X (algorithm calculates the value of each byte in the analog wheel speed signal corresponding to the current value of the counter;
and adding the values of all the bytes, and taking the inverted code as the checksum of the analog wheel speed signal.
In the above embodiment, the analog wheel speed signal is first divided into 8-bit strings, i.e., divided by byte (byte), the value of each byte is calculated and added, and then the checksum is generated by negating the code. Wherein the addition operation may be a carry-with-loop addition.
VSPY (vehicle spy), automobile bus simulation test software, which is general ECU and CAN bus analysis software, CAN simulate the generation of various automobile signals, and the built-in algorithm CAN calculate the value of each byte (byte) in the simulated wheel speed signal. In particular, if the analog wheel speed signal corresponding to the current value of the counter is a continuous value, a VSPY built-in byte X (algorithm calculates the value of each byte in the Raw value of the analog wheel speed signal; if the analog wheel speed signal is a discrete value, a VSPY built-in byte X (algorithm calculates the value of each byte in the value of the analog wheel speed signal; using VSPY also facilitates the transmission of a signal onto a bus, such as the transmission of the counter value to a wheel speed signal transmission bus, in particular, the transmission algorithm built-in VSPY transmits the counter value to a wheel speed signal transmission bus.
Further, calculating the value of each byte requires using VSPY to embed byte 0 (algorithm or byte 1 (algorithm, which algorithm needs to see if the signal crosses a row (if more than eight bits).
It should be noted that if the signal does not start at bit0, it needs to be moved to bit0 by a left shift instruction to correctly calculate, for example, the EBDActiveST signal in GW _ BCS _2_ B is at bit 4, and needs to be moved to the left by four bits.
More preferably, the adding the values of all bytes and then taking the inverse code as the checksum of the analog wheel speed signal specifically includes: performing addition operation on the values of all bytes and then performing exclusive or operation on the values of all bytes and 0xFF to obtain an inverse code; and taking the code inversions as a check sum of the analog wheel speed signal. Where 0xFF, hexadecimal FF,
to better explain the above embodiments, please refer to fig. 3, fig. 3 shows a flowchart of another wheel speed signal transmission method provided by an embodiment of the present invention, and the flowchart shows a specific algorithm implementation step of the above alternative embodiment executed by a computer program, which is a more specific embodiment, wherein the parameter setting and a part of the steps of each step are only exemplary, and are not necessary technical means for implementing the present invention. Specifically, in the method shown in fig. 3, a counter value is assigned to a counter value by a variable n in cycles of 0 to 15, the counter value is sent to a bus, and after each sending of the counter value, whether a wheel speed signal is a continuous value, whether the number of bits exceeds 8 bits, and whether the signal start position is bit0 are considered according to the above-described embodiment, and the value of each byte of the simulated wheel speed signal is calculated according to the specific situation, for example, if the number of bits exceeds 8 bits, a byte 1 is used for the upper bits (algorithm, a byte 0 is used for the lower bits (algorithm, if the number of bits does not exceed 8 bits, a byte X is used for the lower bits (algorithm; if the signal start position is not bit0, the value of the signal byte X is then added and xored with 0xFF, and the final result is assigned to a check sum (variable representing a checksum) and sent to the bus.
The above description should make the features and advantages of the present invention more obvious, and in the technical solution of the embodiment of the present invention, a counter value for confirming the number of analog wheel speed signals is generated by a method of adding 1 by a counter, a checksum is calculated for the analog wheel speed signals, and the counter value and the checksum are transmitted to a bus, so that the number of the analog wheel speed signals and the reliability of the signal values are ensured, the bus can transmit effective wheel speed signals, thereby realizing correct generation of the wheel speed signals by using software programming, saving a swing mechanism and a wheel speed sensor, and having the effects of wide application range, strong safety, and high method portability.
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Fig. 4 is a schematic structural diagram of a wheel speed signal transmission device according to an embodiment of the present invention, the wheel speed signal transmission device includes:
a first transmission module 410 for transmitting a value of a counter to a wheel speed signal transmission bus after adding 1 to the value of the counter; the wheel speed signal transmission bus is used for transmitting a wheel speed signal to a rack test environment;
the calculating module is used for calculating the checksum of the analog wheel speed signal corresponding to the current value of the counter;
and the second transmission module is used for sending the check sum of the analog wheel speed signal to the wheel speed signal transmission bus and adding 1 to the value of the counter.
Preferably, the first transmission module 410 includes:
the cycle counting unit is used for setting the value of the counter to be 0 if the value of the counter is larger than a preset value after the value of the counter is added with 1, and otherwise, maintaining the value of the counter as the current value;
and the transmission execution unit is used for sending the value of the counter to a wheel speed signal transmission bus.
Preferably, the calculation module 420 comprises:
a byte value calculating unit for calculating a value of each byte in the analog wheel speed signal corresponding to a current value of the counter using a byte X built in the VSPY (algorithm;
and the checksum calculation unit is used for performing addition operation on the values of all the bytes and then taking the inverted code as the checksum of the analog wheel speed signal.
Preferably, the first transmission unit is specifically configured to send the value of the counter to a wheel speed signaling bus using a Transmit algorithm built into VSPY.
Preferably, the byte value calculation unit includes:
a continuous value calculating operator unit for calculating a value of each byte in Raw value of the simulated wheel speed signal using a byte X (algorithm) built in VSPY if the simulated wheel speed signal corresponding to the current value of the counter is a continuous value;
a discrete value operator unit for calculating a value of each byte in the value values of the simulated wheel speed signal using a byte X (algorithm) built in VSPY if the simulated wheel speed signal is a discrete value.
Preferably, the checksum calculation unit includes:
the exclusive-OR subunit is used for performing addition operation on the values of all the bytes and then performing exclusive-OR operation on the values of all the bytes and 0xFF to obtain an inverse code;
and the code inversing subunit is used for taking the code inversions as the check sum of the analog wheel speed signal.
The wheel speed signal transmission device provided by the embodiment of the invention can implement the wheel speed signal transmission method provided by any embodiment of the invention, and has corresponding beneficial effects.
Furthermore, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method as described above.
In this embodiment, the integrated module/unit of the wheel speed signal transmission device may be stored in a computer readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
Fig. 5 is a schematic diagram of a terminal according to an embodiment of the present invention. The terminal provided in the embodiment of the present invention includes a memory 301, a processor 302, and a computer program stored in the memory 301 and executable on the processor 302, wherein the processor 302 implements the steps in each of the wheel speed signal transmission method embodiments described above when executing the computer program, for example, step 110 shown in fig. 1, after adding 1 to a value of a counter, the value of the counter is transmitted to a wheel speed signal transmission bus; the wheel speed signal transmission bus is used for transmitting a wheel speed signal to a rack test environment; step 120, calculating a checksum of the analog wheel speed signal corresponding to the current value of the counter; and step 130, sending the checksum of the analog wheel speed signal to the wheel speed signal transmission bus, and adding 1 to the value of the counter. Alternatively, the processor 302, when executing the computer program, implements the functions of the above-mentioned modules/units in the wheel speed signal transmission apparatus embodiments, such as the first transmission module 410, the calculation module 420, and the second transmission module 430 shown in fig. 4.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the device remote backup upgrading apparatus. For example, the computer program may be transmitted by the first transmitting module 410, the calculating module 420 and the second transmitting module 430.
The terminal may be a computer terminal. The terminal may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the schematic diagram 5 is merely an example of the terminal and is not intended to be limiting, and may include more or less components than those shown, or some components in combination, or different components, for example, the terminal may also include input and output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that is the control center for the device and that connects the various parts of the overall device using various interfaces and lines.
The memory may be used to store the computer programs and/or modules, and the processor may implement the various functions of the apparatus by running or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
In the embodiment of the present invention, it should be understood that the disclosed wheel speed signal transmission device and method can be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the described units or division of units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical or other form.
Those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than others, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A wheel speed signaling method, comprising:
after adding 1 to the value of the counter, sending the value of the counter to a wheel speed signal transmission bus; the wheel speed signal transmission bus is used for transmitting a wheel speed signal to a rack test environment;
calculating the checksum of the analog wheel speed signal corresponding to the current value of the counter;
sending the checksum of the analog wheel speed signal to the wheel speed signal transmission bus, and adding 1 to the value of a counter;
the calculating the checksum of the analog wheel speed signal corresponding to the current value of the counter includes:
using the VSPY built-in byte X (algorithm calculates the value of each byte in the analog wheel speed signal corresponding to the current value of the counter;
and adding the values of all the bytes, and taking the inverted code as the checksum of the analog wheel speed signal.
2. The method for transmitting wheel speed signals according to claim 1, wherein the step of sending the value of the counter to the wheel speed signal transmission bus after adding 1 to the value of the counter comprises:
after adding 1 to the value of the counter, if the value of the counter is greater than a preset value, setting the value of the counter to be 0, otherwise, maintaining the value of the counter as the current value;
and sending the value of the counter to a wheel speed signal transmission bus.
3. The method of claim 1, wherein the value of the counter is sent to a wheel speed signaling bus, specifically, using a Transmit algorithm built into VSPY.
4. The method for transmitting wheel speed signals according to claim 1, wherein the calculating of the value of each byte in the analog wheel speed signal corresponding to the current value of the counter by using the byte X embedded in VSPY comprises:
if the analog wheel speed signal corresponding to the current value of the counter is a continuous value, using byte X built in VSPY (calculating the value of each byte in the Raw value of the analog wheel speed signal by an algorithm;
if the simulated wheel speed signal is a discrete value, the value of each byte in the value of the simulated wheel speed signal is calculated using byte X (algorithm) built in VSPY.
5. The method for transmitting wheel speed signals according to claim 1, wherein the adding and negating of the values of all bytes as the checksum of the analog wheel speed signal comprises:
performing addition operation on the values of all bytes and then performing exclusive or operation on the values of all bytes and 0xFF to obtain an inverse code;
and taking the code inversions as a check sum of the analog wheel speed signal.
6. A wheel speed signal transmission device, comprising:
the device comprises a first transmission module, a second transmission module and a control module, wherein the first transmission module is used for sending the value of a counter to a wheel speed signal transmission bus after adding 1 to the value of the counter; the wheel speed signal transmission bus is used for transmitting a wheel speed signal to a rack test environment;
the calculating module is used for calculating the checksum of the analog wheel speed signal corresponding to the current value of the counter;
the second transmission module is used for sending the check sum of the analog wheel speed signal to the wheel speed signal transmission bus and adding 1 to the value of the counter;
the calculation module comprises:
a byte value calculating unit for calculating a value of each byte in the analog wheel speed signal corresponding to a current value of the counter using a byte X built in the VSPY (algorithm;
and the checksum calculation unit is used for performing addition operation on the values of all the bytes and then taking the inverted code as the checksum of the analog wheel speed signal.
7. The wheel speed signal transmitting device of claim 6, wherein the first transmitting module comprises:
the cycle counting unit is used for setting the value of the counter to be 0 if the value of the counter is larger than a preset value after the value of the counter is added with 1, and otherwise, maintaining the value of the counter as the current value;
and the transmission execution unit is used for sending the value of the counter to a wheel speed signal transmission bus.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
9. An apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1-5 when executing the program.
CN201811516346.1A 2018-12-12 2018-12-12 Wheel speed signal transmission method, device, terminal and computer readable storage medium Active CN111308919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811516346.1A CN111308919B (en) 2018-12-12 2018-12-12 Wheel speed signal transmission method, device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811516346.1A CN111308919B (en) 2018-12-12 2018-12-12 Wheel speed signal transmission method, device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111308919A CN111308919A (en) 2020-06-19
CN111308919B true CN111308919B (en) 2021-07-27

Family

ID=71158106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811516346.1A Active CN111308919B (en) 2018-12-12 2018-12-12 Wheel speed signal transmission method, device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111308919B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114720717A (en) * 2022-03-08 2022-07-08 深圳元戎启行科技有限公司 Wheel speed detection method and device, vehicle-mounted system and computer readable storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3621711A (en) * 1969-02-17 1971-11-23 Canadian Ind Apparatus for testing reinforced elastomeric structures
US4340935A (en) * 1978-09-22 1982-07-20 Robert Bosch Gmbh Method of testing the operativeness of a control system
CN101197072A (en) * 2008-01-09 2008-06-11 吉林大学 Wheel velocity signal capturing system
CN101509834A (en) * 2008-03-31 2009-08-19 北京航空航天大学 Hydraulic ABS test stand based on wheel speed closed-loop simulation
CN102156414A (en) * 2010-12-31 2011-08-17 中国第一汽车集团公司 Method for processing wheel speed of anti-lock brake system (ABS) by development of co-processor
CN104118283A (en) * 2014-07-03 2014-10-29 北京一雄信息科技有限公司 Method and system for monitoring tire air pressure abnormity
CN104639296A (en) * 2015-02-28 2015-05-20 安徽江淮汽车股份有限公司 Method and system for checking CAN (controller area network) bus data field
CN105573148A (en) * 2014-10-11 2016-05-11 广州汽车集团股份有限公司 Vspy-based ECU software refreshing method and Vspy-based software refreshing device
CN107024926A (en) * 2017-06-13 2017-08-08 安徽省爱夫卡电子科技有限公司 The simulation system and its analogy method of a kind of automobile ECU
CN206394448U (en) * 2016-11-18 2017-08-11 四川城市职业学院 A kind of EMB of electric automobile is from control system
CN207081990U (en) * 2017-07-25 2018-03-09 上海汽车集团股份有限公司 Wheel speed sensors signal imitation device
CN107844083A (en) * 2017-12-11 2018-03-27 湖州优创科技有限公司 A kind of aircraft brake control system
CN207772901U (en) * 2017-11-17 2018-08-28 湖州博通节能环保设备有限公司 Automobile mounted energy saving maintenance suggestion device and automobile
CN108762243A (en) * 2018-07-04 2018-11-06 天津英创汇智汽车技术有限公司 A kind of ECU functional tests platform and ECU function test methods

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102353545A (en) * 2011-09-02 2012-02-15 鼎佳(天津)汽车电子有限公司 Electronic control unit (ECU) test system of anti-locked braking system (ABS) of vehicle
CN102556365B (en) * 2011-12-21 2014-01-01 西安航空制动科技有限公司 Accelerated life test method of aircraft brake system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3621711A (en) * 1969-02-17 1971-11-23 Canadian Ind Apparatus for testing reinforced elastomeric structures
US4340935A (en) * 1978-09-22 1982-07-20 Robert Bosch Gmbh Method of testing the operativeness of a control system
CN101197072A (en) * 2008-01-09 2008-06-11 吉林大学 Wheel velocity signal capturing system
CN101509834A (en) * 2008-03-31 2009-08-19 北京航空航天大学 Hydraulic ABS test stand based on wheel speed closed-loop simulation
CN102156414A (en) * 2010-12-31 2011-08-17 中国第一汽车集团公司 Method for processing wheel speed of anti-lock brake system (ABS) by development of co-processor
CN104118283A (en) * 2014-07-03 2014-10-29 北京一雄信息科技有限公司 Method and system for monitoring tire air pressure abnormity
CN105573148A (en) * 2014-10-11 2016-05-11 广州汽车集团股份有限公司 Vspy-based ECU software refreshing method and Vspy-based software refreshing device
CN104639296A (en) * 2015-02-28 2015-05-20 安徽江淮汽车股份有限公司 Method and system for checking CAN (controller area network) bus data field
CN206394448U (en) * 2016-11-18 2017-08-11 四川城市职业学院 A kind of EMB of electric automobile is from control system
CN107024926A (en) * 2017-06-13 2017-08-08 安徽省爱夫卡电子科技有限公司 The simulation system and its analogy method of a kind of automobile ECU
CN207081990U (en) * 2017-07-25 2018-03-09 上海汽车集团股份有限公司 Wheel speed sensors signal imitation device
CN207772901U (en) * 2017-11-17 2018-08-28 湖州博通节能环保设备有限公司 Automobile mounted energy saving maintenance suggestion device and automobile
CN107844083A (en) * 2017-12-11 2018-03-27 湖州优创科技有限公司 A kind of aircraft brake control system
CN108762243A (en) * 2018-07-04 2018-11-06 天津英创汇智汽车技术有限公司 A kind of ECU functional tests platform and ECU function test methods

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于VSPY的整车CAN总线节点仿真测试;杨艳 等;《测试与试验》;20181015(第19期);前言、第1节 *

Also Published As

Publication number Publication date
CN111308919A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
CN108248612B (en) Vehicle diagnosis information management method and device and terminal equipment
US8581751B2 (en) Multi-cell voltage secure data encoding in hybrid vehicles
CN111934861A (en) Data validity verification method and system in diagnosis flashing process
CN111308919B (en) Wheel speed signal transmission method, device, terminal and computer readable storage medium
CN111090915A (en) Automatic driving simulation method, device and storage medium
CN111176685A (en) Upgrading method and device
CN109669669B (en) Error code generation method and error code generator
CN113342671B (en) Method, device, electronic equipment and medium for verifying operation module
US7373525B2 (en) Data processing method and data checking method
JP2018073245A (en) Inspection apparatus, inspection system, information processing apparatus, inspection method and computer program
US20210152332A1 (en) Apparatus for adding data to blockchain, data verification apparatus, and data verification method
US20080115108A1 (en) Microcomputer having security function for memory access and debugging method of the same
Visalli UVM-based verification of ECC module for flash memories
CN110022178B (en) Detection circuit and detection method of WiFi module
CN113535578B (en) CTS test method, CTS test device and CTS test equipment
US10303542B2 (en) Semiconductor device, functional safety system and program
CN114356680A (en) Verification method and device and electronic equipment
CN114572005A (en) Vehicle mileage backup method and terminal equipment
CN109472148B (en) Method, device and storage medium for loading hot patch
CN113470723A (en) Read retry test method and device, readable storage medium and electronic equipment
CN107678967B (en) Unit test coverage rate generation method and device, readable storage medium and equipment
CN114510216A (en) Method, device and equipment for storing data
CN111427620A (en) Starting method and device of embedded system
CN111722858A (en) Online upgrading method and terminal equipment
CN107292172B (en) Method for automatically verifying a target computer file with respect to a reference computer file

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