Power supply control circuit, circuit board, and point-of-sale terminal
By introducing expansion chips and control units into the POS machine, the camera module is restarted and powered off, which solves the camera module crash problem and improves the battery life of the POS machine.
Patent Information
- Application Number
- CN202422004201.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2034-08-16
AI Technical Summary
The camera module in the existing POS machine cannot be turned off separately, which is prone to crash and cannot be restarted separately, resulting in a long restart time, increasing power consumption and reducing battery life.
By introducing expansion chips and control units into the POS machine, the power supply of the camera module is controlled by using the data transmission between the main control chip and the expansion chip to realize the separate restart and power outage of the camera module to avoid restarting the entire machine.
It realizes rapid restart and power outage of the camera module, reduces the power consumption of the POS machine and ensures the battery life of the POS machine.
Smart Images

Figure CN223155384U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of power control of point-of-sale terminals, and particularly relates to a power control circuit, a circuit board, and a point-of-sale terminal. Background Art
[0002] A point-of-sale (POS) terminal is an electronic device that, during the sales process, realizes the transaction settlement process between merchants and consumers through computer technology and communication technology. Some POS machines are equipped with a camera module for face recognition payment.
[0003] In related technologies, for a POS machine equipped with a camera module, usually when the POS machine is turned on, the camera module also automatically turns on and cannot be turned off separately. Moreover, the camera module is prone to crashing due to external interference. At this time, the camera module cannot be restarted separately, and the POS machine needs to be restarted to make the camera module return to normal. The time to restart the POS machine is relatively long. Summary of the Utility Model
[0004] This application aims to solve at least one of the technical problems existing in the prior art. For this purpose, this application provides a power control circuit, a circuit board, and a point-of-sale terminal that can separately turn off the camera module and do not require restarting the point-of-sale terminal when the camera module fails.
[0005] The power control circuit according to the first aspect embodiment of this application is applied to a point-of-sale terminal, and the point-of-sale terminal is provided with a main control chip;
[0006] The power control circuit includes:
[0007] A camera module;
[0008] An expansion chip, the first input end of the expansion chip is used to connect to the serial data line end of the main control chip, the second input end of the expansion chip is used to connect to the serial clock line end of the main control chip, and the first signal output end and the second signal output end of the expansion chip are respectively connected to the camera module;
[0009] A control unit, the control end of the control unit is connected to the control signal output end of the expansion chip, the first end of the control unit is used to connect to the voltage output end of the main control chip, the second end of the control unit is connected to the voltage input end of the camera module, and the control unit is used to make the first end and the second end conduct or cut off based on the signal at the control signal output end.
[0010] The power control circuit according to the embodiments of the present application has at least the following beneficial effects: Since the first input end of the expansion chip is used to connect to the serial data line end of the main control chip, and the second input end of the expansion chip is used to connect to the serial clock line end of the main control chip, the main control chip can transmit data with the expansion chip. And the first signal output end and the second signal output end of the expansion chip are respectively connected to the camera module, so the main control chip can control the camera module through the expansion chip. Since the control end of the control unit is connected to the control signal output end of the expansion chip, the first end of the control unit is used to connect to the voltage output end of the main control chip, and the second end of the control unit is connected to the voltage input end of the camera module. Therefore, when the camera module fails, the main control chip controls the control signal output by the expansion chip to make the connection between the first end and the second end cut off, which is equivalent to cutting off the power supply of the camera module. Then the main control chip controls the control signal output by the expansion chip again to make the connection between the first end and the second end conduct, realizing the re-power-on of the camera module, that is, realizing the restart of the camera module to make the camera module return to normal. This process does not require restarting the point-of-sale terminal, so the restart time is relatively short. And when the function of the camera module is not needed, the main control chip controls the control signal output by the expansion chip to make the connection between the first end and the second end cut off, realizing the power-off of the camera module, which can reduce the power consumption of the point-of-sale terminal to ensure the battery life of the point-of-sale terminal.
[0011] According to some embodiments of the present application, it further includes a first button unit, and the first button unit is used to connect to the main control chip. The first button unit is used to send a first control signal to the main control chip when triggered, so that the signal at the control signal output end of the expansion chip makes the connection between the first end and the second end conduct.
[0012] According to some embodiments of the present application, it further includes a second button unit, and the second button unit is used to connect to the main control chip. The second button unit is used to send a second control signal to the main control chip when triggered, so that the signal at the control signal output end of the expansion chip makes the connection between the first end and the second end cut off.
[0013] According to some embodiments of the present application, the camera module is provided with a red light control end, and the first signal output end of the expansion chip is connected to the red light control end.
[0014] According to some embodiments of the present application, the camera module is provided with a white light control end, and the second signal output end of the expansion chip is connected to the white light control end.
[0015] According to some embodiments of the present application, the control unit is a field effect transistor, the source electrode of the field effect transistor serves as the first end of the control unit; the drain electrode of the field effect transistor serves as the second end of the control unit; the gate electrode of the field effect transistor serves as the control end of the control unit.
[0016] According to some embodiments of the present application, the camera module is provided with a positive data line terminal, and the positive data line terminal is used to connect to the main control chip.
[0017] According to some embodiments of the present application, the camera module is provided with a negative data line terminal, and the negative data line terminal is used to connect to the main control chip.
[0018] An embodiment of the second aspect of the present application provides a circuit board, including the power control circuit according to any one of the embodiments of the first aspect of the present application.
[0019] An embodiment of the third aspect of the present application provides a point-of-sale terminal, including the circuit board according to the embodiment of the second aspect of the present application.
[0020] The additional aspects and advantages of the present application will be given in part in the following description, will become apparent in part from the following description, or will be understood through the practice of the present application. Description of the Drawings
[0021] The following further describes the present application in conjunction with the drawings and embodiments, where:
[0022] Figure 1 It is a schematic circuit diagram of the power control circuit according to the embodiment of the present application.
[0023] Reference Signs:
[0024] Main control chip 100; Expansion chip 200; Control unit 300; Camera module 400; First button unit 500; Second button unit 600. Detailed Embodiments
[0025] The following details the embodiments of the present application. The examples of the embodiments are shown in the drawings, where the same or similar reference numerals represent the same or similar elements or elements with the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary and are only used to explain the present application and should not be construed as a limitation of the present application.
[0026] In the description of the present application, it should be understood that for the orientation description, such as the orientation or positional relationship indicated by up, down, front, back, left, right, etc., it is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the present application.
[0027] In the description of the present application, the meaning of several is more than one, the meaning of multiple is more than two. Understandings such as greater than, less than, exceeding, etc. do not include the original number, and understandings such as above, below, within, etc. include the original number. If there is a description of first and second, it is only for the purpose of distinguishing technical features and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features or implicitly indicating the sequence relationship of the indicated technical features.
[0028] In the description of the present application, unless otherwise clearly defined, words such as setting, installing, connecting, etc. should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meaning of the above words in the present application in combination with the specific content of the technical solution.
[0029] In the description of the present application, the description with reference to terms such as "one embodiment", "some embodiments", "schematic embodiments", "examples", "specific examples", or "some examples", etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0030] Some POS machines are equipped with a camera module for face recognition payment. In the related art, for a sales point terminal equipped with a camera module, usually when the sales point terminal is turned on, the camera module is also automatically turned on and cannot be turned off separately. Moreover, the camera module is prone to crashing due to external interference. At this time, the camera module cannot be restarted separately, and the sales point terminal needs to be restarted to make the camera module return to normal, and the time to restart the sales point terminal is relatively long. In addition, since the camera module cannot be turned off separately, the camera module remains on even when the camera function is not needed, which will increase the power consumption of the sales point terminal and thus reduce the battery life of the sales point terminal.
[0031] Based on this, the embodiments of the present application propose a power control circuit, a circuit board and a sales point terminal, which can turn off the camera module separately, do not need to restart the sales point terminal when the camera module fails, and can reduce the power consumption of the sales point terminal, thereby ensuring the battery life of the sales point terminal.
[0032] Reference Figure 1 , Figure 1 is a schematic circuit diagram of the power control circuit according to the embodiment of the first aspect of the present application. Figure 1 The illustrated power control circuit is applied to a point-of-sale terminal, and the point-of-sale terminal is provided with a main control chip 100;
[0033] The power control circuit includes:
[0034] a camera module 400;
[0035] an expansion chip 200, a first input end of the expansion chip 200 is used for connecting to the serial data line end of the main control chip 100, a second input end of the expansion chip 200 is used for connecting to the serial clock line end of the main control chip 100, and a first signal output end and a second signal output end of the expansion chip 200 are respectively connected to the camera module 400;
[0036] a control unit 300, a control end of the control unit 300 is connected to the control signal output end of the expansion chip 200, a first end of the control unit 300 is used for connecting to the voltage output end of the main control chip 100, a second end of the control unit 300 is connected to the voltage input end of the camera module 400, and the control unit 300 is configured to conduct or cut off between the first end and the second end based on the signal at the control signal output end.
[0037] In the power control circuit according to the embodiment of the present application, since the first input terminal of the expansion chip 200 is used to connect to the serial data line terminal of the main control chip 100, and the second input terminal of the expansion chip 200 is used to connect to the serial clock line terminal of the main control chip 100, the main control chip 100 can perform data transmission with the expansion chip 200. And the first signal output terminal and the second signal output terminal of the expansion chip 200 are respectively connected to the camera module 400. Therefore, the main control chip 100 can control the camera module 400 through the expansion chip 200. Since the control terminal of the control unit 300 is connected to the control signal output terminal of the expansion chip 200, the first terminal of the control unit 300 is used to connect to the voltage output terminal of the main control chip 100, and the second terminal of the control unit 300 is connected to the voltage input terminal of the camera module 400. Therefore, when the camera module 400 fails, the main control chip 100 controls the control signal output by the expansion chip 200 to cut off between the first terminal and the second terminal, which is equivalent to cutting off the power supply of the camera module 400. Then, the main control chip 100 controls the control signal output by the expansion chip 200 to make the first terminal and the second terminal conduct, realizing the re-power-on of the camera module 400, that is, realizing the restart of the camera module 400 to make the camera module 400 return to normal. This process does not require restarting the point-of-sale terminal, so the restart time is relatively short. And when the function of the camera module 400 is not needed, the main control chip 100 controls the control signal output by the expansion chip 200 to cut off between the first terminal and the second terminal, realizing the power-off of the camera module 400, which can reduce the power consumption of the point-of-sale terminal to ensure the battery life of the point-of-sale terminal.
[0038] It should be noted that the first input terminal of the expansion chip 200 is used to connect to the serial data line terminal of the main control chip 100, and the second input terminal of the expansion chip 200 is used to connect to the serial clock line terminal of the main control chip 100; in the main control chip 100, the serial data line terminal and the serial clock line terminal are ordinary IO ports. The main control chip 100 multiplexes the ordinary IO ports into an SDA port (serial data line) and an SCL port (serial clock line), thereby realizing I2C communication to realize IO port expansion and controlling the output signals of the first signal output terminal, the second signal output terminal, and the control signal output terminal in the expansion chip 200.
[0039] It should be noted that in Figure 1Among them, the GPIOA terminal is the control signal output terminal; GPIOB is the first signal output terminal; GPIOC is the second signal output terminal; the MCU represents the main control chip 100; the SDA line represents the connection line between the serial data line terminal of the main control chip 100 and the first input terminal of the expansion chip 200. The SCL line represents the connection line between the serial clock line of the main control chip 100 and the second input terminal of the expansion chip 200. The VCC terminal is the voltage output terminal of the main control chip 100. The VDD terminal is the voltage input terminal of the camera module 400.
[0040] It should be noted that the expansion chip 200 is also connected to the voltage output terminal of the main control chip 100 for powering the expansion chip 200. The expansion chip 200 can use a chip with the model GXA535.
[0041] In one embodiment, referring to Figure 1 , the power control circuit further includes a first button unit 500. The first button unit 500 is used to connect to the main control chip 100. The first button unit 500 is used to send a first control signal to the main control chip 100 when triggered, so that the signal at the control signal output terminal of the expansion chip 200 conducts between the first end and the second end.
[0042] Exemplarily, when the first button unit 500 is triggered, it sends a first control signal INT1 to the main control chip 100. After receiving the INT1 signal, the main control chip 100 makes the signal at the control signal output terminal of the expansion chip 200 a high-level signal, thereby conducting between the first end and the second end of the control unit 300, and thus turning on the camera module 400.
[0043] In one embodiment, referring to Figure 1 , the power control circuit further includes a second button unit 600. The second button unit 600 is used to connect to the main control chip 100. The second button unit 600 is used to send a second control signal to the main control chip 100 when triggered, so that the signal at the control signal output terminal of the expansion chip 200 cuts off between the first end and the second end.
[0044] Exemplarily, when the second button unit 600 is triggered, it sends a second control signal INT2 to the main control chip 100. After receiving the INT2 signal, the main control chip 100 makes the signal at the control signal output terminal of the expansion chip 200 a low-level signal, thereby cutting off between the first end and the second end of the control unit 300, and thus powering off the camera module 400.
[0045] In one embodiment, the camera module 400 is provided with a red light control terminal, and the first signal output terminal of the expansion chip 200 is connected to the red light control terminal. The red light control terminal of the camera module 400 is used to control the red LED lamp. The red LED lamp in the camera module 400 serves as a focus assist lamp to help the camera module 400 complete focusing quickly and accurately. In Figure 1 R_LED is the red light control terminal.
[0046] In one embodiment, the camera module 400 is provided with a white light control terminal, and the second signal output terminal of the expansion chip 200 is connected to the white light control terminal. The white light control terminal of the camera module 400 is used to control the white LED lamp. The white LED lamp in the camera module 400 is used as a fill light source to improve the brightness and clarity of the captured image. In Figure 1 W_LED is the white light control terminal.
[0047] In one embodiment, the control unit 300 is a field effect transistor. The source electrode of the field effect transistor serves as the first terminal of the control unit 300; the drain electrode of the field effect transistor serves as the second terminal of the control unit 300; the gate electrode of the field effect transistor serves as the control terminal of the control unit 300. When the control signal output terminal of the expansion chip 200 is at a high level, the source electrode and the drain electrode of the field effect transistor are conducting. When the control signal output terminal of the expansion chip 200 is at a low level, the source electrode and the drain electrode of the field effect transistor are cut off.
[0048] In one embodiment, the camera module 400 is provided with a data positive line terminal for connecting to the main control chip 100.
[0049] In one embodiment, the camera module 400 is provided with a data negative line terminal for connecting to the main control chip 100.
[0050] In Figure 1 DM is the connecting line between the data negative line terminal and the main control chip 100, and DP is the connecting line between the data positive line terminal and the main control chip 100. The DM line represents the data line D- in the USB interface, that is, the data negative line. It is a key line in USB communication and is used to transmit a part of the data signal. In USB communication, the DM line works together with the DP line (data line D+) to transmit data in the form of differential signals. Differential signals can reduce the influence of electromagnetic interference (EMI) and radio frequency interference (RFI), and improve the stability and reliability of data transmission. The DP line represents the data line D+ in the USB interface, that is, the data positive line. Corresponding to the DM line, it is also used to transmit a part of the data signal. The DP line and the DM line together form a differential signal pair in USB communication. Through this pair of differential signal lines, the USB device can efficiently transmit data and control signals to achieve communication with the host.
[0051] In the second aspect of the embodiments of the present application, a circuit board is provided, and the circuit board includes the power control circuit of any one of the embodiments in the first aspect.
[0052] Since the circuit board includes the power control circuit of the embodiments in the first aspect, the corresponding content of the power control circuit in the embodiments of the first aspect can all be applied to the circuit board in the second aspect, and has the same implementation principle and technical effects. To avoid redundant description, it will not be described in detail here.
[0053] In the third aspect of the embodiments of the present application, a point-of-sale terminal is provided, and the point-of-sale terminal includes the circuit board of the embodiments in the second aspect.
[0054] Since the point-of-sale terminal includes the circuit board of the embodiments in the second aspect, the corresponding content of the power control circuit in the embodiments of the first aspect can all be applied to the point-of-sale terminal in the third aspect, and has the same implementation principle and technical effects. To avoid redundant description, it will not be described in detail here.
[0055] The embodiments of the present application have been described in detail above with reference to the accompanying drawings. However, the present application is not limited to the above embodiments. Various changes can be made without departing from the spirit of the present application within the knowledge scope of those of ordinary skill in the art. In addition, the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
Claims
1. A power control circuit, characterized in that, Applied to a point-of-sale terminal, the point-of-sale terminal is provided with a main control chip; The power control circuit includes: A camera module; An expansion chip, a first input end of the expansion chip is used for connecting with a serial data line end of the main control chip, a second input end of the expansion chip is used for connecting with a serial clock line end of the main control chip, a first signal output end and a second signal output end of the expansion chip are respectively connected with the camera module; A control unit, a control end of the control unit is connected with a control signal output end of the expansion chip, a first end of the control unit is used for connecting with a voltage output end of the main control chip, a second end of the control unit is connected with a voltage input end of the camera module, and the control unit is used for making the first end and the second end conduct or cut off based on a signal of the control signal output end.
2. The power control circuit according to claim 1, wherein It further includes a first button unit, the first button unit is used for connecting with the main control chip, and the first button unit is used for sending a first control signal to the main control chip when triggered, so that a signal of the control signal output end of the expansion chip makes the first end and the second end conduct.
3. The power control circuit according to claim 1, wherein It further includes a second button unit, the second button unit is used for connecting with the main control chip, and the second button unit is used for sending a second control signal to the main control chip when triggered, so that a signal of the control signal output end of the expansion chip makes the first end and the second end cut off.
4. The power control circuit according to claim 1, wherein The camera module is provided with a red light control end, and the first signal output end of the expansion chip is connected with the red light control end.
5. The power control circuit according to claim 1, wherein The camera module is provided with a white light control end, and the second signal output end of the expansion chip is connected with the white light control end.
6. The power control circuit according to claim 1, characterized in that, The control unit is a field effect transistor, a source electrode of the field effect transistor serves as the first end of the control unit; a drain electrode of the field effect transistor serves as the second end of the control unit; a gate electrode of the field effect transistor serves as the control end of the control unit.
7. The power control circuit according to claim 1, wherein The camera module is provided with a data positive line end, and the data positive line end is used for connecting with the main control chip.
8. The power control circuit according to claim 1, wherein The camera module is provided with a data negative line end, and the data negative line end is used for connecting with the main control chip.
9. A circuit board, characterized in that, It includes the power control circuit according to any one of claims 1 to 8.
10. A point-of-sale terminal, characterized in that, It includes the circuit board according to claim 9.