A signal transmission method and apparatus

By introducing the first adjustment parameter group and the second adjustment parameter group in the pulse counting method, the conversion relationship between the pulse signal and the physical quantity is adjusted, and the output error caused by pulse code errors during signal transmission is solved, thereby achieving higher signal transmission accuracy.

CN111917491BActive Publication Date: 2025-05-27QUANZHOU KTSENSE MICROELECTRONICS CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010901544.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-01
Publication Date
2025-05-27
Estimated Expiration
2040-09-01

AI Technical Summary

Technical Problem

The existing pulse counting methods are easily disturbed during signal transmission, resulting in pulse errors at the receiving end, which in turn leads to signal transmission errors.

Method used

By introducing the first adjustment parameter group and the second adjustment parameter group, the mutual conversion between the pulse signal and the physical quantity is adjusted to ensure the accuracy during the signal transmission process. The specific steps include converting the physical quantity into a pulse signal, and controlling the number of pulse signals to represent the value of the physical quantity by adjusting the parameter group, and finally decoding the pulse signal through the same adjustment parameter group at the receiving end to obtain the value of the physical quantity.

Benefits of technology

It effectively solves the problem of errors in signal transmission caused by pulse count errors, and improves the accuracy and reliability of signal transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111917491B_ABST
    Figure CN111917491B_ABST
Patent Text Reader

Abstract

The present invention discloses a signal transmission method and apparatus. By introducing a first set of adjustment parameters to control the conversion of the value of a physical quantity into the number of pulse signals, and at the same time introducing a second set of adjustment parameters for pulse counting to restore the number of pulse signals to the value of the physical quantity, the problem of signal transmission errors caused by bit errors in pulse counting is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data communication technologies, and in particular, to a signal transmission method and apparatus. Background Art

[0002] Data transmission using pulse counting is widely applied in data communication. Compared with other data communication methods, the circuit using pulse counting for data transmission has the characteristics of fewer pins and simple communication, so such circuits are often used in sensor circuits with fewer pins. However, in the ordinary pulse counting method, due to interference in the pulse transmission process, pulse error codes often occur at the receiving end, resulting in incorrect signal transmission. Summary of the Invention

[0003] The purpose of the present invention is to provide a signal transmission method and apparatus, which adjusts the mutual conversion between interference pulse signals and physical quantities by introducing a first adjustment parameter group and a second adjustment parameter group in pulse counting, and solves the problem of incorrect signal transmission caused by pulse counting error codes of the signal transmission device.

[0004] The above technical purpose of the present invention is achieved through the following technical solutions:

[0005] A signal transmission method includes the following steps:

[0006] A physical quantity is converted into a pulse signal, and the first adjustment parameter group controls the value of the physical quantity to be encoded into the number of transmitted pulse signals, and the number of the pulse signals represents the value of the physical quantity;

[0007] The pulse signal is transmitted;

[0008] The pulse signal is decoded into a physical quantity, and the second adjustment parameter group controls the number of received pulse signals to be decoded into the value of the physical quantity.

[0009] Further optimized, the conversion of the physical quantity into a pulse signal includes:

[0010] The physical quantity is converted into an analog signal;

[0011] The analog signal is amplified and then converted into a digital signal;

[0012] The digital signal is processed and then encoded into a pulse signal.

[0013] Further optimized, the control of the number of transmitted pulse signals by the first adjustment parameter group for encoding the value of the physical quantity includes: count1 = (data1 - lowth + P) * N + M; where data1 is the value of the physical quantity transmitted; count1 is the number of transmitted pulses; the first adjustment parameter group includes the minimum value parameter lowth of the physically variable range preset by the user; the recognition parameter P, with a non - negative integer value; the expansion parameter N, with a value not less than 1; and the correction parameter M, with an integer value.

[0014] Further optimized, the decoding of the pulse signal into a physical quantity includes:

[0015] Receiving a pulse signal;

[0016] Decoding the pulse signal, and converting the number of pulse signals into the value of the physical quantity.

[0017] Further optimized, the control of the number of received pulse signals by the second adjustment parameter group for decoding into the value of the physical quantity includes: the decoded value of the physical quantity data2 = count2 / N - P + lowth; where data1 is the value of the physical quantity transmitted; count2 is the number of actually received pulses; the second adjustment parameter group includes the minimum value parameter lowth of the physically variable range; the recognition parameter P, with a non - negative integer value; and the expansion parameter N, with a value not less than 1.

[0018] Further optimized, the duty cycle of the pulse signal is greater than 75%.

[0019] Further optimized, the duty cycle of the pulse signal is 80%.

[0020] The technical solution of the present invention also provides a signal transmission device, including:

[0021] A signal sending module, configured to convert a physical quantity into a pulse signal and send the pulse signal, where the number of the pulse signals represents the value of the physical quantity; a first adjustment parameter group is provided in the signal sending module, and the first adjustment parameter group is used to control the encoding of the value of the physical quantity into the number of transmitted pulse signals;

[0022] A signal receiving module, configured to receive a pulse signal and decode the number of received pulse signals into the value of the physical quantity, and a second adjustment parameter group is provided in the signal receiving device for controlling the decoding of the number of received pulse signals into the value of the physical quantity;

[0023] And a line module connecting the signal sending module and the signal receiving module, configured to transmit the pulse signal from the signal sending module to the signal receiving module.

[0024] Further optimized to: The signal sending module includes a sensor, an operational amplifier, an analog-to-digital converter, a digital signal processor, a pulse encoder, and a first memory; the sensor is used to convert an external physical quantity into an analog signal; the operational amplifier is used to amplify the analog signal; the analog-to-digital converter is used to convert the amplified analog signal into a digital signal; the digital signal processor is used to process the digital signal; the pulse encoder is used to encode the processed digital signal into a pulse signal; a first adjustment parameter group is provided in the first memory for controlling the number of pulse signals encoded from the value of the physical quantity.

[0025] Further optimized to: The number of the sent pulse signals satisfies the formula: the number of sent pulses count1 = (data1 - lowth + P) * N + M; where, data1 is the value of the physical quantity to be sent; count1 is the number of sent pulses; the first adjustment parameter group includes the minimum value parameter lowth of the user-preset physical quantity change range; the recognition parameter P, whose value is a non-negative integer; the expansion parameter N, whose value is a number not less than 1; the correction parameter M, whose value is an integer.

[0026] Further optimized to: The signal receiving module includes a controller and a second memory; the controller decodes the received pulse signal into the value of the physical quantity; a second adjustment parameter group is provided in the second memory for controlling the value of the physical quantity decoded from the received pulse signal.

[0027] Further optimized to: The value of the physical quantity decoded by the signal receiving device satisfies the formula: data2 = count2 / N - P + lowth; where, data2 is the value of the physical quantity decoded; count2 is the number of received pulses; the second adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range; the recognition parameter P, whose value is a non-negative integer; the expansion parameter N, whose value is a number not less than 1.

[0028] Further optimized to: The line module includes a data line and a ground line; a first interface and a second interface are provided on the signal receiving module; the first interface is electrically connected to the data line through a pull-up resistor, and the first interface is connected to an external power supply for supplying power to the sensor; the second interface is electrically connected to the data line and receives the pulse signal sent by the signal sending module; one end of the ground line is connected to the grounding interface of the signal sending device, and the other end is connected to the grounding interface of the signal receiving device.

[0029] Further optimized to: The first memory and the second memory are both non-volatile memories.

[0030] In summary, the present invention has the following beneficial effects: The present invention provides a signal transmission method and apparatus. By introducing a first set of adjustment parameters to control the conversion of the value of a physical quantity into the number of pulse signals, and at the same time introducing a second set of adjustment parameters for pulse counting to restore the number of pulse signals to the value of the physical quantity, the problem of signal transmission errors caused by bit errors in pulse counting is solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 is a flowchart of the signal transmission method in an embodiment of the present invention;

[0032] Figure 2 is a flowchart of the conversion of a physical quantity into a pulse signal in an embodiment of the present invention;

[0033] Figure 3 is a flowchart of decoding a pulse signal into a physical quantity in an embodiment of the present invention;

[0034] Figure 4 is a schematic diagram of the manner in which a first set of adjustment parameters controls the encoding of the value of a physical quantity into the number of transmitted pulse signals in an embodiment of the present invention;

[0035] Figure 5 is a schematic diagram of the manner in which a second set of adjustment parameters controls the decoding of the number of pulse signals into the value of a physical quantity in an embodiment of the present invention;

[0036] Figure 6 is a signal transmission schematic diagram of the signal transmission apparatus in an embodiment of the present invention;

[0037] Figure 7 is a schematic diagram of the functional modules of the signal transmission apparatus in an embodiment of the present invention;

[0038] Figure 8 is a schematic diagram of the specific functional modules of the signal transmission apparatus in an embodiment of the present invention;

[0039] Figure 9 is a schematic diagram of a pulse signal;

[0040] Figure 10 is a schematic diagram of the duty cycle of a pulse signal in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0041] The present invention will be further described in detail below with reference to the accompanying drawings.

[0042] First Embodiment of the Signal Transmission Method

[0043] As Figure 1 , Figure 6 shown, a signal transmission method includes the following steps:

[0044] 101. Convert a physical quantity into a pulse signal; the number of the pulse signals represents the value of the physical quantity; a first adjustment parameter group controls the encoding of the value of the physical quantity into the number of transmitted pulse signals, and a signal transmitting device transmits the pulse signals.

[0045] 102. Transmit the pulse signals; the pulse signals are transmitted from a signal transmitting module to a signal receiving module.

[0046] 103. Decode the pulse signals into a physical quantity; the number of the received pulse signals is decoded into the value of the physical quantity, and a second adjustment parameter group controls the decoding of the number of the received pulse signals into the value of the physical quantity.

[0047] It can be understood that both the first adjustment parameter group and the second adjustment parameter group include at least one parameter, that is, both the first adjustment parameter group and the second adjustment parameter group are sets of parameters, and each set includes at least one element.

[0048] Embodiment 2 of the signal transmission method

[0049] As Figure 2 shown, the conversion of the physical quantity into the pulse signal 101 includes:

[0050] 1011. Convert the physical quantity into an analog signal.

[0051] 1012. Convert the analog signal into a digital signal. The analog signal is amplified and then converted into a digital signal.

[0052] 1013. Encode the digital signal into a pulse signal. The digital signal is processed and then encoded into a pulse signal. The processing of the digital signal includes filtering, calibration, etc.

[0053] Embodiment 3 of the signal transmission method

[0054] As Figure 3 shown, the decoding of the pulse signal into the physical quantity 103 includes:

[0055] 1031. Receive the pulse signal.

[0056] 1032. Decode the pulse signal. The number of the pulse signals is converted into the value of the physical quantity.

[0057] Embodiment 4 of the signal transmission method

[0058] As Figure 9 、 Figure 10 shown, the duty cycle of the pulse signal is greater than 75%. Preferably, the duty cycle of the pulse signal is 80%. That is, in a pulse period T, the high-level time t divided by the pulse period T is greater than 75%, preferably 80%.

[0059] When the pulse signal is at a low level, the loop is powered by a capacitor located inside the signal transmitting device. Therefore, the shorter the time when the pulse signal is at a low level, the better. In this way, the capacitor inside the sensor can be made smaller, and the area of the entire circuit will become smaller, which is beneficial to the miniaturization of the integrated circuit. Preferably, the duty cycle of the pulse signal is 80%. If the duty cycle of the pulse signal is too high, the low-level time is too short, and it is not easy for the signal receiving device to recognize a complete pulse cycle. Through actual tests, when the duty cycle is controlled above 75%, it is beneficial to the miniaturization of the integrated circuit. When the duty cycle is controlled at 80%, it can reduce the capacitance volume without affecting pulse recognition.

[0060] Fifth Embodiment of the Signal Transmission Method

[0061] As Figure 8 shown, the first memory 5016 and the second memory 5032 are both non-volatile memories. A non-volatile memory can store parameters in the memory even when the signal transmission device is powered off, avoiding the need to reset the first adjustment parameter group and the second adjustment parameter group after power-off, reducing the difficulty of use for ordinary users, and improving the market of the product.

[0062] Preferably, the first memory 5016 is one of EEPROM, MTP, OTP, etc.; the second memory 5032 is one of EEPROM, MTP, OTP, etc.

[0063] Sixth Embodiment of the Signal Transmission Method

[0064] As Figure 4 shown, the specific way to encode the value of the physical quantity controlled by the first adjustment parameter group into the number 201 of transmitted pulse signals can be achieved through the following methods:

[0065] 2011. Reduce the error rate of the pulse signal during transmission by reducing the value of the physical quantity to be transmitted;

[0066] 2012. Reduce the probability of accidental pulse error (i.e., the physical quantity error event caused by the decoding of the number of pulse signals) by increasing the number of transmitted pulses;

[0067] 2013. Combine the two methods of 2011 and 2012, that is, reduce the error rate of the pulse signal during transmission by reducing the value of the physical quantity to be transmitted, and at the same time increase the number of transmitted pulses to reduce the probability of accidental pulse error (i.e., the physical quantity error event caused by the decoding of the number of pulse signals).

[0068] Seventh Embodiment of the Signal Transmission Method

[0069] For the specific method of 2011:

[0070] When transmitting pulse signals, due to interference from external or internal factors, error codes may occur in the number of pulse signals. The error rate Err = the absolute value of the difference between the number of transmitted pulses and the number of received pulses / the number of transmitted pulses. As is known to those skilled in the art, within the short time of pulse signal transmission, it can be considered that the error rate is determined by the system and is a relatively fixed value.

[0071] For practical considerations, the signal sending device will calibrate a transmission range when leaving the factory. In actual production and life, in some cases, users do not need to use the entire data transmission range of the signal sending device but only need a partial range. At this time, by reducing the value of the physical quantity to be transmitted, the effect of reducing the number of transmitted pulses is achieved. Since the error rate is relatively fixed, the error in the transmission of pulse signals is reduced.

[0072] For example, in a specific implementation case, the physical quantity to be transmitted is temperature, and the calibrated range of the signal sending device is 0 degrees Celsius - 100 degrees Celsius. When a user measures the human body temperature using this method, the actual required range can be set at 20 - 50 degrees Celsius. Then, the range of the value of the physical quantity to be transmitted no longer needs to be 20 - 50, but only 0 - 30. Reducing the magnitude of the temperature value also reduces the number of pulse signals, thereby reducing the number of error codes in the transmission of pulse signals.

[0073] It is easy to understand that when a user selects a signal sending device, the range of physical quantity change falls within the calibrated range of the signal sending device.

[0074] Specifically, the number of transmitted pulses satisfies Formula 1:

[0075] count1 = data1 - lowth.

[0076] Wherein, data1 is the value of the physical quantity; count1 is the number of transmitted pulses; the first adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user.

[0077] Preferably, the number of transmitted pulses satisfies Formula 2:

[0078] count1 = data1 - lowth + P;

[0079] Wherein, data1 is the value of the transmitted physical quantity; count1 is the number of transmitted pulses; the first adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user; the identification parameter P, and the value is a non - negative integer.

[0080] Those skilled in the art can understand that when data1 is exactly equal to lowth, the number of transmitted pulses is 0. At this time, as the signal receiving end and the user do not know whether the pulse signal cannot be transmitted due to a system failure or the number of received pulse signals is 0 because data1 is equal to lowth. In order to specifically identify and distinguish the phenomenon that data1 is equal to lowth and prevent count1 from being 0 when data1 is equal to lowth, the identification parameter P is set.

[0081] Eighth Embodiment of Signal Transmission Method

[0082] Regarding the specific manner of the year 2012:

[0083] At a certain moment, the value of the physical quantity to be transmitted is data1, the number of transmitted pulses is Count, the number of transmitted pulses is increased by N times, the bit error rate remains unchanged, and the average error of the transmitted pulse number is increased by N times, which is N*Count*Err.

[0084] When Err*N ≤ 1, since Count*Err is less than or equal to 1, it can be determined that N*Count*Err is less than or equal to N. And the signal receiving device only needs to correctly parse the value of Count. The host can consider the pulses within the range of N*Count - N / 2 to N*Count + N / 2 as Count. Since N*Count*Err is less than or equal to N, N*Count*Err will probably be within the interval of N*Count - N / 2 to N*Count + N / 2. Therefore, the host can still correctly parse the value of Count even in the case of incorrect transmission.

[0085] It is easy for those skilled in the art to understand that, without increasing the number of pulses, the signal receiving device can consider the number of pulses within the range of (Count - 1 / 2, Count + 1 / 2) or (Count - 1, Count) or (Count, Count + 1) or other intervals of length 1 as Count; correspondingly, after increasing the number of pulses by N times, the signal receiving device correspondingly considers the number of pulses within the range of (N * Count - N / 2, N * Count + N / 2) or (N * Count - N, N * Count) or (N * Count, N * Count + N) or other intervals with a corresponding expanded length range of N as Count. Since there may be cases of multiple codes or missing codes in pulse counting, it is preferred that, without increasing the number of pulses, the signal receiving device considers (Count - 1 / 2, Count + 1 / 2) as Count; after increasing the number of pulses to N times the original number of pulses, the signal receiving device considers all pulses within the range of (N * Count - N / 2, N * Count + N / 2) as Count.

[0086] At this time, the number of pulse signals sent satisfies Formula Three:

[0087] count1 = data1 * N;

[0088] Wherein, data1 is the value of the physical quantity; count1 is the number of pulses sent; the first adjustment parameter group includes the expansion parameter N, and the value is a number not less than 1.

[0089] For example: in a specific embodiment,

[0090] When N = 1, Count1 = 100, Err = 0.0025, and 1 pulse represents 1 degree. When receiving pulses, there is occasionally an inaccurate pulse reception phenomenon, such as only receiving 99 pulses.

[0091] Now set N to 4, then Count1 = 400, Err = 0.0025, and 4 pulses represent 1 degree. From the probability perspective, 400 pulses will generate 1 pulse counting error code on average, that is, from the average probability perspective, the signal receiving device will receive 399 or 401 pulses on average for 400 pulse signals. It can be understood that in each actual situation, there is a relatively high probability of 1 error code for 400 pulses; since 4 pulses represent 1 degree of temperature, the controller can consider 397 < Count < 402 as 100 degrees, so the probability of receiving incorrect temperature data will be greatly reduced.

[0092] When Err*N > 1, since N*Count*Err is greater than N, N*Count*Err may not necessarily fall within the interval of length N from the perspective of average probability. Therefore, when pulse count error codes occur, the physical quantity decoded by the signal receiving device may also be incorrect. At this time, it is necessary to perform correction processing on the number of pulses, and the number of transmitted pulse signals satisfies Formula 4:

[0093] count1 = data1*N + M

[0094] Among them, data1 is the value of the physical quantity transmitted; count1 is the number of transmitted pulses; the first set of adjustment parameters includes an expansion parameter N, whose value is a number not less than 1; a correction parameter M, whose value is an integer. Through big data statistics of the error rate, M is a correction coefficient, and its value is an integer.

[0095] Specifically, set M to M = count1 - count2; count2 is the number of pulses received by the signal receiving device; conduct big data tests on the signal transmission device with other parameters and environment determined. Under big data, the difference between the number of pulse signals transmitted by the signal sending module and the number of pulse signals received by the signal receiving module is defined as M. When the number of received pulse signals is less than the number of transmitted pulse signals, when sending pulse signals, make corrections in advance and add the correction coefficient; when the number of received pulse signals is greater than the number of transmitted pulse signals, when sending pulse signals, make corrections in advance and subtract the correction coefficient.

[0096] Ninth Embodiment of the Signal Transmission Method

[0097] Referring to Embodiment 7 and Embodiment 8, for the specific manner of the year 2013:

[0098] At a certain moment in the case where some users do not need to use the entire data transmission range of the signal sending device but only need a partial range, the value of the physical quantity is data1. The original number of transmitted pulses is Count, and the number of transmitted pulses is increased by N times, while the error rate remains unchanged.

[0099] When Err*N ≤ 1, at this time, the number of transmitted pulse signals satisfies Formula 5:

[0100] count1 = (data1 - lowth)*N

[0101] After considering the recognition parameter P, the number of transmitted pulse signals satisfies Formula 6:

[0102] count1 = (data1 - lowth + P)*N

[0103] Among them, data1 is the value of the physical quantity; count1 is the number of pulses sent; the first adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user; the recognition parameter P, whose value is a non-negative integer; the expansion parameter N, whose value is a number not less than 1.

[0104] When Err*N > 1, the number of pulse signals sent satisfies Formula Seven:

[0105] count1 = (data1 - lowth)*N + M

[0106] After considering the recognition parameter P, the number of pulse signals sent satisfies Formula Eight:

[0107] count1 = (data1 - lowth + P)*N + M

[0108] Among them, data1 is the value of the physical quantity sent; count1 is the number of pulses sent; the first adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user; the recognition parameter P, whose value is a non-negative integer; the expansion parameter N, whose value is a number not less than 1; the correction parameter M, whose value is an integer. Through big data statistics of the bit error rate, M is a correction coefficient and its value is an integer.

[0109] Embodiment Ten of the Signal Transmission Method

[0110] As Figure 5 shown, the second adjustment parameter group controls the number of pulse signals to be decoded into the value 301 of the physical quantity, which can be achieved in the following ways:

[0111] 3011. Reduce the bit error of the pulse signal during transmission by reducing the range of the physical quantity to be transmitted;

[0112] 3012. Reduce the probability of accidental pulse bit errors, that is, the probability of physical quantity error events caused by the decoding of the number of pulse signals, by increasing the number of pulses sent;

[0113] 3013. Combine the two methods of 3011 and 3012. Reduce the bit error of the pulse signal during transmission by reducing the range of the physical quantity to be transmitted, and at the same time increase the number of pulses sent to reduce the probability of accidental pulse bit errors, that is, the probability of physical quantity error events caused by the decoding of the number of pulse signals.

[0114] Embodiment Eleven of the Signal Transmission Method

[0115] For the specific method of 3011:

[0116] When transmitting pulse signals, due to interference from external or internal factors, an error phenomenon may occur in the number of pulse signals. The error rate Err = the absolute value of the difference between the number of transmitted pulses and the number of received pulses / the number of transmitted pulses; as is known to those skilled in the art, within the short time of pulse signal transmission, it can be considered that the error rate is determined by the system and is a relatively fixed value.

[0117] For practical considerations, the signal transmitting device will calibrate a transmission range when leaving the factory; in actual production and life, in some occasions, users do not need to use the entire data transmission range of the signal transmitting device but only need a partial range; at this time, by reducing the value of the physical quantity to be transmitted, the effect of reducing the number of transmitted pulses is achieved. Since the error rate is relatively fixed, the error of the pulse signal during transmission is reduced.

[0118] For example: in a specific embodiment, the physical quantity to be transmitted is temperature, and the calibrated range of the signal transmitting device is 0 degrees Celsius - 100 degrees Celsius. When the user measures the human body temperature using this method, the actual required range can be set at 20 - 50 degrees Celsius. Then, the range of the value of the physical quantity to be transmitted no longer needs to be 20 - 50, but only 0 - 30. Reducing the magnitude of the temperature value also reduces the number of pulse signals, thereby reducing the number of errors of the pulse signal during transmission.

[0119] It is easy to understand that when the user selects a signal transmitting device, the range of physical quantity change falls within the calibrated range of the signal transmitting device.

[0120] Specifically, the value of the decoded physical quantity satisfies Formula Nine:

[0121] data2 = count2 + lowth.

[0122] Among them, data2 is the value of the decoded physical quantity; count2 is the number of received pulses; the second adjustment parameter group includes lowth, which is the minimum value parameter of the physical quantity change range preset by the user.

[0123] At this time, considering the value of the decoded physical quantity after the recognition parameter satisfies Formula Ten:

[0124] data2 = count2 + lowth - P.

[0125] Among them, data2 is the value of the decoded physical quantity; count2 is the number of received pulses; the second adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user; the recognition parameter P, whose value is a non - negative integer.

[0126] Embodiment Twelve of the Signal Transmission Method

[0127] For the specific manner of 3012:

[0128] At a certain moment, the value of the physical quantity to be transmitted is data1, the number of transmitted pulses before being enlarged by N times is Count, the number of transmitted pulses is increased by N times, the bit error rate remains unchanged, and the average error of the transmitted pulse number is increased by N times, which is N*Count*Err.

[0129] When Err*N≤1, since Count*Err is less than or equal to 1, it can be determined that N*Count*Err is less than or equal to N. And the signal receiving device only needs to correctly parse the value of Count. The host can consider the pulses in the range of N*Count - N / 2 to N*Count + N / 2 as Count. Since N*Count*Err is less than or equal to N, N*Count*Err will probably be in the range of N*Count - N / 2 to N*Count + N / 2. Therefore, the host can still correctly parse the value of Count even in the case of incorrect transmission.

[0130] When Err*N≤1, since when transmitting the pulse signal, the change in the number of transmitted pulse signals is enlarged by N times relative to the change in the physical quantity, therefore, the decoded physical quantity satisfies Formula XI:

[0131] data2 = count2 / N;

[0132] Wherein, data2 is the value of the decoded physical quantity; count2 is the number of received pulses; the second adjustment parameter group includes the enlargement parameter N, and the value is a number not less than 1.

[0133] Preferably, N = H^K; H is the base of the enlargement parameter, and the value is a number greater than 1, K is the exponent of the enlargement parameter, and the value is a number greater than or equal to 0; it is easy to know from the characteristics of digital circuits that preferably, H = 2 and K is an integer greater than or equal to 0.

[0134] When Err*N>1, since N*Count*Err is greater than N, N*Count*Err may not fall within the range of N*Count - N / 2 to N*Count + N / 2 on average probability. Therefore, when there is a bit error in pulse counting, the physical quantity decoded by the signal receiving device may also be incorrect. At this time, since the correction coefficient processing needs to be performed on the number of pulses when transmitting the pulse signal. Therefore, when decoding the received pulse signal, the decoded physical quantity still satisfies Formula XI:

[0135] data2 = count2 / N

[0136] Among them, data2 is the value of the physical quantity obtained by decoding; count2 is the number of received pulses; the second adjustment parameter group includes an expansion parameter N, and the value is a number not less than 1.

[0137] Preferably, N = H^K; H is the base of the expansion parameter, and the value is a number greater than 1, K is the exponent of the expansion parameter, and the value is a number greater than or equal to 0; it is easy to know from the characteristics of digital circuits that preferably, H = 2 and K is an integer greater than or equal to 0.

[0138] Example 13 of the signal transmission method

[0139] Referring to Example 11 and Example 12, for the specific manner of the 3013:

[0140] At a certain moment when some users do not need to use the entire data transmission range of the signal sending device but only need a partial range, the value of the physical quantity is data1, the original number of sent pulses is Count, the number of sent pulses is increased by N times, and the error rate remains unchanged.

[0141] When Err*N ≤ 1, the value of the decoded physical quantity satisfies Equation 12:

[0142] data2 = count2 / N + lowth

[0143] After considering the recognition parameter P, the value of the decoded physical quantity satisfies Equation 13: data2 = count2 / N - P + lowth

[0144] Among them, data2 is the value of the physical quantity obtained by decoding; count2 is the number of received pulses; the second adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user; the recognition parameter P, and the value is a non-negative integer; the expansion parameter N, and the value is a number not less than 1.

[0145] When Err*N > 1, the physical quantity obtained by decoding satisfies Equation 14:

[0146] data2 = count2 / N + lowth

[0147] After considering the recognition parameter P, the physical quantity obtained by decoding satisfies Equation 15:

[0148] data2 = count2 / N - P + lowth

[0149] Among them, data2 is the value of the physical quantity obtained by decoding; count2 is the number of received pulses; the second adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user; the recognition parameter P, and the value is a non-negative integer; the expansion parameter N, and the value is a number not less than 1.

[0150] The First Embodiment of the Signal Transmission Device

[0151] As Figure 7 、 Figure 8 shown, a signal transmission device includes:

[0152] A signal sending module 501, configured to convert a physical quantity into a pulse signal and send the pulse signal, where the number of the pulse signals represents the value of the physical quantity; a first adjustment parameter group is provided in the signal sending module 501, and the first adjustment parameter group is used to control the encoding of the value of the physical quantity into the number of the sent pulse signals;

[0153] A signal receiving module 502, configured to receive the pulse signal and decode the number of the received pulse signals into the value of the physical quantity, and a second adjustment parameter group is provided in the signal receiving device 502, and is used to control the decoding of the number of the received pulse signals into the value of the physical quantity;

[0154] And a line module 503 connecting the signal sending module and the signal receiving module, configured to transmit the pulse signal from the signal sending module 501 to the signal receiving module 502. The first adjustment parameter group and the second adjustment parameter group adjust and control the expression relationship between the number of the pulse signals and the physical quantity, and improve the phenomenon that signal transmission errors occur due to system pulse counting error codes during the transmission process of the pulse signal.

[0155] Those skilled in the art can understand that the first adjustment parameter group and the second adjustment parameter group are both preset in the corresponding memory, and can be directly used when the signal transmission device works. The user can change the value of the parameter within the value range of each parameter according to specific requirements.

[0156] The Second Embodiment of the Signal Transmission Device

[0157] As Figure 7 、 Figure 8 shown, the signal sending module 501 includes a sensor 5011, an operational amplifier 5012, an analog-to-digital converter 5013, a digital signal processor 5014, a pulse encoder 5015, and a first memory 5016.

[0158] The sensor 5011 is used to convert an external physical quantity into an analog signal; the operational amplifier 5012 is used to amplify the analog signal; the analog-to-digital converter 5013 is used to convert the amplified analog signal into a digital signal; the digital signal processor 5014 is used to process the digital signal; the pulse encoder 5015 is used to encode the processed digital signal into a pulse signal; the first memory 5016 is provided with a first adjustment parameter group for controlling the number of pulse signals encoded from the value of the physical quantity. The signal sending module 501 converts the external physical quantity into a pulse signal, and under the control of the first adjustment parameter group, the value of the physical quantity is encoded into the number of pulse signals.

[0159] It is easy to understand that the processing of the digital signal by the digital signal processor 5014 includes methods such as filtering and calibration; the first adjustment parameter group directly acts on the pulse encoder 5015.

[0160] The principle of the first adjustment parameter group controlling the value of the physical quantity to be encoded into the number of pulse signals to reduce errors in the transmission process of the physical quantity:

[0161] When transmitting pulse signals, due to interference from external factors or internal factors, there will be an error code phenomenon in the number of pulse signals. The error rate Err = the absolute value of the difference between the number of transmitted pulses minus the number of received pulses / the number of transmitted pulses; those skilled in the art know that within the short time of pulse signal transmission, it can be considered that the error rate is determined by the system and is a relatively fixed value.

[0162] In a specific implementation manner of this embodiment, the first adjustment parameter group reduces the error code of the pulse signal during transmission by reducing the value of the physical quantity to be transmitted, thereby reducing the error of the physical quantity during transmission.

[0163] Specifically, the signal sending device will calibrate a transmission range when leaving the factory; in actual production and life, in some occasions, users do not need to use the entire data transmission range of the signal sending device but only need a partial range; at this time, by reducing the value of the physical quantity to be transmitted, the effect of reducing the number of transmitted pulses is achieved. Since the error rate is relatively fixed, the error code of the pulse signal during transmission is reduced.

[0164] For example, in a specific embodiment, the physical quantity to be transmitted is temperature, and the calibrated range of the signal sending device is 0°C to 100°C. When the user measures the human body temperature using this method and the actual required range can be set between 20°C and 50°C, then the range of the value of the physical quantity to be transmitted no longer needs to be 20 - 50, but only 0 - 30. Reducing the magnitude of the temperature value also reduces the number of pulse signals, thereby reducing the number of error codes in the transmission process of the pulse signals. It is easy to understand that when the user selects the signal sending device, the change range of the physical quantity to be transmitted falls within the calibrated range of the signal sending device.

[0165] Specifically, the number of pulses sent satisfies Formula 1:

[0166] count1 = data1 - lowth.

[0167] Wherein, data1 is the value of the physical quantity; count1 is the number of pulses sent; the first adjustment parameter group includes the minimum value parameter lowth of the change range of the physical quantity preset by the user.

[0168] Preferably, the number of pulses sent satisfies Formula 2:

[0169] count1 = data1 - lowth + P;

[0170] Wherein, data1 is the value of the physical quantity sent; count1 is the number of pulses sent; the first adjustment parameter group includes the minimum value parameter lowth of the change range of the physical quantity preset by the user; the identification parameter P, whose value is a non - negative integer.

[0171] Those skilled in the art can understand that when data1 is exactly equal to lowth, the number of pulses sent is 0; at this time, as the signal receiving end and the user, it is not clear whether the pulse signal cannot be transmitted due to a system failure or the number of received pulse signals is 0 because data1 is equal to lowth; in order to specifically identify and distinguish the phenomenon that data1 is equal to lowth and prevent count1 from being 0 when data1 is equal to lowth, the identification parameter P is set.

[0172] In another specific implementation manner of this embodiment, the first adjustment parameter group reduces the probability of accidental pulse error codes, that is, the probability of physical quantity error events causing the decoding of the number of pulse signals, by increasing the number of pulses sent.

[0173] Specifically, at a certain moment, the value of the physical quantity to be transmitted is data1, the number of pulses sent before being enlarged by N times is Count, the error rate remains unchanged when the number of pulses sent is increased by N times, and the average error of the transmitted number of pulses increases by N times, which is N * Count * Err.

[0174] In the case of Count*Err≤1, since Count*Err is less than or equal to 1, it can be determined that N*Count*Err is less than or equal to N. The signal receiving device only needs to correctly parse out the value of Count. Originally, the signal receiving device considers (Count-1 / 2, Count+1 / 2) as Count. After expanding the number of pulses to N times the original number of pulses, the signal receiving device considers the pulses in the range of (N*Count-N / 2, N*Count+ N / 2) as Count. Since N*Count*Err is less than or equal to N, N*Count*Err is likely to be in the range of N*Count - N / 2 to N*Count + N / 2. Therefore, the host can still correctly parse out the Count value even if there is an error in the transmission of the number of pulse signals.

[0175] It is easy for a person skilled in the art to understand that, in the case where the number of pulses is not expanded, the signal receiving device may consider the number of pulses within the range of (Count-1 / 2, Count+1 / 2) or (Count-1, Count) or (Count, Count+1) or other intervals with a length of 1 as Count; correspondingly, after expanding the number of pulses by N times, the signal receiving device correspondingly considers the number of pulses within the range of (N*Count - N / 2, N*Count + N / 2) or (N*Count-N, N*Count) or (N*Count, N*Count+N) or other corresponding expanded intervals with a length of N as Count. Since multiple codes or missing codes may occur in pulse counting, it is preferred that the signal receiving device considers (Count-1 / 2, Count+1 / 2) as Count in the case where the number of pulses is not expanded; after expanding the number of pulses to N times the original number of pulses, the signal receiving device considers all pulses within the range of (N*Count - N / 2, N*Count + N / 2) as Count.

[0176] At this time, the number of pulse signals sent satisfies Formula 3:

[0177] count1=data1*N;

[0178] Among them, data1 is the value of the physical quantity; count1 is the number of pulses sent; the first adjustment parameter group includes an expansion parameter N, whose value is a number not less than 1.

[0179] For example, in a specific embodiment,

[0180] When N = 1, Count1 = 100, Err = 0.0025, and 1 pulse represents 1 degree. When receiving pulses, there is occasionally an inaccurate pulse reception phenomenon, such as only receiving 99 pulses.

[0181] Now set N to 4, then Count1 = 400, Err = 0.0025, and 4 pulses represent 1 degree. From the probability perspective, 1 error code in pulse counting is generated on average for every 400 pulses. That is, from the average probability, the signal receiving device for 400 pulse signals will receive 399 or 401 pulses on average. It can be understood that in each actual situation, there is a relatively high probability of 1 error code for every 400 pulses. Since 4 pulses represent 1 degree of temperature, the controller considers 397 < Count < 402 as 100 degrees. Therefore, the probability of receiving incorrect temperature data will be significantly reduced.

[0182] In the case where Err * N > 1, since N * Count * Err is greater than N, N * Count * Err may not necessarily fall within the interval of length N from the average probability perspective. Therefore, when there is an error code in pulse counting, the physical quantity decoded by the signal receiving device may also be incorrect. At this time, it is necessary to perform correction processing on the number of pulses. The number of transmitted pulse signals satisfies Formula 4:

[0183] count1 = data * N + M

[0184] Among them, data1 is the value of the physical quantity; count1 is the number of transmitted pulses; the first adjustment parameter group includes the expansion parameter N, whose value is a number not less than 1; the correction parameter M, whose value is an integer. Through big data statistics of the error rate, M is the correction coefficient, and its value is an integer.

[0185] Specifically, set M to M = count1 - count2; count2 is the number of pulses received by the signal receiving device. Conduct big data tests on the signal transmission device with other parameters and the environment determined. Under big data, the difference between the number of pulse signals sent by the signal sending module and the number of pulse signals received by the signal receiving module is defined as M. When the number of received pulse signals is less than the number of sent pulse signals, perform correction in advance when sending pulse signals and add the correction coefficient; when the number of received pulse signals is greater than the number of sent pulse signals, perform correction in advance when sending pulse signals and subtract the correction coefficient.

[0186] In another specific implementation manner of this embodiment, combining the first two specific implementation manners of this embodiment, the first adjustment parameter group reduces the error code in the transmission process of pulse signals by reducing the value of the physical quantity to be transmitted, and at the same time increases the number of transmitted pulses to reduce the probability of accidental pulse error codes, that is, the probability of events where the physical quantity decoded by the number of pulse signals is incorrect.

[0187] Refer to the first two specific embodiments in this embodiment.

[0188] At a certain moment when some users do not need to use the entire data transmission range of the signal sending device but only need a partial range, the value of the physical quantity is data1.

[0189] Before being enlarged by N times, the number of transmission pulses is Count. When the number of transmission pulses is increased by N times, the error rate remains unchanged, and the error of the average transmitted pulse number increases by N times, which is N*Count*Err.

[0190] When Err*N ≤ 1, the number of transmitted pulses satisfies Formula Five:

[0191] count1 = (data1 - lowth) * N

[0192] After considering the recognition parameter P, the number of transmitted pulses satisfies Formula Six:

[0193] count1 = (data1 - lowth + P) * N

[0194] Among them, data1 is the value of the physical quantity; count1 is the number of transmitted pulses; the first adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user; the recognition parameter P, whose value is a non - negative integer; the enlargement parameter N, whose value is a number not less than 1.

[0195] Preferably, N = H^K; H is the base of the enlargement parameter, whose value is a number greater than 1, and K is the exponent of the enlargement parameter, whose value is a number greater than or equal to 0; it is easy to know from the characteristics of digital circuits that, preferably, H = 2 and K is an integer greater than or equal to 0.

[0196] When Err*N > 1, the physical quantity obtained by decoding satisfies Formula Seven:

[0197] count1 = (data1 - lowth) * N + M

[0198] After considering the recognition parameter P, the physical quantity obtained by decoding satisfies Formula Eight:

[0199] count1 = (data1 - lowth + P) * N + M

[0200] Among them, data1 is the value of the transmitted physical quantity; count1 is the number of transmitted pulses; the first adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user; the recognition parameter P, whose value is a non - negative integer; the enlargement parameter N, whose value is a number not less than 1; the correction parameter M, whose value is an integer. Through big data statistics of the error rate, M is a correction coefficient, whose value is an integer.

[0201] The Third Embodiment of the Signal Transmission Device

[0202] As Figure 7 、 Figure 8 shown, the signal receiving module 503 includes a controller 5031 and a second memory 5032; the controller 5031 decodes the received pulse signal into a physical quantity value; a second adjustment parameter group is provided in the second memory 5032 for controlling the conversion of the number of received pulse signals into physical quantity values. The signal receiving device 503 receives the pulse signal and converts the number of received pulse signals into physical quantity values; the second adjustment parameter group adjusts and controls the relationship between the physical quantity value and the number of received pulse signals.

[0203] When transmitting pulse signals, due to interference from external or internal factors, an error phenomenon may occur in the number of pulse signals. The error rate Err = the absolute value of the difference between the number of transmitted pulses minus the number of received pulses / the number of transmitted pulses; those skilled in the art know that within the short time of pulse signal transmission, it can be considered that the error rate is determined by the system and is a relatively fixed value.

[0204] In a specific implementation manner of this embodiment, the second adjustment parameter group reduces the error of the pulse signal during transmission by reducing the range of the physical quantity to be transmitted.

[0205] Specifically, the signal sending device will calibrate a transmission range when leaving the factory; in actual production and life, in some occasions, users do not need to use the entire data transmission range of the signal sending device but only need a partial range; at this time, by reducing the value of the physical quantity to be transmitted, the effect of reducing the number of transmitted pulses is achieved. Since the error rate is relatively fixed, the error of the pulse signal during transmission is reduced.

[0206] For example: in a specific implementation example, the physical quantity to be transmitted is temperature, and the calibrated range of the signal sending device is 0 degrees Celsius - 100 degrees Celsius. When the user measures the human body temperature using this method, the actual required range can be set between 20 - 50 degrees Celsius. Then, the range of the numerical value of the physical quantity to be transmitted is no longer 20 - 50, but 0 - 30. Reducing the magnitude of the temperature value also reduces the number of pulse signals, thereby reducing the number of errors of the pulse signal during transmission.

[0207] It is easy to understand that when selecting the signal sending device, the range of physical quantity change preset by the user falls within the calibrated range of the signal sending device.

[0208] Specifically, the decoded physical quantity value satisfies Formula Nine:

[0209] data2 = count2 + lowth.

[0210] Among them, data2 is the value of the physical quantity obtained by decoding; count2 is the number of received pulses; the second adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user.

[0211] Preferably, those skilled in the art can understand that when the user sets the identification parameter when sending the pulse signal, then when receiving the pulse signal, the same identification parameter also needs to be set in the signal receiving device.

[0212] At this time, the value of the physical quantity obtained by decoding considering the identification parameter satisfies Equation Ten:

[0213] data2 = count2 + lowth - P.

[0214] Among them, data2 is the value of the physical quantity obtained by decoding; count2 is the number of received pulses; the second adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user; the identification parameter P, whose value is a non-negative integer. In another specific implementation manner of this embodiment, the second adjustment parameter group reduces the probability of accidental pulse error codes, that is, the probability of physical quantity error events caused by pulse signal quantity decoding, by increasing the number of sent pulses.

[0215] At a certain moment, the value of the physical quantity to be transmitted is data1, the number of sent pulses before being enlarged by N times is Count, the error rate remains unchanged when the number of sent pulses is enlarged by N times, and the average error of the transmitted pulse number is enlarged by N times, which is N * Count * Err.

[0216] In the case of Err * N ≤ 1, since Count * Err is less than or equal to 1, it can be determined that N * Count * Err is less than or equal to N. And the signal receiving device only needs to correctly parse out the value of Count. The host can consider the pulses within the range of N * Count - N / 2 to N * Count + N / 2 as Count. Since N * Count * Err is less than or equal to N, so N * Count * Err will probably be within the interval of N * Count - N / 2 to N * Count + N / 2. Therefore, the host can still correctly parse out the value of Count even in the case of incorrect transmission.

[0217] It is easy for those skilled in the art to understand that without increasing the number of pulses, the signal receiving device may consider the number of pulses within the range of (Count - 1 / 2, Count + 1 / 2) or (Count - 1, Count) or (Count, Count + 1) or other intervals of length 1 as Count; correspondingly, after increasing the number of pulses by N times, the signal receiving device correspondingly considers the number of pulses within the range of (N * Count - N / 2, N * Count + N / 2) or (N * Count - N, N * Count) or (N * Count, N * Count + N) or other intervals with a corresponding expanded length range of N as Count. Since multi-code or code loss may occur in pulse counting, it is preferred that without increasing the number of pulses, the signal receiving device considers (Count - 1 / 2, Count + 1 / 2) as Count; after increasing the number of pulses to N times the original number of pulses, the signal receiving device considers all pulses within the range of (N * Count - N / 2, N * Count + N / 2) as Count.

[0218] Since when sending a pulse signal, the change in the number of sent pulse signals is expanded by N times relative to the change in the physical quantity, therefore, the decoded physical quantity satisfies Equation Eleven:

[0219] data2 = count2 / N;

[0220] Wherein, data2 is the value of the decoded physical quantity; count2 is the number of received pulses; the second adjustment parameter group includes the expansion parameter N, whose value is a number not less than 1. Preferably, N = H^K; H is the base of the expansion parameter, whose value is a number greater than 1, and K is the exponent of the expansion parameter, whose value is a number greater than or equal to 0; it is easy to know from the characteristics of digital circuits that preferably, H = 2 and K is an integer greater than or equal to 0.

[0221] In the case where Err * N > 1, since N * Count * Err is greater than N, N * Count * Err may not necessarily fall within the range from N * Count - N / 2 to N * Count + N / 2 on average probability. Therefore, in the case of pulse counting error codes, the physical quantity decoded by the signal receiving device may also be incorrect. At this time, since a correction coefficient needs to be processed for the number of pulses when sending a pulse signal. Therefore, when decoding the received pulse signal, the decoded physical quantity satisfies Equation Twelve:

[0222] data2 = count2 / N

[0223] Among them, data2 is the physical quantity value obtained by decoding; count2 is the actual number of received pulses; the second adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user; the recognition parameter P, whose value is a non-negative integer. Specifically, set M as M = count1 - count2; count2 is the number of pulses received by the signal receiving device; conduct big data tests on the signal transmission device with other parameters and environment determined, and define the difference between the number of pulse signals sent by the signal sending module and the number of pulse signals received by the signal receiving module under big data as M. When the number of received pulse signals is less than the number of sent pulse signals, correct in advance when sending pulse signals and add the correction coefficient; when the number of received pulse signals is greater than the number of sent pulse signals, correct in advance when sending pulse signals and subtract the correction coefficient;

[0224] In another specific implementation manner of this embodiment, combining the first two specific implementation manners of this embodiment, the second adjustment parameter group reduces the error code of the pulse signal during transmission by reducing the physical quantity range to be transmitted, and at the same time increases the number of sent pulses to reduce the probability of accidental pulse error codes, that is, the probability of physical quantity error events caused by pulse signal number decoding.

[0225] Refer to the first two specific implementation manners in this embodiment.

[0226] At a certain moment in the case where some users do not need to use the entire data transmission range of the signal sending device but only need a partial range, the value of the physical quantity is data1. After considering the recognition parameter P.

[0227] Before the number of sent pulses is increased by N times, it is Count. When the number of sent pulses is increased by N times, the error rate remains unchanged.

[0228] At this time, the value of the decoded physical quantity satisfies Equation XIII:

[0229] data2 = count2 / N + lowth

[0230] After considering the recognition parameter P, the value of the decoded physical quantity satisfies Equation XIV: data2 = count2 / N - P + lowth

[0231] Among them, data2 is the value of the physical quantity obtained by decoding; count2 is the number of received pulses; the second adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user; the recognition parameter P, whose value is a non-negative integer; the expansion parameter N, whose value is a number not less than 1.

[0232] Preferably, N=H^K; H is the expansion parameter base, which is a number greater than 1, and K is the expansion parameter exponent, which is a number greater than or equal to 0; it is easy to know from the characteristics of digital circuits that, preferably, H=2, and K is an integer greater than or equal to 0.

[0233] In the case of Err*N>1, at this time, since the correction coefficient needs to be processed for the number of pulses when sending the pulse signal, therefore, when decoding the received pulse signal, the physical quantity obtained by decoding satisfies Formula 15:

[0234] data2=count2 / N+lowth

[0235] After considering the identification parameter P, the physical quantity obtained by decoding satisfies Formula 16:

[0236] data2=count2 / N-P+lowth

[0237] Among them, data2 is the physical quantity value obtained by decoding; count2 is the number of pulses actually received; the second adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range preset by the user; the identification parameter P, which is a non-negative integer; the expansion parameter N, which is a number not less than 1; and the correction parameter M, which is an integer.

[0238] Signal transmission device embodiment 4

[0239] like Figure 7 , Figure 8 As shown, the circuit module 502 includes a data line 5021 and a ground line 5022 .

[0240] The signal receiving module 503 is provided with a first interface 6 and a second interface 7; the first interface 6 is electrically connected to the data line 5021 through a pull-up resistor 8, and the first interface 6 is connected to an external power supply for supplying power to the signal sending device 501; the second interface 7 is electrically connected to the data line 5021 to receive the pulse signal sent by the signal sending module; one end of the ground wire 5022 is connected to the ground interface 8 of the signal sending device 501, and the other end is connected to the ground interface 9 of the signal receiving device.

[0241] The signal receiving module 503 supplies power to the signal sending module 501 , and no additional special power supply system is needed, so the system is simple and the cost is low.

[0242] The data line 5021 and the ground line 5022 of the line module 502, the signal receiving module 503 and the signal sending module 501 together form a complete loop.

[0243] Signal transmission device embodiment 5

[0244] like Figure 9 ,Figure 10 As shown, the duty cycle of the pulse signal is greater than 75%. Since the loop is powered by a capacitor inside the signal transmitting device during the low-level time of the pulse signal, the shorter the low-level time of the pulse signal, the better. In this way, the capacitor inside the sensor can be made smaller, and the area of the entire circuit will become smaller, which is beneficial to the miniaturization of the integrated circuit. That is, in a pulse period T, the high-level time t divided by the pulse period T is greater than 75%.

[0245] Preferably, the duty cycle of the pulse signal is 80%. That is, in a pulse period T, the high-level time t divided by the pulse period T is 80%. If the duty cycle of the pulse signal is too high, the low-level time will be too short, and it will be difficult for the signal receiving device to recognize a complete pulse period. Through actual tests, when the duty cycle is controlled above 75%, it is beneficial to the miniaturization of the integrated circuit. When the duty cycle is controlled at 80%, it can reduce the capacitance volume without affecting pulse recognition.

[0246] Embodiment Six of the Signal Transmission Device

[0247] As Figure 8 shown, the first memory 5016 and the second memory 5032 are both non-volatile memories. Non-volatile memories can store parameters in the memory even when the signal transmission device is powered off, avoiding the need to reset the first adjustment parameter group and the second adjustment parameter group after power-off, reducing the difficulty of use for ordinary users, and improving the market of the product. Preferably, the first memory is one of EEPROM, MTP, OTP, etc.; the second memory is one of EEPROM, MTP, OTP, etc.

[0248] The above specific embodiments are only explanations of the present invention, and they are not limitations of the present invention. Those skilled in the art can make modifications without creative contributions to this embodiment after reading this specification, but as long as they are within the scope of the claims of the present invention, they are protected by the patent law.

Claims

1. A signal transmission method, characterized in that, it includes the following steps: Convert a physical quantity into a pulse signal. A first set of adjustment parameters controls the value of the physical quantity to encode the number of transmitted pulse signals, and the number of the pulse signals represents the value of the physical quantity; Transmit the pulse signal; Decode the pulse signal into a physical quantity. A second set of adjustment parameters controls the number of received pulse signals to be decoded into the value of the physical quantity; Wherein, the first set of adjustment parameters controls the value of the physical quantity to encode the number of transmitted pulse signals, including: count1=(data1 - lowth + P)*N + M; where data1 is the value of the physical quantity to be transmitted; count1 is the number of transmitted pulses; the first set of adjustment parameters includes the minimum value parameter lowth of the user - preset physical quantity change range; the identification parameter P, which is used to identify and distinguish the phenomenon that data1 is equal to lowth, and P takes a non - negative integer value; the expansion parameter N, which is used to expand the number of transmitted pulses by N times, and N takes a value not less than 1; the correction parameter M, and M is the difference between the number of pulse signals sent by the signal sending module and the number of pulse signals received by the signal receiving module obtained under big data, and M takes an integer value.

2. The signal transmission method according to claim 1, characterized in that, the conversion of the physical quantity into a pulse signal includes: Convert the physical quantity into an analog signal; Amplify the analog signal and then convert it into a digital signal; Process the digital signal and then encode it into a pulse signal.

3. The signal transmission method according to claim 1, characterized in that, the decoding of the pulse signal into a physical quantity includes: Receive the pulse signal; Decode the pulse signal, and the number of the pulse signals is converted into the value of the physical quantity.

4. The transmission method according to claim 1, characterized in that, the second set of adjustment parameters controls the number of received pulse signals to be decoded into the value of the physical quantity, including: the decoded value of the physical quantity data2 = count2 / N - P + lowth; where data2 is the value of the received physical quantity; count2 is the number of received pulses; the second set of adjustment parameters includes the minimum value parameter lowth of the physical quantity change range; the identification parameter P, which takes a non - negative integer value; the expansion parameter N, which takes a value not less than 1.

5. The signal transmission method according to claim 1, characterized in that, the duty cycle of the pulse signal is greater than 75%.

6. The signal transmission method according to claim 5, characterized in that, the duty cycle of the pulse signal is 80%.

7. A signal transmission device, characterized in that, it includes: A signal sending module, which is used to convert a physical quantity into a pulse signal and send the pulse signal, and the number of the pulse signals represents the value of the physical quantity; The first set of adjustment parameters is provided in the signal sending module, and the first set of adjustment parameters is used to control the value of the physical quantity to encode the number of transmitted pulse signals; A signal receiving module, which is used to receive the pulse signal and decode the number of received pulse signals into the value of the physical quantity. The second set of adjustment parameters is provided in the signal receiving module, and is used to control the number of received pulse signals to be decoded into the value of the physical quantity; and a line module connecting the signal sending module and the signal receiving module for transmitting the pulse signal from the signal sending module to the signal receiving module; wherein, the number of transmitted pulse signals satisfies the formula: the number of transmitted pulses count1 = (data1 - lowth + P) * N + M; where data1 is the value of the physical quantity to be transmitted; count1 is the number of transmitted pulses; the first adjustment parameter group includes the minimum value parameter lowth of the user - preset physical quantity change range; the identification parameter P, which is used to identify the phenomenon that data1 is equal to lowth, and P takes a non - negative integer value; the expansion parameter N, which is used to expand the number of transmitted pulses by N times, and N takes a value not less than 1; the correction parameter M, which is the difference between the number of pulse signals transmitted by the signal sending module and the number of pulse signals received by the signal receiving module obtained under big data, and M takes an integer value.

8. The signal transmission device according to claim 7, characterized in that, the signal sending module includes a sensor, an operational amplifier, an analog - to - digital converter, a digital signal processor, a pulse encoder, and a first memory; the sensor is used to convert the external physical quantity into an analog signal; the operational amplifier is used to amplify the analog signal; the analog - to - digital converter is used to convert the amplified analog signal into a digital signal; the digital signal processor is used to process the digital signal; the pulse encoder is used to encode the processed digital signal into a pulse signal; the first adjustment parameter group is provided in the first memory for controlling the number of pulse signals encoded from the value of the physical quantity.

9. The signal transmission device according to claim 7, characterized in that, the signal receiving module includes a controller and a second memory; the controller decodes the received pulse signal into the value of the physical quantity; the second adjustment parameter group is provided in the second memory for controlling the decoding of the number of received pulse signals into the value of the physical quantity.

10. The signal transmission device according to claim 7, characterized in that, the value of the physical quantity decoded by the signal receiving module satisfies the formula: the value of the decoded physical quantity data2 = count2 / N - P + lowth; where data2 is the value of the decoded physical quantity; count2 is the number of received pulses; the second adjustment parameter group includes the minimum value parameter lowth of the physical quantity change range; the identification parameter P, which takes a non - negative integer value; the expansion parameter N, which takes a value not less than 1.

11. The signal transmission device according to claim 7, characterized in that, the line module includes a data line and a ground line; the signal receiving module is provided with a first interface and a second interface; the first interface is electrically connected to the data line through a pull - up resistor, and the first interface is connected to an external power supply for supplying power to the sensor; the second interface is electrically connected to the data line to receive the pulse signal sent by the signal sending module; one end of the ground line is connected to the grounding interface of the signal sending device, and the other end is connected to the grounding interface of the signal receiving device.

12. The signal transmission device according to claim 8, characterized in that, The first memory is a non-volatile memory.

13. The signal transmission device according to claim 9, wherein, the second memory is a non-volatile memory.

Citation Information

Patent Citations

  • Wireless data transmission method of cochlea

    CN101753223A

  • Position signal fast decoding method and system

    CN106950429A

  • Signal transmission device

    CN212572571U