Controller module and vehicle
By designing the controller module, using the identification circuit to identify the steering wheel model and calling the corresponding software, the high cost and poor scalability problems caused by the need to match multiple steering wheels in the prior art are solved, and the pin savings and software maintenance costs are achieved.
Patent Information
- Application Number
- CN202421872661.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2034-08-02
AI Technical Summary
In the prior art, microcontrollers need to match different types of steering wheels, resulting in high cost and poor scalability of microcontrollers with many pins, or need to develop and maintain multiple types of software, resulting in large usage, high cost and difficult maintenance.
A controller module is designed, including a controller, a first measurement circuit, a voltage conversion circuit and a first identification circuit. By converting the pulse width modulation signal into a test voltage and determining the identification signal based on the test voltage and the identification resistance of the steering wheel, the identification circuit can identify the steering wheel model to be identified, thereby calling the corresponding software to make different types of steering wheels share some pins.
This realizes the savings of controller pins, improves the scalability of the controller, reduces the cost of software maintenance, and avoids the need to configure multiple types of software at the same time.
Smart Images

Figure CN222973339U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of controller modules, and more particularly, to a controller module and a vehicle. Background Art
[0002] Automobiles have more and more functions, and the types of buttons on the steering wheel are also increasing. As a result, the microcontrollers that cooperate with the steering wheel need to match different types of steering wheels. In the prior art, a microcontroller with a large number of pins can be used, and corresponding pins are reserved for each type of steering wheel. The controller pre-stores the software of the corresponding steering wheel and calls the corresponding software when the corresponding pins are connected to the steering wheel. However, in this way, the microcontroller with a large number of pins has a high cost and poor scalability. A microcontroller with fewer pins can be used. Different types of steering wheels share at least some pins. When different steering wheels are connected, corresponding software is configured for the microcontroller. In this way, different software needs to be developed and maintained, with a large usage volume, high cost, and difficult maintenance. Summary of the Utility Model
[0003] Embodiments of the present application provide a controller module and a vehicle.
[0004] The controller module provided by the embodiments of the present application may include a controller, a first measurement circuit, a voltage conversion circuit, and a first identification circuit. Among them, the first measurement circuit is connected to the steering wheel to be identified. The voltage conversion circuit is connected to the controller and the first measurement circuit, and the voltage conversion circuit is configured to convert the pulse width modulation signal output by the controller into a test voltage and provide it to the first measurement circuit. The first identification circuit is connected to the first measurement circuit and identifies the steering wheel to be identified according to the first identification signal generated by the first measurement circuit.
[0005] It can be understood that when a button is pressed in the steering wheel to be identified, the controller first determines the model of the steering wheel to be identified. After the first identification circuit determines the model of the steering wheel to be identified, the processor in the controller can call the software corresponding to the steering wheel to be identified, so that different types of steering wheels share at least some pins, saving the pin utilization efficiency of the controller. The pins of the controller can be set fewer to improve the scalability of the controller.
[0006] In addition, after the first identification circuit determines the model of the steering wheel to be identified, the processor in the controller can call the software that matches the internal call of the steering wheel to be identified according to the model of the steering wheel to be identified. The processor does not need to configure multiple types of software at the same time, reducing the cost of software maintenance.
[0007] In some embodiments, the voltage conversion circuit includes a first input terminal and a first output terminal. The first input terminal is configured to receive the pulse width modulation signal, and the first output terminal is configured to output the test voltage. The first output terminal is connected to the steering wheel to be identified through the first measurement circuit. The steering wheel to be identified includes a first identification resistor, and the first measurement circuit is configured to determine the first identification signal based on the first identification resistor and the test voltage.
[0008] In this way, the first measurement circuit can determine the first identification signal based on the first identification resistor and the test voltage. There is a corresponding relationship between the first identification signal and the first identification resistor, enabling the first identification circuit to identify the steering wheel to be identified.
[0009] In some embodiments, the first measurement circuit includes a first measurement resistor, and the first output terminal is grounded through the first measurement resistor and the first identification resistor.
[0010] In this way, the first measurement resistor and the first identification resistor can form a corresponding voltage division circuit. According to the first identification signal, the voltage division coefficient of the voltage division circuit can be determined, and then the first identification resistor can be determined.
[0011] In some embodiments, the first identification circuit is configured to identify the steering wheel to be identified based on the first identification signal and the duty cycle of the pulse width modulation signal.
[0012] In this way, the first identification circuit can determine the test voltage based on the duty cycle of the pulse width modulation signal, and then identify the steering wheel to be identified.
[0013] In some embodiments, the first identification circuit includes the controller. The controller further includes a voltage identification terminal, which is connected to the first measurement circuit and acquires the voltage value of the first identification signal. The controller is configured to identify the steering wheel to be identified based on the voltage value of the first identification signal and the duty cycle of the pulse width modulation signal.
[0014] In this way, the controller can acquire the voltage value of the first identification signal through the voltage identification terminal, and then identify the steering wheel to be identified.
[0015] In some embodiments, the first identification circuit includes a comparator and the controller, and the controller includes a signal identification terminal. The comparator includes a second input terminal, a third input terminal, and a second output terminal. The second input terminal is configured to receive the first identification signal, the third input terminal is configured to receive a reference voltage, and the second output terminal is connected to the signal identification terminal. When the level of the identification signal output at the second output terminal switches, the controller is configured to identify the steering wheel to be identified according to the voltage value of the reference voltage and the duty cycle of the pulse width modulation signal.
[0016] In this way, the controller can identify the steering wheel to be identified according to the voltage value of the reference voltage and the duty cycle of the pulse width modulation signal when it detects the switching of the identification signal level.
[0017] In some embodiments, the steering wheel to be identified includes a key to be identified, and the controller module includes a second measurement circuit, a first voltage source, and a second identification circuit. The second measurement circuit is connected to the key to be identified. The first voltage source is connected to the second measurement circuit and supplies a first voltage to the second measurement circuit. The second identification circuit is connected to the second measurement circuit, and the second identification circuit identifies the key to be identified according to the second identification signal generated by the second identification circuit.
[0018] In this way, the controller module can realize the function of identifying the key to be identified.
[0019] In some embodiments, the controller module includes a control switch. The first voltage source is connected to the second measurement circuit through the control switch. When the first identification circuit identifies the steering wheel to be identified, the control switch switches from off to on.
[0020] In this way, before the controller module determines the model of the steering wheel to be identified, the control switch is in the off state, avoiding inaccurate determination of the key to be identified caused by the operation of the second identification circuit.
[0021] In some embodiments, the steering wheel to be identified includes a second identification resistor. The first voltage source is connected to the key to be identified through the second measurement circuit and the second identification resistor. The second measurement circuit is configured to determine the second identification signal according to the second identification resistor and the first voltage.
[0022] In this way, there is a corresponding relationship between the second identification signal and the second identification resistor, and the second identification circuit can identify the key to be identified.
[0023] In some embodiments, the second measurement circuit includes a second measurement resistor, and the first voltage source is grounded through the second measurement resistor, the second identification resistor, and the key to be identified.
[0024] Thus, the second measurement resistor and the second identification resistor can form a corresponding voltage division circuit. According to the second identification signal, the voltage division coefficient of the voltage division circuit can be determined, and then the second identification resistor can be determined.
[0025] In some embodiments, the second identification circuit includes the controller, and the controller further includes a voltage identification terminal. The voltage identification terminal is connected to the second measurement circuit and obtains the voltage value of the second identification signal. The controller is configured to identify the key to be identified according to the voltage value of the second identification signal.
[0026] An embodiment of the present application further provides a vehicle, which includes the controller module of the above embodiment.
[0027] An embodiment of the present application discloses a controller module and a vehicle. The controller module may include a controller, a first measurement circuit, a voltage conversion circuit, and a first identification circuit. Among them, the first measurement circuit is connected to the steering wheel to be identified. The voltage conversion circuit is connected to the controller and the first measurement circuit, and the voltage conversion circuit is configured to convert the pulse width modulation signal output by the controller into a test voltage and provide it to the first measurement circuit. The first identification circuit is connected to the first measurement circuit and identifies the steering wheel to be identified according to the first identification signal generated by the first measurement circuit.
[0028] When a key in the steering wheel to be identified is pressed, the controller first determines the model of the steering wheel to be identified. After the first identification circuit determines the model of the steering wheel to be identified, the processor in the controller can call the software corresponding to the steering wheel to be identified, so that different types of steering wheels share at least some pins, saving the pin utilization efficiency of the controller. The pins of the controller can be set fewer to improve the scalability of the controller. After the first identification circuit determines the model of the steering wheel to be identified, the processor in the controller can call the software matched with the model of the steering wheel to be identified according to the internal call of the steering wheel to be identified. The processor does not need to configure multiple types of software at the same time, reducing the cost of software maintenance.
[0029] The additional aspects and advantages of the embodiments of the present application will be partially given in the following description, partially become apparent from the following description, or be understood through the practice of the embodiments of the present application. Description of the Drawings
[0030] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the description of the embodiments in conjunction with the following drawings, where:
[0031] Figure 1 is a schematic diagram of a controller module according to the first embodiment of the present application;
[0032] Figure 2 is a circuit schematic diagram of a first measurement circuit and a voltage conversion circuit according to an embodiment of the present application;
[0033] Figure 3 is a schematic diagram of a first identification circuit according to the first embodiment of the present application;
[0034] Figure 4 is a schematic diagram of a first identification circuit according to the second embodiment of the present application;
[0035] Figure 5 is a circuit schematic diagram of a first identification circuit according to an embodiment of the present application;
[0036] Figure 6 is a schematic diagram of a controller module according to the second embodiment of the present application;
[0037] Figure 7 is a circuit schematic diagram of a first identification circuit and a second identification circuit according to an embodiment of the present application;
[0038] Figure 8 is a schematic diagram of a vehicle according to an embodiment of the present application.
[0039] Main element symbol description:
[0040] Controller 10, voltage identification terminal 11, signal identification terminal 12, first measurement circuit 20, voltage conversion circuit 30, first identification circuit 40, comparator 41, first voltage source 50, second measurement circuit 60, control switch 61, controller module 100, steering wheel to be identified 200, button to be identified 210, vehicle 1000. Detailed embodiments
[0041] The embodiments of the present application will be described in detail below. The examples of the embodiments are shown in the drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described by referring to the drawings below are optional and are only used to explain the embodiments of the present application, and should not be construed as a limitation to the embodiments of the present application.
[0042] Automobiles are equipped with an increasing number of functions, and the types of buttons on the steering wheel are also increasing. As a result, the microcontrollers that cooperate with the steering wheel need to be compatible with different types of steering wheels. In the prior art, a microcontroller with a large number of pins can be used, and corresponding pins are reserved for each type of steering wheel. The controller pre-stores the software for the corresponding steering wheel and calls the corresponding software when the corresponding steering wheel is connected to the pins. However, in this way, the microcontroller with a large number of pins has a high cost and poor scalability. A microcontroller with fewer pins can be used, and at least some pins are shared by different types of steering wheels. When different steering wheels are connected, the corresponding software is configured for the microcontroller. In this case, different software needs to be developed and maintained, resulting in high costs due to large usage, and it is also difficult to maintain.
[0043] Please refer to Figure 1 , an embodiment of the present application provides a controller module 100. The controller module 100 may include a controller 10, a first measurement circuit 20, a voltage conversion circuit 30, and a first identification circuit 40. Among them, the first measurement circuit 20 is connected to the steering wheel 200 to be identified. The voltage conversion circuit 30 is connected to the controller 10 and the first measurement circuit 20, and the voltage conversion circuit 30 is configured to convert the pulse width modulation signal output by the controller 10 into a test voltage and provide it to the first measurement circuit 20. The first identification circuit 40 is connected to the first measurement circuit 20 and identifies the steering wheel 200 to be identified according to the first identification signal generated by the first measurement circuit 20.
[0044] Specifically, the controller 10 may be a microcontroller 10, such as an MCU. The controller 10 may include a processor and a signal output port. The processor may modulate the pulse width modulation signal so that the signal output port can output different pulse width modulation signals.
[0045] The controller 10 may be electrically connected to the voltage conversion circuit 30. The voltage conversion circuit 30 may convert the pulse width modulation signal output by the controller 10 into a test voltage and provide it to the first measurement circuit 20. The first measurement circuit 20 may be connected to the steering wheel 200 to be identified. The first measurement circuit 20 may provide a first identification signal according to the test voltage and the steering wheel 200 to be identified connected. Since the models of the steering wheels 200 to be identified are different, the first identification signals generated by the first measurement circuit 20 are different. The first identification circuit 40 may determine the model of the steering wheel 200 to be identified according to the first identification signal.
[0046] When a button is pressed on the steering wheel 200 to be recognized, the controller 10 first determines the model of the steering wheel 200 to be recognized. After the first identification circuit 40 determines the model of the steering wheel 200 to be recognized, the processor in the controller 10 can call the software corresponding to the steering wheel 200 to be recognized, enabling different types of steering wheels to share at least some pins, saving the pin utilization efficiency of the controller 10. The pins of the controller 10 can be set fewer, so as to improve the scalability of the controller 10.
[0047] In addition, after the first identification circuit 40 determines the model of the steering wheel 200 to be recognized, the processor in the controller 10 can call the software that matches the internal call of the steering wheel 200 to be recognized according to the model of the steering wheel 200 to be recognized. The processor does not need to configure multiple types of software at the same time, reducing the cost of software maintenance.
[0048] In some embodiments, the voltage conversion circuit 30 includes a first input terminal and a first output terminal. The first input terminal is configured to receive a pulse width modulation signal, and the first output terminal is configured to output a test voltage. The first output terminal is connected to the steering wheel 200 to be recognized through the first measurement circuit 20. The steering wheel 200 to be recognized includes a first identification resistor, and the first measurement circuit 20 is configured to determine a first identification signal according to the first identification resistor and the test voltage.
[0049] Specifically, referring to Figure 2 , the voltage conversion circuit 30 may include a resistor element R1 and a capacitor element C1. The first end of the resistor element R1 is connected to the signal terminal PWM, the second end of the resistor element R1 is connected to the first end of the capacitor element C1, and the second end of the capacitor element C1 is grounded.
[0050] The signal terminal PWM can be set as the first input terminal, and the first end of the capacitor element C1 can be set as the first output terminal. The controller 10 can output a pulse modulation signal to the signal terminal PWM, and the pulse modulation signal can charge the capacitor element C1. The voltage at the first end of the capacitor element C1 can be set as the test voltage Ua.
[0051] The first measurement circuit 20 may include a resistor element R2 and a resistor element R3. The steering wheel 200 to be recognized may include a resistor element R4, a resistor element R5, a resistor element R6, a resistor element R7, and a resistor element R8. The first end of the capacitor element C1 can be grounded through the resistor element R2, the resistor element R3, the resistor element R4, the resistor element R5, the resistor element R6, the resistor element R7, and the resistor element R8.
[0052] The first identification resistor can be set as the series resistance Ra of resistor elements R4, R5, R6, R7, and R8. The first end of capacitor element C1 can be connected to the first identification circuit 40 through resistor elements R2 and R3. The first identification signal can be set as the divided voltage of the first identification resistor.
[0053] There is a corresponding relationship between the model of the steering wheel 200 to be identified and the resistance value Ra of the first identification resistor, and there is also a corresponding relationship between the first identification signal and the resistance value Ra of the first identification resistor. Therefore, there is a corresponding relationship between the first identification signal and the model of the steering wheel 200 to be identified, and the first identification circuit 40 can identify the steering wheel 200 to be identified according to the first identification signal.
[0054] In this way, the first measurement circuit 20 can determine the first identification signal according to the first identification resistor and the test voltage. There is a corresponding relationship between the first identification signal and the first identification resistor, so that the first identification circuit 40 can identify the steering wheel 200 to be identified.
[0055] In some embodiments, the first measurement circuit 20 includes a first measurement resistor, and the first output terminal is grounded through the first measurement resistor and the first identification resistor.
[0056] Specifically, the series resistance of resistor elements R2 and R3 can be set as the first measurement resistor Rb. The first end of capacitor element C1 can be grounded through the first measurement resistor Rb and the first identification resistor Ra. The first measurement resistor Rb and the first identification resistor Ra form a corresponding voltage division circuit, and the voltage division coefficient can be set as Ra / (Ra + Rb).
[0057] According to the first identification signal, the voltage division coefficient Ra / (Ra + Rb) can be determined. Since resistor elements R2 and R3 can be set as preset resistors and the first measurement resistor Rb is determined, the first identification resistor Ra can be determined after the voltage division coefficient is determined.
[0058] In this way, the first measurement resistor and the first identification resistor can form a corresponding voltage division circuit. According to the first identification signal, the voltage division coefficient of the voltage division circuit can be determined, and then the first identification resistor can be determined.
[0059] In some embodiments, the first identification circuit 40 is configured to identify the steering wheel 200 to be identified according to the first identification signal and the duty cycle of the pulse width modulation signal.
[0060] Specifically, the voltage value of the first identification signal is Ua*Ra / (Ra + Rb). The test voltage Ua can be determined according to the duty cycle of the pulse modulation signal provided by the controller 10.
[0061] Since the first measurement resistor Rb is determined, the first identification circuit 40 can determine the resistance value of the first identification resistor Ra based on the test voltage Ua and the voltage value Ua*Ra / (Ra + Rb) of the first identification signal, and then determine the model of the steering wheel 200 to be identified.
[0062] For example, the models of the steering wheel 200 to be identified may include model X1, model X2, and model X3. Among them, the resistance value of the first identification resistor corresponding to the steering wheel of model X1 is Ra0 to Ra1, the resistance value of the first identification resistor corresponding to the steering wheel of model X2 is Ra1 to Ra2, and the resistance value of the first identification resistor corresponding to the steering wheel of model X3 is Ra2 to Ra3. The first identification circuit 40 can calculate and determine the resistance value of Ra based on Ua*Ra / (Ra + Rb), and then determine the model of the steering wheel 200 to be identified.
[0063] In this way, the first identification circuit 40 can determine the test voltage according to the duty cycle of the pulse width modulation signal, and then identify the steering wheel 200 to be identified.
[0064] Refer to Figure 3 In some embodiments, the first identification circuit 40 includes a controller 10. The controller 10 further includes a voltage identification terminal 11, and the voltage identification terminal 11 is connected to the first measurement circuit 20 and obtains the voltage value of the first identification signal. The controller 10 is configured to identify the steering wheel 200 to be identified according to the voltage value of the first identification signal and the duty cycle of the pulse width modulation signal.
[0065] Specifically, the controller 10 can be set as the first identification circuit 40 to identify the steering wheel 200 to be identified, reducing the design cost of the circuit. The voltage identification terminal 11 of the controller 10 can be connected between the first measurement circuit 20 and the steering wheel 200 to be identified.
[0066] Since the first measurement resistor Rb is determined, the controller 10 can pre-obtain the first measurement resistor Rb. In addition, the test voltage Ua is determined according to the duty cycle of the pulse modulation signal provided by the controller 10, and the controller 10 can obtain the test voltage Ua in real time.
[0067] The controller 10 can obtain the voltage value Ua*Ra / (Ra + Rb) of the first identification signal, and calculate and determine the resistance value of the first identification resistor Ra based on the first measurement resistor Rb and the test voltage Ua, and then determine the model of the steering wheel 200 to be identified.
[0068] In this way, the controller 10 can obtain the voltage value of the first identification signal through the voltage identification terminal 11, and then identify the steering wheel 200 to be identified.
[0069] Refer to Figure 4, in some embodiments, the first identification circuit 40 includes a comparator 40 and a controller 10. The controller 10 includes a signal identification terminal 12. The comparator 40 includes a second input terminal, a third input terminal, and a second output terminal. The second input terminal is configured to receive a first identification signal, the third input terminal is configured to receive a reference voltage, and the second output terminal is connected to the signal identification terminal 12. When the level of the identification signal output at the second output terminal switches, the controller 10 is configured to identify the steering wheel 200 to be identified according to the voltage value of the reference voltage and the duty cycle of the pulse width modulation signal.
[0070] Specifically, when the controller module 100 accesses the steering wheel 200 to be identified, the controller 10 can continuously modulate the duty cycle of the pulse modulation signal to change the magnitude of the test voltage Ua until a level switch occurs in the comparator 40.
[0071] For example, the controller 10 can initially provide a pulse modulation signal with a default duty cycle. At this time, Ua*Ra / (Ra + Rb) is less than the reference voltage Vref, and the comparator 40 outputs a low level. The controller 10 can continuously modulate the duty cycle of the pulse modulation signal to change the magnitude of the test voltage Ua until Ua*Ra / (Ra + Rb) is greater than or equal to the reference voltage Vref, and the comparator 40 outputs a high level.
[0072] When a level switch occurs in the comparator 40, it can be considered that Ua*Ra / (Ra + Rb) = Vref. The controller 10 can record the duty cycle modulated at this time, determine the test voltage Ua according to the duty cycle, and determine the resistance value of the first identification resistor Ra according to the reference voltage Vref, the test voltage Ua, and the first test resistor Rb, and then determine the model of the steering wheel 200 to be identified.
[0073] In this way, when the controller 10 identifies a level switch of the identification signal, it can identify the steering wheel 200 to be identified according to the voltage value of the reference voltage and the duty cycle of the pulse width modulation signal.
[0074] Referring to Figure 5 , the voltage identification terminal 11 can be set as the signal terminal ADC, and the signal terminal ADC can be connected between the resistor element R3 and the resistor element R4.
[0075] The signal recognition terminal 12 can be set as the signal terminal CP. The comparator 40 includes a comparator U1. The positive input terminal of the comparator U1 can be connected between a resistor element R3 and a resistor element R4. The negative input terminal of the comparator U1 can be connected to a reference voltage source. The reference voltage source can be grounded through a capacitor element C2, and the reference voltage source can provide a reference voltage Vref. The output terminal of the comparator U1 can be grounded through a resistor element R10, and the output terminal of the comparator U1 can also be connected to the signal terminal CP through a resistor element R11. The comparator U1 can output a high level Vcc2 and a low level grounded to the ground.
[0076] When Ua*Ra / (Ra + Rb) is greater than the reference voltage Vref, the comparator U1 can output a high level Vcc2. When Ua*Ra / (Ra + Rb) is less than the reference voltage Vref, the comparator U1 can output a low level grounded to the ground.
[0077] Referring to Figure 6 , in some embodiments, the steering wheel 200 to be recognized includes a button 210 to be recognized. The controller module 100 includes a second measurement circuit 60, a first voltage source 50, and a second recognition circuit. The second measurement circuit 60 is connected to the button 210 to be recognized. The first voltage source 50 is connected to the second measurement circuit 60 and provides a first voltage to the second measurement circuit 60. The second recognition circuit is connected to the second measurement circuit 60, and the second recognition circuit recognizes the button 210 to be recognized according to the second recognition signal generated by the second recognition circuit.
[0078] Specifically, after the first recognition circuit 40 determines the model of the steering wheel 200 to be recognized, the second measurement circuit 60 can provide a second recognition signal according to the first voltage and the pressed button 210 to be recognized. Different buttons 210 to be recognized result in different second recognition signals generated by the second measurement circuit 60, and the second recognition circuit can determine the button 210 to be recognized according to the second recognition signal.
[0079] In this way, the controller module 100 can implement the function of recognizing the button 210 to be recognized.
[0080] In some embodiments, the controller module 100 includes a control switch 61. The first voltage source 50 is connected to the second measurement circuit 60 through the control switch 61. When the first recognition circuit 40 recognizes the steering wheel 200 to be recognized, the control switch 61 switches from off to on.
[0081] Specifically, referring to Figure 7, the first voltage source 50 can be set as the voltage source Vcc1, the second measurement circuit 60 can include the resistor element R9, and the control switch 61 can be set as the transistor Q1. The first pole of the transistor Q1 is connected to the voltage source Vcc1, the second pole of the transistor Q1 is connected to the resistor element R9, and the control pole of the transistor Q1 can be connected to the signal terminal EN, and the controller 10 can provide a control signal to the signal terminal EN.
[0082] Before the first identification circuit 40 determines the model of the steering wheel 200 to be identified, the controller 10 can control the transistor Q1 to be turned off, so that the connection between the voltage source Vcc1 and the resistor element R9 and the steering wheel 200 to be identified is disconnected, avoiding inaccurate determination of the key 210 to be identified caused by the operation of the second identification circuit.
[0083] After the first identification circuit 40 determines the model of the steering wheel 200 to be identified, the controller 10 can control the transistor Q1 to be turned on, so that the voltage source Vcc1 can be connected to the steering wheel 200 to be identified through the resistor element R9, and the second measurement circuit 60 can generate a second identification signal, so that the second identification circuit can determine the key 210 to be identified according to the second identification signal.
[0084] In this way, before the controller module 100 determines the model of the steering wheel 200 to be identified, the control switch 61 is in the off state, avoiding inaccurate determination of the key 210 to be identified caused by the operation of the second identification circuit.
[0085] In some embodiments, the steering wheel 200 to be identified includes a second identification resistor, the first voltage source 50 is connected to the key 210 to be identified through the second measurement circuit 60 and the second identification resistor, and the second measurement circuit 60 is configured to determine the second identification signal according to the second identification resistor and the first voltage.
[0086] Specifically, the key 210 to be identified can include the key S1, the key S2, and the key S3, and the second identification resistor can include the resistor element R4, the resistor element R5, and the resistor element R6. The resistor element R9 can be connected to the key S1 through the resistor element R4, the resistor element R9 can be connected to the key S2 through the resistor element R4 and the resistor element R5, and the resistor element R9 can be connected to the key S3 through the resistor element R4, the resistor element R5, and the resistor element R6. The second identification signal can be set as the divided voltage of the second identification resistor.
[0087] There is a corresponding relationship between the key 210 to be recognized and the resistance value Rc of the second identification resistor. For example, the resistance value of the second identification resistor Rc corresponding to the key S1 is the resistance value of the resistor element R4, the resistance value of the second identification resistor Rc corresponding to the key S2 is the series resistance value of the resistor element R4 and the resistor element R5, and the resistance value of the second identification resistor Rc corresponding to the key S3 is the series resistance value of the resistor element R4, the resistor element R5 and the resistor element R6.
[0088] There is also a corresponding relationship between the second identification signal and the resistance value Rc of the second identification resistor. Therefore, there is a corresponding relationship between the key 210 to be recognized and the second identification signal, and the second identification circuit can identify the key 210 to be recognized according to the second identification signal.
[0089] In this way, there is a corresponding relationship between the second identification signal and the second identification resistor, and the second identification circuit can identify the key 210 to be recognized.
[0090] In some embodiments, the second measurement circuit 60 includes a second measurement resistor, and the first voltage source 50 is grounded through the second measurement resistor, the second identification resistor and the key 210 to be recognized.
[0091] Specifically, the resistance value of the resistor element R9 can be set as the resistance value of the second measurement resistor Rd. The second identification resistor Rc and the second measurement resistor Rd form a corresponding voltage division circuit, and the voltage division coefficient can be set as Rc / (Rc + Rd).
[0092] According to the second identification signal, the voltage division coefficient Rc / (Rc + Rbd) can be determined. Since the resistor element R9 can be set as a preset resistor and the second measurement resistor Rd is determined, the second identification resistor Rc can be determined after the voltage division coefficient is determined.
[0093] In this way, the second measurement resistor and the second identification resistor can form a corresponding voltage division circuit. According to the second identification signal, the voltage division coefficient of the voltage division circuit can be determined, and then the second identification resistor can be determined.
[0094] In some embodiments, the second identification circuit includes a controller 10, and the controller 10 further includes a voltage identification terminal 11. The voltage identification terminal 11 is connected to the second measurement circuit 60 and obtains the voltage value of the second identification signal. The controller 10 is configured to identify the key 210 to be recognized according to the voltage value of the second identification signal.
[0095] Specifically, the first voltage provided by the voltage source Vcc1 can be set to the voltage Ub, and the voltage value of the second identification signal is Ub*Rc / (Rc + Rd). Since the second measurement resistor Rd is determined, the second identification circuit can determine the resistance value of the second identification resistor Rc based on Ub*Rc / (Rc + Rd), the first voltage Ub, and the second measurement resistor Rd, and then determine the key 210 to be identified.
[0096] The controller 10 can be set as the second identification circuit to identify the key 210 to be identified, reducing the design cost of the circuit. The voltage identification terminal 11 of the controller 10 can be connected between the second measurement circuit 60 and the steering wheel 200 to be identified. The voltage value Ub*Rc / (Rc + Rd) of the second identification signal can be obtained, and the resistance value of the second identification resistor Rc can be calculated and determined based on the second measurement resistor Rd and the first voltage Ub, and then the model of the steering wheel 200 to be identified can be determined.
[0097] The voltage identification terminal 11 can obtain the first identification signal or the second identification signal, realizing the pins of the controller 10 and improving the pin utilization rate of the controller 10.
[0098] Specifically, referring to Figure 7 , the voltage identification terminal 11 can be set as the signal terminal ADC. The signal terminal ADC can be connected between the first measurement circuit 20 and the steering wheel 200 to be identified, and the signal terminal ADC can also be connected between the second measurement circuit 60 and the steering wheel 200 to be identified.
[0099] The diode D1 can be connected between the resistor element R3 and the resistor element R4. The anode of the diode D1 is connected to the resistor element R3, and the cathode of the diode D1 is connected to the resistor element R4. The signal terminal ADC and the resistor element R9 can be connected between the resistor element R4 and the diode D1. The diode D1 can prevent the voltage provided by the voltage source Vcc1 from affecting the output of the comparator 40.
[0100] Referring to Figure 8 , the embodiment of the present application further provides a vehicle 1000. The vehicle 1000 includes the controller module 100 of the above embodiment, and the technical effects of the vehicle 1000 include all the technical effects of the controller module 100.
[0101] The controller module 100 can realize the functions of automatically identifying the vehicle model and the key, and uses a hardware circuit to implement the keys of multiple vehicle model configurations.
[0102] In the description of this specification, the descriptions referring to terms such as "certain embodiments", "in one example", "exemplarily", etc. mean that the specific features, structures, materials or characteristics described in connection with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiments or examples. Moreover, the specific features, structures, materials or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0103] Any process or method description shown in a flowchart or described in other ways herein can be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a specific logical function or process. The scope of the preferred embodiments of the present application includes additional implementations, where the functions can be executed in a substantially simultaneous manner or in a reverse order according to the functions involved, not in the order shown or discussed, and this should be understood by those skilled in the art to which the embodiments of the present application belong.
[0104] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are optional and should not be construed as limitations on the present application. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.
Claims
1. A controller module, characterized in that: include: Controller; a first measuring circuit, wherein the first measuring circuit is connected to a steering wheel to be identified; a voltage conversion circuit, the voltage conversion circuit being connected to the controller and the first measurement circuit, the voltage conversion circuit being configured to convert a pulse width modulation signal output by the controller into a test voltage and provide the test voltage to the first measurement circuit; A first identification circuit is connected to the first measurement circuit and identifies the steering wheel to be identified according to a first identification signal generated by the first measurement circuit.
2. The controller module according to claim 1, characterized in that: The voltage conversion circuit comprises a first input terminal and a first output terminal, the first input terminal is configured to receive the pulse width modulation signal, the first output terminal is configured to output the test voltage, and the first output terminal is connected to the steering wheel to be identified through the first measurement circuit; The steering wheel to be identified includes a first identification resistor, and the first measurement circuit is configured to determine the first identification signal according to the first identification resistor and the test voltage.
3. The controller module according to claim 2, characterized in that: The first measuring circuit includes a first measuring resistor, and the first output terminal is grounded through the first measuring resistor and the first identification resistor.
4. The controller module according to claim 1, characterized in that: The first identification circuit is configured to identify the steering wheel to be identified according to the first identification signal and a duty cycle of the pulse width modulation signal.
5. The controller module according to claim 4, characterized in that: The first identification circuit includes a comparator and the controller, the controller includes a signal identification terminal, the comparator includes a second input terminal, a third input terminal and a second output terminal, the second input terminal is configured to receive the first identification signal, the third input terminal is configured to receive a reference voltage, and the second output terminal is connected to the signal identification terminal; In a case where the level of the identification signal outputted from the second output terminal is switched, the controller is configured to identify the steering wheel to be identified according to the voltage value of the reference voltage and the duty cycle of the pulse width modulation signal.
6. The controller module according to claim 4, characterized in that: The first identification circuit includes the controller, and the controller also includes a voltage identification terminal, and the voltage identification terminal is connected to the first measurement circuit and obtains the voltage value of the first identification signal; The controller is configured to identify the steering wheel to be identified according to a voltage value of the first identification signal and a duty cycle of the pulse width modulation signal.
7. The controller module according to claim 1, characterized in that: The steering wheel to be identified includes buttons to be identified, and the controller module includes: a second measuring circuit, the second measuring circuit being connected to the key to be identified; a first voltage source, the first voltage source being connected to the second measurement circuit and providing a first voltage to the second measurement circuit; A second identification circuit, wherein the second identification circuit is connected to the second measurement circuit, and the second identification circuit identifies the key to be identified according to a second identification signal generated by the second identification circuit.
8. The controller module according to claim 7, characterized in that: The controller module includes a control switch, and the first voltage source is connected to the second measurement circuit through the control switch. When the first identification circuit identifies the steering wheel to be identified, the control switch is switched from open to closed.
9. The controller module according to claim 7, characterized in that: The steering wheel to be identified includes a second identification resistor, the first voltage source is connected to the key to be identified through the second measurement circuit and the second identification resistor, and the second measurement circuit is configured to determine the second identification signal based on the second identification resistor and the first voltage.
10. The controller module according to claim 9, characterized in that: The second measuring circuit includes a second measuring resistor, and the first voltage source is grounded through the second measuring resistor, the second identifying resistor and the key to be identified.
11. The controller module according to claim 7, characterized in that: The second identification circuit includes the controller, and the controller also includes a voltage identification terminal, which is connected to the second measurement circuit and obtains the voltage value of the second identification signal. The controller is configured to identify the key to be identified based on the voltage value of the second identification signal.
12. A vehicle, characterized in that: The vehicle comprises a controller module as described in any one of claims 1-11.