Transmission system for laser printer
By combining a dual-clutch design and an encoding component with a PID controller, the problem of inconsistent paper step length in laser printers is solved, achieving stability and accuracy in paper transport, improving print quality and speed, reducing the risk of paper jams, and extending the printer's lifespan.
Patent Information
- Application Number
- CN202422750750.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2034-11-12
AI Technical Summary
Inconsistent linear movement of paper in laser printers leads to poor accuracy and stability of the paper feeding mechanism, affecting print quality, increasing the risk of paper jams, and shortening the printer's lifespan.
The paper employs a dual-clutch design and an encoding component in conjunction with a PID controller. It precisely controls the linear motion of the paper by step size, and uses a lower electromagnetic clutch and an upper electromagnetic clutch to ensure the stability of the paper during transmission. The introduction of a drive belt component and an encoding component enables real-time capture and control of information.
It improves the stability and accuracy of paper delivery, reduces paper jams, enhances print quality and speed, and extends the printer's lifespan.
Smart Images

Figure CN223918986U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of laser printers, in particular to a transmission system for a laser printer. BACKGROUND
[0002] The paper feeding mechanism in a laser printer is an important component of the printer. Its main function is to accurately and stably take paper from the paper cassette and transport it to the printing position of the printer. The working process of the paper feeding mechanism is roughly as follows:
[0003] S1. When the printer receives a print instruction, the paper feeding mechanism is first started. The paper feed roller rotates and rubs the paper, separating and feeding the paper from the paper cassette into the transmission channel of the printer.
[0004] S2. The paper continues to move towards the printing position in the transmission channel guided by the paper feed wheel component.
[0005] S3. At the same time, the paper sensor monitors the position and state of the paper in real time to ensure that the paper reaches the printing position accurately.
[0006] In a laser printer, the stepwise linear motion of the paper feeding mechanism during paper feeding and paper ejection often cannot be completely consistent. Because different types of paper (such as thickness, material, etc.) behave differently during transmission, which can affect the paper feeding accuracy and stepwise consistency of the paper feeding mechanism.
[0007] Stepwise inconsistency can cause the paper to shift position during printing, affecting the clarity and accuracy of the printed image or text. It can also increase the risk of paper jamming in the transmission channel, causing the printer to frequently jam, affecting work efficiency. Long-term stepwise inconsistency can exacerbate the wear and tear of mechanical components in the paper feeding mechanism, shortening the service life of the printer.
[0008] Therefore, the present application proposes a transmission system for a laser printer and a control method thereof. CONTENT OF THE INVENTION
[0009] Therefore, the present application proposes a transmission system for a laser printer and a control method thereof.
[0010] In a first aspect, a transmission system for a laser printer comprises:
[0011] The printer is mainly composed of a paper feeding assembly, a clutch assembly, an encoding assembly and a controller. The paper feeding assembly is designed to receive the paper sent by the paper feeding mechanism and transport it to the printing position of the printer. The clutch assembly is installed on the paper feeding path to ensure the paper maintains the same step linear motion as when it is sent by the paper feeding mechanism. The encoding assembly is installed at a position where it can sense the paper motion to obtain the step linear motion information of the paper sent by the paper feeding mechanism in real time. Finally, the controller is hidden in the frame and is responsible for receiving the information transmitted by the encoding assembly and accurately controlling the operation of the paper feeding assembly and the clutch assembly.
[0012] In one embodiment, the clutch assembly is designed to include a lower electromagnetic clutch and an upper electromagnetic clutch. The two parts are driven by a rubbing wheel and correspond to the lower surface and the upper surface of the paper respectively. When the paper is sent by the paper feeding mechanism, the lower electromagnetic clutch and the upper electromagnetic clutch work simultaneously to ensure the paper maintains stable step linear motion during transmission through the rotation of the rubbing wheel. The design of the double clutch and double rubbing wheel effectively improves the stability and accuracy of paper transmission.
[0013] In one embodiment, the transmission system further introduces a transmission belt assembly, which includes a driving wheel and two driven wheels. The driving wheel is connected to one of the driven wheels through a belt to establish a stable transmission relationship, and the driven wheel is also connected to the lower electromagnetic clutch to form an effective linkage mechanism. The other driven wheel is connected to the rubbing wheel in the paper feeding mechanism through a belt to innovatively regard the rubbing wheel as a driving wheel, and the driven wheel is also connected to the upper electromagnetic clutch. Through this design, the upper electromagnetic clutch can directly receive the paper feeding step linear motion information from the paper feeding mechanism, which is accurately captured by the encoding assembly. Subsequently, through the rapid operation of the controller, the rotation force of the driving wheel can be accurately controlled to adjust the motion parameters of the lower electromagnetic clutch to be completely consistent with those of the upper electromagnetic clutch. In this way, the step linear motion of the paper during the paper feeding process in the paper feeding mechanism is effectively maintained.
[0014] In one embodiment, the encoding assembly is designed to include a PF encoder and a PF encoding reading sensor. The detection section of the PF encoder is carefully adapted to the upper electromagnetic clutch to ensure that the motion information of the upper electromagnetic clutch can be accurately captured. The PF encoding reading sensor is connected to the PF encoder and reads the encoding information output by the PF encoder in real time through an electrical connection. At the same time, the PF encoding reading sensor also establishes an electrical connection with the controller to transmit the read encoding information to the controller for processing in a timely manner.
[0015] In one embodiment, the paper feed assembly is specifically designed to include a paper feed motor and a paper feed wheel driven by the paper feed motor. The paper feed motor serves as a power source, driving the paper feed wheel to rotate through its rotational motion. The paper feed wheel is in direct contact with the paper, transmitting the paper forward through friction, thereby achieving the paper feeding function.
[0016] In one embodiment, the controller is an Arduino microcontroller embedded in the frame.
[0017] In a second aspect, a control method for a laser printer transmission system,
[0018] is achieved by using the laser printer transmission system as described above to perform the following steps:
[0019] S1, receiving the clutch information of the upper electromagnetic clutch transmitted by the encoding assembly; the clutch information is the step linear motion information when the paper feed mechanism feeds the paper;
[0020] S2, comparing the clutch information as a feedback signal with the target speed of the lower electromagnetic clutch 4 to obtain the speed difference e;
[0021] S3, inputting the speed difference e into the discretized PID controller algorithm to form an electrical signal u(t):
[0022] Where: e(k) is the deviation at sampling time k; e(k-1) is the deviation at sampling time k-1; e(j) represents the deviation value at sampling time j; r(j) is the set value (expected value) at sampling time j, and y(j) is the actual value at the same sampling time.
[0023] S4, the controller controls the lower electromagnetic clutch based on the electrical signal u(t).
[0024] Compared with the prior art, the new type has the following beneficial effects:
[0025] I. Improve printing quality and speed: by accurately controlling the step linear motion of the paper, the new technology ensures the stable transmission of the paper during printing, thereby improving the printing quality. At the same time, due to the reduction of deviation and jam in the paper transmission process, the printing speed is also improved accordingly.
[0026] II. Effectively reduce the phenomenon of paper jam: the new technology captures and reads the motion information of the upper electromagnetic clutch in real time, and accurately controls the lower electromagnetic clutch, effectively reducing the deviation and misplacement of the paper during transmission, thereby greatly reducing the probability of paper jam.
[0027] Three, improve the overall performance and reliability of the printer: by precisely controlling the transmission of paper and step linear motion, the new technology improves the overall performance and reliability of the printer. Helps to extend the service life of the printer, and reduces the printing interruption or quality problems caused by transmission system failure.
[0028] Four, advanced control algorithm to achieve precise control: using a discrete PID controller algorithm to control the step linear motion of the paper, the new technology realizes the fast and accurate adjustment of the lower electromagnetic clutch. Helps to further improve the printing quality and printing speed, and ensures the stability of the paper during transmission. BRIEF DESCRIPTION OF DRAWINGS
[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the drawings needed in the embodiment or prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without creating any creative labor.
[0030] Figure 1 is a three-dimensional schematic view of the system cooperating with the paper feeding mechanism of the present application;
[0031] Figure 2 is a rear view schematic view of the system of the present application;
[0032] Figure 3 is a front view schematic view of the system of the present application;
[0033] Figure 4 is a side view schematic view of the system of the present application;
[0034] Figure 5 is a three-dimensional schematic view of the system of the present application.
[0035] Reference signs: 1, paper feeding mechanism; 2, rack; 3, paper feeding assembly; 301, paper feeding motor; 302, paper feeding wheel; 4, lower electromagnetic clutch; 5, upper electromagnetic clutch; 6, encoding assembly; 601, PF encoder; 602, PF code reading sensor; 7, transmission belt assembly; 8, paper feeding wheel. 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 specific embodiments of the present application will be described in detail below. In the following description, a lot of specific details are set forth in order to fully understand the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without departing from the connotation of the present application, therefore the present application is not limited by the specific embodiments disclosed below;
[0037] Embodiment One: Please refer to Figures 1-5 The embodiment provides a transmission system for a laser printer.
[0038] The transmission system comprises the following components arranged on a frame 2:
[0039] 1) a paper feed assembly 3 for receiving and transporting paper fed by a paper feeding mechanism 1 of the laser printer;
[0040] 2) a clutch assembly for converting the paper into the same step linear motion as when fed by the paper feeding mechanism 1;
[0041] 3) an encoding assembly 6 for obtaining the step linear motion information of the paper fed by the paper feeding mechanism 1;
[0042] 4) and a controller arranged in the frame 2 for receiving the information transmitted by the encoding assembly 6 and controlling the paper feed assembly 3 and the clutch assembly.
[0043] Specifically, the design principle of the transmission system is based on accurate paper step control and information feedback mechanism. When the paper feeding mechanism 1 feeds the paper into the printer, the encoding assembly 6 starts working immediately to obtain the step linear motion information of the paper in real time and transmit the information to the controller. After receiving the information, the controller quickly calculates the actual step of the paper and compares it with the preset step. If there is a difference, the controller will immediately adjust the working state of the paper feed assembly 3 and the clutch assembly to ensure that the paper maintains the same step linear motion as when fed by the paper feeding mechanism 1 during the transmission process. This design principle ensures the stability and accuracy of the paper during the printing process.
[0044] It can be understood that for the above-mentioned scheme: from the application level, the transmission system brings significant functional improvement to the laser printer. First, it realizes the step consistency of the paper during the paper feeding and paper feeding process, which greatly improves the printing quality and printing speed. Secondly, through accurate step control, the transmission system effectively reduces the occurrence of paper jamming and reduces the failure rate of the printer. Finally, the design of the transmission system also considers the ease of use and maintainability, so that users can more conveniently maintain and maintain during use.
[0045] In the technical scheme provided in the embodiment, please refer to Figures 2-5 : the clutch assembly comprises a lower electromagnetic clutch 4 and an upper electromagnetic clutch 5, both of which are driven by a rubbing wheel and correspond to the upper surface and the lower surface of the paper.
[0046] Specifically, the design principle of the clutch assembly is based on the working characteristics of electromagnetic clutches and the transmission effect of the rollers. The electromagnetic clutches achieve the clutching function through electromagnetic induction. When the electromagnet is powered on, the clutch is closed, and the rollers start to rotate and drive the paper to move. The lower electromagnetic clutch 4 and the upper electromagnetic clutch 5 correspond to the lower surface and the upper surface of the paper respectively, and work simultaneously to ensure that the paper does not deviate or slide during transmission. The transmission effect of the rollers further enhances the friction between the paper and the transmission channel, making the paper transmit more stably.
[0047] It should be noted that for the above scheme:
[0048] (1) Lower electromagnetic clutch 4: mainly used to control the downstream part of paper transmission, ensuring that the paper moves linearly according to the predetermined step during printing, achieving accurate printing.
[0049] (2) Upper electromagnetic clutch 5: usually located upstream of the paper feeding mechanism 1, responsible for starting and stopping the paper feeding process, ensuring that the paper can enter the printing channel smoothly and accurately.
[0050] After receiving the control signal, the electromagnetic clutch achieves engagement or separation through electromagnetic force, thereby controlling the rotation of the rollers and further controlling the transmission speed and position of the paper.
[0051] It should be noted that the electromagnetic clutch is an automatic electrical device that uses electromagnetic force to control the clutching action, widely used in various mechanical systems. In the laser printer, the lower electromagnetic clutch 4 and the upper electromagnetic clutch 5 use micro electromagnetic clutches, which have the advantages of small size, fast response speed, compact structure, etc., and are very suitable for use in printers and other office equipment. It is mainly composed of the following parts:
[0052] (1) Electromagnetic coil: when current passes through, an electromagnetic field is generated, attracting or releasing the armature (or related components), thereby controlling the engagement or separation of the clutch.
[0053] (2) Armature (rotor): the part attracted by the electromagnetic coil, connected to the output shaft, used to transmit power.
[0054] (3) Compression spring (return spring): used to return the armature (or rotor) to the original position when the electromagnetic coil is powered off, achieving the separation of the clutch.
[0055] Further:
[0056] (1) The lower electromagnetic clutch 4: According to the clutch information (i.e. the step linear motion information of the paper) transmitted by the encoding assembly 6, compare with the target speed, adjust the current of the electromagnetic coil through the PID controller algorithm disclosed in embodiment two, so as to accurately control the engagement degree of the lower electromagnetic clutch 4, and ensure that the paper moves linearly according to the predetermined step. In the printing process, the transmission speed of the paper is adjusted in real time to adapt to different printing needs, improve the printing quality and speed.
[0057] (2) The upper electromagnetic clutch 5: responsible for starting the feeding process of the paper. When receiving the printing instruction, the electromagnetic coil is powered on to generate electromagnetic force, attracting the armature (or related components), so that the upper electromagnetic clutch 5 is engaged, thereby starting the paper feeding mechanism 1 to feed the paper into the printing channel. After the printing is completed or the paper feeding needs to be stopped, the electromagnetic coil is powered off, and the armature (or related components) returns to the original position under the action of the compression spring (or return spring), the upper electromagnetic clutch 5 is separated, and the feeding of the paper is stopped.
[0058] It can be understood that for the above scheme: from the application level, the design of the clutch assembly brings significant functional improvement to the laser printer. First of all, through the double clutch design of the lower electromagnetic clutch 4 and the upper electromagnetic clutch 5, the upper and lower surfaces of the paper are simultaneously driven and controlled, which greatly improves the stability and accuracy of the paper transmission. Secondly, the transmission effect of the rubbing roller effectively enhances the friction force between the paper and the transmission channel, reducing the deviation and sliding phenomenon of the paper in the transmission process.
[0059] In the technical scheme provided in the embodiment, please refer to Figures 2-5 : further comprising a transmission belt assembly 7, the transmission belt assembly 7 comprising a driving wheel and two driven wheels, wherein the driving wheel and one of the driven wheels are in transmission relationship through a belt, and the driven wheel is connected with the lower electromagnetic clutch 4;
[0060] The other driven wheel is in transmission relationship with the rubbing roller in the paper feeding mechanism 1 through a belt, i.e. the rubbing roller in the paper feeding mechanism 1 is regarded as a kind of driving wheel, and the driven wheel is connected with the upper electromagnetic clutch 5. In this way, the upper electromagnetic clutch 5 receives the paper feeding step linear motion from the paper feeding mechanism 1, and the motion information is captured by the encoding assembly 6. After the operation of the controller, the rotation force of the driving wheel can be controlled, i.e. the motion parameters of the lower electromagnetic clutch 4 can be adjusted to be consistent with those of the upper electromagnetic clutch 5, so as to keep the step linear motion of the paper in the paper feeding process consistent, and when the step linear motion of the paper at the output end deviates from that of the paper feeding mechanism 1, the system can compensate. The finally output paper is received by the paper feeding wheel 8 and transported out of the paper feeding mechanism 1.
[0061] Specifically, the design principle of the transmission belt assembly 7 is based on the stability and accuracy of belt transmission. The driving wheel transmits power to the two driven wheels through the belt, achieving smooth power transmission. At the same time, through the close connection with the lower electromagnetic clutch 4 and the upper electromagnetic clutch 5, the transmission belt assembly 7 can accurately transmit the paper feeding mechanism 1 step linear motion information to the upper electromagnetic clutch 5, and through the capture of the encoding assembly 6 and the operation of the controller, the precise control of the lower electromagnetic clutch 4 is realized. This design principle ensures the step consistency and stability of the paper during transmission.
[0062] It can be understood that for the above scheme: from the application level, the introduction of the transmission belt assembly 7 brings significant functional improvement to the laser printer. First of all, it realizes the step consistency of the paper during paper feeding and paper feeding, greatly improving the printing quality and printing speed. Secondly, through accurate step control, the transmission system effectively reduces the occurrence of paper jam, reduces the failure rate of the printer. In addition, when the step linear motion of the paper outlet end deviates from the step linear motion of the paper feeding mechanism 1, the system can effectively compensate, further ensuring the stability and accuracy of the paper transmission. The final output paper is received by the paper feeding wheel 8 and stably transported out of the paper feeding mechanism 1, providing a strong guarantee for the efficient and stable operation of the laser printer.
[0063] In the technical scheme provided in the embodiment, please refer to Figures 2-5 : The encoding assembly 6 includes a PF encoder 601 adapted to the upper electromagnetic clutch 5, and a PF code reading sensor 602 electrically connected with the PF encoder 601; the PF code reading sensor 602 is electrically connected with the controller.
[0064] Specifically, the design principle of the encoding assembly 6 is based on the accurate measurement of the encoder and the sensitive reading of the sensor. The PF encoder 601 can convert the motion information of the upper electromagnetic clutch 5 into accurate encoding signals in real time through the close cooperation of its detection section with the upper electromagnetic clutch 5. The PF code reading sensor 602 uses its high sensitivity reading ability to capture and analyze the encoding signals output by the PF encoder 601 in real time, and converts them into digital information that the controller can recognize. After receiving these information, the controller realizes the accurate control of the paper step linear motion through accurate calculation and processing.
[0065] It can be understood that for the above scheme: from the application level, the design of the encoding assembly 6 brings significant functional improvement to the laser printer. First of all, through the close cooperation of the PF encoder 601 and the PF encoding reading sensor 602, the real-time and accurate capture and reading of the movement information of the electromagnetic clutch 5 are realized, and accurate data support is provided for the controller. Secondly, the high precision and stability of the encoding assembly 6 effectively improve the accuracy and reliability of paper transmission, and reduce the occurrence of paper jam. Finally, the design of the encoding assembly 6 also takes into account the ease of use and maintainability, so that users can more conveniently maintain and maintain during use.
[0066] In the technical scheme provided in the embodiment, please refer to Figures 2-5 : The paper feed assembly 3 includes a paper feed motor 301 and a paper feed wheel 302 driven by the paper feed motor 301.
[0067] Specifically: the design principle of the paper feed assembly 3 is based on the rotational motion of the motor and the transmission effect of the wheel. The paper feed motor 301 starts to rotate and generates power by receiving the electrical signal from the controller. This power is transmitted to the paper through the paper feed wheel 302, so that the paper moves forward under the action of friction.
[0068] It can be understood that for the above scheme: from the application level, the design of the paper feed assembly 3 brings significant functional improvement to the laser printer. First of all, through the close cooperation of the paper feed motor 301 and the paper feed wheel 302, the stable and uniform transmission of the paper is realized, and the printing quality and printing speed are improved. Secondly, the design of the paper feed assembly 3 takes into account the ease of use and maintainability, so that users can more conveniently maintain and maintain during use. For example, when replacing paper or cleaning the printer, the user can easily disassemble and install the paper feed wheel 302. Finally, the reliability of the paper feed assembly 3 also provides a strong guarantee for the long-term stable operation of the laser printer.
[0069] In the technical scheme provided in the embodiment, please refer to Figures 2-5 : The controller is an Arduino microcontroller, and the Arduino microcontroller is embedded in the rack 2.
[0070] Summarily, in view of the related problems in the prior art, the embodiment based on the above-mentioned transmission system for a laser printer adopts the following technical means or features to solve the problems:
[0071] In the conventional laser printer, the inconsistent linear motion of the paper step is mainly caused by the instability and inaccuracy of the transmission system; and the technology of the embodiment effectively solves this problem by introducing the encoding assembly 6, the transmission belt assembly 7 and the advanced control method.
[0072] The introduction of the encoding assembly 6 realizes real-time and accurate capture and reading of the movement information of the upper electromagnetic clutch 5. The PF encoder 601 closely matches the upper electromagnetic clutch 5, and converts the movement information thereof into accurate encoding signals. The PF encoding reading sensor 602 reads these encoding signals in real time, and transmits them to the controller. In this way, the controller can accurately obtain the movement state of the upper electromagnetic clutch 5, and provides a basis for subsequent accurate control. The design of the transmission belt assembly 7 realizes smooth transmission of power and maintenance of step linear movement. The driving wheel transmits power to two driven wheels through the belt, one of which is connected with the lower electromagnetic clutch 4, and the other of which is connected with the paper roller in the paper feeding mechanism 1. This design ensures the consistency and stability of the step length of the paper during transmission.
[0073] Embodiment Two: The embodiment is based on Embodiment One, and further discloses a control method of the transmission system for the laser printer, which is realized by using the transmission system for the laser printer as described above and performing the following steps:
[0074] S1, receiving the clutch information of the upper electromagnetic clutch 5 transmitted by the encoding assembly 6; the clutch information is the step linear movement information when the paper feeding mechanism 1 feeds the paper;
[0075] S2, comparing the clutch information as a feedback signal with the target speed of the lower electromagnetic clutch 4 to obtain a speed difference e;
[0076] S3, inputting the speed difference e into a discretized PID controller algorithm to form an electrical signal u(t):
[0077] Wherein: e(k) is the deviation at the sampling time k; e(k-1) is the deviation at the sampling time k-1; e(j) represents the deviation value at the sampling time j; r(j) is the set value (expected value) at the sampling time j, and y(j) is the actual value at the same sampling time.
[0078] S4, the controller controls the lower electromagnetic clutch 4 based on the electrical signal u(t).
[0079] Specifically, the principle of the control method is based on the working principle of the PID controller and the feedback control mechanism. The PID controller is a commonly used industrial controller that adjusts the deviation of the system through three parameters: proportion (P), integral (I), and derivative (D), to achieve stable control of the system. In this control method, the clutch information of the upper electromagnetic clutch 5 is taken as the feedback signal, compared with the target speed of the lower electromagnetic clutch 4, and the speed difference e is obtained. This speed difference e reflects the difference between the current system state and the target state. Through the PID controller algorithm, the speed difference e is processed to form an electrical signal u(t), which is used to control the working state of the lower electromagnetic clutch 4, thereby achieving precise control of the linear motion of the paper step.
[0080] It can be understood that for the above-mentioned scheme: from the application level, the control method brings significant functional improvement to the laser printer. First, by precisely controlling the linear motion of the paper step, the printing quality and printing speed are improved. Second, the control method has good stability and adaptability, which can cope with the challenges brought by different paper materials and weights. In addition, through the precise adjustment of the PID controller, the control method can effectively reduce the occurrence of paper jamming and reduce the failure rate of the printer. Finally, the implementation of the control method is simple and easy to implement, without the need for a large number of modifications and upgrades to the printer, reducing the application cost.
[0081] In summary, in view of the related problems in the prior art, the present embodiment based on the above-mentioned control method for a transmission system of a laser printer adopts the following technical means or features to solve the problems:
[0082] The advanced control method processes the clutch information transmitted by the encoding assembly 6 to achieve precise control of the lower electromagnetic clutch 4. The controller compares the clutch information with the target speed of the lower electromagnetic clutch 4 to obtain the speed difference e. Then, the speed difference e is input into the discretized PID controller algorithm, and through the adjustment of the three parameters of proportion, integral, and derivative, an electrical signal u(t) is formed. This electrical signal u(t) is used to control the working state of the lower electromagnetic clutch 4, thereby achieving precise control of the linear motion of the paper step.
[0083] Further, the embedded C language program of the control method provided by the present embodiment is as follows, which should be burned into the Arduino microcontroller:
[0084] #include<stdio.h>
[0085] #include<stdint.h>
[0086] / / Serial receive function provided by hardware
[0087] extern uint16_t read_serial_data(void);
[0088] / / Function to control the electromagnetic clutch 4, provided by the hardware abstraction layer
[0089] extern void control_electromagnetic_clutch(int16_t signal);
[0090] / / PID controller parameters
[0091] #define K_p 1.0 / / Proportional coefficient
[0092] #define K_i 0.1 / / Integral coefficient
[0093] #define K_d 0.05 / / Derivative coefficient
[0094] / / Deviation, setpoint and actual value at the sampling instant
[0095] float e
[256] ; / / Deviation array
[0096] float y
[256] ; / / Actual value array, read through the serial port
[0097] int k = 0; / / Sampling instant index
[0098] float sum_e = 0.0; / / Deviation cumulative sum
[0099] float last_e = 0.0; / / Last deviation
[0100] / / Main control loop
[0101] int main(void) {
[0102] float u_t; / / Control signal
[0103] uint16_t serial_data; / / Serial port data
[0104] while (1) {
[0105] / / S1: Receive clutch information transmitted by the encoding assembly 6
[0106] serial_data = read_serial_data();
[0107] y[k] = (float)serial_data; / / Convert serial data to actual value
[0108] / / S2: Calculate speed difference (error)
[0109] e[k] = r[k]- y[k];
[0110] / / S3: PID controller algorithm to calculate control signal
[0111] sum_e += e[k];
[0112] u_t = K_p * e[k] + K_i * sum_e + K_d * (e[k]- last_e);
[0113] last_e = e[k];
[0114] / / S4: Control electromagnetic clutch 4
[0115] control_electromagnetic_clutch((int16_t)u_t);
[0116] / / Update sampling time index
[0117] k = (k + 1) % 256;
[0118] }
[0119] return 0;
[0120] }
[0121] In the above program:
[0122] The read_serial_data function is used to read the encoded clutch information (actual value) transmitted by the component 6 from the serial port. The PID controller program implements a discrete PID controller, which calculates the deviation between the set value and the actual value, and calculates the control signal u_t according to the PID parameters (K_p, K_i, K_d). The control_electromagnetic_clutch function is used to control the engagement degree of the electromagnetic clutch 4 according to the control signal u_t.
[0123] The above described embodiments only express the practical application of the related new type, the description is more specific and detailed, but it cannot be understood as the limitation of the scope of the new type patent. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the new type, a number of modifications and improvements can be made, which belong to the protection scope of the new type. Therefore, the protection scope of the new type patent should be subject to the appended claims.
Claims
1. A drive system for a laser printer, characterized by, The application relates to a laser printer paper feeding device, which comprises the following parts: a rack (2) arranged on a laser printer, a paper feeding assembly (3) arranged on the rack (2) and used for feeding and transporting paper fed by a paper feeding mechanism (1) of the laser printer; a clutch assembly used for converting the paper into step linear motion same as that when the paper is fed by the paper feeding mechanism (1); an encoding assembly (6) used for obtaining step linear motion information of the paper fed by the paper feeding mechanism (1); and a controller arranged in the rack (2) and used for receiving information transmitted by the encoding assembly (6) and controlling the paper feeding assembly (3) and the clutch assembly.
2. The transmission system of claim 1, wherein: The clutch assembly comprises a lower electromagnetic clutch (4) and an upper electromagnetic clutch (5), both of which are driven by a rubbing wheel and correspond to upper and lower surfaces of the paper.
3. The transmission system of claim 2, wherein: The laser printer paper feeding device further comprises a transmission belt assembly (7), which comprises a driving wheel and two driven wheels, wherein the driving wheel and one of the driven wheels are in transmission relationship through a belt, and the driven wheel is connected with the lower electromagnetic clutch (4); the other driven wheel is in transmission relationship with a rubbing wheel in the paper feeding mechanism (1) through a belt, and the driven wheel is connected with the upper electromagnetic clutch (5).
4. The transmission system of claim 2, wherein: The encoding assembly (6) comprises a PF encoder (601) arranged on the upper electromagnetic clutch (5) and a PF encoding reading sensor (602) electrically connected with the PF encoder (601); the PF encoding reading sensor (602) is electrically connected with the controller.
5. The transmission system of claim 1, wherein: The paper feeding assembly (3) comprises a paper feeding motor (301) and a paper feeding wheel (302) driven by the paper feeding motor (301).
6. A transmission system according to any one of claims 1 to 5, wherein: The controller is an Arduino microcontroller, and the Arduino microcontroller is embedded in the rack (2).