Electronic device and vehicle

By processing raindrop impact signals through a sensing circuit to generate pulse signals and directly analyzing them, the problems of high algorithm complexity and high power consumption of rain gauges are solved, achieving efficient, low-power rain detection and wide applicability.

CN223692539UActive Publication Date: 2025-12-19SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423323370.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-12-19
Estimated Expiration
2034-12-31

AI Technical Summary

Technical Problem

Existing rain gauge sensors rely on piezoelectric effects to sample and analyze raindrop impact signals, which are complex and power-consuming, making it difficult to efficiently detect rainfall.

Method used

The raindrop impact signal is processed by the sensing circuit to generate a pulse signal and analyze it directly, which reduces the complexity and power consumption of the detection algorithm, and can adapt to different target events by adjusting the voltage division ratio and amplification factor.

Benefits of technology

While reducing the complexity and power consumption of the detection algorithm, it improves the accuracy and applicability of rainfall detection and enhances its anti-interference capability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223692539U_ABST
    Figure CN223692539U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model discloses an electronic device and a vehicle, the electronic device comprises a sensing element, a sensing circuit and a processor, and the sensing circuit comprises a first sensing circuit; the sensing element is used for sensing a vibration signal so as to convert the vibration signal into a first electric signal and transmit the first electric signal to the sensing circuit; and the first induction circuit is used for processing the first electric signal to obtain an output signal and transmitting the output signal to the processor, so that the processor detects a target event indicated by the vibration signal based on the output signal.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronics, and in particular to an electronic device and a vehicle. BACKGROUND

[0002] The rain sensor can convert mechanical vibration generated by raindrop impact into an electric signal based on the piezoelectric effect principle, and then sample and analyze the electric signal to evaluate the size of the rainfall. SUMMARY

[0003] One embodiment of the present application provides an electronic device and a vehicle, wherein the electronic device processes a first electric signal generated by an inductive element through an inductive circuit to obtain output information, so that a processor can directly analyze the output information to detect a target event, without going through a sampling and analyzing process, which is conducive to reducing the complexity and power consumption of the detection algorithm.

[0004] Another embodiment of the present application provides an electronic device and a vehicle, wherein the first inductive circuit includes at least one signal processing circuit, and each signal processing circuit includes a voltage dividing circuit and an amplifying circuit; by presetting a voltage dividing ratio and a preset amplification factor, the inductive sensitivity of the signal processing circuit can be adjusted, thereby improving the accuracy of detecting the target event.

[0005] Another embodiment of the present application provides an electronic device and a vehicle, wherein the first inductive circuit includes an output circuit, and the electric signal converted by the inductive element is modulated and output as a pulse signal by the output circuit, so that the processor can directly analyze the output information to detect the target event, without going through a sampling and analyzing process, which is conducive to reducing the complexity and power consumption of the detection algorithm, and enhancing the anti-interference ability of the electronic device.

[0006] Another embodiment of the present application provides an electronic device and a vehicle, wherein the preset voltage dividing ratio and the preset amplification factor of the signal processing circuit are adapted to each other, so that the signal processing circuit is suitable for detecting different target events, thereby expanding the application range of the electronic device.

[0007] Another embodiment of the present application provides an electronic device and a vehicle, wherein the voltage dividing circuit includes a first adjustable resistor, and the amplifying circuit includes a second adjustable resistor, and the voltage dividing ratio and the amplification factor are set by adjusting the resistance value, so that the signal processing circuit is suitable for detecting different target events, and the circuit structure is simple.

[0008] Another embodiment of the present application provides an electronic device and a vehicle, wherein at least two signal processing circuits are arranged in an induction circuit, and each of the at least two signal processing circuits has different induction sensitivity to a first electrical signal, so that the electronic device selects or switches a suitable signal processing circuit according to the induction sensitivity required for detecting a target event, thereby expanding the application range of the electronic device.

[0009] Another embodiment of the present application provides an electronic device and a vehicle, wherein the output signal is a pulse signal, and the processor controls the switching of the signal processing circuit or adjusts the preset voltage division ratio and preset amplification multiple of the signal processing circuit when the sum of the high level width and the low level width of the pulse signal output by the induction circuit reaches a preset threshold, thereby switching the induction sensitivity of the electronic device after detecting a certain amount of rain, so as to detect other target events in the rain event. The processor can directly analyze the output information to detect the target event, which is beneficial to reduce the complexity and power consumption of the detection algorithm.

[0010] Another embodiment of the present application provides an electronic device and a vehicle, wherein the processor controls the switching of the signal processing circuit or adjusts the preset voltage division ratio and preset amplification multiple of the signal processing circuit in response to the control instruction of the vehicle-mounted processor, so that the information obtained by the vehicle-mounted processor can be used as a basis for adjusting the induction sensitivity of the electronic device, which is beneficial to improve the flexibility of using the electronic device for human-computer interaction.

[0011] Another embodiment of the present application provides an electronic device and a vehicle, wherein the electronic device comprising at least one signal processing circuit and the electronic device comprising at least two signal processing circuits are arranged at the same time, so that the electronic device comprising at least two signal processing circuits can be switched between different signal processing circuits according to the detection result of the electronic device comprising at least one signal processing circuit.

[0012] Another embodiment of the present application provides an electronic device and a vehicle, wherein the electronic device with fixed induction sensitivity and the electronic device with adjustable induction sensitivity are arranged at the same time, so that the electronic device with fixed induction sensitivity is suitable for detecting rain, and the electronic device with adjustable induction sensitivity can adjust its induction sensitivity according to the detection result of the electronic device with fixed induction sensitivity.

[0013] Another embodiment of the present application provides an electronic device and a vehicle, wherein the vehicle comprises a vehicle body, a vehicle controller and the electronic device, the electronic device is arranged at a suitable position such as a vehicle body panel and / or an interior trim and / or a vehicle component, so as to ensure the accuracy of target event detection. Meanwhile, according to the difference in vibration intensity of different target events, the electronic device can be provided with an adaptive sensing sensitivity, so as to further improve the detection accuracy of each target event.

[0014] To achieve one or more of the above objects, a first aspect of the embodiments of the present application provides an electronic device, comprising: a sensing element, a sensing circuit and a processor, the sensing circuit comprising a first sensing circuit;

[0015] The sensing element is configured to sense a vibration signal, convert the vibration signal into a first electric signal, and transmit the first electric signal to the sensing circuit;

[0016] The first sensing circuit is configured to process the first electric signal to obtain an output signal, and transmit the output signal to the processor, so that the processor detects a target event indicated by the vibration signal based on the output signal.

[0017] A second aspect of the embodiments of the present application provides a vehicle, comprising:

[0018] A vehicle body comprising a plurality of vehicle body panels, a plurality of interior trims, and a vehicle component connected to the vehicle body panels and / or the interior trims;

[0019] A vehicle controller mounted on the vehicle body and configured to control the operation of the vehicle;

[0020] The electronic device of any one of the first aspect, the sensing element of the electronic device is arranged on the vehicle body panel and / or the interior trim and / or the vehicle component, and the processor is electrically connected to the vehicle controller.

[0021] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, but not limiting the technical solutions of the present application. BRIEF DESCRIPTION OF DRAWINGS

[0022] Figure 1 The composition framework of the electronic device in the embodiments of the present application is shown Figure One ;

[0023] Figure 2 The composition framework of the electronic device in the embodiments of the present application is shown Figure Two ;

[0024] Figure 3 The structure of a voltage dividing circuit in the embodiments of the present application is shown

[0025] Figure 4 This is a schematic diagram of the structure of an amplifier circuit in an embodiment of this application;

[0026] Figure 5 This is a schematic diagram of the electronic device composition framework in the embodiments of this application. Figure Three ;

[0027] Figure 6 This is a schematic diagram of the electronic device composition framework in the embodiments of this application. Figure Four ;

[0028] Figure 7 This is a schematic diagram of the signal processing circuit in an embodiment of this application;

[0029] Figure 8 This is a schematic diagram of the electronic device composition framework in the embodiments of this application. Figure Five ;

[0030] Figure 9 This is a schematic diagram of the electronic device composition framework in the embodiments of this application. Figure Six ;

[0031] Figure 10 This is a schematic diagram of the circuit structure of the electronic device in the embodiments of this application. Figure One ;

[0032] Figure 11 This is a schematic diagram of the circuit structure of the electronic device in the embodiments of this application. Figure Two ;

[0033] Figure 12 This is a schematic diagram of the structure of a vehicle according to an embodiment of this application. Detailed Implementation

[0034] In order to gain a more detailed understanding of the features and technical content of the embodiments of this application, the implementation of the embodiments of this application will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference and illustration only and are not intended to limit the embodiments of this application.

[0035] In related technologies, rain gauges, based on the piezoelectric effect, convert the mechanical vibrations generated when raindrops hit the ground into electrical signals. These signals are then sampled and analyzed for amplitude to assess rainfall. The algorithms for assessing rainfall by analyzing amplitude are complex. Furthermore, the high frequency of raindrop falls necessitates a high sampling frequency, resulting in high power consumption.

[0036] Based on this, the electronic device and the vehicle are provided, wherein the electronic device processes the first electric signal generated by the inductive element through the inductive circuit to obtain output information, so that the processor can directly analyze the output information to detect the target event, and the sampling analysis and other processing processes are avoided, which is beneficial to reduce the complexity and power consumption of the detection algorithm.

[0037] Figure 1 The electronic device in the embodiments of the present application is shown in the composition structure Figure One As shown in Figure 1 The electronic device 10 includes an inductive element 11, an inductive circuit 12, and a processor 13, and the inductive circuit 12 includes a first inductive circuit 120.

[0038] The inductive element 11 is used to induct a vibration signal, convert the vibration signal into a first electric signal, and transmit the first electric signal to the inductive circuit.

[0039] The first inductive circuit 120 is used to process the first electric signal to obtain an output signal, and transmit the output signal to the processor 13, so that the processor detects a target event indicated by the vibration signal based on the output signal. Exemplarily, the first electric signal is an analog signal. Exemplarily, the target event is a different vibration event acting on the surface of the target piece to which the inductive element is attached. The target piece is, for example, a vehicle body.

[0040] In some embodiments, as shown in Figure 2 The first inductive circuit 120 includes at least one signal processing circuit 21, and each signal processing circuit includes a voltage dividing circuit and an amplifying circuit.

[0041] The input end of the voltage dividing circuit is connected to the output end of the inductive element, used to receive the first electric signal, and output a second electric signal after dividing the first electric signal based on a preset voltage dividing ratio;

[0042] The input end of the amplifying circuit is connected to the output end of the voltage dividing circuit, used to receive the second electric signal, and output an output signal after amplifying the second electric signal based on a preset amplification multiple.

[0043] The voltage dividing circuit is mainly used to control the voltage input to the subsequent amplifying circuit, specifically to divide the voltage of the first electric signal into two or more lower voltages, and input the second electric signal of one of the lower voltages to the subsequent amplifying circuit.

[0044] The amplifying circuit is a circuit that can enhance the amplitude or power of a signal. It is usually used to amplify a weak input signal to a large enough level for subsequent processing, transmission, or driving other circuits or loads, etc.

[0045] The voltage dividing circuit comprises a preset voltage dividing ratio, the amplifying circuit comprises a preset amplifying multiple, and the preset voltage dividing ratio and the preset amplifying multiple of the signal processing circuit are matched, so that the signal processing circuit is suitable for detecting different target events, thereby expanding the application range of the electronic device.

[0046] In some embodiments, the voltage dividing circuit comprises a first adjustable resistor, and the voltage dividing circuit is configured to adjust the resistance value of the first adjustable resistor to adjust the preset voltage dividing ratio in response to the control of the processor; and / or, the amplifying circuit comprises a second adjustable resistor, and the amplifying circuit is configured to adjust the resistance value of the second adjustable resistor to adjust the preset amplifying multiple in response to the control of the processor. By adjusting the resistance value to set the voltage dividing ratio and the amplifying multiple, the signal processing circuit is suitable for detecting different target events, and the circuit structure is simple.

[0047] The adjustable resistor is also called variable resistor, which is an electronic component with adjustable resistance value. By adjusting the resistance value of one or more adjustable resistors in the voltage dividing circuit to obtain a specific voltage dividing ratio, and by adjusting the resistance value of one or more adjustable resistors in the amplifying circuit to obtain a specific amplifying multiple, the sensing sensitivity suitable for target event detection is obtained.

[0048] For example, the voltage dividing circuit comprises at least two resistors in series. Figure 3 As shown in the figure, the voltage dividing circuit is composed of a resistor R1 and a resistor R2 in series, wherein one end of the resistor R1 is connected to the sensing element for receiving the first electric signal, one end of the resistor R2 is grounded, and the middle end of the resistor R1 and the resistor R2 serves as the output end of the voltage dividing circuit. The voltage dividing principle is R1:R2=U1:U2, and U1 and U2 are the voltages across the two resistors respectively. By adjusting the resistance value, different voltage dividing ratios can be achieved to obtain the required output voltage. The resistor R1 and / or the resistor R2 can be set as adjustable resistors to adjust the voltage dividing ratio by adjusting the resistance value.

[0049] For example, R1 vs R2 is set to 1k vs 10k, which allows smaller electric signals to enter the amplifying circuit, i.e., has higher sensing sensitivity, and is suitable for detecting target events that produce smaller vibration signal strength, such as rain events; R1 vs R2 is set to 5k vs 5k, which allows medium electric signals to enter the amplifying circuit, i.e., has moderate sensing sensitivity, and is suitable for detecting target events that produce medium vibration signal strength, such as knocking events; R1 vs R2 is set to 10k vs 1k, etc., which allows larger electric signals to enter the amplifying circuit, i.e., has lower sensing sensitivity, and is suitable for detecting target events that produce larger vibration signal strength, such as collision events.

[0050] For example, the amplifying circuit comprises an operational amplifier and one or more resistors. Figure 4As shown, the amplification circuit at least includes an operational amplifier, a resistor R3 and a resistor R4, wherein the negative input terminal of the operational amplifier is grounded through the resistor R3, the output terminal of the operational amplifier is connected to the negative input terminal through the resistor R4, the positive input terminal of the operational amplifier is used to receive the first electric signal, and the output terminal of the operational amplifier serves as the output terminal of the amplification circuit. Since R4 / R3 determines the amplification factor of the amplification circuit, the resistor R4 and / or the resistor R3 can be set as adjustable resistors to adjust the amplification factor by adjusting the resistance value.

[0051] Exemplarily, the preset voltage division ratio at least includes a first voltage division ratio and a second voltage division ratio, and the preset amplification factor at least includes a first amplification factor and a second amplification factor, the first voltage division ratio is adapted to the first amplification factor, and the second voltage division ratio is adapted to the second amplification factor.

[0052] In the case that the preset voltage division ratio is the first voltage division ratio and / or the preset amplification factor is the first amplification factor, the signal processing circuit is adapted to detect the first target event, which can also be understood as that the signal processing circuit has a first sensing sensitivity to the first electric signal.

[0053] In the case that the preset voltage division ratio is the second voltage division ratio and / or the preset amplification factor is the second amplification factor, the signal processing circuit is adapted to detect the second target event, which can also be understood as that the signal processing circuit has a second sensing sensitivity to the first electric signal.

[0054] It should be noted that the preset voltage division ratio can further include more voltage division ratios, and the preset amplification factor can further include more amplification factors.

[0055] It should be further noted that the preset voltage division ratio can include at least two voltage division ratios, and the preset amplification factor includes one amplification factor, that is, only by adjusting different voltage division ratios, the adjustment of the sensing sensitivity is realized to adapt to the detection of different target events. Alternatively, the preset voltage division ratio can include one voltage division ratio, and the preset amplification factor includes at least two amplification factors, that is, only by adjusting different amplification factors, the adjustment of the sensing sensitivity is realized to adapt to the detection of different target events.

[0056] In some embodiments, as shown in FIG. 1, Figure 5 As shown, the first sensing circuit 120 includes at least two signal processing circuits, i.e., the signal processing circuit 21 to the signal processing circuit 2N, N is an integer greater than or equal to 2, and the sensing sensitivity of each signal processing circuit to the first electric signal is different.

[0057] The application discloses a signal processing circuit and an electronic device.

[0058] The voltage dividing circuits of the at least two signal processing circuits are in parallel connection (i.e., the voltage dividing circuit 1 to the voltage dividing circuit N are in parallel connection), the amplifying circuits of the at least two signal processing circuits are in parallel connection (i.e., the amplifying circuit 1 to the amplifying circuit N are in parallel connection), and the preset voltage dividing ratio of each signal processing circuit is matched with the preset amplification multiple, so that the signal processing circuit is suitable for detecting a corresponding target event; and the first induction circuit is configured to select the signal processing circuit in response to the control of the processor, so as to adjust the induction sensitivity to the first electric signal.

[0059] It should be noted that the voltage dividing circuit and the amplifying circuit of each signal processing circuit can be regarded as a whole, the first induction circuit is configured to select the signal processing circuit in response to the control of the processor, so as to adjust the induction sensitivity to the first electric signal. The voltage dividing circuit and the amplifying circuit can also be controlled separately, the first induction circuit is configured to select the voltage dividing circuit in response to the first control of the processor and select the amplifying circuit in response to the second control of the processor, so as to adjust the induction sensitivity to the first electric signal.

[0060] In some embodiments, each voltage dividing circuit includes a voltage dividing switch element, the voltage dividing switch element is connected or disconnected in response to the control of the processor, so as to make the voltage dividing circuit work or not work; and each amplifying circuit includes an amplifying switch element, the amplifying switch element is connected or disconnected in response to the control of the processor, so as to make the amplifying circuit work or not work.

[0061] The voltage dividing switch element can be connected or disconnected in response to the control of the processor, so as to make the corresponding voltage dividing circuit work or not work, i.e., whether the corresponding voltage dividing ratio is selected. The amplifying switch element can be connected or disconnected in response to the control of the processor, so as to make the corresponding amplifying circuit work or not work, i.e., whether the corresponding amplification multiple is selected.

[0062] The voltage dividing switch element and the amplifying switch element include but are not limited to a switching triode, a metal oxide semiconductor field effect transistor (MOSFET, MOS for short), a bipolar power switch tube (BJT), an insulated gate bipolar transistor (IGBT) and the like.

[0063] In some embodiments, as shown in FIG. 2, the voltage dividing circuit 1 includes a voltage dividing switch element 11, the voltage dividing switch element 11 is connected or disconnected in response to the control of the processor, so as to make the voltage dividing circuit 1 work or not work; and the amplifying circuit 1 includes an amplifying switch element 12, the amplifying switch element 12 is connected or disconnected in response to the control of the processor, so as to make the amplifying circuit 1 work or not work. Figure 6As shown, the first induction circuit 120 includes at least two signal processing circuits, which include a first signal processing circuit 21 and a second signal processing circuit 22; the first signal processing circuit 21 includes a first voltage division circuit 211 and a first amplification circuit 212; the first voltage division circuit 211 includes a first voltage division switch element, and the first amplification circuit 212 includes a first amplification switch element; the second signal processing circuit 22 includes a second voltage division circuit 221 and a second amplification circuit 222; the second voltage division circuit 221 includes a second voltage division switch element, and the second amplification circuit 222 includes a second amplification switch element.

[0064] The first voltage division switch element and the first amplification switch element can be connected or disconnected in response to the control of the processor, so as to make the corresponding first voltage division circuit 211 and first amplification circuit 212 work or not work. The second voltage division switch element and the second amplification switch element can be connected or disconnected in response to the control of the processor, so as to make the corresponding second voltage division circuit 221 and second amplification circuit 222 work or not work.

[0065] It should be noted that the at least two signal processing circuits can further include an i-th signal processing circuit, i is an integer of 2-N, the i-th signal processing circuit includes an i-th voltage division circuit and an i-th amplification circuit; the i-th voltage division circuit includes an i-th voltage division switch element, and the i-th amplification circuit includes an i-th amplification switch element. Wherein, the i-th voltage division switch element and the i-th amplification switch element can be connected or disconnected in response to the control of the processor, so as to make the corresponding i-th voltage division circuit and i-th amplification circuit work or not work.

[0066] In some embodiments, the first voltage division circuit includes: a first voltage division resistor, a second voltage division resistor, and a first voltage division switch element, a first end of the first voltage division resistor serving as an input end of the first voltage division circuit, a second end of the first voltage division resistor being connected to a first end of the first voltage division switch element, a second end of the first voltage division switch element being connected to ground through the second voltage division resistor, the second end of the first voltage division switch element serving as an output end of the first voltage division circuit, and a control end of the first voltage division switch element being connected to the processor.

[0067] The first amplification circuit includes: an operational amplifier, a first amplification resistor, and a first amplification switch element, a first input end of the operational amplifier being connected to the output end of the first voltage division circuit, a second input end of the operational amplifier being connected to ground through a resistor; a first end of the first amplification resistor being connected to the second input end of the operational amplifier, a second end of the first amplification resistor being connected to a first end of the first amplification switch element, a second end of the first amplification switch element being connected to an output end of the operational amplifier, and a control end of the first amplification switch element being connected to the processor.

[0068] The second voltage dividing circuit comprises a third voltage dividing resistor, a fourth voltage dividing resistor and a second voltage dividing switch element, a first end of the third voltage dividing resistor is an input end of the second voltage dividing circuit, a second end of the third voltage dividing resistor is connected to a first end of the second voltage dividing switch element, a second end of the second voltage dividing switch element is connected to the ground through the fourth voltage dividing resistor, the second end of the second voltage dividing switch element is an output end of the second voltage dividing circuit, and a control end of the second voltage dividing switch element is connected to the processor.

[0069] The second amplification circuit comprises an operational amplifier and a second amplification resistor and a second amplification switch element, a first input end of the operational amplifier is connected to the output end of the second voltage dividing circuit, and a second input end of the operational amplifier is connected to the ground through a resistor; a first end of the second amplification resistor is connected to the second input end of the operational amplifier, a second end of the second amplification resistor is connected to a first end of the second amplification switch element, a second end of the second amplification switch element is connected to an output end of the operational amplifier, and a control end of the second amplification switch element is connected to the processor.

[0070] In some embodiments, the second voltage dividing resistor of the first voltage dividing circuit and the fourth voltage dividing resistor of the second voltage dividing circuit can be the same resistor, that is, at least two voltage dividing circuits are connected to the ground through the same resistor.

[0071] In some embodiments, the first input end of the operational amplifier can also be connected to the output end of the first voltage dividing circuit in series with a resistor. Different amplification circuits can share the operational amplifier or be configured with independent operational amplifiers.

[0072] As shown in FIG. 1, Figure 7 The first voltage dividing circuit comprises a first voltage dividing resistor R1, a second voltage dividing resistor R3 and a first voltage dividing switch element k1; the second voltage dividing circuit comprises a third voltage dividing resistor R2, the second voltage dividing resistor R3 and a second voltage dividing switch element k2; the first voltage dividing resistor R1 and the third voltage dividing resistor R2 are connected in parallel, and then connected in series with the second voltage dividing resistor R3 and then connected to the ground; a control end of the first voltage dividing switch element k1 is connected to the processor, the processor controls the first voltage dividing switch element k1 to be connected to make the first voltage dividing circuit work, and a control end of the second voltage dividing switch element k2 is connected to the processor, the processor controls the second voltage dividing switch element k2 to be connected to make the second voltage dividing circuit work.

[0073] The first amplification circuit comprises an operational amplifier OP, a first amplification resistor R 11 and a first amplification switch element k 11 ; the second amplification circuit comprises the operational amplifier OP, a second amplification resistor R 22 and a second amplification switch element k 22 ; a positive input end of the operational amplifier OP is connected to the output ends of the first voltage dividing circuit and the second voltage dividing circuit in series with a resistor R4, a negative input end of the operational amplifier OP is connected to the ground through a resistor R5; an output end of the operational amplifier OP is connected to a first end of the first amplification resistor R11 The negative input end of the operational amplifier OP is connected to form a first feedback path, and the output end of the operational amplifier OP is connected in series with a second amplification resistor R 22 The negative input end of the operational amplifier OP is connected to form a second feedback path, and the control end of the first amplification switch element k 11 The control end of the second amplification switch element k is connected to the processor, and the processor controls the second amplification switch element k 11 The connection enables the first amplification circuit to work, that is, the first feedback path is turned on, and the control end of the second amplification switch element k 22 The control end of the second amplification switch element k is connected to the processor, and the processor controls the second amplification switch element k 22 The connection enables the second amplification circuit to work, that is, the second feedback path is turned on.

[0074] In some embodiments, the output signal is a pulse signal. The electronic device processes the first electrical signal through the induction circuit to output the pulse signal, so that the processor analyzes the pulse signal to determine the target event indicated by the currently monitored vibration signal. The processor can directly analyze the pulse signal to detect the target event, without sampling and analysis processes, which is beneficial to reduce the complexity and power consumption of the detection algorithm.

[0075] The processor determines the target event indicated by the vibration signal based on analysis of parameters of the pulse signal, the parameters including at least one of a pulse number, a pulse width, a pulse peak value, and a duty cycle of the pulse signal.

[0076] In some embodiments, the processor determines the target event indicated by the vibration signal based on analysis of parameters of the pulse signal, the parameters including at least one of a pulse number, a pulse width, a pulse peak value, and a duty cycle of the pulse signal.

[0077] In some embodiments, when the target event is a rain event, the parameters include the pulse width, and the processor determines the target event indicated by the vibration signal based on analysis of the parameters of the pulse signal, including: in response to the pulse width being less than or equal to a first threshold value, determining that the target event is a rain event corresponding to a first rainfall range; in response to the pulse width being greater than the first threshold value and less than or equal to a second threshold value, determining that the target event is a rain event corresponding to a second rainfall range; and in response to the pulse width being greater than the second threshold value, determining that the target event is a rain event corresponding to a third rainfall range; the second threshold value is greater than the first threshold value, the first rainfall range is less than the second rainfall range, and the second rainfall range is less than the third rainfall range.

[0078] The embodiments of the present application can determine rain events in different rainfall ranges according to the pulse width of the pulse signal, thereby improving the induction sensitivity of the electronic device without increasing the complexity of the algorithm.

[0079] Exemplarily, the first rainfall range corresponds to a light rain event or a light rain event below; the second rainfall range corresponds to a moderate rain event; and the third rainfall range corresponds to a heavy rain event or a heavy rain event above.

[0080] In some embodiments, when the target event is a rain event, the parameter includes a pulse width, and the processor determines the target event indicated by the vibration signal based on the analysis of the parameter of the pulse signal, and the determining further includes: determining a raindrop size based on the pulse width of a single pulse signal; and determining an overall size of the rainfall based on a sum of the pulse widths of a plurality of pulse signals. For example, the pulse width (heavy raindrop) > the pulse width (moderate raindrop) > the pulse width (light raindrop), and the sum of the pulse widths (heavy rain) > the sum of the pulse widths (moderate rain) > the sum of the pulse widths (light rain).

[0081] It should be noted that the greater the force of rainwater hitting the panel, the greater the force impulse transmitted to the panel, and the longer the duration of the elastic wave of the signal (the longer the decay time), and the wider the low-level signal or high-level signal, so the size of the rainfall can be determined based on the width accumulation of the low-level signal or high-level signal.

[0082] In some embodiments, the processor determines, in response to determining that a plurality of continuous pulse signals with a pulse width less than a first threshold value are interspersed with a plurality of pulse signals with a pulse width greater than a second threshold value, that the target event is a hitting event occurring in a rain event corresponding to a first rainfall range. The hitting event occurring in the rain event can be identified according to the change or difference in the pulse width of the plurality of continuous pulse signals, so as to retain the rainfall detection function while taking into account the human-computer interaction function, thereby further expanding the application range.

[0083] In some embodiments, the parameter includes a duty cycle, and the processor determines the target event indicated by the vibration signal based on the analysis of the parameter of the pulse signal, including: determining, in response to the duty cycle being less than or equal to a fourth threshold value, that the target event is a rain event corresponding to a first rainfall range; determining, in response to the duty cycle being greater than the fourth threshold value and less than or equal to a fifth threshold value, that the target event is a rain event corresponding to a second rainfall range; determining, in response to the duty cycle being greater than the fifth threshold value, that the target event is a rain event corresponding to a third rainfall range; the fifth threshold value is greater than the fourth threshold value, the first rainfall range is less than the second rainfall range, and the second rainfall range is less than the third rainfall range.

[0084] The duty cycle describes the proportion of the time that the pulse signal is at a high level (or low level) in a cycle to the entire cycle time. The embodiments of the present application can determine rain events in different rainfall ranges according to the duty cycle of the pulse signal, thereby improving the sensing sensitivity of the electronic device without increasing the complexity of the algorithm.

[0085] In some embodiments, the parameter comprises a pulse peak value, and the determining of the target event indicated by the vibration signal based on the analysis of the parameter of the pulse signal comprises: determining, in response to the pulse peak value being less than a third threshold value, that the target event is a raining event corresponding to a first rainfall range. The third threshold value can be the amplitude of the high level signal of the pulse signal. The first rainfall range can correspond to a rainfall range of light rain, i.e., a raining event of light rain is identified according to the pulse peak value of the pulse signal, thereby improving the sensitivity of sensing.

[0086] In some embodiments, the processor disconnects the first voltage division switch element and the first amplification switch element and connects the second voltage division switch element and the second amplification switch element when the sum of the high level width and the low level width of the pulse signal output by the sensing circuit reaches a preset threshold value.

[0087] The high level width represents the duration that the pulse signal is in a high level state (usually represented as 1 or logical "true"), and the low level width represents the duration that the pulse signal is in a low level state (usually represented as 0 or logical "false"). In the embodiments of the present application, the target event is characterized by the high level width or the low level width of the pulse signal.

[0088] The high level width or the low level width of the pulse signal (referred to as the width of the pulse signal) is used to represent the duration of the vibration signal generated by the target event. The higher the vibration signal intensity generated by the target event, the longer the duration of the vibration signal, and the wider the width of the pulse signal output by the first sensing circuit; on the contrary, the lower the vibration signal intensity generated by the target event, the shorter the duration of the vibration signal, and the narrower the width of the pulse signal output by the first sensing circuit.

[0089] Exemplarily, the pulse signal can be one or more groups of pulse signals, so that the processor detects the target event indicated by the vibration signal based on the output one or more groups of pulse signals. Each group of pulse signals comprises one or more pulse signals, and each group of pulse signals corresponds to one vibration event of the target event acting on the sensing element. For example, for a knocking event, one knocking event corresponds to one group of pulse signals, and two knocking events correspond to two groups of pulse signals. Whether a knocking event occurs can be determined according to the sum of the widths of the pulse signals in each group of pulse signals. It should be noted that when the knocking force is too strong and the interval between two knockings is very close, two knocking events can also correspond to one group of pulse signals.

[0090] Each group of pulse signals can also correspond to a plurality of vibration times of the target event acting on the sensing element in a unit time or a specific time. For example, for a rain event, there will be continuous raindrops colliding with the sensing element in a unit time or a specific time, generating a group of pulse signals. For the rain event, the size of the raindrops can be determined according to the width of a single pulse signal, and the overall size of the rainfall can be determined according to the sum of the widths of the pulse signals in each group of pulse signals.

[0091] In some embodiments, the first sensing circuit is configured to process the first electrical signal to obtain an output signal, and the output signal includes a first type of pulse signal, and a low level width of the first type of pulse signal represents the target event.

[0092] In some other embodiments, the first sensing circuit is configured to process the first electrical signal to obtain an output signal, and the output signal includes a second type of pulse signal, and a high level width of the second type of pulse signal represents the target event.

[0093] The embodiments of the present application divide, amplify and modulate the electrical signal converted by the sensing element through the first sensing circuit, and finally output the pulse signal, so that the processor can directly analyze the pulse signal to detect the target event, and the sampling analysis and other processing processes are avoided, which is beneficial to reduce the complexity and power consumption of the detection algorithm.

[0094] In some embodiments, the processor is further connected with an on-board processor; and the processor is configured to, according to a control instruction sent by the on-board processor, disconnect the first voltage dividing switch element and the first amplification switch element, and connect the second voltage dividing switch element and the second amplification switch element; or adjust the first voltage dividing ratio to a second voltage dividing ratio, and adjust the first amplification multiple to a second amplification multiple.

[0095] That is, the processor can also control the switching of the signal processing circuit or adjust the preset voltage dividing ratio and the preset amplification multiple of the signal processing circuit in response to the control instruction of the on-board processor, so that the information obtained by the on-board processor can be used as a basis for adjusting the sensing sensitivity of the electronic device, which is beneficial to improve the flexibility of using the electronic device for human-computer interaction. The control instruction can be generated based on a specific event or a vehicle running state, or the control instruction can be generated by user control operation. Exemplarily, the specific event can include the user approaching or leaving the vehicle. Exemplarily, the vehicle running state can include that the vehicle is driving or the speed of the vehicle is 0, and there is no user or living body in the vehicle.

[0096] In some embodiments, the sensing circuit further comprises a second sensing circuit comprising at least one signal processing circuit; the sensing element comprises a first sensing element and a second sensing element; the first sensing element is connected to the first sensing circuit, and the first sensing circuit is connected to a first interface of the processor; the second sensing element is connected to the second sensing circuit, and the second sensing circuit is connected to a second interface of the processor.

[0097] In some embodiments, the processor is configured to, in response to determining that the second interface receives the output signal and detecting, according to the output signal, a first target event indicated by the vibration signal, control the first voltage dividing switch element and the first amplification switch element in the first sensing circuit to be disconnected, and control the second voltage dividing switch element and the second amplification switch element to be connected.

[0098] By simultaneously providing the electronic device comprising at least one signal processing circuit and the electronic device comprising at least two signal processing circuits, the electronic device comprising at least two signal processing circuits can be controlled to switch between different signal processing circuits according to the detection result of the electronic device comprising at least one signal processing circuit.

[0099] In some embodiments, the second sensing circuit can comprise only one signal processing circuit. Exemplarily, the voltage dividing ratio and the amplification ratio of the signal processing circuit are fixed, i.e., the sensing sensitivity of the signal processing circuit is fixed, for example, a signal processing circuit suitable for detecting rainfall. By simultaneously providing the electronic device with fixed sensing sensitivity and the electronic device with adjustable sensing sensitivity, the electronic device with fixed sensing sensitivity is suitable for detecting rainfall, and the electronic device with adjustable sensing sensitivity can adjust its sensing sensitivity according to the detection of rainfall by the electronic device with fixed sensing sensitivity.

[0100] In yet another example, the second sensing circuit can comprise only one signal processing circuit, and the voltage dividing ratio and the amplification ratio of the signal processing circuit are adjustable, i.e., the sensing sensitivity of the signal processing circuit is adjustable. In another example, the second sensing circuit can also comprise more than two signal processing circuits.

[0101] In some embodiments, the first sensing circuit and the second sensing circuit are connected to different interfaces of the processor, so that the processor can determine the sensing circuit of the signal source according to the interface of the received signal. Additionally or alternatively, the processor can adjust the voltage dividing ratio and / or the amplification ratio (i.e., the sensing sensitivity) of one sensing circuit (e.g., the first sensing circuit) according to the signal transmitted by another sensing circuit (e.g., the second sensing circuit).

[0102] In some embodiments, the second sensing circuit comprises a third signal processing circuit, the third signal processing circuit comprises a voltage dividing circuit and an amplifying circuit, the voltage dividing circuit comprises a third voltage dividing ratio, and the amplifying circuit comprises a third amplification factor, the third voltage dividing ratio and the third amplification factor are adapted, and the third signal processing circuit is adapted to detect a third target event. The third target event can be an event for switching the sensing sensitivity of the first sensing circuit. For example, the sensing sensitivity corresponding to the third voltage dividing ratio and the third amplification factor is higher than the sensing sensitivity corresponding to the first voltage dividing ratio and the first amplification factor. For example, when the second sensing circuit comprises a plurality of signal processing circuits, the second sensing circuit is set at the third signal processing circuit by default, and the sensing sensitivity of the third signal processing circuit is higher than the sensing sensitivity of the signal processing circuit (for example, the first signal processing circuit) set by default in the first sensing circuit.

[0103] As shown in FIG. 1, the sensing element 11 comprises a first sensing element 111 and a second sensing element 112, the sensing circuit 12 comprises a first sensing circuit 120 and a second sensing circuit 121, the first sensing circuit 120 comprises signal processing circuits 21 to 2N, N is an integer greater than or equal to 2, and the second sensing circuit 121 comprises a signal processing circuit 31, the signal processing circuit 31 comprises a voltage dividing circuit and an amplifying circuit. Figure 8

[0104] In some embodiments, the first sensing element 111 is connected to the first sensing circuit 120, and the second sensing element 112 is connected to the second sensing circuit 121. That is, different sensing elements correspond to different sensing circuits, and there is a one-to-one correspondence between the sensing elements and the sensing circuits.

[0105] It should be noted that each signal processing circuit has different sensing sensitivity to the first electric signal based on a preset voltage dividing ratio and a preset amplification factor. The higher the sensing sensitivity means that the signal processing circuit can better receive and process weaker electric signals, that is, it is easier to detect target events with weaker vibration signal strength, thereby ensuring good reception and processing quality even in the case of low signal strength. The lower the sensing sensitivity means that the signal processing circuit can receive and process stronger electric signals, that is, it can only detect target events with stronger vibration signal strength, thereby reducing the response of the signal processing circuit to noise and interference, and further reducing the probability of misjudgment. That is, selecting appropriate sensing sensitivity can ensure that the electronic device can detect signals within a certain range and maintain stable output.

[0106] ​The sensitivity needs to be matched with the vibration signal strength generated by the target event to be detected. Different target events (e.g., rain, knocking, or collision) need to be matched with appropriate sensitivities to adapt to the detection of different target events, or different vibration signal strengths of the same target event (e.g., light rain, medium rain, and heavy rain) need to be matched with appropriate sensitivities to adapt to the detection of different parameters (e.g., rainfall) of the same target event.

[0107] In some embodiments, as shown in FIG. 1, the first induction circuit 120 can further include an output circuit 32 in addition to the at least one signal processing circuit 21; the input end of the output circuit is connected to the output end of the amplification circuit, for receiving the third electric signal and processing the third electric signal to output an output signal. Figure 9

[0108] The output circuit is specifically configured to modulate the third electric signal to output a pulse signal. The electric signal converted by the induction element and output by the output circuit is a pulse signal, thereby simplifying the signal processing algorithm of the processor and enhancing the anti-interference ability of the electronic device.

[0109] In some embodiments, the output circuit includes an output switching element; the first end of the output switching element is connected to the power supply and the processor, the second end of the output switching element is grounded, the control end of the output switching element is connected to the output end of the at least one signal processing circuit, and the first end of the output switching element outputs the output signal; the output switching element is configured to modulate the third electric signal output by the at least one signal processing circuit into a pulse signal.

[0110] The output switching element in the output circuit is controlled by the third electric signal to be turned on and turned off, to generate pulse signals with different widths or frequencies, thereby modulating the third electric signal into a pulse signal, simplifying the signal processing algorithm of the processor, and enhancing the anti-interference ability of the electronic device.

[0111] The output switching element includes but is not limited to a switching triode, a metal oxide semiconductor field effect transistor (MOSFET, referred to as MOS tube), a bipolar power switching tube (BJT), an insulated gate bipolar transistor (IGBT), etc.

[0112] For example, the output switching element is an NMOS tube, which includes a gate G (corresponding to the control end), a source S (corresponding to the second end), and a drain D (corresponding to the first end), wherein the drain D of the NMOS tube can be connected to the power supply in series with a resistor. When the voltage (corresponding to Vgs) of the third electric signal is greater than a certain threshold voltage, the NMOS tube is turned on, and the processor receives a low-level signal; when the voltage of the third electric signal is less than a certain threshold voltage, the NMOS tube is turned off, and the processor receives a high-level signal.

[0113] ​Exemplarily, the output switch element is a PMOS tube, the PMOS tube includes a gate G (corresponding to a control end), a source S (corresponding to a first end) and a drain D (corresponding to a second end), wherein the drain D of the PMOS tube can be grounded after being connected in series with a resistor. When the voltage of the third electric signal (corresponding to Vgs) is less than a certain threshold voltage, the PMOS tube is turned on, and the processor receives a high-level signal. When the voltage of the third electric signal is greater than a certain threshold voltage, the PMOS tube is turned off, and the processor receives a low-level signal.

[0114] As shown in Figure 10 , the electronic device includes an inductive element, a first inductive circuit and a processor (for example, an MCU), the first inductive circuit includes a first signal processing circuit, a second signal processing circuit and an output circuit, the first signal processing circuit includes a first voltage dividing circuit and a first amplifying circuit, and the second signal processing circuit includes a second voltage dividing circuit and a second amplifying circuit.

[0115] The first voltage dividing circuit includes a first voltage dividing resistor R1, a second voltage dividing resistor R3 and a first voltage dividing switch element k1; the second voltage dividing circuit includes a third voltage dividing resistor R2, the second voltage dividing resistor R3 and a second voltage dividing switch element k2; the first voltage dividing resistor R1 and the third voltage dividing resistor R2 are connected in parallel, then connected in series with the second voltage dividing resistor R3 and grounded, the control end of the first voltage dividing switch element k1 is connected with the processor I / O1 interface, the processor controls the first voltage dividing switch element k1 to be connected to make the first voltage dividing circuit work, and the control end of the second voltage dividing switch element k2 is connected with the processor I / O3 interface, the processor controls the second voltage dividing switch element k2 to be connected to make the second voltage dividing circuit work.

[0116] The first amplifying circuit includes an operational amplifier OP, a first amplifying resistor R 11 and a first amplifying switch element k 11 ; the second amplifying circuit includes the operational amplifier OP and a second amplifying resistor R 22 and a second amplifying switch element k 22 ; the positive input end of the operational amplifier OP is connected with the output ends of the first voltage dividing circuit and the second voltage dividing circuit after being connected in series with a resistor R4, and the negative input end of the operational amplifier OP is grounded through a resistor R5; the output end of the operational amplifier OP is connected with the negative input end of the operational amplifier OP after being connected in series with the first amplifying resistor R 11 , forming a first feedback path, and the output end of the operational amplifier OP is connected with the negative input end of the operational amplifier OP after being connected in series with the second amplifying resistor R 22 , forming a second feedback path, the control end of the first amplifying switch element k 11 is connected with the processor I / O1 interface, the processor controls the first amplifying switch element k 11 to be connected to make the first amplifying circuit work, that is, the first feedback path is turned on, and the control end of the second amplifying switch element k 22The control end of the output switch element k3 is connected to the output end of the operational amplifier OP in series with the resistor R6, the first end of the output switch element k3 is connected to the 3.3V power supply in series with the resistor R7, and the second end of the output switch element k3 is connected to the ground, and the output end of the first sensing circuit is connected to the I / O2 interface of the processor. 22 The communication enables the second amplification circuit to work, i.e., the second feedback path is turned on.

[0117] The output end of the operational amplifier OP is connected to the control end of the output switch element k3 in series with the resistor R6, the first end of the output switch element k3 is connected to the 3.3V power supply in series with the resistor R7, and the output end of the first sensing circuit is connected to the I / O2 interface of the processor.

[0118] In some embodiments, the output circuit further comprises a voltage stabilizing component, the first end of the voltage stabilizing component is connected to the output end of the at least one signal processing circuit and the control end of the output switch element, and the second end of the voltage stabilizing component is connected to the ground; the voltage stabilizing component is used to clamp the third electric signal in a preset voltage range. By providing a stable output voltage through the voltage stabilizing component, other elements in the circuit can be protected from damage caused by excessive voltage, and precise adjustment of the output voltage can be achieved.

[0119] As shown in Figure 11 The voltage stabilizing component can be a voltage stabilizing diode D, the positive end of the voltage stabilizing diode D is connected to the ground, and the negative end of the voltage stabilizing diode D is connected to the control end of the output switch element k3. Exemplarily, in a reverse breakdown state, the voltage stabilizing diode D stabilizes the third electric signal at the turn-on voltage of the output switch element k3, so that the output switch element k3 is turned on and the processor receives a low-level signal; otherwise, the output switch element k3 is turned off and the processor receives a high-level signal.

[0120] In some embodiments, the target event includes at least one of the following: a rain event, a knocking event, and a collision event; and the sensing element includes a piezoelectric component. That is, the electronic device provided by the embodiments of the present application can be a piezoelectric sensor, which converts mechanical vibrations caused by the impact of the target event into electric signals through piezoelectric effect, and determines the target event according to the change of the electric signals.

[0121] It should be noted that the target event can also include other events indicated by vibration signals.

[0122] For example, the first target event is a rain event, and the second target event is a knocking event or a collision event.

[0123] The resistance values in the first voltage dividing circuit and the first amplification circuit suitable for detecting rainfall, and the resistance values in the second voltage dividing circuit and the second amplification circuit suitable for detecting knocking and collision can be calibrated and set in advance; and the two groups of resistance values are switched according to the control instructions of the processor, so as to obtain different sensing sensitivities, thereby being suitable for target event detection in different scenarios.

[0124] The parallel voltage dividing circuit and the parallel amplifying circuit can be provided, and a switching element is arranged in each of the voltage dividing circuit and the amplifying circuit, so that switching between the first voltage dividing circuit and the first amplifying circuit and the second voltage dividing circuit and the second amplifying circuit is realized, different sensing sensitivities are obtained, and the target event detection is suitable for different scenes.

[0125] For example, the first target event is a light rain event, and the second target event is a heavy rain event.

[0126] The resistance values in the first voltage dividing circuit and the first amplifying circuit suitable for detecting light rain and the resistance values in the second voltage dividing circuit and the second amplifying circuit suitable for detecting medium rain to heavy rain can be set in advance, and switching between the two sets of resistance values is realized according to the control instruction of the processor, different sensing sensitivities are obtained, and the detection accuracy of the rainfall is improved.

[0127] The parallel voltage dividing circuit and the parallel amplifying circuit can be provided, and a switching element is arranged in each of the voltage dividing circuit and the amplifying circuit, so that switching between the first voltage dividing circuit and the first amplifying circuit and the second voltage dividing circuit and the second amplifying circuit is realized, different sensing sensitivities are obtained, and the detection accuracy of the rainfall is improved.

[0128] For example, the first target event is a light rain event, and the second target event is a heavy rain event. Figure 11 The control logic of the electronic device is further illustrated by taking the electronic device as an example. The electronic device is set in the first signal processing circuit by default, that is, k2 is turned off and k1 is turned on, at this time, the electronic device is suitable for detecting a rain event, and the sensing sensitivity is high, part of the light rain can be recognized, or the recognition of the light rain does not affect the recognition of the ordinary knocking; when the rainfall reaches a certain degree (for example, the sum of the low level or high level width of the pulse signal is greater than a preset threshold), the processor controls k1 to be turned off and k2 to be turned on, at this time, the electronic device is switched to the second signal processing circuit, that is, the electronic device is suitable for detecting a knocking event or a collision event, the sensing sensitivity is low, the rain event will not be recognized, but the knocking event and the collision event can be recognized.

[0129] Additionally or optionally, a third signal processing circuit and a corresponding switching element k3 can be added, so that the first signal processing circuit, the second signal processing circuit and the third signal processing circuit are suitable for recognizing light rain, medium rain and heavy rain respectively.

[0130] It should be noted that the voltage dividing circuit (that is, the ratio of R1 to R3, or the ratio of R2 to R3) determines the size of the voltage amplitude of the signal allowed to enter. Each voltage dividing circuit has an amplifying circuit adapted thereto, and k 11 , k 22 selects different amplification multiples. For example, k1 is turned on, and k 11That is, they are a set of matched signal processing circuits; opening k2, then select k 22 That is, they are another set of matched signal processing circuits.

[0131] By setting at least two signal processing circuits in one induction circuit, and the induction sensitivity of each signal processing circuit in the at least two signal processing circuits is different, so that the electronic device selects or switches the appropriate signal processing circuit according to the required induction sensitivity of different rainfall, thereby improving the detection accuracy of rainfall.

[0132] In addition, the processor controls the switching of the signal processing circuit or adjusts the preset voltage division ratio and the preset amplification multiple of the signal processing circuit in the case that the sum of the high level width or the low level width of the pulse signal output by the induction circuit reaches a preset threshold, thereby switching the induction sensitivity of the electronic device after detecting a certain rainfall, so as to detect other target events in the raining event.

[0133] The application further provides a vehicle, such as Figure 12 As shown in the figure, the vehicle 1200 includes:

[0134] The vehicle body 1201 includes a plurality of body panels, a plurality of interior trim pieces, and vehicle components connected to the body panels and / or interior trim pieces;

[0135] The vehicle controller 1202 is installed on the vehicle body and is used to control the operation of the vehicle;

[0136] The electronic device 1203 provided by any one of the embodiments of the application has an induction element arranged on the body panel and / or interior trim piece and / or vehicle component, and the processor is electrically connected to the vehicle controller.

[0137] It should be noted that the vehicle controller 1202 performs the vehicle control operation corresponding to the target event in response to the detection of the target event by the electronic device 1203.

[0138] In some embodiments, the vehicle body generally includes a plurality of body panels, a plurality of interior trim pieces, and a plurality of vehicle components. The plurality of body panels can enclose the overall structure of the vehicle body, such as forming a cabin, a cargo compartment, etc. For example, the body panels include doors, windows, hoods, trunk lids, roofs, front bumpers, rear bumpers, and fenders, etc. The interior trim pieces are installed in the cabin and the cargo compartment to improve the comfort of the vehicle, and can provide some operation interfaces and devices, such as roofs, floors, instrument panels, door guards, center console panels, pillar guards, window sill panels, etc. The vehicle components are located in the cabin and the cargo compartment, and the vehicle components include seats, steering wheels, instrument panels, center screens, armrest boxes, vehicle license plates, etc.

[0139] In some embodiments, the at least one sensing element includes a first sensing element and a plurality of second sensing elements, wherein the first sensing element is disposed on the inner side of the roof panel and is in a first sensing mode; and the second sensing elements are disposed on the inner side of other body panels and are in a second sensing mode. The first sensing mode corresponds to a first sensing sensitivity, and the second sensing mode corresponds to a second sensing sensitivity. The sensing elements are disposed on the vehicle, and the sensing mode of the sensing elements can be set according to different situations of the vehicle, so as to more flexibly cope with human-computer interaction requirements and improve the intelligent level of the vehicle. In addition, the sensing elements with different sensing modes can be disposed at different positions of the vehicle, so as to adapt to the detection requirements of different positions and improve the intelligent level of the vehicle.

[0140] It should be noted that the sensing mode corresponding to each sensing element can be pre-set based on the different body panels, for example, the first sensing element suitable for detecting the rain event is installed on the roof, the front and rear covers, and the second sensing element suitable for detecting the knocking and collision is installed on the door and the like.

[0141] For example, for the case that the light rain may not be recognized (such as the fine and light rain), while reducing the case of misrecognizing wind, leaves and other noises, the embodiments of the present application set the first sensing element suitable for detecting the rainfall on the roof panel (for example, in the first sensing mode), and set the second sensing element suitable for detecting the knocking / collision on other positions of the vehicle body (for example, in the second sensing mode). When the rainwater is detected by the first sensing element on the roof, the processor controls the first sensing element on other positions of the vehicle body to switch to the second sensing mode.

[0142] In some embodiments, the sensing mode of the first sensing element suitable for detecting the rain event can be a fixed mode, that is, the sensing sensitivity is fixed, and the sensing mode of the second sensing element suitable for detecting the knocking and collision is adjustable, that is, the sensing sensitivity is adjustable. In other embodiments, the sensing mode of the first sensing element suitable for detecting the rain event is also adjustable, that is, the sensing mode is adjusted according to the size of the rainfall, so that the rainfall can be further subdivided, and the detection accuracy of the rainfall is improved.

[0143] In some embodiments, setting the sensing mode of the at least one sensing element includes: in response to the sum of the high level width or the low level width of the pulse signal reaching a preset threshold, setting the sensing element to the second sensing mode.

[0144] Exemplarily, the sensing element is set to a first sensing mode for detecting a rain event, and the sensing element is set to a second sensing mode for detecting a knocking event. For example, when there is a person in the vehicle or the vehicle is in a driving state, the roof piezoelectric sensor is set to the first sensing mode by default, which is suitable for detecting the rainfall; when the vehicle is in a parking state or the person in the vehicle leaves the vehicle, the roof piezoelectric sensor is switched to the second sensing mode, which is suitable for detecting the knocking. Understandably, when there is no person in the vehicle or the vehicle is in a parking state, the necessity of detecting the rainfall is not strong, and switching to the second sensing mode is more conducive to realizing further human-computer interaction and reducing the influence on the detection of the knocking / collision event due to the too high sensing sensitivity.

[0145] In some embodiments, the first target event is a rain event, and the second target event is a knocking or collision event; in the first sensing mode, the sensing element is connected to a first sensing circuit, and the first sensing circuit is configured with a first voltage division ratio and a first amplification multiple to adapt to detecting the first target event; in the second sensing mode, the sensing element is connected to a second sensing circuit, and the second sensing circuit is configured with a second voltage division ratio and a second amplification multiple to adapt to detecting the second target event.

[0146] In some embodiments, the vehicle controller is configured to perform a vehicle control operation corresponding to the target event in response to determining the target event.

[0147] Exemplarily, the above-mentioned vehicle control operation can include but is not limited to: an unlocking operation, a vehicle control operation, a remote request operation, a prompt operation, etc. The unlocking operation is an operation of releasing the locking state of a specific object, such as waking up the vehicle machine, unlocking the vehicle door, unlocking the trunk, etc. The vehicle control operation is an operation of controlling the working state of the vehicle component of the vehicle, such as opening the vehicle door, starting the windshield wiper, automatic driving, etc. The remote request operation is an operation of sending a remote request to the associated electronic device of the vehicle, such as initiating a communication request, synchronizing vehicle state information, etc. The prompt operation is an operation of prompting the user in the form of sound, image, text, vibration, etc., such as prompting the user to drive safely, etc. Exemplarily, when the target event includes a rain event, the vehicle control operation corresponding to the target event can include a vehicle control operation and / or a prompt operation. For example, when the rainfall is small to general, the driver is prompted to start raining, and the windshield wiper is started; at the same time, the real-time road condition or the historical road condition under the same weather condition can be called to remind the user of the influence of the weather on the trip. When the rainfall is large, the windshield wiper speed is increased according to the rainfall. When the rainfall is very large, the water accumulation area data can be obtained to remind the driver to avoid the water accumulation area or to prompt the risk of wading, and the driving path is optimized.

[0148] In another example, the target event includes a knock event, and the vehicle control operation corresponding to the target event can include an unlocking operation, a vehicle control operation, and / or a prompting operation. Additionally or alternatively, different vehicle control operations can be performed according to the number, intensity, and position of the knock event. For example, when the number of knocks is two, the vehicle control operation can be an unlocking operation or a vehicle control operation (such as unlocking and opening the vehicle door, opening the front hood, opening the trunk, etc.). For another example, when the position of the knock is the left front door, the vehicle control operation can be to wake up the vehicle machine and voice prompt the user to interact.

[0149] In another example, the target event includes a collision event, and the vehicle control operation corresponding to the target event can include a vehicle control operation, a remote request operation, and / or a prompting operation. For example, when a collision is detected, the driver is reminded of the collision, and the vehicle is controlled to slow down, stop, or move in the opposite direction, etc., and the vehicle state information can also be sent to the associated electronic device.

[0150] The vehicle provided by the embodiments of the present application can ensure the accuracy of target event detection by arranging electronic devices at appropriate positions of the vehicle body panel, interior trim, vehicle components, etc. At the same time, the sensing sensitivity of the electronic devices can be adapted according to the difference in vibration intensity of different target events, to further improve the detection accuracy of each target event.

[0151] It should be understood that the terms used in the present application are merely for the purpose of describing specific embodiments and are not intended to limit the present application. The singular forms "a," "an," and "the" used in the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items. In the present application, the expressions "have," "may have," "include," and "contain," or "may include" and "may contain" can be used herein to indicate the presence of a corresponding feature (for example, elements such as numerical values, functions, operations, or components), but do not exclude the presence of additional features.

[0152] It should be understood that although the terms first, second, third, etc. can be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another, and do not necessarily be used to describe a particular order or sequence. For example, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information, without departing from the scope of the present application.

[0153] The technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0154] In several embodiments provided in the present application, it should be understood that the disclosed electronic devices and vehicles can be implemented in other manners. The embodiments described above are merely exemplary, for example, the division of units is only a logical function division, and there can be other division manners in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling, or direct coupling or communication connection between any two components can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or in other forms.

[0155] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, can be located in one place or distributed on a plurality of network units; part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.

[0156] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional unit.

[0157] The above is merely a specific implementation of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application.

Claims

1. An electronic device, characterized by comprising: The electronic device comprises: a sensing element, a sensing circuit and a processor, the sensing circuit comprises a first sensing circuit; The sensing element is configured to sense a vibration signal, convert the vibration signal into a first electric signal, and transmit the first electric signal to the sensing circuit; The first sensing circuit is configured to process the first electric signal to obtain an output signal, and transmit the output signal to the processor, so that the processor detects a target event indicated by the vibration signal based on the output signal.

2. Electronic device according to claim 1, wherein, The first sensing circuit comprises at least one signal processing circuit and an output circuit, each signal processing circuit comprises a voltage dividing circuit and an amplifying circuit; The input end of the voltage dividing circuit is connected to the output end of the sensing element, configured to receive the first electric signal, and output a second electric signal after dividing the first electric signal based on a preset voltage dividing ratio; The input end of the amplifying circuit is connected to the output end of the voltage dividing circuit, configured to receive the second electric signal, and output a third electric signal after amplifying the second electric signal based on a preset amplification multiple; The input end of the output circuit is connected to the output end of the amplifying circuit, configured to receive the third electric signal, and process the third electric signal to output the output signal.

3. The electronic device of claim 2, wherein The voltage dividing circuit comprises a first adjustable resistor, and the voltage dividing circuit is configured to adjust the resistance value of the first adjustable resistor to adjust the preset voltage dividing ratio in response to the control of the processor; And / or The amplifying circuit comprises a second adjustable resistor, and the amplifying circuit is configured to adjust the resistance value of the second adjustable resistor to adjust the preset amplification multiple in response to the control of the processor.

4. The electronic device of claim 3, wherein, The preset voltage dividing ratio comprises a first voltage dividing ratio and a second voltage dividing ratio, and the preset amplification multiple comprises a first amplification multiple and a second amplification multiple, the first voltage dividing ratio is adapted to the first amplification multiple, and the second voltage dividing ratio is adapted to the second amplification multiple; In the case that the preset voltage dividing ratio is the first voltage dividing ratio and / or the preset amplification multiple is the first amplification multiple, the signal processing circuit is adapted to detect a first target event; In the case that the preset voltage dividing ratio is the second voltage dividing ratio and / or the preset amplification multiple is the second amplification multiple, the signal processing circuit is adapted to detect a second target event.

5. The electronic device of claim 2, wherein, The first sensing circuit comprises at least two signal processing circuits, and each signal processing circuit in the at least two signal processing circuits has different sensing sensitivity to the first electric signal.

6. The electronic device of claim 5, wherein The voltage dividing circuits of the at least two signal processing circuits are in parallel relationship, the amplifying circuits of the at least two signal processing circuits are in parallel relationship, and the preset voltage dividing ratio and the preset amplification multiple of each signal processing circuit are adapted to each other, so that the signal processing circuit is adapted to detect a corresponding target event; The first sensing circuit is configured to select a signal processing circuit in response to the control of the processor, so as to adjust the sensing sensitivity to the first electric signal.

7. The electronic device according to claim 6, wherein each of the voltage dividing circuits includes a voltage dividing switch element that is turned on or off in response to control by the processor to cause the voltage dividing circuit to be active or inactive; each of the amplifying circuits includes an amplifying switch element that is turned on or off in response to control by the processor to cause the amplifying circuit to be active or inactive.

8. Electronic device according to claim 7, wherein, the at least two signal processing circuits include a first signal processing circuit and a second signal processing circuit; the first signal processing circuit includes a first voltage dividing circuit and a first amplifying circuit; the first voltage dividing circuit includes a first voltage dividing switch element, and the first amplifying circuit includes a first amplifying switch element; the second signal processing circuit includes a second voltage dividing circuit and a second amplifying circuit; the second voltage dividing circuit includes a second voltage dividing switch element, and the second amplifying circuit includes a second amplifying switch element.

9. The electronic device of claim 8, wherein, the first voltage dividing circuit includes a first voltage dividing resistor, a second voltage dividing resistor, and the first voltage dividing switch element; a first end of the first voltage dividing resistor serves as an input terminal of the first voltage dividing circuit; a second end of the first voltage dividing resistor is connected to a first end of the first voltage dividing switch element; a second end of the first voltage dividing switch element is connected to ground through the second voltage dividing resistor; the second end of the first voltage dividing switch element serves as an output terminal of the first voltage dividing circuit; and a control terminal of the first voltage dividing switch element is connected to the processor; the first amplifying circuit includes an operational amplifier, a first amplifying resistor, and the first amplifying switch element; a first input terminal of the operational amplifier is connected to the output terminal of the first voltage dividing circuit; a second input terminal of the operational amplifier is connected to ground through a resistor; a first end of the first amplifying resistor is connected to the second input terminal of the operational amplifier; a second end of the first amplifying resistor is connected to a first end of the first amplifying switch element; a second end of the first amplifying switch element is connected to an output terminal of the operational amplifier; and a control terminal of the first amplifying switch element is connected to the processor; the second voltage dividing circuit includes a third voltage dividing resistor, a fourth voltage dividing resistor, and the second voltage dividing switch element; a first end of the third voltage dividing resistor serves as an input terminal of the second voltage dividing circuit; a second end of the third voltage dividing resistor is connected to a first end of the second voltage dividing switch element; a second end of the second voltage dividing switch element is connected to ground through the fourth voltage dividing resistor; the second end of the second voltage dividing switch element serves as an output terminal of the second voltage dividing circuit; and a control terminal of the second voltage dividing switch element is connected to the processor. The second amplification circuit comprises an operational amplifier and a second amplification resistor and a second amplification switch element, a first input end of the operational amplifier is connected to an output end of the second voltage dividing circuit, a second input end of the operational amplifier is connected to ground through a resistor; a first end of the second amplification resistor is connected to the second input end of the operational amplifier, a second end of the second amplification resistor is connected to a first end of the second amplification switch element, a second end of the second amplification switch element is connected to an output end of the operational amplifier, and a control end of the second amplification switch element is connected to the processor.

10. Electronic device according to claim 4 or 8, wherein, The output signal is a pulse signal; The processor is configured to, in a case where a sum of a high level width or a low level width of the pulse signal output by the induction circuit reaches a preset threshold, disconnect the first voltage dividing switch element and the first amplification switch element, connect the second voltage dividing switch element and the second amplification switch element, or adjust a first voltage dividing ratio to a second voltage dividing ratio and adjust a first amplification multiple to a second amplification multiple.

11. The electronic device of claim 4 or 8, wherein The processor is further connected to a vehicle-mounted processor, and the processor is configured to, according to a control instruction sent by the vehicle-mounted processor, disconnect the first voltage dividing switch element and the first amplification switch element, connect the second voltage dividing switch element and the second amplification switch element, or adjust the first voltage dividing ratio to the second voltage dividing ratio and adjust the first amplification multiple to the second amplification multiple.

12. The electronic device of claim 8, wherein The induction circuit further comprises a second induction circuit, and the second induction circuit comprises at least one signal processing circuit; The induction element comprises a first induction element and a second induction element; The first induction element is connected to the first induction circuit, and the first induction circuit is connected to a first interface of the processor; The second induction element is connected to the second induction circuit, and the second induction circuit is connected to a second interface of the processor.

13. The electronic device of claim 12, wherein The processor is configured to, in response to determining that the second interface receives the output signal and detecting, according to the output signal, a first target event indicated by the vibration signal, control the first voltage dividing switch element and the first amplification switch element in the first induction circuit to be disconnected and control the second voltage dividing switch element and the second amplification switch element to be connected.

14. The electronic device of claim 13, wherein, The second induction element is mounted on an inner side of a roof panel; The first induction element is mounted on an inner side of another vehicle body panel different from the vehicle body panel on which the second induction element is mounted.

15. The electronic device of claim 2, wherein The output circuit comprises an output switch element; A first end of the output switch element is connected to a power supply and the processor, a second end of the output switch element is connected to ground, a control end of the output switch element is connected to an output end of the at least one signal processing circuit, and the first end of the output switch element outputs the output signal; and the output switch element is configured to modulate the third electric signal output by the at least one signal processing circuit into a pulse signal. 16.The electronic device of claim 15, wherein, the output circuit further comprises a voltage stabilizing component, a first end of the voltage stabilizing component is connected to an output end of the at least one signal processing circuit, a first end of the voltage stabilizing component is also connected to a control end of the output switching element, and a second end of the voltage stabilizing component is grounded; the voltage stabilizing component is configured to clamp the third electrical signal within a preset voltage range. 17.The electronic device of claim 1, wherein, the target event comprises at least one of a rain event, a knocking event, and a collision event; the sensing element comprises a piezoelectric component.

18. A vehicle, wherein, The vehicle comprises: a vehicle body comprising a plurality of vehicle body panels, a plurality of interior components, and vehicle components connected to the vehicle body panels and / or the interior components; a vehicle controller installed on the vehicle body and configured to control operation of the vehicle; the electronic device of any one of claims 1 to 17, wherein the sensing element of the electronic device is disposed on the vehicle body panels and / or the interior components and / or the vehicle components, and the processor is electrically connected to the vehicle controller.