Switch detection method, switch detection circuit and vehicle-mounted unit
By using signal interfaces and pull-up resistors in the controller of the on-board unit, combined with the switch detection method of the voltage dividing unit and interrupt mode, the power consumption problem caused by the increase in user functions is solved, and the reliability and low power consumption of switch detection are achieved. combination.
Patent Information
- Application Number
- CN202410579745.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2024-09-03
AI Technical Summary
In the existing technology, with the development of intelligent transportation and electronic non-stop toll collection systems, the increase in user functions of vehicle-mounted units has led to increased power consumption, making it difficult to achieve low power consumption while ensuring reliable detection of switch gear positions.
Design a switch detection method. By setting the signal interface, pull-up resistor and voltage dividing unit in the controller, combined with the preset signal input mode and interrupt mode, the switch gear position can be reliably detected, and the circuit can be optimized during the detection process. structure to reduce power consumption.
While ensuring the reliability of switch detection, it achieves extremely low power consumption and is suitable for high-efficiency and power-saving on-board unit applications.
Smart Images

Figure CN118584318A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of circuit technology, and more specifically to a switch detection method, a switch detection circuit and a vehicle-mounted unit. Background Art
[0002] At present, with the in-depth development of intelligent transportation and electronic toll collection (ETC) vehicle-road collaboration, the user needs of on-board units are becoming more and more abundant. For example, in order to improve the convenience of daily use by users, OBU has opened the ETC transaction switch to users and developed a toggle switch to control ETC transaction ON, transaction OFF, Bluetooth on and other gear functions for users to choose in real time. At present, in order to achieve the above process, it is necessary to add a multi-gear switch, and realize the switching of different functions by switching the gears of the multi-gear switch. As a battery-powered device, the OBU device has relatively high power consumption requirements. The new function has brought new difficulties to the design of the OBU system, that is, how to achieve low power consumption of the device under the premise of ensuring reliable detection of the switch gear. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a switch detection method, a switch detection circuit and a vehicle-mounted unit in view of the technical defect in the prior art that power consumption increases due to new user function requirements.
[0004] The technical solution adopted by the present invention to solve the technical problem is: construct a switch detection method, which is applied to a controller, wherein the controller includes a plurality of signal interfaces for receiving input signals, each signal interface is provided with a corresponding pull-up resistor, and each signal interface is electrically connected to a gear end of a detected switch via a voltage divider unit, and the common end of the detected switch is grounded; the method includes:
[0005] Step S1, setting all signal interfaces to a preset signal input mode, and obtaining the conduction position of the detected switch according to the logic levels of all signal interfaces;
[0006] Step S2, setting the pull-up resistor corresponding to the first signal interface to be turned off and the pull-up resistor corresponding to the second signal interface to be turned on, wherein the first signal interface is a signal interface electrically connected to the on position, and the second signal interface is a signal interface electrically connected to other positions;
[0007] Step S3, configuring the second signal interface to a preset interrupt mode, setting all signal interfaces to a preset signal input mode when a second signal interface is triggered, and obtaining the conduction position of the detected switch according to the logic levels of all signal interfaces;
[0008] Step S4, determining whether the triggered signal interface is electrically connected to the conduction gear, if so, executing step S5, otherwise, executing step S6;
[0009] Step S5, taking the on-position electrically connected to the triggered signal interface as the on-position of the detected switch, and executing step S2;
[0010] Step S6: Determine whether the detected switch is switched abnormally.
[0011] Preferably, in the switch detection method of the present invention, the method further comprises:
[0012] When the controller is initially powered on or reset, executing step S1; or
[0013] After step S6, step S1 is performed.
[0014] Preferably, in the switch detection method of the present invention, in the step S1, setting all signal interfaces to a preset signal input mode, and obtaining the on position of the detected switch according to the logic levels of all signal interfaces; comprising:
[0015] Set all signal interfaces to general IO input mode and set the pull-up resistors of all signal interfaces to be turned on;
[0016] The logic levels corresponding to the signal interfaces are respectively acquired, and the conduction position of the detected switch is acquired according to the logic levels.
[0017] Preferably, in the switch detection method of the present invention, in step S3, configuring the second signal interface to a preset interrupt mode includes:
[0018] The second signal interface is configured as a falling edge input interrupt mode.
[0019] Preferably, in the switch detection method of the present invention, in step S3, setting all signal interfaces to a preset signal input mode and obtaining the on position of the detected switch according to the logic levels of all signal interfaces includes:
[0020] Set all signal interfaces to general IO input mode and set the pull-up resistors of all signal interfaces to be turned on;
[0021] The logic levels corresponding to the signal interfaces are respectively acquired, and the conduction position of the detected switch is acquired according to the logic levels.
[0022] The present invention also constructs a switch detection circuit, including a controller and a plurality of voltage dividing units, wherein the controller includes a plurality of signal interfaces for receiving input signals, each signal interface is provided with a corresponding pull-up resistor, and each signal interface is electrically connected to a gear end of a detected switch via a voltage dividing unit, and the common end of the detected switch is grounded, wherein the controller is used to execute any of the methods described above.
[0023] Preferably, the switch detection circuit of the present invention further comprises a plurality of filter units corresponding one-to-one to the signal interfaces;
[0024] The first end of the filter unit is connected to the corresponding signal interface, and the second end of the filter unit is grounded.
[0025] The present invention also constructs a vehicle-mounted unit, comprising a switch unit, a functional module corresponding to the switch unit, and the switch detection circuit as described above;
[0026] Among them, the switch unit is the detected switch; the controller controls the functional module to perform corresponding actions according to the gear state of the switch unit.
[0027] Preferably, in the vehicle-mounted unit of the present invention, the switch unit comprises:
[0028] A first gear state for triggering the activation of the transaction function of the vehicle-mounted unit;
[0029] A second gear state for triggering the closing of the transaction function of the on-board unit;
[0030] The third gear state is used to trigger the Bluetooth function of the vehicle-mounted unit to be turned on.
[0031] Preferably, the vehicle-mounted unit of the present invention further includes a voice module;
[0032] The controller also controls the voice module to generate corresponding prompt information according to the gear state of the switch unit.
[0033] A switch detection method, a switch detection circuit and a vehicle-mounted unit implementing the present invention have the following beneficial effects: extremely low power consumption is achieved while ensuring the reliability of switch detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0035] Figure 1 is a program flow chart of an embodiment of a switch detection method of the present invention;
[0036] Figure 2is a program flow chart of another embodiment of a switch detection method of the present invention;
[0037] Figure 3 It is a logic block diagram of an embodiment of a switch detection circuit of the present invention. DETAILED DESCRIPTION
[0038] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.
[0039] like Figure 1 As shown, an embodiment of a switch detection method of the present invention is shown. The method is applied to a controller. The controller includes a plurality of signal interfaces for receiving input signals, each signal interface is provided with a corresponding pull-up resistor, and each signal interface is electrically connected to a gear end of the detected switch via a voltage divider unit, and the common end of the detected switch is grounded. Figure 3 As shown, the signal interface of the controller includes but is not limited to the GPIO port of the controller. The controller receives an external input signal through the signal interface of the controller, judges the state of the external circuit according to the external input signal, and can generate a corresponding control signal to perform a corresponding control operation when necessary. Inside the controller, each signal interface is provided with a corresponding pull-up resistor. Wherein, when the signal interface is a GPIO port, the pull-up resistor of the signal interface is a pull-up resistor configured for the GPIO port. Each signal interface of the controller is connected to a gear end of the detected switch through a voltage divider unit, so that the signal interface is electrically connected to the corresponding gear end of the detected switch. Switching the gear end of the detected switch makes the gear end of the detected switch and the common end of the detected switch turned on or off. When a gear end of the detected switch is turned on with the common end of the detected switch, it means that the current gear is the on gear of the detected switch. The common end of the detected switch is connected to the ground. In one embodiment, it can be understood that the common end of the detected switch is connected to the negative power supply electrode of the controller, such as the negative electrode of the battery.
[0040] exist Figure 1In one embodiment of a switch detection method of the present invention shown, a switch detection method of the present invention includes: step S1, setting all signal interfaces to a preset signal input mode, and obtaining the on-position of the detected switch according to the logic levels of all signal interfaces; step S2, setting the pull-up resistor corresponding to the first signal interface to be turned off and the pull-up resistor corresponding to the second signal interface to be turned on, wherein the first signal interface is a signal interface electrically connected to the on-position, and the second signal interface is a signal interface electrically connected to other positions; step S3, configuring the second signal interface to a preset interrupt mode, and when the second signal interface is triggered, setting the signal interface to a preset signal input mode, and obtaining the on-position of the detected switch according to the logic level of the signal interface; step S4, judging whether the triggered signal interface is electrically connected to the on-position, if so, executing step S5, otherwise, executing step S6; step S5, taking the on-position electrically connected to the triggered signal interface as the on-position of the detected switch, and executing step S2; step S6, judging whether the switching of the detected switch is abnormal.
[0041] Based on step S1, when performing switch detection, the initial state of the detected switch is first judged, that is, the current conduction state of the detected switch is obtained. The specific process can be: all signal interfaces are set to the preset signal input mode by the controller, and the controller obtains the logic level of each signal interface in turn, and judges which signal interface corresponds to the detected switch gear end in the grounding state at this time according to the logic level of all signal interfaces, that is, the detected switch gear end corresponding to the signal interface can be obtained to be in the conduction state, and finally the conduction gear of the detected switch is obtained. In a specific embodiment, it includes but is not limited to performing this step when the controller is initially powered on or reset. In an embodiment, a trigger signal can also be generated by the controller or the controller performs this step according to the received external trigger signal. In this embodiment, all signal interfaces are signal interfaces that are electrically connected to the detected switch. When the controller obtains the current conduction gear of the detected switch, the controller outputs a controller signal according to the corresponding relationship set by the software to control the corresponding circuit or module to perform an action to realize the function corresponding to the gear. It can be understood that the controller performs the gear function operation according to the conduction gear. In addition, the logic level of the signal interface can be obtained according to the input level of the signal interface and the circuit characteristics. For example, in a 3.3V power supply circuit, the input level range corresponding to logic level 0 is 0-0.8V, and the input level range corresponding to logic level 1 is 2.0-3.3V. For other power supply voltages such as 5V, the corresponding relationship between the logic level of the signal interface and the input level of the signal interface is different.
[0042] Optionally, in step S1, all signal interfaces are set to a preset signal input mode, and the conduction position of the detected switch is obtained according to the logic level of all signal interfaces; including: setting all signal interfaces to a general IO input mode, and setting the pull-up resistors of all signal interfaces to be turned on; respectively obtaining the logic levels corresponding to the signal interfaces, and obtaining the conduction position of the detected switch according to the logic levels. In the specific process of obtaining the initial state of the detected switch, all signal interfaces of the controller are first set to a general IO input mode, and at the same time, the pull-up resistors of all signal interfaces are set to be turned on with the signal interface. At this time, when the position corresponding to the signal interface is turned on, the power supply of the pull-up resistor inside the controller forms a voltage division at the signal interface through the pull-up resistor and the voltage divider unit, so that the logic level of the current signal interface is a low level. When the position corresponding to the signal interface is not turned on, the pull-up resistor inside the controller directly raises the logic level of the current signal interface to a high level. Therefore, the signal interface corresponding to the conduction position of the detected switch can be judged by the high and low logic levels, and conversely, the conduction position of the detected switch can be obtained by the logic level of the signal interface.
[0043] Based on step S2, after obtaining the on position of the detected switch, the pull-up resistor corresponding to the signal interface electrically connected to the on position, i.e., the first signal interface, can be set to be disconnected from the first signal interface to prevent extra power consumption. At the same time, the pull-up resistor corresponding to the signal interface electrically connected to the other positions, i.e., the second signal interface, is set to be connected to the second signal interface, so that the logic level of the second signal interface is stably maintained at a high level. At this time, the detection circuit does not generate extra power consumption.
[0044] Based on steps S3, S4, S5 and S6, the second signal interface is configured to be in a preset interrupt mode so that the second signal interface is ready for interrupt detection, so as to determine whether the second signal interface is triggered according to the input signal of the second signal interface. Among them, when the second signal interface is triggered, the second signal interface triggers an interrupt. During the operation of the controller, at a certain moment, only one second signal interface will be triggered. When a second signal interface is triggered, all signal interfaces are set to the preset signal input mode by the controller, and the controller sequentially obtains the logic level of each signal interface, and determines which signal interface corresponds to the gear end of the detected switch in the grounding state according to the logic level of all signal interfaces at this time. After obtaining the signal interface, it is confirmed whether the signal interface is a triggered signal interface. If the signal interface is a triggered signal interface, it means that the triggered signal interface corresponds to the on-shift position of the detected switch, and the gear switching process is valid. The on-shift position corresponding to the triggered signal interface is the on-shift position of the detected switch, and the above step S2 is executed. At the same time, the controller outputs a corresponding control signal according to the detection result that the on-shift position is the detected switch. When the signal interface is not a triggered signal interface, it means that the triggered signal interface does not correspond to the on-position of the detected switch, and the position switching process is invalid. At this time, it can be determined that an abnormality occurs in the switching process of the detected switch, and further corresponding abnormal prompt information can be generated. It should be noted that in the execution step S3, even if the on-position of the detected switch is obtained, the controller does not perform the corresponding position function operation, which is equivalent to obtaining a possible on-position of the detected switch. Only in the final step S5, after determining that the switching is valid and obtaining the final on-position, the corresponding position function operation is performed.
[0045] like Figure 2 As shown, in one embodiment, when it is determined that the detected switch is switched abnormally, the state of the detected switch can be re-judged. That is, the current on-position of the detected switch is judged based on step S1. Through this process, it can be identified that the switch is unsuccessful or the switch is misplaced, so as to ensure that the final state of the detected switch is accurately detected. At the same time, the controller performs corresponding operations according to the detection result.
[0046] Based on the above process, even if the switch being detected is a small toggle switch with a very short gear travel, it can be quickly detected during the rapid toggle process of the switch to ensure that the controller is awakened in time to start the business function corresponding to the new conduction gear. At the same time, even if the toggle switch is turned too far during the rapid toggle process, and briefly touches other gears when it is dialed into a certain gear, the action of the toggle switch can be detected quickly and accurately. Moreover, through the above process, when the device enters the dormant power saving state, the action event of the toggle switch can be identified and the device can be awakened to enter the normal working mode, which can realize the rapid and accurate detection of switching between different gears of the toggle switch, and achieve extremely low power consumption.
[0047] Optionally, in step S3, all signal interfaces are set to a preset signal input mode, and the conduction gear of the detected switch is obtained according to the logic level of all signal interfaces, including: setting all signal interfaces to a general IO input mode, and setting the pull-up resistors of all signal interfaces to be turned on; respectively obtaining the logic levels corresponding to the signal interfaces, and obtaining the conduction gear of the detected switch according to the logic levels. That is, the specific process of obtaining the conduction state after the detected switch is switched can be to set all signal interfaces of the controller to a general IO input mode, and at the same time set the pull-up resistors of all signal interfaces to be turned on with the corresponding signal interface. At this time, when the gear corresponding to the signal interface is turned on, the power supply of the pull-up resistor inside the controller forms a voltage division at the signal interface through the pull-up resistor and the voltage divider unit, so that the logic level of the current signal interface is a low level. When the gear corresponding to the signal interface is not turned on, the pull-up resistor inside the controller directly raises the logic level of the current signal interface to a high level. Therefore, the signal interface corresponding to the conduction gear of the detected switch can be judged by the height of the logic level. Finally, the corresponding relationship between the signal interface and the conduction gear of the detected switch is obtained. That is, it can be determined whether the signal interface or the on-position of the detected switch corresponds to the triggered signal interface to determine whether the position switching process of the detected switch is valid.
[0048] Optionally, in step S3, configuring the second signal interface to a preset interrupt mode includes: configuring the second signal interface to a falling edge input interrupt mode. That is, by configuring all second signal interfaces to a falling edge input interrupt mode, interrupt detection preparations can be made. When at a certain moment, an event occurs in which the detected switch switches to a conduction position, the corresponding signal interface will generate a stable and effective falling edge triggering the controller to perform an event interrupt, so as to operate according to the switched conduction position, such as triggering the controller to wake up from sleep and perform operations corresponding to the conduction position.
[0049] like Figure 3As shown, a switch detection circuit of the present invention includes a controller 110 and a plurality of voltage divider units 120, the controller 110 includes a plurality of signal interfaces for receiving input signals, each signal interface is provided with a corresponding pull-up resistor, and each signal interface is electrically connected to a gear end of the detected switch 200 through a voltage divider unit 120, and the common end of the detected switch 200 is grounded, wherein the controller 110 is used to execute the above method. The signal interface of the controller includes but is not limited to the GPIO port of the controller. The controller receives an external input signal through the signal interface of the controller, judges the state of the external circuit according to the external input signal, and can generate a corresponding control signal to perform a corresponding operation when necessary. Inside the controller, each signal interface is provided with a corresponding pull-up resistor. Wherein, when the signal interface is a GPIO port, the pull-up resistor of the signal interface is directly a pull-up resistor configured for the GPIO port. Each signal interface of the controller is connected to a gear end of the detected switch through a corresponding voltage divider unit. Switching the gear end of the detected switch makes the gear end of the detected switch and the common end of the detected switch conductive or disconnected. When a gear end of the detected switch is connected to the common end of the detected switch, it means that the current gear is the on-gear position of the detected switch. Among them, the controller realizes the detection process of the on-gear position of the detected switch by executing the above process. The controller can also perform corresponding operations according to the detection results. In one embodiment, the voltage dividing unit can be a voltage dividing resistor, and its resistance value can be selected according to the pull-up resistor corresponding to the signal interface of the controller. When the resistance value of the pull-up resistor is 50KΩ, the resistance value of the voltage dividing resistor can be selected as 1KΩ. The common end of the detected switch is connected to the ground. In one embodiment, it can be understood that the common end of the detected switch is connected to the negative pole of the power supply unit 300 of the controller, such as the negative pole of the battery.
[0050] Furthermore, a switch detection circuit of the present invention further includes a plurality of filter units 130 corresponding to the signal interfaces one by one; the first end of the filter unit 130 is connected to the corresponding signal interface, and the second end of the filter unit is grounded. Specifically, the input signal of the signal interface can be de-jittered by the filter unit 130. The filter unit can be composed of a capacitor.
[0051] In addition, a vehicle-mounted unit of the present invention includes a switch unit, a functional module corresponding to the switch unit, and a switch detection circuit as described above; wherein the switch unit is a detected switch; and the controller controls the functional module to perform corresponding actions according to the gear state of the switch unit. That is, in the vehicle-mounted unit, the switch unit serves as the detected switch of the switch detection circuit, and the gear state of the switch unit is detected by the switch detection circuit, and a corresponding control signal is generated to control the functional module to perform corresponding actions. For example, when the switch unit is in a certain gear state, the controller controls the functional module to enter a specific working state.
[0052] In one embodiment, in the vehicle-mounted unit of the present invention, the switch unit includes a first gear state for triggering the on-board unit transaction function to be turned on; a second gear state for triggering the on-board unit transaction function to be turned off; and a third gear state for triggering the on-board unit Bluetooth function to be turned on. The action performed by the functional module corresponds to the switch unit. When the switch unit is in the first gear, the controller controls the functional module to turn on the vehicle-mounted unit transaction function; when the switch unit is in the second gear, the controller controls the functional module to turn off the vehicle-mounted unit transaction function; when the switch unit is in the third gear, the controller controls the functional module to turn on the vehicle-mounted unit Bluetooth function. That is, the controller triggers the functional module to perform corresponding actions according to the gear state of the switch unit.
[0053] Furthermore, in a vehicle-mounted unit of the present invention, a voice module is also included; the controller also controls the voice module to generate corresponding prompt information according to the gear state of the switch unit. That is, when the switch unit switches to the on-gear position, a prompt sound is generated to prompt the function triggered by the vehicle-mounted unit, which can also be understood as an action performed by the prompt function module. For example, based on the above, when the switch unit is switched to the first gear state, a prompt sound is generated to prompt that the transaction function of the vehicle-mounted unit is turned on; when the switch unit is switched to the second gear state, a prompt sound is generated to prompt that the transaction function of the vehicle-mounted unit is turned off; when the switch unit is switched to the third gear state, a prompt sound is generated to prompt that the Bluetooth function of the vehicle-mounted unit is turned on.
[0054] In addition, the voice module can also generate a corresponding prompt tone when determining that the detected switch is switched abnormally.
[0055] It can be understood that the above embodiments only express the preferred implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the patent scope of the present invention. It should be pointed out that, for ordinary technicians in this field, the above technical features can be freely combined without departing from the concept of the present invention, and several deformations and improvements can be made, which all belong to the protection scope of the present invention. Therefore, all equivalent changes and modifications made to the scope of the claims of the present invention should belong to the coverage of the claims of the present invention.
Claims
1. A switch detection method, characterized in that: Applied to a controller, wherein the controller includes a plurality of signal interfaces for receiving input signals, each signal interface is provided with a corresponding pull-up resistor, and each signal interface is electrically connected to a gear end of a detected switch via a voltage divider unit, and the common end of the detected switch is grounded; the method includes: Step S1, setting all signal interfaces to a preset signal input mode, and obtaining the conduction position of the detected switch according to the logic levels of all signal interfaces; Step S2, setting the pull-up resistor corresponding to the first signal interface to be turned off and the pull-up resistor corresponding to the second signal interface to be turned on, wherein the first signal interface is a signal interface electrically connected to the on position, and the second signal interface is a signal interface electrically connected to other positions; Step S3, configuring the second signal interface to a preset interrupt mode, setting all signal interfaces to a preset signal input mode when a second signal interface is triggered, and obtaining the conduction position of the detected switch according to the logic levels of all signal interfaces; Step S4, determining whether the triggered signal interface is electrically connected to the conduction gear, if so, executing step S5, otherwise, executing step S6; Step S5, taking the on-position electrically connected to the triggered signal interface as the on-position of the detected switch, and executing step S2; Step S6: Determine whether the detected switch is switched abnormally.
2. The switch detection method according to claim 1, characterized in that: The method further comprises: When the controller is initially powered on or reset, executing step S1; or After step S6, step S1 is performed.
3. The switch detection method according to claim 1, characterized in that: In the step S1, all signal interfaces are set to a preset signal input mode, and the conduction position of the detected switch is obtained according to the logic level of all signal interfaces; including: Set all signal interfaces to general IO input mode and set the pull-up resistors of all signal interfaces to be turned on; The logic levels corresponding to the signal interfaces are respectively acquired, and the conduction position of the detected switch is acquired according to the logic levels.
4. The switch detection method according to claim 1, characterized in that: In the step S3, configuring the second signal interface to a preset interrupt mode includes: The second signal interface is configured as a falling edge input interrupt mode.
5. The switch detection method according to claim 1, characterized in that: In step S3, setting all signal interfaces to a preset signal input mode and obtaining the on position of the detected switch according to the logic levels of all signal interfaces includes: Set all signal interfaces to general IO input mode and set the pull-up resistors of all signal interfaces to be turned on; The logic levels corresponding to the signal interfaces are respectively acquired, and the conduction position of the detected switch is acquired according to the logic levels.
6. A switch detection circuit, characterized in that: It includes a controller and a plurality of voltage-dividing units, wherein the controller includes a plurality of signal interfaces for receiving input signals, each signal interface is provided with a corresponding pull-up resistor, and each signal interface is electrically connected to a gear end of a detected switch via a voltage-dividing unit, and the common end of the detected switch is grounded, wherein the controller is used to execute the method as claimed in any one of claims 1 to 5.
7. The switch detection circuit according to claim 6, characterized in that: It also includes a plurality of filter units corresponding one to one with the signal interfaces; The first end of the filter unit is connected to the corresponding signal interface, and the second end of the filter unit is grounded.
8. A vehicle-mounted unit, characterized in that: It comprises a switch unit, a functional module corresponding to the switch unit, and a switch detection circuit as claimed in claim 6 or 7; Among them, the switch unit is the detected switch; the controller controls the functional module to perform corresponding actions according to the gear state of the switch unit.
9. The vehicle-mounted unit according to claim 8, characterized in that: The switch unit comprises: A first gear state for triggering the activation of the on-board unit transaction function; A second gear state for triggering the closing of the transaction function of the on-board unit; The third gear state is used to trigger the Bluetooth function of the vehicle-mounted unit to be turned on.
10. The vehicle-mounted unit according to claim 8, characterized in that: Also includes voice module; The controller also controls the voice module to generate corresponding prompt information according to the gear state of the switch unit.
