Motor control circuit, mainboard and printing equipment

By using a combination of a driver module and a switch switching module in the printing device, the problem of high cost of controlling multiple driver chips is solved, and effective control of multiple motors is achieved on a system-on-a-chip with limited I/O resources, thus expanding the scope of application and reducing costs.

CN223693842UActive Publication Date: 2025-12-19龙芯中科(成都)技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the existing technology, each motor requires a driver chip for control, which results in high cost and narrow applicability, especially since system-on-a-chip with limited I/O resources cannot support the control of multiple driver chips.

Method used

By combining a drive module and a switch switching module, the switch switching module is controlled by the switching signal of the control module to switch multiple motors, thereby reducing the consumption of I/O resources and lowering costs.

Benefits of technology

It enables the control of multiple motors on a system-on-a-chip with limited I/O resources, expanding the scope of application and reducing hardware costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223693842U_ABST
    Figure CN223693842U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model provides a motor control circuit, a mainboard and printing equipment, and relates to the technical field of printing. The control module comprises a motor control signal end and a switch switching end, and the switch switching module comprises a control receiving end. A motor control signal end is connected with an input end of the driving module; the switch switching end is connected with the control receiving end; the switch switching module is provided with an input end and at least two output ends; the input end of the switch switching module is connected with the output end of the driving module; the output end of each switch switching module is used for being connected with a motor. The control module sends a switching signal to the switch switching module through the switch switching end; after the switch switching end receives the switching signal, the connection relation between the input end and the output end of the switch switching module is switched, the chip complexity can be reduced, and the application range is widened.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of printing technology, and in particular to a motor control circuit, a mainboard and a printing device. BACKGROUND

[0002] With the continuous development of science and technology, printing devices are no longer limited to single printing functions, but are developing towards multifunctional integration. Nowadays, most household printing devices are scanning and copying all-in-one machines, which not only support traditional printing functions, but also support flatbed (FB) scanning and copying and automatic document feeder (ADF) scanning and copying functions to meet the diversified needs of users.

[0003] In the related art, two stepping motors are provided to control the movement of the flatbed scanning head to support FB scanning and copying, and to control the movement of the ADF conveying belt to support ADF scanning and copying functions. In the related art, each motor needs a driving chip for control. This motor control method itself uses multiple driving chips, which is high in cost and has a narrow range of application. SUMMARY

[0004] The present application provides a motor control circuit, a mainboard and a printing device to at least solve the problem of high cost and narrow range of application of the method of controlling each motor with a driving chip in the related art.

[0005] In a first aspect, an embodiment of the present application provides a motor control circuit, comprising: a control module, a driving module, and a switch switching module.

[0006] The control module comprises a motor control signal end and a switch switching end, and the switch switching module comprises a control receiving end. The motor control signal end is connected to the input end of the driving module. The switch switching end is connected to the control receiving end.

[0007] The switch switching module has an input end and at least two output ends. The input end of the switch switching module is connected to the output end of the driving module. The output ends of the switch switching module are respectively used to connect motors.

[0008] The control module sends a switching signal to the switch switching module through the switch switching end. After receiving the switching signal, the switch switching end switches the connection relationship between the input end and the output end of the switch switching module.

[0009] Optionally, the first output end of the switch switching module comprises a first output end and a first output end. The first output end is used to connect a flatbed mode motor, and the first output end is used to connect an automatic document feeder mode motor.

[0010] When the first interrupt pin of the control module receives a first interrupt signal, the control module sends a first switching signal to the switch switching module through the motor control signal end; when the switch switching module receives the first switching signal, the switch switching module switches the input end of the switch switching module to be in communication with the first output end;

[0011] When the scanning signal receiving pin of the control module receives a scanning signal and the first interrupt pin of the control module does not receive a first interrupt signal, the control module sends a second switching signal to the switch switching module through the motor control signal end; when the switch switching module receives the second switching signal, the switch switching module switches the input end of the switch switching module to be in communication with the second sub-output end (3022).

[0012] Optionally, the circuit further comprises a first resistor and a second resistor;

[0013] The switch switching end is connected with one end of the first resistor;

[0014] The other end of the first resistor is connected with the control receiving end and one end of the second resistor respectively, and the other end of the second resistor is grounded;

[0015] When the switch switching end outputs a high-level signal, the switch switching module switches the input end of the switch switching module to be in communication with the first output end corresponding to the flat panel mode motor;

[0016] When the switch switching end outputs a low-level signal, the input end of the switch switching module is switched to be in communication with the output end corresponding to the automatic manuscript sending mode motor.

[0017] Optionally, the circuit further comprises a first capacitor, and the switch switching module further comprises a first voltage end;

[0018] The first voltage end is connected with a first power supply and a first end of the first capacitor respectively;

[0019] A second end of the first capacitor is grounded.

[0020] Optionally, the circuit further comprises at least two connectors;

[0021] Each of the connectors is connected with an output end of the switch switching module respectively; and the connectors are used for connecting motors.

[0022] Optionally, the driving module comprises a first full-bridge driver and a second full-bridge driver;

[0023] The first full-bridge driver includes a first drive signal output end and a second drive signal output end, the second full-bridge driver includes a third drive signal output end and a fourth drive signal output end;

[0024] The first drive signal output end, the second drive signal output end, the third drive signal output end and the fourth drive signal output end are connected to the first input end.

[0025] Optionally, an RC filter unit is arranged between any one of the first drive signal output end, the second drive signal output end, the third drive signal output end and the fourth drive signal output end and the first input end.

[0026] In a second aspect, the embodiments of the present application further provide a mainboard, including the motor control circuit as described in the first aspect.

[0027] In a third aspect, the embodiments of the present application further provide a printing device, including the motor control circuit as described in the first aspect and at least two driving motors.

[0028] Optionally, the at least two driving motors include a flatbed mode motor and an automatic manuscript feeding mode motor; when the first interrupt pin of the control module receives the first interrupt signal, the first switching signal is sent to the switch switching module through the motor control signal end; when the switch switching module receives the first switching signal, the input end of the switch switching module is switched to the output end corresponding to the flatbed mode motor; when the scanning signal receiving pin of the control module receives the scanning signal and the first interrupt pin of the control module does not receive the first interrupt signal, the second switching signal is sent to the switch switching module through the motor control signal end; when the switch switching module receives the second switching signal, the input end of the switch switching module is switched to the output end corresponding to the automatic manuscript feeding mode motor.

[0029] In the embodiment of the present application, a switch switching module is added, a driving module is connected to a motor control signal end of a control module, the driving module is further connected to a first input end of the switch switching module, the switch switching module has at least two output ends, and each output end can be connected to a motor. Then, a switch switching end of the control module is directly connected to the switch switching module, the control module sends a switching signal to the switch switching module through the switch switching end, and then the switch switching module switches the connection relationship between the output end of the switch switching module and the input end thereof after receiving the switching signal, so that one driving module can drive different motors. Since only one driving module is used, only the I / O (Input / Output) resource of a group of motor control signal ends is needed in the I / O resource of the control module, and the I / O resource of one switch switching end is additionally used to switch the output end of the switch switching module, so that the consumption of the I / O resource is reduced. In this way, the control of multiple motors can be realized for a system-level chip (SOC) with limited IO resources, and the chip is not limited to multiple groups of motor control signal ends, so the application range is wider. Moreover, when a lower IO resource limited SOC is used, the cost can be reduced. Furthermore, since the number of driving modules is reduced, and the cost of a single driving module is higher than that of a switch switching module, the cost can be further reduced in the embodiment of the present application. BRIEF DESCRIPTION OF DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0031] Figure 1 is a structural schematic diagram of a motor control circuit provided by the embodiment of the present application;

[0032] Figure 2 is a specific structural schematic diagram of a motor control circuit provided by the embodiment of the present application;

[0033] Figure 3 is a structural schematic diagram of a driving module and a switch switching module of a motor control circuit provided by the embodiment of the present application.

[0034] Reference signs:

[0035] Control module-100, motor control signal end-101, switch switching end-102, drive module-200, first full-bridge driver-201, second full-bridge driver-202, amplified voltage access end-203, switch switching module-300, first input end-301, first output end-302, flatbed mode motor-410, automatic document feeder mode motor-420, reset terminal-1011, hibernate terminal-1012, clock terminal-1103, direction terminal-1104, step terminal-1105, first sub-output end-3021, second sub-output end-3022, first resistor-R17, second resistor-R16, first capacitor-C15, third resistor-R13, fourth resistor-R12, second capacitor-C4, third capacitor-C7, fourth capacitor-C8, fifth capacitor-C9, sixth capacitor-C10, inductive coil-R15. DETAILED DESCRIPTION

[0036] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application will be further described in detail below in combination with the drawings and specific embodiments.

[0037] The related technology has a scanning and copying all-in-one machine which not only supports the traditional printing function, but also supports the flatbed (FB) scanning and copying function and the automatic document feeder (ADF) scanning and copying function. In the related technology, two stepping motors are provided, one of which is used as a flatbed mode motor to control the movement of the flatbed scanning head to support the FB scanning and copying function, and the other is used as an automatic document feeder mode motor to control the movement of the ADF conveying belt to support the ADF scanning and copying function. In addition, in the related technology, for each motor, a separate drive chip is provided to drive each stepping motor, and then a control chip is used to control the several drive chips. This kind of multi-drive chip control mode causes the resource burden of some system on a chip (SOC) with lower cost and limited IO resources to be relatively heavy, and even some SOCs have too few IO resources to support the control of multiple drive chips, so that the implementation of this all-in-one machine is not supported, resulting in fewer choices of control chips for motor control circuits and narrow application range. Moreover, due to the use of multiple drive chips, the hardware cost is relatively high.

[0038] Therefore, in the face of the above problems, the embodiments of the present application innovatively improve the motor control circuit, which can realize the control of multiple motors of a printing device with one drive chip in the case of using a lower-performance SOC, and can also support the implementation of the FB function and the ADF function of the all-in-one machine.

[0039] The specific implementation of the embodiments of the present application is described in detail below.

[0040] With reference to Figure 1 The motor control circuit provided by the embodiments of the present application comprises a control module 100, a driving module 200, and a switch switching module 300.

[0041] The control module 100 comprises a motor control signal end 101 and a switch switching end 102, and the switch switching module 300 comprises a control receiving end S; the motor control signal end 101 is connected with an input end of the driving module 200; and the switch switching end 102 is connected with the control receiving end S.

[0042] The switch switching module 300 has a first input end 301 and at least two first output ends 302; the first input end 301 of the switch switching module 300 is connected with an output end of the driving module 200; and the first output ends 302 of the switch switching module 300 are respectively used for connecting motors.

[0043] The control module 100 sends a switching signal to the switch switching module 300 through the switch switching end 102; and after receiving the switching signal, the switch switching end 102 switches the connection relationship between the input end and the output end of the switch switching module 300.

[0044] In the embodiments of the present application, the control module 100 can be an SOC chip, and the driving module 200 can be a driving chip used for driving a motor. The motor control signal end 101 of the control module 100 is a pin for interacting with the driving module 200, and the number of pins can be different according to different driving modules 200, and the specific number is not limited in the embodiments of the present application. The motor control signal end 101 of the control module 100 used for connecting the driving module 200 can have one group or multiple groups, and of course, in the case of multiple groups of motor control signal ends 101, only one group of motor control signal ends can be used to connect the driving module 200.

[0045] In addition, the control module 100 is further provided with a switch switching end 102, which is used for sending a switching signal to the switch switching module 300.

[0046] It can be understood that it can be a pin of the control switch switching module 300, such as the switch switching end 102 can be a GPIO (General Purpose Input / Output, General Purpose Input / Output) pin. It should be noted that each GPIO port has related control and configuration registers to meet the needs of specific applications, and by configuring these registers, the working mode, output state, input state, etc. of the GPIO pin can be flexibly set. The embodiment of the present application can configure a GPIO pin to output high or low to control the switch switching module 300.

[0047] The switch switching module 300 includes a first input end 301 and at least two first output ends 302. The first input end 301 is connected to the second output end of the driving module 200 to receive the motor driving signal output by the driving module 200. Each first output end 302 is connected to a motor, such as Figure 1 In the embodiment, the flat mode motor 410 is connected to a first output end 302, and the automatic manuscript sending mode motor 420 is connected to another first output end 302. It can be understood that the switch switching module 300 is a single-input multi-output switch chip, and the principle is similar to a single-pole double-throw switch. When it is needed to connect which input end to which output end, switching is performed.

[0048] Therefore, the motor control circuit of the embodiment of the present application connects the external pins of multiple chips with different functions to form a circuit with switching function.

[0049] When the motor needs to be switched, the control module 100 outputs a switching signal to the control receiving end S of the switch switching module 300 through the switch switching end 102, and the switch switching module 300 switches the motor. For example, the flat mode motor 410 corresponding first output end 302 is currently connected to the first input end 301, and it is needed to switch to the automatic manuscript sending mode motor 420 for work. Then the control module 100 sends a switching signal to the switch switching module 300 through the switch switching end 102, and the switch switching module 300 disconnects the flat mode motor 410 corresponding first output end 302 from the first input end 301, and connects the first output end 302 connected to the automatic manuscript sending mode motor 420 to the first input end 301.

[0050] For example, the first output terminal 302 corresponding to the automatic manuscript sending mode motor 420 is connected with the first input terminal 301, and it is needed to switch to the tablet mode motor 410 to work, then the control module 100 sends a switching signal to the switch module 300 through the switch terminal 102, and the switch module 300 disconnects the first output terminal 302 corresponding to the automatic manuscript sending mode motor 420 from the first input terminal 301, and connects the first output terminal 302 connected with the tablet mode motor 410 with the first input terminal 301.

[0051] It can be understood that the motor control signal terminal 101 can include multiple terminals, such as the reference Figure 2 The motor control signal terminal 101 can include a reset terminal 1011, a sleep terminal 1012, a clock terminal 1103, a direction terminal 1104, and a step terminal 1105.

[0052] The reset terminal 1011 is used to restore the chip or device to the initial state or perform initialization operation, and the control module 100 can send a reset signal to the driving module 200 through the reset terminal 1011. The reset signal can be a low-level signal. The reset terminal 1011 can adopt a GPIO pin.

[0053] The sleep terminal 1012 is used to control whether the device enters a low-power sleep mode. The control module 100 can send a sleep signal to the driving module 200 through the sleep terminal 1012 to make the driving module 200 sleep, or a recovery signal to make the driving module 200 wake up. The sleep terminal 1012 can adopt a GPIO pin.

[0054] The clock terminal 1103 is responsible for sending a clock signal to the driving module 200, so that the driving module 200 works based on the clock signal in the working process. The clock terminal 1103 can be a pulse width modulation (PWM) pin.

[0055] The direction terminal 1104 is responsible for sending a motor rotation direction signal to the driving module 200. The direction terminal 1104 can adopt a GPIO pin.

[0056] The step terminal 1105 is responsible for sending a step signal to the driving module 200, which controls the minimum angle of the motor rotation. The step terminal can have multiple, which are not limited by the embodiments of the application. The step terminal 1105 can adopt a GPIO pin.

[0057] The driving module 200 is provided with corresponding output terminals according to the number of phases of the motor. For example Figure 2In the embodiment, the motor is a two-phase four-wire motor, and the output terminals of the driving module 200 can be four. The first input terminals 301 of the switch switching module 300 include four terminals 3012, 3013, 3013, and 3014. Each group of the first output terminals of the switch switching module 300 also includes four terminals, such as 3022, 3023, 3023, and 3024, which are connected to the flat plate mode motor 410. It can be understood that another group of the first output terminals with four terminals are connected to the automatic manuscript feeding mode motor 420. Figure 2

[0058] Thus, when the FB mode motor needs to be controlled to work, the control module 100 sends a motor driving signal and the like to the driving module 200 through the aforementioned motor control signal terminal 101, and sends a switching signal to the switch switching module 300 through the aforementioned switch switching terminal 102. After receiving the switching signal, the switch switching module 300 turns on the first input terminal and the target first output terminal.

[0059] After receiving the motor driving signal and the like, the driving module 200 outputs a motor control signal to the first input terminal 301 of the switch switching module 300 through a series of processes, and the first output terminal 301 connected to the first input terminal 301 outputs the motor control signal to the corresponding motor.

[0060] ​In the embodiment of the present application, the switching module 300 is added, the motor control signal end 101 of the control module 100 is connected with a driving module 200, the driving module 200 is connected with the first input end 301 of the switching module 300, the switching module 300 has at least two output ends, and each output end can be connected with a motor. Then, the switching end 102 of the control module 100 is directly connected with the switching module 300, the control module sends a switching signal to the switching module 300 through the switching end 102, and then the switching module 300 switches the connection relationship between the output end of the switching module 300 and the input end thereof after receiving the switching signal, so that one driving module 200 can drive different motors. Since only one driving module 200 is used, only the I / O resource of the motor control signal end 101 is needed in the I / O resource of the control module, and the I / O resource of one switching end is additionally used to switch the output end of the switching module, so that the consumption of the I / O resource is reduced. In this way, the control of multiple motors can be realized for a system-on-chip with limited I / O resources, and the chip is not limited to multiple motor control signal ends, so that the application range is wider. In addition, when an SOC with limited I / O resources is used, the cost can be reduced. Furthermore, since the number of driving modules is reduced, and the cost of a single driving module is higher than that of a switching module, the control circuit complexity and cost can be further reduced.

[0061] Optionally, in some embodiments, with reference to Figure 1 , the first output end 302 of the switching module 300 includes a first sub-output end 3021 and a second sub-output end 3022, the first sub-output end 3021 is used to connect a flat mode motor 410, and the second sub-output end 3022 is used to connect an automatic manuscript feeding mode motor 420.

[0062] When the first interrupt pin of the control module 100 receives a first interrupt signal, the first switching signal is sent to the switching module 300 through the motor control signal end 101; and when the first interrupt pin of the control module 100 receives the first interrupt signal, the first input end 301 of the switching module 300 is switched to be in communication with the first sub-output end 3021.

[0063] When the scanning signal receiving pin of the control module 100 receives a scanning signal, and the first interrupt pin of the control module 100 does not receive a first interrupt signal, the second switching signal is sent to the switching module 300 through the motor control signal end 101; and when the first interrupt pin of the control module 100 receives the first interrupt signal, the first input end 301 of the switching module 300 is switched to be in communication with the second sub-output end 3022.

[0064] In the embodiment of the present application, the ADF automatic feeding scan and the FB flatbed scan cannot be used at the same time when the printing device is scanning and copying, either the ADF mode is used at the moment or the FB mode is used at the moment.

[0065] Since the machine cover is opened when the FB mode is used, the action of opening the machine cover triggers an interrupt signal to the control module 100. It can be understood that the action of opening the machine cover triggers the corresponding sensor to send a first interrupt signal to the control module 100. After the control module 100 receives the first interrupt signal, it is considered that the FB function of the printing device is to be used, and the FB motor needs to be controlled. Therefore, the control module 100 switches to the FB motor control logic and outputs the FB motor control signal based on the FB motor control logic to the driving module 200. At the same time, the control module 100 sends a first switching signal to the switch switching module 300, and the switch switching module 300 communicates the first sub-output end 3021 with the first input end 301 after receiving the first switching signal. Then, the converted FB motor control signal output by the driving module 200 is output to the FB (flatbed mode) motor.

[0066] If the scanning is started but the first interrupt signal is not received, the control module 100 considers that the ADF mode is to be used, and the ADF (automatic document feeder mode) motor needs to be controlled. Therefore, the control module 100 switches to the ADF motor control logic and outputs the ADF motor control signal based on the ADF motor control logic to the driving module 200. At the same time, the control module 100 sends a second switching signal to the switch switching module 300, and the switch switching module 300 communicates the second sub-output end 3022 with the first input end 301 after receiving the second switching signal. Then, the converted ADF motor control signal output by the driving module 200 is output to the ADF motor.

[0067] It can be understood that the first switching signal and the second switching signal can be high-level signals and low-level signals, or the first switching signal and the second switching signal can be low-level signals and high-level signals, and the two are distinguished, which is not limited in the embodiment of the present application.

[0068] In the embodiment of the present application, one driving module 200 can be used, and the FB mode and the ADF mode of the printing device can be supported through the additionally arranged switch switching module 300. In this way, the I / O resource occupation of the control module can be reduced, the chip complexity can be reduced, and the cost performance of the device can be improved.

[0069] Optionally, in some embodiments, with reference to Figure 3 The motor control circuit further includes a first resistor R17 and a second resistor R16.

[0070] The switch switching end 102 is connected with one end of the first resistor R17;

[0071] The other end of the first resistor R17 is connected with the control receiving end S and one end of the second resistor R16 respectively, and the other end of the second resistor R16 is grounded.

[0072] When the switch switching end 102 outputs a high level signal, the switch switching module 300 switches the first input end 301 of the switch switching module 300 to be in communication with the first sub-output end 3021 corresponding to the flat mode motor 410.

[0073] When the switch switching end 102 outputs a low level signal, the first input end 301 of the switch switching module 300 is switched to be in communication with the second sub-output end 3022 corresponding to the automatic feeding mode motor 420.

[0074] Referring to Figure 3 , the control receiving end S of the switch switching module 300 is a terminal for receiving a switching signal, and in order to safely and stably receive the switching signal, the first resistor R17 and the second resistor R16 are arranged. One end of the second resistor R16 is grounded, and the other end is connected with one end of the first resistor R17 and the control receiving end S respectively. The other end of the first resistor R17 is connected with the switch switching end 102 of the control module 100 to receive the switching signal EN_STA.

[0075] When the switch switching end 102 of the control module 100 sends a high level signal, the control receiving end S receives the high level signal, and then the switch switching module 300 switches the first input end 301 to be in communication with the second sub-output end 3022. When the switch switching end 102 of the control module 100 sends a low level signal, since the control receiving end S is also grounded through the second resistor R16, the control receiving end S receives the low level signal, and then the switch switching module 300 switches the first input end 301 to be in communication with the first sub-output end 3021.

[0076] In this way, through the switch chip of the switch switching module 300, the switching of the output object of the driving module 200 can be conveniently realized.

[0077] In the embodiments of the present application, the switch switching module 300 further includes a ground terminal GND, and the ground terminal GND is grounded. The switch switching module 300 further includes an activation terminal OE#, and the activation terminal OE# is grounded, indicating that the switch switching module 300 is activated and can be used.

[0078] Optionally, in some embodiments, referring to Figure 3 , the foregoing circuit further includes a first capacitor C15, and the switch switching module 300 further includes a first voltage end VCC;

[0079] The first voltage terminal VCC is connected with a first power supply and a first terminal of the first capacitor C15 respectively; a second terminal of the first capacitor C15 is grounded.

[0080] Figure 3 In some embodiments, the switch switching module 300 further comprises a power terminal VCC, which is connected with one terminal of a capacitor C15 and a power supply V1, and the other terminal of the first capacitor C15 is grounded. The power supply V1 provides working voltage for the switch switching module, thereby realizing switching of the switch. The first capacitor C15 can play a role of voltage stabilization.

[0081] Optionally, in some embodiments, referring to Figure 3 , the foregoing circuit further comprises at least two connectors 400;

[0082] Each of the connectors 400 is connected with an output terminal of the switch switching module 300 respectively; the connector 400 is used for connecting a motor.

[0083] In the embodiments of the present application, in order to facilitate connection with the motor, a connector is connected with the first sub-output terminal 3021 of the switch switching module 300, and a connector is also connected with the second sub-output terminal 3022 of the switch switching module 300. The two connectors are connected with corresponding motors respectively.

[0084] Optionally, as Figure 3 indicated, the driving module 200 comprises a first full-bridge driver 201 and a second full-bridge driver 202;

[0085] The first full-bridge driver 201 comprises a first drive signal output terminal Out1A and a second drive signal output terminal Out1B, and the second full-bridge driver 202 comprises a third drive signal output terminal Out2A and a fourth drive signal output terminal Out2B;

[0086] The first drive signal output terminal Out1A, the second drive signal output terminal Out1B, the third drive signal output terminal Out2A and the fourth drive signal output terminal Out2B are connected with the first input terminal 301.

[0087] Referring to Figure 3 the schematic, when the motor of the embodiments of the present application is a two-phase four-wire motor, the driving module 200 of the embodiments of the present application can comprise a first full-bridge driver 201 and a second full-bridge driver 202, which are arranged inside the driving module 200 and can each be a full-bridge driving unit composed of four MOS tubes, and can process and convert signals transmitted from the motor control signal terminal 101 to the driving module 200 into motor driving signals.

[0088] The first full-bridge driver 201 comprises a first driving signal output end Out1A and a second full-bridge driving signal output end Out1B, which are used to transmit two signals with opposite phases in the pulse driving signal, and are connected to two terminals of the first input end 301, for example, the first driving signal output end Out1A is connected to terminal 1A and the second driving signal output end Out1B is connected to terminal 2A.

[0089] The second full-bridge driver 202 comprises a third driving signal output end Out2A and a fourth full-bridge driving signal output end Out2B, which are used to transmit two signals with opposite phases in the pulse driving signal, and are connected to the other two terminals of the first input end 301, for example, the third driving signal output end Out2A is connected to terminal 3A and the fourth driving signal output end Out2B is connected to terminal 4A. The terminals 1A-4A are in one-to-one correspondence with the terminals 3012, 3013, 3013, 3014. Figure 2

[0090] It should be noted that when the first input end 301 is in communication with the first sub-output end 3021, 1A is connected to 1B1, 2A is connected to 2B1, 3A is connected to 3B1, and 4A is connected to 4B1. When the first input end 301 is in communication with the second sub-output end 3022, 1A is connected to 1B2, 2A is connected to 2B2, 3A is connected to 3B2, and 4A is connected to 4B2. Through the signal combination of the above four driving signal output ends, the speed, direction and other motion parameters of the stepper motor can be controlled, and the corresponding electrodes are configured as a flat panel mode or an automatic feeding mode by cooperating with the switching signal received by the receiving end S.

[0091] Optionally, as shown in Figure 3 Any one of the first driving signal output end Out1A, the second driving signal output end Out1B, the third driving signal output end Out2A and the fourth driving signal output end Out2B is provided with an RC filtering unit between the first input end 301.

[0092] In the embodiment of the application, in order to improve the stability of the motor driving signal, an RC filtering unit is further arranged between any one of the driving signal output ends of the driving module 200 and the first input end 301, so as to eliminate signal burrs through filtering.

[0093] Referring to​Figure 3 As shown in the schematic diagram, the resistance R19 connected in series between the first driving signal output terminal Out1A and the wiring pin 1A, and the capacitor C11 connected between the wiring pin 1A and the ground wire MGND form an RC filter unit on the signal line. Similarly, the resistance R20 and the capacitor C12, the resistance R21 and the capacitor C13, and the resistance R22 and the capacitor C14 form RC filter units on other signal lines, respectively. Therefore, the RC filter units can improve the quality of the motor driving signals, and can improve the smoothness of the motor operation.

[0094] Optionally, in some embodiments, referring to Figure 3 , the foregoing circuit further comprises a third resistance R13, a fourth resistance R12 and a second capacitor C4, the driving module 200 comprises an external reference voltage input terminal VREF; the third resistance R13 and the second capacitor C4 are connected in parallel, one end of the parallel connection is connected to one end of the fourth resistance R12 and the external reference voltage input terminal VREF, respectively, and the other end of the parallel connection is grounded; the other end of the fourth resistance R12 is connected to the power supply V2.

[0095] In this way, the reference voltage can be generated based on the power supply voltage V2 and input to the external reference voltage input terminal VREF, so as to provide an external reference voltage for the driving module 200 as a reference.

[0096] Optionally, in some embodiments, referring to Figure 3 , the foregoing driving module 200 further comprises an amplification voltage access terminal 203, which can have two, including VBB1 and VBB2, providing bias voltage for the driving module 200, and the two can be backup for each other.

[0097] In order to improve the stability of the two signals of the amplification voltage access terminal 203, a filter unit is arranged on the path between VBB1, VBB2 and the power supply V3, such as Figure 3 As shown in the schematic diagram, the filter unit can specifically include a third capacitor C7, a fourth capacitor C8 and a fifth capacitor C9 connected in parallel, and an inductive coil R15 connected in series with the parallel part, one end of the parallel connection is connected to one end of the inductive coil R15 and the amplification voltage access terminal 208, and the other end of the parallel connection is connected to the ground wire MGND of the measurement card. The third capacitor C7 and the fourth capacitor C8 can filter high-frequency signals, and the fifth capacitor C9 can filter low-frequency signals. The inductive coil R15 can also be used as a resistance while filtering signals. In addition, the sixth capacitor C10 provides voltage stabilization.

[0098] The driving module 200 is connected to the power supply V3 through the amplification voltage access end 203. The voltage of the power supply V3 is greater than the voltage of the power supply V2. After receiving the motor driving signal, the driving module 200 can amplify the voltage based on the voltage of the amplification voltage access end 203, so as to output a signal with higher voltage to the motor to drive the motor to rotate.

[0099] Figure 3 The input end of the driving module 200 can include a reset pin RESET, a sleep pin SLEEP, a clock pin STEP, a direction pin DIR, a first step pin MS1 and a second step pin MS2.

[0100] The reset pin RESET of the driving module 200 is connected to the reset terminal 1011 of the control module 100 through the resistor R1. The control module 100 can send a reset signal EX_RESETN to the reset pin RESET.

[0101] The sleep pin SLEEP of the driving module 200 is connected to the sleep terminal 1012 of the control module 100 through the resistor R2. The control module 100 can send a sleep signal EX_SLEEP_N to the sleep pin SLEEP. As shown in Figure 3 , one end of the resistor R10 connected between the sleep pin SLEEP and the resistor R2 is connected to the ground, and the other end of the resistor R10 can flexibly provide a high-level or low-level signal.

[0102] The clock pin STEP of the driving module 200 is connected to the clock terminal 1103 of the control module 100 through the resistor R3. The control module 100 can send a clock signal EX_CLK to the clock pin STEP. As shown in Figure 3 , one end of the resistor R8 and one end of the capacitor C1 are respectively connected to the resistor R3 and the clock pin STEP; the other end of the resistor R8 is connected to the power supply V1, and the other end of the capacitor is connected to the ground, and can also be connected in parallel with one end of the resistor R10 connected to the ground. In this way, a more stable clock signal can be provided.

[0103] The direction pin DIR of the driving module 200 is connected to the direction terminal 1104 of the control module 100 through the resistor R4. The control module 100 can send a direction signal EX_DIP to the direction pin DIR. As shown in Figure 3 , one end of the resistor R9 connected between the direction pin DIR and the resistor R4 is connected to the power supply V1, and the other end of the resistor R9 can flexibly provide a high-level or low-level signal.

[0104] The first step pin MS1 of the driving module 200 is connected to one step terminal 1105 of the control module 100 through the resistor R5. The second step pin MS2 of the driving module 200 is connected to another step terminal of the control module 100 through the resistor R6. The control module 100 can send the step signal EX_MS1 to the first step pin MS1 and the step signal EX_MS2 to the second step pin MS2. The driving module 200 can determine the specific step degree according to the step signal EX_MS1 and the step signal EX_MS2. For example, if MS1 is low and MS2 is low, the step is full step; if MS1 is high and MS2 is low, the step is half step; if MS1 is low and MS2 is high, the step is 1 / 4 step; and if MS1 is high and MS2 is high, the step is 1 / 8 step. The driving module can determine the current size and rotation angle of each step according to the signals of MS1 and MS2, and determine the rotation direction according to the EX_DIP, so as to control the output.

[0105] The embodiment of the present application further provides a mainboard comprising the motor control circuit.

[0106] The embodiment of the present application further provides a printing device comprising at least two driving motors and the motor control circuit.

[0107] Optionally, the at least two driving motors comprise a flatbed mode motor and an automatic manuscript feeding mode motor.

[0108] When the first interrupt pin of the control module receives the first interrupt signal, the motor control signal end sends a first switching signal to the switch switching module; when the switch switching module receives the first switching signal, the first input end of the switch switching module is switched to be in communication with the output end corresponding to the flatbed mode motor.

[0109] When the scanning signal receiving pin of the control module receives the scanning signal and the first interrupt pin of the control module does not receive the first interrupt signal, the motor control signal end sends a second switching signal to the switch switching module; when the switch switching module receives the second switching signal, the first input end of the switch switching module is switched to be in communication with the output end corresponding to the automatic manuscript feeding mode motor.

[0110] In the embodiment of the present application, the switching module 300 is added, the motor control signal end 101 of the control module 100 is connected with a driving module 200, the driving module 200 is connected with the first input end 301 of the switching module 300, the switching module 300 has at least two output ends, and each output end can be connected with a motor. Then, the switching end 102 of the control module 100 is directly connected with the switching module 300, the control module sends a switching signal to the switching module 300 through the switching end 102, and then the switching module 300 switches the connection relationship between the output end of the switching module 300 and the input end thereof after receiving the switching signal, so that one driving module 200 can drive different motors. Since only one driving module 200 is used, only the I / O resource of the motor control signal end 101 is needed in the I / O resource of the control module, and the I / O resource of one switching end is additionally used to switch the output end of the switching module, so that the consumption of the I / O resource is reduced. In this way, the control of multiple motors can be realized for a system-on-chip with limited IO resources, and the chip is not limited to multiple motor control signal ends, so that the application range is wider. In addition, when an SOC with low cost and limited IO resources is used, the cost can be reduced. Furthermore, since the number of driving modules is reduced, and the cost of a single driving module is higher than that of a switching module, the cost of the printing device can be further reduced, and the cost performance is improved.

[0111] Finally, it should be noted that, in this document, relational terms such as "first" and "second", and the like, are used solely to distinguish one entity or action from another entity or action, without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", "includes", "including", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus.

[0112] The above descriptions are only the preferred embodiments of the present application, not intended to limit the present application, and any modification, equivalent replacement and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

[0113] The above descriptions are only the specific embodiments of the present application, but the protection scope of the present application is not limited to this, and any modification or replacement within the technical range disclosed by the present application can be easily thought by any person skilled in the art, which shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A motor control circuit, characterized by, The circuit comprises a control module (100), a driving module (200) and a switch switching module (300). The control module (100) comprises a motor control signal end (101) and a switch switching end (102), and the switch switching module (300) comprises a control receiving end (S); the motor control signal end (101) is connected with the driving module (200); and the switch switching end (102) is connected with the control receiving end (S). The switch switching module (300) has a first input end (301) and at least two first output ends (302); the first input end (301) of the switch switching module (300) is connected with the driving module (200); and the first output ends (302) of the switch switching module (300) are respectively used for connecting motors. The control module (100) sends a switching signal to the switch switching module (300) through the switch switching end (102); and after receiving the switching signal, the switch switching end (102) switches the connection relationship between the input end and the output end of the switch switching module (300). The first output end (302) of the switch switching module (300) comprises a first sub-output end (3021) and a second sub-output end (3022); the first sub-output end (3021) is used for connecting a flat mode motor (410); and the second sub-output end (3022) is used for connecting an automatic manuscript feeding mode motor (420).

2. The motor control circuit of claim 1, wherein, When the first interrupt pin of the control module (100) receives a first interrupt signal, the control module (100) sends a first switching signal to the switch switching module (300) through the motor control signal end (101); and when the switch switching module (300) receives the first switching signal, the first input end (301) of the switch switching module (300) is switched to be in communication with the first sub-output end (3021). When the scanning signal receiving pin of the control module (100) receives a scanning signal and the first interrupt pin of the control module (100) does not receive a first interrupt signal, the control module (100) sends a second switching signal to the switch switching module (300) through the motor control signal end (101); and when the switch switching module (300) receives the second switching signal, the first input end (301) of the switch switching module (300) is switched to be in communication with the second sub-output end (3022). The circuit further comprises a first resistor (R17) and a second resistor (R16).

3. The motor control circuit of claim 1, wherein, The switch switching end (102) is connected with one end of the first resistor (R17). The other end of the first resistor (R17) is respectively connected with the control receiving end (S) and one end of the second resistor (R16); and the other end of the second resistor (R16) is grounded. ​ When the switch switching end (102) outputs a high level signal, the switch switching module (300) switches the first input end (301) of the switch switching module (300) to be in communication with the first sub-output end (3021) corresponding to the flat mode motor (410); When the switch switching end (102) outputs a low level signal, the first input end (301) of the switch switching module (300) is switched to be in communication with the second sub-output end (3022) corresponding to the automatic manuscript sending mode motor (420).

4. The motor control circuit of claim 1, wherein, The circuit further comprises a first capacitor (C15), and the switch switching module (300) further comprises a first voltage end (VCC); The first voltage end (VCC) is connected with a power supply and a first end of the first capacitor (C15) respectively; A second end of the first capacitor (C15) is grounded.

5. The motor control circuit of claim 1, wherein, The circuit further comprises at least two connectors (400); Each connector (400) is connected with an output end of the switch switching module (300), and the connector (400) is used for connecting a motor.

6. The motor control circuit of claim 1, wherein, The drive module (200) comprises a first full-bridge driver (201) and a second full-bridge driver (202); The first full-bridge driver (201) comprises a first drive signal output end (Out1A) and a second drive signal output end (Out1B), and the second full-bridge driver (202) comprises a third drive signal output end (Out2A) and a fourth drive signal output end (Out2B); The first drive signal output end (Out1A), the second drive signal output end (Out1B), the third drive signal output end (Out2A) and the fourth drive signal output end (Out2B) are connected to the first input end (301).

7. The motor control circuit of claim 6, wherein, An RC filter unit is arranged between any one of the first drive signal output end (Out1A), the second drive signal output end (Out1B), the third drive signal output end (Out2A) and the fourth drive signal output end (Out2B) and the first input end (301).

8. A main board, characterized by, The motor control circuit comprises the motor control circuit according to any one of claims 1-7.

9. A printing device, characterized by, The motor control circuit comprises at least two drive motors and the motor control circuit according to any one of claims 1-7.

10. The printing device according to claim 9, characterized by The at least two drive motors comprise a flat mode motor (410) and an automatic manuscript sending mode motor (420). When the first interrupt pin of the control module (100) receives a first interrupt signal, the control module (100) sends a first switching signal to the switch switching module (300) through a motor control signal end (101), and the switch switching module (300) switches the first input end (301) of the switch switching module (300) to be in communication with an output end corresponding to the flat mode motor (410) when the first switching signal is received. The scanning signal receiving pin of the control module (100) receives a scanning signal, and the first interrupt pin of the control module (100) does not receive a first interrupt signal, so that the motor control signal end (101) sends a second switching signal to the switch switching module (300); the switch switching module (300) switches the first input end (301) of the switch switching module (300) to communicate with the output end corresponding to the automatic manuscript feeding mode motor (420) when the second switching signal is received.