Signal acquisition circuit and method for motorcycle electronics

By designing a voltage divider circuit composed of variable resistors and capacitors, flexible adjustment of the signal acquisition circuit of motorcycle electronic equipment is achieved, solving the problem of high replacement cost of motorcycle signal acquisition circuit, realizing efficient acquisition of multiple signal types, and reducing production costs.

CN116068296BActive Publication Date: 2026-03-27ZHEJIANG CFMOTO POWER CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-29
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

The cost of updating motorcycle signal acquisition circuits is high and the update cycle is long. Existing technology cannot meet the needs of multiple signal acquisition, resulting in the scrapping of circuit board inventory.

Method used

Design a signal acquisition circuit for a motorcycle electronic device, including a voltage divider circuit composed of a variable resistor and a capacitor. By adjusting the resistance value and switching the switch, high-level, low-level and analog signals can be acquired, reducing the cost of updates.

Benefits of technology

By using the same circuit to acquire multiple signal types, update costs are reduced, production efficiency is improved, and circuit board waste is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116068296B_ABST
    Figure CN116068296B_ABST
Patent Text Reader

Abstract

The application relates to a signal acquisition circuit and method of a motorcycle electronic device, wherein in the signal acquisition circuit of the motorcycle electronic device, one end of a second resistor is connected with a power supply, the other end of the second resistor is connected with a signal receiving unit; a first resistor is connected with a first capacitor and is connected in parallel between the signal receiving unit and the other end of the second resistor, one end of the first capacitor is grounded, one end of the first resistor is grounded; one end of a fourth resistor is connected with a signal acquisition unit, the other end of the fourth resistor is connected with the other end of the second resistor; a third resistor is connected in parallel with a second capacitor between the other end of the second resistor and the signal acquisition unit, one end of the second capacitor is grounded, one end of the third resistor is grounded, the problem that the motorcycle signal acquisition circuit has a high updating cost is solved, the change of the signal acquisition type can be realized through the same acquisition circuit and different resistance adjustment modes, and the updating cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of motorcycle signal acquisition, and in particular to signal acquisition circuits and methods for motorcycle electronic devices. Background Technology

[0002] Signal acquisition circuits in electronic devices are crucial for electronic components to collect signals from the vehicle, such as electronic fuel injection fault signals, ignition signals, and button signals. To accurately acquire these signals, different acquisition circuits need to be designed. Generally, signal acquisition is categorized into three methods: high-level signal acquisition, low-level signal acquisition, and analog signal acquisition. Based on these three different acquisition methods, three corresponding signal acquisition circuits exist to ensure the acquisition of each type of signal. In other words, high-level signal acquisition circuits, low-level signal acquisition circuits, and analog signal acquisition circuits are used to acquire signals for high-level signal acquisition, low-level signal acquisition, and analog signal acquisition, respectively.

[0003] With the increasing number of electronic devices on motorcycles, the number of signals that need to be collected is also increasing. If the signal acquisition circuit that can only collect a single signal cannot be modified, it will not be able to meet the acquisition requirements. The circuit needs to be redesigned and remanufactured to collect the corresponding signals, which will increase the change cycle and cost. Existing circuit board inventory can only be scrapped. In other words, there is currently a problem of high update cost for motorcycle signal acquisition circuits.

[0004] There is currently no effective solution to the problem of high update costs for motorcycle signal acquisition circuits in related technologies. Summary of the Invention

[0005] This embodiment provides a signal acquisition circuit and method for a motorcycle electronic device to solve the problems of long update cycles and high update costs in related technologies for motorcycle signal acquisition circuits.

[0006] In a first aspect, this embodiment provides a signal acquisition circuit for a motorcycle electronic device, characterized in that the signal acquisition circuit includes: a first resistor, a second resistor, a third resistor, a fourth resistor, a power supply, a first capacitor, a second capacitor, a signal receiving unit, and a signal acquisition unit; the first resistor, the second resistor, and the third resistor are variable resistors; one end of the second resistor is connected to the power supply, and the other end is connected to the signal receiving unit; the first resistor is connected to the first capacitor and is connected in parallel between the signal receiving unit and the other end of the second resistor; one end of the first capacitor is grounded, and one end of the first resistor is grounded; one end of the fourth resistor is connected to the signal acquisition unit, and the other end is connected to the other end of the second resistor; the third resistor is connected in parallel with the second capacitor and is connected in parallel between the other end of the second resistor and the signal acquisition unit; one end of the second capacitor is grounded, and one end of the third resistor is grounded.

[0007] In one embodiment, the circuit further includes: a first switch; one end of the first switch is connected to the third resistor, and the other end is connected to the second capacitor.

[0008] In another embodiment, the circuit further includes a second switch; one end of the second switch is connected to the first resistor, and the other end is connected to the first capacitor.

[0009] In one embodiment, the circuit further includes a ferrite bead connected in series between the signal receiving unit and the other end of the second resistor.

[0010] In another embodiment, the circuit further includes a diode connected in series between the signal receiving unit and the other end of the second resistor.

[0011] In one embodiment, the signal acquisition unit includes a microcontroller.

[0012] Secondly, this embodiment provides a signal acquisition method for a motorcycle electronic device, characterized by the following steps: receiving a signal acquisition command; adjusting the resistance values ​​of a switch and a variable resistor based on the signal acquisition command; and acquiring the signal corresponding to the signal acquisition command based on the adjustment results of the switch and the variable resistor.

[0013] In some embodiments, the following steps are included: if the signal acquisition command is to perform a logical judgment on a high-level signal, then adjusting the resistance of the signal acquisition circuit based on the signal acquisition command includes: controlling the third resistor to be the highest resistance value or an open-circuit resistor, and controlling the ratio of the first resistor to the second resistor to be less than a first preset threshold; acquiring the signal corresponding to the signal acquisition command includes controlling the power supply to output a preset threshold voltage, and acquiring the signal received by the signal receiving unit based on the signal acquisition unit to obtain an acquired signal; performing a high-level signal logical judgment on the acquired signal, and if the acquired signal is less than a preset threshold voltage that is a first preset multiple, then the signal logic of the acquired signal is an invalid signal; if the acquired signal is greater than a preset threshold voltage that is a second preset multiple, then the signal logic of the acquired signal is a valid signal.

[0014] In another embodiment, the following steps are included: if the signal acquisition command is to perform a logical judgment on a low-level signal, then adjusting the resistance of the signal acquisition circuit based on the signal acquisition command includes: controlling the first resistor to be the highest resistance value or an open-circuit resistor, and controlling the ratio of the second resistor to the third resistor to be less than a first preset threshold; acquiring the signal corresponding to the signal acquisition command includes controlling the power supply to output a preset threshold voltage, and then acquiring the signal received by the signal receiving unit based on the signal acquisition unit to obtain an acquired signal; performing a low-level signal logical judgment on the acquired signal, and if the acquired signal is less than a preset threshold voltage that is a first preset multiple, then the signal logic of the acquired signal is a valid signal; if the acquired signal is greater than a preset threshold voltage that is a second preset multiple, then the signal logic of the acquired signal is an invalid signal.

[0015] In another embodiment, the following steps are included: if the signal acquisition command is to perform a logical judgment on a preset analog signal, then adjusting the resistance of the signal acquisition circuit based on the signal acquisition command includes: controlling the first resistor and the third resistor to be the highest resistance value or the open circuit resistor, and controlling the resistance value of the second resistor to be a second preset threshold resistance; acquiring the signal corresponding to the signal acquisition command includes controlling the power supply to output a preset threshold voltage, then acquiring the signal received by the signal receiving unit based on the signal acquisition unit to obtain the acquired signal; and performing analog signal logical judgment on the acquired signal based on a preset analog signal judgment rule to obtain the corresponding signal logic.

[0016] Compared with related technologies, the signal acquisition circuit for motorcycle electronic devices provided in this embodiment, by constructing a signal acquisition circuit for motorcycle electronic devices, includes: a first resistor, a second resistor, a third resistor, a fourth resistor, a power supply, a first capacitor, a second capacitor, a signal receiving unit, and a signal acquisition unit. The first resistor, the second resistor, and the third resistor are variable resistors. One end of the second resistor is connected to the power supply, and the other end is connected to the signal receiving unit. The first resistor and the first capacitor are connected in parallel between the signal receiving unit and the other end of the second resistor. One end of the first capacitor is grounded, and one end of the first resistor is grounded. One end of the fourth resistor is connected to the signal acquisition unit, and the other end is connected to the other end of the second resistor. The third resistor and the second capacitor are connected in parallel between the other end of the second resistor and the signal acquisition unit. One end of the second capacitor is grounded, and one end of the third resistor is grounded. This solves the problem of high update costs in motorcycle signal acquisition circuits, and realizes the ability to change the acquired signal type through different resistor adjustment modes using the same acquisition circuit, thus reducing update costs.

[0017] Details of one or more embodiments of this application are set forth in the following drawings and description to make other features, objects and advantages of this application more readily apparent. Attached Figure Description

[0018] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0019] Figure 1 This is a schematic diagram of the signal acquisition circuit of a motorcycle electronic device according to an embodiment of this application.

[0020] Figure 2 This is a schematic diagram of signal acquisition for a motorcycle electronic device according to another embodiment of this application.

[0021] Figure 3 This is a schematic diagram of signal acquisition for a motorcycle electronic device according to one embodiment of this application.

[0022] Figure 4 This is a schematic diagram of a high-level signal acquisition circuit for a motorcycle electronic device according to an embodiment of this application.

[0023] Figure 5 This is a schematic diagram of a low-level signal acquisition circuit for a motorcycle electronic device according to an embodiment of this application.

[0024] Figure 6 This is a schematic diagram of an analog signal acquisition circuit for a motorcycle electronic device according to an embodiment of this application.

[0025] Figure 7 This is a block diagram of the signal acquisition system circuit of a motorcycle electronic device according to an embodiment of this application. Detailed Implementation

[0026] To better understand the purpose, technical solution, and advantages of this application, the application is described and illustrated below in conjunction with the accompanying drawings and embodiments.

[0027] Unless otherwise defined, the technical or scientific terms used in this application shall have the general meaning as understood by one of ordinary skill in the art to which this application pertains. Words such as “a,” “an,” “an,” “the,” “the,” and “these,” used in this application, do not indicate quantitative limitation and may be singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that comprises a series of steps or modules (units) is not limited to the listed steps or modules (units) but may include steps or modules (units) not listed, or may include other steps or modules (units) inherent to such processes, methods, products, or devices. The terms “connected,” “linked,” and “coupled,” used in this application, are not limited to physical or mechanical connections but may include electrical connections, whether direct or indirect. The term “multiple” used in this application refers to two or more. The "and / or" operator describes the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: A alone, A and B simultaneously, and B alone. Typically, the character " / " indicates that the objects before and after it are in an "or" relationship. The terms "first," "second," and "third," etc., used in this application are merely for distinguishing similar objects and do not represent a specific ordering of the objects.

[0028] This embodiment provides a signal acquisition circuit for a motorcycle electronic device. Figure 1 This is a schematic diagram of the signal acquisition circuit of a motorcycle electronic device according to an embodiment of this application, as shown below. Figure 1As shown, the circuit includes: a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a power supply VCC, a first capacitor C1, a second capacitor C2, a signal receiving unit, and a signal acquisition unit. The first resistor R1, the second resistor R2, and the third resistor R3 are variable resistors. One end of the second resistor R2 is connected to the power supply VCC, and the other end is connected to the signal receiving unit. The first resistor R1 is connected to the first capacitor C1 and is connected in parallel between the signal receiving unit and the other end of the second resistor R2. One end of the first capacitor C1 is grounded, and one end of the first resistor R1 is grounded. One end of the fourth resistor R4 is connected to the signal acquisition unit, and the other end is connected to the other end of the second resistor R2. The third resistor R3 is connected in parallel with the second capacitor C2 and is connected between the other end of the second resistor R2 and the signal acquisition unit. One end of the second capacitor C2 is grounded, and one end of the third resistor R3 is grounded.

[0029] This application pertains to signal acquisition in electronic devices within a motorcycle. During vehicle operation, signals are transmitted to the electronic devices via wiring harnesses from various onboard components. The acquisition circuit then acquires the required signal input through the wiring harness based on pre-set input signal states (e.g., high level, low level, and analog signals), further determines the signal command, and executes the command via an actuator. In a typical embodiment, a high-level signal is generally an ignition signal, a low-level signal is an electronic fuel injection (EFI) fault signal, and an analog signal is a button signal. For example, when an EFI fault occurs in the motorcycle, the signal acquisition circuit acquires the EFI fault signal, and the signal acquisition unit sends an EFI fault display command to the display system, causing the display system to display the EFI fault.

[0030] Based on this, in this embodiment, the circuit first includes a first resistor R1, a second resistor R2, a third resistor R3, and a fourth resistor R4. The first resistor R1, the second resistor R2, and the third resistor R3 are variable resistors, meaning their resistance values ​​can be adjusted. It can be understood that by adjusting the resistance, voltage division can be performed in the circuit to ensure that different signals can be acquired by setting different resistor states. The fourth resistor R4 is connected to the signal acquisition unit. In this embodiment, the resistance value of the fourth resistor R4 is maintained at 20K ohms to maintain the acquisition accuracy of the signal acquisition unit. Additionally, the first resistor R1 and the first capacitor C1... A voltage divider circuit is formed by the second resistor R2 and the third resistor R3. In these two voltage divider circuits, the first capacitor C1 and the second capacitor C2 can each play the role of circuit filtering. They can be used to filter different circuit signals when there are different signal requirements. In addition, in this embodiment, each voltage divider circuit is grounded, which can discharge the capacitors after the signal acquisition is completed. One end of the second resistor R2 is connected to the power supply VCC, and the other end is connected to the signal receiving unit. It can perform voltage division for the signal acquisition unit when the signal receiving unit sends a signal to the signal acquisition unit, so as to ensure the accurate processing of the signal by the signal acquisition unit.

[0031] Through the signal acquisition circuit of the above-mentioned motorcycle electronic device, different signal acquisition requirements can be met by adjusting the resistance values ​​of the first resistor R1, the second resistor R2 and the third resistor R3 and switching between open and open circuits. This allows the signal acquisition unit to accurately acquire and judge different signals during different production or functional requirements.

[0032] In one embodiment, the circuit further includes: a first switch K1, which is used to make the third resistor R3 a circuit breaker; one end of the first switch K1 is connected to the third resistor R3, and the other end is connected to the second capacitor C2.

[0033] In this embodiment, as Figure 2 , Figure 2 This is a schematic diagram of signal acquisition for a motorcycle electronic device according to another embodiment of this application. The voltage divider circuit composed of the second capacitor C2 and the third resistor R3 also includes a first switch K1. The first switch K1 is used to make the third resistor R3 act as a circuit breaker resistor when performing high-level signal acquisition or analog signal acquisition. The purpose is to disconnect the voltage divider circuit composed of the second capacitor C2 and the third resistor R3, allowing the signal acquisition circuit to accurately acquire both high-level and analog signals, and to make correct signal judgments based on the acquired high-level and analog signals.

[0034] In another embodiment, the circuit further includes: a second switch K2, which is used to make the first resistor R1 a circuit breaker; one end of the second switch K2 is connected to the first resistor R1, and the other end is connected to the first capacitor C1.

[0035] In this embodiment, as Figure 3 , Figure 3 This is a schematic diagram of signal acquisition for a motorcycle electronic device according to one embodiment of this application. The voltage divider circuit composed of the first capacitor C1 and the first resistor R1 also includes a second switch K2. The second switch K2 is used to make the first resistor R1 act as a circuit breaker resistor when performing low-level signal acquisition or analog signal acquisition. The purpose is to disconnect the voltage divider circuit composed of the first capacitor C1 and the first resistor R1, allowing the signal acquisition circuit to accurately acquire low-level signals and analog signals, and to make correct signal judgments based on the acquired low-level signals and analog signals.

[0036] In one embodiment, the circuit further includes a ferrite bead FB1; the ferrite bead FB1 is connected in series between the signal receiving unit and the other end of the second resistor R2.

[0037] In this embodiment, the circuit also includes a ferrite bead FB1. One end of the ferrite bead FB1 is connected to the signal receiving unit, and the other end is connected to the other end of the second resistor R2. The ferrite bead FB1 is specifically designed to suppress high-frequency noise and spike interference on signal lines and power lines, and also has the ability to absorb electrostatic pulses. In this embodiment, the ferrite bead FB1 is labeled FB1, which greatly helps the capacitor compatibility and reliability in the circuit, suppresses interference, and improves the reliability during signal acquisition.

[0038] In another embodiment, the circuit further includes a diode D1; the diode D1 is connected in series between the signal receiving unit and the other end of the second resistor R2.

[0039] As is easily understood, in this embodiment, the positive terminal of diode D1 is connected to the voltage divider circuit composed of the first capacitor C1 and the first resistor R1, as well as the signal receiving unit, and the negative terminal is connected to the second resistor R2. In this embodiment, diode D1 can isolate abnormal voltages in signal reception and transmission, and prevent abnormal voltages of external input signals from interfering with the voltage of this signal acquisition system. While realizing the acquisition of multiple signals, it improves the anti-interference capability of abnormal signals and can improve the accuracy of the acquired signals.

[0040] In one embodiment, the signal acquisition unit includes a microcontroller.

[0041] In this embodiment, the unit that receives and processes signals is a microcontroller. The microcontroller can receive circuit signals corresponding to preset signal input states, determine the corresponding signal commands based on the received signals, and then cause the actuator to perform the corresponding actions based on the signal commands. As can be understood, a microcontroller (Single-Chip Microcomputer) is an integrated circuit chip that uses very large-scale integrated circuit technology to integrate a central processing unit (CPU) with data processing capabilities, random access memory (RAM), read-only memory (ROM), various I / O ports and interrupt systems, timers / counters, and other functions (and possibly display driver circuits, pulse width modulation circuits, analog multiplexers, A / D converters, etc.) onto a single silicon chip, forming a small but complete microcomputer system widely used in industrial control. The structure of a microcontroller includes an arithmetic logic unit (ALU), a control unit, and registers. Based on this structure, a microcontroller can complete signal processing and judgment and command control through high-speed and precise processing and computing capabilities, operating under low voltage and low power consumption.

[0042] In addition, this embodiment provides a signal acquisition method for a motorcycle electronic device, including the following steps: receiving a signal acquisition command; adjusting the resistance of the signal acquisition circuit based on the signal acquisition command; and acquiring the signal corresponding to the signal acquisition command based on the resistance adjustment result.

[0043] As is readily understood, in this embodiment, the signal acquisition circuit of the motorcycle electronic device described in the above embodiment acquires the signals that need to be acquired and identified in the motorcycle. Therefore, it first needs to receive a signal acquisition command, and then adjust the resistor that needs to be adjusted based on the signal acquisition command. Adjusting the resistor includes changing it to an open-circuit resistor or changing its resistance value to change the current flowing through the branch containing the resistor. After adjusting the signal acquisition circuit based on the signal acquisition command, the signal acquisition circuit is transformed into a signal acquisition circuit corresponding to the required signal in the signal acquisition command, capable of acquiring the required signal and performing signal judgment processing on the acquired signal.

[0044] In another embodiment, if the signal acquisition command is to perform a logical judgment on a high-level signal, then adjusting the resistance of the signal acquisition circuit based on the signal acquisition command includes: controlling the third resistor R3 to be the highest resistance value or an open-circuit resistor, and controlling the ratio of the first resistor R1 to the second resistor R2 to be less than a first preset threshold; acquiring the signal corresponding to the signal acquisition command includes controlling the power supply VCC to output a preset threshold voltage, and acquiring the signal received by the signal receiving unit based on the signal acquisition unit to obtain the acquired signal; performing a high-level signal logical judgment on the acquired signal, and if the acquired signal is less than a preset threshold voltage that is a first preset multiple, then the signal logic of the acquired signal is an invalid signal, and if the acquired signal is greater than a preset threshold voltage that is a second preset multiple, then the signal logic of the acquired signal is a valid signal.

[0045] This embodiment describes a method for acquiring high-level signals using the signal acquisition circuit of a motorcycle electronic device. The purpose is to change the signal acquisition circuit to a high-level signal acquisition state. Understandably, firstly, the resistance of the third resistor R3 is controlled to be either the highest resistance value or an open circuit resistor. When the third resistor R3 is controlled to be an open circuit resistor, the first switch K1 is opened, meaning the voltage divider circuit composed of the first resistor R1 and the first capacitor C1 is closed, and the voltage branch circuit composed of the second capacitor C2 and the third resistor R3 is open. In this embodiment, the voltage divider circuit composed of the first resistor R1 and the first capacitor C1 is used to filter signals other than high-level signals. Additionally, the resistance ratio of the first resistor R1 and the second resistor R2 needs to be controlled to be less than 0.3 to ensure voltage division capability. Based on this, through the filtering of the circuit using the first resistor R1 and the first capacitor C1, and the ratio of the first resistor R1 and the second resistor R2, the signal acquisition unit obtains a recognizable high-level signal. Based on this, when the signal level acquired by the signal acquisition unit is less than 0.3 times the output level of the power supply VCC, the logic state of the signal acquisition unit is 0, the input signal is determined to be invalid, and the signal is marked; when the input signal is high, the signal level acquired by the signal acquisition unit is greater than 0.7 times the output level of the power supply VCC, at which time the logic state of the signal acquisition unit is 1, the input signal is determined to be valid, and the signal is marked. Based on this, when there is a signal input, the high-level signal in the input signal can be accurately identified and feedback can be provided.

[0046] In some embodiments, the following steps are included: if the signal acquisition command is to perform a logical judgment on a low-level signal, then adjusting the resistance of the signal acquisition circuit based on the signal acquisition command includes: controlling the first resistor R1 to be the highest resistance value or an open-circuit resistor, and controlling the ratio of the second resistor R2 to the third resistor R3 to be less than a first preset threshold; acquiring the signal corresponding to the signal acquisition command includes controlling the power supply VCC to output a preset threshold voltage, and then acquiring the signal received by the signal receiving unit based on the signal acquisition unit to obtain the acquired signal; performing a low-level signal logical judgment on the acquired signal, and if the acquired signal is less than a preset threshold voltage that is a first preset multiple, then the signal logic of the acquired signal is a valid signal, and if the acquired signal is greater than a preset threshold voltage that is a second preset multiple, then the signal logic of the acquired signal is an invalid signal.

[0047] This embodiment describes a method for acquiring low-level signals using the signal acquisition circuit of a motorcycle electronic device. First, the signal acquisition circuit must be switched to a low-level signal acquisition state. This involves controlling the resistance of the first resistor R1 to its maximum value or as an open circuit. When the first resistor R1 is an open circuit, the first switch K1 is disconnected, meaning the voltage divider circuit formed by the first resistor R1 and the first capacitor C1 is open, and the voltage divider circuit formed by the second capacitor C2 and the third resistor R3 is closed. In this embodiment, the voltage divider circuit formed by the third resistor R3 and the second capacitor C2 is used to filter signals other than low-level signals. Additionally, the resistance ratio of the second resistor R2 and the third resistor R3 needs to be less than 0.3 to ensure the voltage division capability when acquiring signals. Based on this, through the filtering of the circuit using the third resistor R3 and the second capacitor C2, and by adjusting the resistance values ​​of the second resistor R2 and the third resistor R3, the signal acquisition unit can acquire a recognizable low-level signal. Based on this, when the signal level acquired by the signal acquisition unit is less than 0.3 times the output level of the power supply VCC, the logic state of the signal acquisition unit is 0, the input signal is determined to be a valid signal and is marked; when the input signal is at a high level, the signal level acquired by the signal acquisition unit is greater than 0.7 times the output level of the power supply VCC, the logic state of the signal acquisition unit is 1, the input signal is determined to be an invalid signal and is marked. Based on this, when there is a signal input, the low-level signal in the input signal can be accurately identified and effective feedback can be provided.

[0048] In another embodiment, the following steps are included: if the signal acquisition command is to perform a logical judgment on a preset analog signal, then adjusting the resistance of the signal acquisition circuit based on the signal acquisition command includes: controlling the first resistor R1 and the third resistor R3 to be the highest resistance value or the open circuit resistor, and controlling the resistance value of the second resistor R2 to be a second preset threshold resistance; acquiring the signal corresponding to the signal acquisition command includes controlling the power supply VCC to output a preset threshold voltage, and then acquiring the signal received by the signal receiving unit based on the signal acquisition unit to obtain the acquired signal; and performing analog signal logical judgment on the acquired signal based on the preset analog signal judgment rules to obtain the corresponding signal logic.

[0049] In this embodiment, if logical judgment is required on the preset analog signal, the voltage divider circuit containing the first resistor R1 and the third resistor R3 needs to be open-circuited. Based on this, the first resistor R1 and the third resistor R3 can be set to their highest resistance value, or the first switch K1 and the second switch K2 can be disconnected, making the first resistor R1 and the third resistor R3 open-circuit resistors. Then, the resistance value of the second resistor R2 is controlled to be a preset resistance. The preset resistance is set based on the measurement signal requirements, and no specific requirements are made in this embodiment. The purpose of disconnecting the first switch K1 and the second switch K2 is to make the voltage divider circuit composed of the first resistor R1 and the first capacitor C1 and the voltage divider circuit composed of the third resistor R3 and the second capacitor C2 open-circuited, and the second resistor R2 is used as a voltage divider circuit. Based on this, the signal acquisition unit can obtain more identifiable signals, and based on the voltage values ​​of the different acquired signals, the signal logic in different states can be determined.

[0050] Furthermore, in some embodiments, when the signal acquisition circuit is actually applied in production, the arrangement of the first resistor R1 and the third resistor R3 is selected according to actual needs. For example, when there is a need to acquire a high-level signal, such as... Figure 4 , Figure 4 This is a schematic diagram of a high-level signal acquisition circuit for a motorcycle electronic device according to an embodiment of this application. In actual production, the third resistor R3 is left unconnected (i.e., open circuit), while the first resistor R1 and the second resistor R2 are installed and used normally. When there is a need to acquire a low-level signal, such as... Figure 5 , Figure 5 This is a schematic diagram of a low-level signal acquisition circuit for a motorcycle electronic device according to an embodiment of this application. In actual production, the first resistor R1 is left unattached, while the second resistor R2 and the third resistor R3 are installed normally. When performing analog signal acquisition, such as... Figure 6 , Figure 6This is a schematic diagram of an analog signal acquisition circuit for a motorcycle electronic device according to an embodiment of this application. The first resistor R1 and the third resistor R3 are unmounted, while the second resistor R2 is set based on actual production requirements. Therefore, multiple signals can be acquired using only the same signal acquisition circuit through different actual installation and operation methods, saving production costs and improving production efficiency in practical applications.

[0051] It should be noted that the steps shown in the above process or in the flowchart of the accompanying figures can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0052] This embodiment also provides a signal acquisition system for a motorcycle electronic device, including the signal acquisition circuit of the motorcycle electronic device described above.

[0053] This embodiment also provides a signal acquisition system for a motorcycle electronic device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. The terms "module," "unit," "subunit," etc., used below refer to combinations of software and / or hardware that perform a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0054] Figure 7 This is a circuit block diagram of a signal acquisition system for a motorcycle electronic device according to an embodiment of this application, as shown below. Figure 7 As shown, the device includes: a signal acquisition circuit for the motorcycle electronic device described in any of the above embodiments. It includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a power supply VCC, a first capacitor C1, a second capacitor C2, a signal receiving unit, a signal acquisition unit, a first switch K1, a second switch K2, a ferrite bead FB1, and a diode D1, wherein the connection relationships between the components are as follows... Figure 7 As shown.

[0055] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can reside in the same processor; or the above modules can be located in different processors in any combination.

[0056] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated in this embodiment.

[0057] It should be understood that the specific embodiments described herein are merely illustrative of the application and not intended to limit it. All other embodiments derived by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.

[0058] Obviously, the accompanying drawings are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar situations based on these drawings without any creative effort. Furthermore, it is understood that although the work done in this development process may be complex and lengthy, for those skilled in the art, certain design, manufacturing, or production modifications made based on the technical content disclosed in this application are merely conventional technical means and should not be considered as insufficient disclosure of this application.

[0059] The term "embodiment" in this application refers to a specific feature, structure, or characteristic described in connection with an embodiment that may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily imply the same embodiment, nor does it imply that it is mutually exclusive with or independent of other embodiments. It will be clearly or implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0060] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of patent protection. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the appended claims.

Claims

1. A signal acquisition circuit for a motorcycle electronic device, characterized in that, The signal acquisition circuit of the motorcycle electronic device includes: a first resistor, a second resistor, a third resistor, a fourth resistor, a power supply, a first capacitor, a second capacitor, a signal receiving unit, and a signal acquisition unit, wherein the first resistor, the second resistor, and the third resistor are variable resistors; One end of the second resistor is connected to the power supply, and the other end is connected to the signal receiving unit; the first resistor is connected to the first capacitor and is connected in parallel between the signal receiving unit and the other end of the second resistor; one end of the first capacitor is grounded, and one end of the first resistor is grounded. One end of the fourth resistor is connected to the signal acquisition unit, and the other end is connected to the other end of the second resistor; the third resistor and the second capacitor are connected in parallel between the other end of the second resistor and the signal acquisition unit, one end of the second capacitor is grounded, and one end of the third resistor is grounded; The signal acquisition circuit is configured to, in response to a signal acquisition command for performing a logical judgment on a high-level signal, adjust the third resistor to its maximum resistance value or an open-circuit resistor, and adjust the ratio of the first resistor to the second resistor to be less than a first preset threshold; in response to a signal acquisition command for performing a logical judgment on a low-level signal, adjust the first resistor to its maximum resistance value or an open-circuit resistor, and adjust the ratio of the second resistor to the third resistor to be less than a first preset threshold; and in response to a signal acquisition command for performing a logical judgment on a preset analog signal, adjust the first resistor and the third resistor to their maximum resistance values ​​or open-circuit resistors, and adjust the resistance value of the second resistor to a second preset threshold resistor. The signal acquisition unit is used to acquire the signal received by the signal receiving unit to obtain the acquired signal; and to perform signal logic judgment on the acquired signal to obtain the signal logic corresponding to the acquired signal.

2. The signal acquisition circuit of the motorcycle electronic device according to claim 1, characterized in that, The circuit also includes: a first switch; One end of the first switch is connected to the third resistor, and the other end is connected to the second capacitor.

3. The signal acquisition circuit of the motorcycle electronic device according to claim 1, characterized in that, The circuit also includes: a second switch; One end of the second switch is connected to the first resistor, and the other end is connected to the first capacitor.

4. The signal acquisition circuit of the motorcycle electronic device according to any one of claims 1 to 3, characterized in that, The circuit also includes: a magnetic bead; The magnetic bead is connected in series between the signal receiving unit and the other end of the second resistor.

5. The signal acquisition circuit of the motorcycle electronic device according to any one of claims 1 to 3, characterized in that, The circuit also includes: a diode; The diode is connected in series between the signal receiving unit and the other end of the second resistor.

6. The signal acquisition circuit of the motorcycle electronic device according to any one of claims 1 to 3, characterized in that, The signal acquisition unit includes a microcontroller.

7. A signal acquisition method for a motorcycle electronic device, applicable to the signal acquisition circuit of the motorcycle electronic device according to any one of claims 1 to 6, characterized in that, Includes the following steps: Receive signal acquisition instructions; The resistance of the signal acquisition circuit is adjusted based on the signal acquisition command. Based on the adjustment result of the resistor, the signal corresponding to the signal acquisition command is acquired.

8. The signal acquisition method for motorcycle electronic equipment according to claim 7, characterized in that, If the signal acquisition command is to perform a logical judgment on a high-level signal, then the step of adjusting the resistance of the signal acquisition circuit based on the signal acquisition command includes: The third resistor is controlled to be either the highest resistance value or an open-circuit resistor, and the ratio of the first resistor to the second resistor is controlled to be less than a first preset threshold. The acquisition of the signal corresponding to the signal acquisition command includes controlling the power supply to output a preset threshold voltage, and acquiring the signal received by the signal receiving unit based on the signal acquisition unit to obtain the acquisition signal. The acquired signal is subjected to high-level signal logic judgment. If the acquired signal is less than a preset threshold voltage that is a first preset multiple, the acquired signal is an invalid signal. If the acquired signal is greater than a preset threshold voltage that is a second preset multiple, the acquired signal is a valid signal.

9. The signal acquisition method for motorcycle electronic equipment according to claim 7, characterized in that, If the signal acquisition command is to perform a logical judgment on a low-level signal, then the resistance adjustment of the signal acquisition circuit based on the signal acquisition command includes: The first resistor is controlled to be the highest resistance value or an open circuit resistor, and the ratio of the second resistor to the third resistor is controlled to be less than a first preset threshold. The process of acquiring the signal corresponding to the signal acquisition command includes controlling the power supply to output a preset threshold voltage, and then acquiring the signal received by the signal receiving unit based on the signal acquisition unit to obtain the acquired signal. The acquired signal is subjected to low-level signal logic judgment. If the acquired signal is less than a preset threshold voltage that is a first preset multiple, then the acquired signal is a valid signal. If the acquired signal is greater than a preset threshold voltage that is a second preset multiple, then the acquired signal is an invalid signal.

10. The signal acquisition method for motorcycle electronic equipment according to claim 7, characterized in that, If the signal acquisition command is to perform a logical judgment on a preset analog signal, then the resistance adjustment of the signal acquisition circuit based on the signal acquisition command includes: The first resistor and the third resistor are controlled to be the highest resistance value or the open circuit resistor, and the resistance value of the second resistor is controlled to be the second preset threshold resistor; The process of acquiring the signal corresponding to the signal acquisition command includes controlling the power supply to output a preset threshold voltage, and then acquiring the signal received by the signal receiving unit based on the signal acquisition unit to obtain the acquired signal. Based on preset analog signal judgment rules, the acquired signals are subjected to analog signal logic judgment to obtain the corresponding signal logic.

Citation Information

Patent Citations

  • Multi-channel signal collecting device and collecting method

    CN103634008A

  • Circuit for collecting sensor signals, PCB and electronic device

    CN214067626U