CD playing system and control method

By introducing the trigger module, main control module, CD servo module and digital-to-analog conversion module into the CD playback system, real-time detection and generation of identification and reading instructions are solved, which solves the problem of being unable to detect CD discs in new CD playback devices and improves the efficiency of CD playback. Detection efficiency and operability.

CN118609609APending Publication Date: 2024-09-06深圳山灵数码科技发展有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410714714.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing new CD player device does not have a rack and a tray, so the CD disc cannot be read and processed by detecting the rack, and the detection efficiency is reduced.

Method used

A CD playback system is designed, including a trigger module, a main control module, a CD servo module and a digital-to-analog conversion module. By detecting the status of the trigger module in real time, it generates disc recognition instructions and start disc reading instructions, and performs identification processing and reading. Data conversion to realize automated CD disc identification and reading process.

Benefits of technology

It improves the detection efficiency and operability of the CD playback system, realizes accurate identification and reading processing of CD discs, and solves the problem of low detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609609A
    Figure CN118609609A
Patent Text Reader

Abstract

The invention discloses a CD playing system and a control method, and the system comprises a trigger module, a main control module, a CD servo module and a digital-to-analog conversion module. According to the embodiment of the invention, the master control module detects the state of the trigger module in real time to obtain the detection result, generates the disc identification instruction of the CD playing system according to the detection result, carries out identification processing, generates the disc identification code, and sends the disc identification code to the master control module for identification to obtain the identification result. And when it is determined that the identification result is that the CD data exists, the CD servo module is controlled by using a disc reading starting instruction to start disc reading processing so as to obtain disc reading data, and the disc reading data is converted by a digital-to-analog conversion module so as to obtain an automatic process of analog audio data. Therefore, the main control module detects the trigger module in real time so as to determine identification and disc reading processing, so that the detection efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of CD playing, and in particular to a CD playing system and a control method. Background Art

[0002] Currently, the conventional CD (Compact Disc) player is a drawer-type device, including a rack and a tray. When the CD is placed on the tray, the position of the tray is directly determined by detecting the rack to start or stop reading the CD.

[0003] However, the existing new CD player does not have a rack and a tray, so it is impossible to perform related processing by detecting the rack in the traditional way, which leads to the problem that the detection cannot be performed and the detection efficiency is reduced. Therefore, a new system and control method are needed to judge so that the CD disc starts or stops the disc reading process. Summary of the invention

[0004] The embodiment of the present invention provides a CD playing system and a control method, aiming to solve the problem that the existing new CD playing device in the prior art is not provided with a rack and a tray, so it is impossible to perform relevant processing by the traditional method of detecting the rack, which leads to the problem that the detection cannot be performed and the detection efficiency is reduced.

[0005] In order to solve the above problems, in the first aspect, an embodiment of the present invention provides a CD playing system, including a trigger module, a main control module, a CD servo module and a digital-to-analog conversion module; the trigger module is connected to the main control module; the main control module is also connected to the CD servo module; the CD servo module is also connected to the digital-to-analog conversion module; wherein the main control module is used to detect the state of the trigger module in real time to obtain a detection result; if it is determined that the detection result is a closed state, a disc recognition instruction is generated, and the disc recognition instruction is sent to the CD servo module; the CD servo ... the detection result is a closed state, a disc recognition instruction is generated, and the disc recognition instruction is sent to the CD servo module; the CD servo module is used to detect the state of the trigger module in real time to obtain a detection result; if the detection result is a closed state, a disc recognition instruction is generated, and the disc recognition instruction is sent to the CD servo module; the CD The disc identification code is obtained by performing identification processing, and the disc identification code is sent to the main control module; the main control module is further used to perform identification processing on the disc identification code to obtain an identification result; if the main control module determines that the identification result is that there is CD disc data, a disc reading start instruction is generated, and the disc reading start instruction is sent to the CD servo module; the CD servo module is further used to perform disc reading processing according to the received disc reading start instruction to obtain disc reading data, and send the disc reading data to the digital-to-analog conversion module; the digital-to-analog conversion module is used to convert the disc reading data to obtain analog audio data.

[0006] In a second aspect, an embodiment of the present invention further provides a control method for a CD playback system, which is applied to the CD playback system as described in the first aspect, and the method comprises: the main control module detects the state of the trigger module in real time to obtain a detection result; if the main control module determines that the detection result is a closed state, a disc recognition instruction is generated, and the disc recognition instruction is sent to the CD servo module; the CD servo module performs recognition processing according to the disc recognition instruction to obtain a disc recognition code, and sends the disc recognition code to the main control module; the main control module performs recognition processing on the disc recognition code to obtain a recognition result; if the main control module determines that the recognition result is that there is CD disc data, a disc reading start instruction is generated, and the disc reading start instruction is sent to the CD servo module; the CD servo module performs disc reading processing according to the received disc reading start instruction to obtain disc reading data, and sends the disc reading data to the digital-to-analog conversion module; the digital-to-analog conversion module converts the disc reading data to obtain analog audio data.

[0007] The embodiment of the present invention provides a CD playing system and control method, wherein the system comprises a trigger module, a main control module, a CD servo module and a digital-to-analog conversion module; the trigger module is connected to the main control module; the main control module is also connected to the CD servo module; the CD servo module is also connected to the digital-to-analog conversion module; wherein the main control module is used to detect the state of the trigger module in real time to obtain a detection result; if it is determined that the detection result is a closed state, a disc recognition instruction is generated and sent to the CD servo module; the CD servo module is used to perform the operation according to the disc recognition instruction. The main control module is further used to perform identification processing on the disc identification code to obtain an identification result; if the main control module determines that the identification result is that there is CD disc data, it generates a disc reading start instruction and sends the disc reading start instruction to the CD servo module; the CD servo module is further used to perform disc reading processing according to the received disc reading start instruction to obtain disc reading data, and send the disc reading data to the digital-to-analog conversion module; the digital-to-analog conversion module is used to convert the disc reading data to obtain analog audio data. The main control module detects the state of the trigger module in real time to obtain a detection result and based on the detection result, the CD playback system generates a disc recognition instruction, performs recognition processing, generates a disc recognition code, and sends the disc recognition code to the main control module for recognition to obtain a recognition result. When it is determined that the recognition result is that there is CD disc data, a disc reading start instruction is used to control the CD servo module to start disc reading processing to obtain the disc reading data, and the digital-to-analog conversion module converts the disc reading data to obtain an automated process of analog audio data. Therefore, the main control module detects the trigger module in real time and then determines the recognition and disc reading processing to improve the detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0009] Figure 1 A schematic structural diagram of a CD playing system provided by an embodiment of the present invention;

[0010] Figure 2 A schematic circuit diagram of a trigger module and a main control module in a CD playback system provided by an embodiment of the present invention;

[0011] Figure 3 A schematic flow chart of a control method for a CD playing system provided in an embodiment of the present invention.

[0012] Among them, the reference numerals in the figure are:

[0013] 1. CD playback system; 10. Trigger module; 20. Main control module; 30. CD servo module; 40. Digital-to-analog conversion module; 50. Power module; 60. Display module. DETAILED DESCRIPTION

[0014] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0015] The directional terms mentioned in the present invention, such as "upper", "lower", "front", "back", "left", "right", "inner", "outer", "side", etc., are only referenced to the directions of the attached drawings. Therefore, the directional terms used are used to illustrate and understand the present invention, but are not used to limit the present invention. In addition, in the drawings, structures with similar or identical structures are represented by the same reference numerals.

[0016] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0017] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0018] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0019] See also Figure 1-2 , Figure 1 A schematic structural diagram of a CD playing system provided by an embodiment of the present invention; Figure 2 This is a schematic circuit structure diagram of a trigger module and a main control module in a CD playback system provided in an embodiment of the present invention.

[0020] like Figure 1-2As shown, the embodiment of the present invention provides a CD playing system 1, comprising a trigger module 10, a main control module 20, a CD servo module 30 and a digital-to-analog conversion module 40; the trigger module 10 is connected to the main control module 20; the main control module 20 is also connected to the CD servo module 30; the CD servo module 30 is also connected to the digital-to-analog conversion module 40;

[0021] The main control module 20 is used to detect the state of the trigger module 10 in real time to obtain a detection result; if it is determined that the detection result is a closed state, a disc recognition instruction is generated, and the disc recognition instruction is sent to the CD servo module 30; the CD servo module 30 is used to perform recognition processing according to the disc recognition instruction to obtain a disc recognition code, and send the disc recognition code to the main control module 20; the main control module 20 is also used to perform recognition processing on the disc recognition code to obtain a recognition result; if the main control module determines that the recognition result is that there is CD disc data, a disc reading start instruction is generated, and the disc reading start instruction is sent to the CD servo module 30; the CD servo module 30 is also used to perform disc reading processing according to the received disc reading start instruction to obtain disc reading data, and send the disc reading data to the digital-to-analog conversion module 40; the digital-to-analog conversion module 40 is used to convert the disc reading data to obtain analog audio data.

[0022] In this embodiment, the CD playing system 1 further includes a power module 50 and a display module 60; the power module 50 is connected to the trigger module 10, the main control module 20, the CD servo module 30 and the digital-to-analog conversion module 40, and the power module 50 is used to provide the trigger module 10, the main control module 20, the CD servo module 30 and the digital-to-analog conversion module 40 with a working power supply VDD to ensure the normal operation of the system; the display module 60 is used to display the disc reading data. The CD playing system 1 may also include a playing module, which is connected to the main control module 20 and is used to play the analog audio data. The disc reading data may include track data and lyrics data, etc.

[0023] The main control module 20 detects the state of the trigger module 10 in real time to obtain a detection result; if the main control module 20 determines that the detection result is a closed state, it generates a disc recognition instruction and sends the disc recognition instruction to the CD servo module 30; the CD servo module 30 receives the disc recognition instruction, performs recognition processing according to the disc recognition instruction to obtain a disc recognition code, and sends the disc recognition code to the main control module 20; the main control module 20 receives the disc recognition code, and performs recognition processing on the disc recognition code to obtain a recognition result; if the main control module determines that the recognition result is that there is CD disc data, it generates a disc reading start instruction and sends the disc reading start instruction to the CD servo module 30; the CD servo module 30 receives the disc reading start instruction, performs disc reading processing according to the received disc reading start instruction to obtain disc reading data, and sends the disc reading data to the digital-to-analog conversion module 40; the digital-to-analog conversion module 40 receives the disc reading data, and converts the disc reading data to obtain analog audio data.

[0024] The disc-read data is digital data, and needs to be converted into analog audio data by the digital-to-analog conversion module 40 .

[0025] At the same time, the CD servo module 30 also sends the disc reading data to the main control module 20, and the main control module 20 sends the received disc reading data to the display module 60; the display module 60 performs display processing on the disc reading data to obtain display data, and displays the display data through the display component included in the display module 60.

[0026] Through the above embodiments, it can be known that the main control module 20 detects the state of the trigger module 10 in real time to obtain the detection result; if the main control module 20 determines that the detection result is a closed state, it generates a disc recognition instruction and sends the disc recognition instruction to the CD servo module 30; the CD servo module 30 performs recognition processing according to the disc recognition instruction to obtain a disc recognition code, and sends the disc recognition code to the main control module 20; the main control module 20 performs recognition processing on the disc recognition code to obtain the recognition result; if the main control module determines that the recognition result is that there is CD disc data, it generates a start disc reading instruction and sends the start disc reading instruction to the CD servo module 30; the CD servo module 30 performs a start disc reading processing according to the start disc reading instruction to obtain disc reading data, and sends the disc reading data to the digital-to-analog conversion module 40; the digital-to-analog conversion module 40 converts the disc reading data to obtain analog audio data. In this way, the main control module 20 detects the state of the trigger module 10 in real time to obtain the detection result, and based on the detection result, the CD playback system 1 generates a disc recognition instruction, performs recognition processing, generates a disc recognition code, and sends the disc recognition code to the main control module for recognition to obtain the recognition result. When it is determined that the recognition result is that there is CD disc data, the CD servo module 30 is controlled by the start disc reading instruction to start the disc reading process to obtain the disc reading data, and the digital-to-analog conversion module 40 converts the disc reading data to obtain the analog audio data. Therefore, the main control module 20 detects the trigger module 10 in real time and then determines the recognition and disc reading process, thereby improving the detection efficiency and operability of the system.

[0027] In one embodiment, if Figure 1 As shown, the trigger module 10 includes a trigger component, a placement component and a start component; the start component is connected to the placement component and the trigger component; and the trigger component is also connected to the main control module 20.

[0028] In this embodiment, if Figure 1 As shown, the trigger component is triggered to jump to the corresponding state when the start component and the placement component are connected or not connected (disconnected); the placement component is used to place the CD disc; the start component is used to combine with the placement component to start the trigger component. The start component can be a cover-type, rotating or flip-type component, and the start component can be connected to the placement component to trigger the trigger component.

[0029] The starting component is of a press-cover type, that is, the starting component is a top cover; the trigger component is arranged in the placement component, that is, the trigger component is connected to the placement component; when the starting component establishes a connection with the placement component, the top cover of the starting component simultaneously triggers the trigger component, so that the trigger component jumps to a closed state; the main control module 20 detects the state of the trigger component in the trigger module 10 in real time to obtain a detection result; at this time, if the main control module 20 detects that the trigger component jumps to a closed state, it determines that the detection result is a closed state.

[0030] The starting component is rotary, that is, the starting component is a rotating rod; the trigger component is arranged in the placement component, that is, the trigger component is connected to the placement component; when the starting component establishes a connection with the placement component, the rotating rod of the starting component simultaneously triggers the trigger component, so that the trigger component jumps to a closed state; the main control module 20 detects the state of the trigger component in the trigger module 10 in real time to obtain a detection result; at this time, if the main control module 20 detects that the trigger component jumps to a closed state, it determines that the detection result is a closed state.

[0031] The starting component is of a flip-cover type, that is, the starting component is a flip cover (snapping cover); the trigger component is arranged in the placement component, that is, the trigger component is connected to the placement component; when the starting component establishes a connection with the placement component, the flipping of the starting component simultaneously triggers the trigger component, so that the trigger component jumps to a closed state; the main control module 20 detects the state of the trigger component in the trigger module 10 in real time to obtain a detection result; at this time, if the main control module 20 detects that the trigger component jumps to a closed state, it determines that the detection result is a closed state.

[0032] Through the above embodiments, it can be known that the trigger component is triggered to jump to the corresponding state when the start component and the placement component are connected or not connected (disconnected); the placement component is used to place the CD disc; the start component is used to start the trigger component in combination with the placement component; the start component can be a new type of component of the press cover type, the rotation type, or the flip cover type. In this way, the existing new type CD playback device can be processed accordingly according to the CD playback system 1, so as to improve the detection efficiency and operability of the system.

[0033] In one embodiment, if Figure 1-2 As shown, the trigger component includes a trigger switch SW1, a first resistor R1 and a second resistor R2; the common end of the trigger switch SW1 is connected to the first end of the second resistor R2; the second end of the second resistor R2 is connected to the second end of the first resistor R1 and the main control module 20.

[0034] In this embodiment, if Figure 1-2 As shown, the specification of the first resistor R1 can be 10K; the specification of the second resistor R2 can be 10R; the model of the trigger switch SW1 is SSCTL10600, including three pins, namely the first pin, the second pin and the third pin; the first pin is a normally open end, and the first pin is grounded. When the starting component establishes a connection with the placement component, the trigger switch SW1 is triggered. At this time, the first pin and the second pin are short-circuited; the second pin is a common end. When the starting component and the placement component are not connected, that is, when the starting component is disconnected from the placement component, the first pin and the second pin are open; the second pin is also connected to the first end of the second resistor R2; the third pin is a normally closed end and is a floating pin.

[0035] Wherein, the first end of the first resistor R1 is connected to the power module 50 .

[0036] On the premise that the power module 50 is started and generates a start signal, and the start signal is sent to the trigger component through the main control module 20 to provide a power signal to the trigger component, the start component is connected to the placement component, and the start component triggers the trigger component at the same time; the trigger switch SW1 in the trigger component is triggered because the start component is connected to the placement component and the start component triggers the trigger component at the same time, the second pin is short-circuited with the first pin, the trigger switch SW1 jumps to a closed state, and generates a trigger signal of 0 potential; the main control module 20 detects the state of the trigger switch in real time, and when it is detected that the trigger component is in a closed state, that is, the trigger signal is 0 potential, the detection result is obtained according to the state of the trigger module 10. At this time, if the main control module 20 determines that the detection result is a closed state, it generates the disc recognition instruction and sends the disc recognition instruction to the CD servo module 30.

[0037] On the premise that the power module 50 is started and generates a start signal, and the start signal is sent to the trigger component through the main control module 20 to provide a power signal to the trigger component, the start component is disconnected from the placement component, that is, the start component is disconnected from the placement component, and the start component is disconnected from the trigger component; the trigger switch SW1 in the trigger component is disconnected from the placement component and the start component is disconnected from the trigger component, the second pin and the first pin are open, the trigger switch SW1 jumps to the normally open state, and the second pin becomes a high-potential trigger signal by pulling up the first resistor R1; the main control module 20 detects the state of the trigger switch in real time, and when it is detected that the trigger component is in the normally open state, that is, the trigger signal is at a high potential, the detection result is obtained according to the state of the trigger module 10. At this time, if the main control module 20 determines that the detection result is the normally open state, it generates the stop disc reading instruction and sends the stop disc reading instruction to the CD servo module 30.

[0038] Through the above embodiments, it can be known that the main control module 20 detects the state of the trigger component in the trigger module 10 in real time to obtain the detection result to generate a disc recognition instruction or a disc reading stop instruction according to the detection result, and sends the disc recognition instruction or the disc reading stop instruction to the CD servo module 30. In this way, the detection efficiency and operability are improved. At the same time, subsequent targeted processing is performed according to the detection result, the disc recognition instruction or the disc reading stop instruction.

[0039] In one embodiment, if Figure 1-2 As shown, the main control module 20 includes a main control chip U1, a first capacitor C1 and a second capacitor C2; the PF0-OSC_IN pin of the main control chip U1 is connected to the second end of the second resistor R2 and the second end of the first resistor R1; the first VCC pin of the main control chip U1 is connected to the second end of the first capacitor C1; the first VSS pin of the main control chip U1 is connected to the first end of the first capacitor C1; the second VCC pin of the main control chip U1 is connected to the first end of the second capacitor C2; the second VSS pin of the main control chip U1 is connected to the second end of the second capacitor C2.

[0040] In this embodiment, if Figure 1-2 As shown, the model of the main control chip U1 may be PY32F071C1BU6; the specification of the first capacitor C1 may be 106; the specification of the second capacitor C2 may be 106. The main control chip U1 includes a PF0-OSC_IN pin, a first VCC pin, a first VSS pin, a second VCC pin, a second VSS pin, and a VCCA pin.

[0041] Among them, the first end of the first capacitor C1 is also grounded, and the second end of the first capacitor C1 is also connected to the power module 50; the first end of the second capacitor C2 is connected to the power module 50, and the second end of the second capacitor C2 is also grounded; the VCCA pin is connected to the power module 50.

[0042] The main control module 20 is connected to the power module 50 through the first capacitor C1 and the second capacitor C2 to provide a power signal for the main control module 20, and detects the trigger signal sent by the trigger component through the PF0-OSC_IN pin of the main control chip U1 to determine whether it is a closed state or a normally open state, that is, the main control chip U1 determines the detection result according to the closed state or the normally open state to generate a corresponding disc recognition instruction or a stop disc reading instruction. Specifically, if the main control chip U1 determines that the trigger signal is a signal of 0 potential, the detection result is determined to be a closed state, then the disc recognition instruction is generated, and the disc recognition instruction is sent to the CD servo module 30. Correspondingly, when the main control chip U1 determines that the trigger signal is a signal of high potential, the detection result is determined to be a normally open state, then the stop disc reading instruction is generated, and the stop disc reading instruction is sent to the CD servo module 30.

[0043] Through the above embodiments, it can be known that the main control module 20 receives the trigger signal sent by the trigger component through the corresponding pin, and determines the detection result according to the trigger signal, so as to generate the corresponding disc recognition instruction or stop reading instruction according to the detection result. In this way, the detection efficiency and operability of the system are improved. At the same time, subsequent targeted processing is performed according to the disc recognition instruction or the stop reading instruction.

[0044] In one embodiment, if Figure 1-2 As shown, the main control chip U1 further includes a PB8 pin and a PB9 pin; the main control chip U1 is connected to the CD servo module 30 via the PB8 pin and the PB9 pin.

[0045] In this embodiment, if Figure 1-2 As shown, the PB8 pin is connected to the CD_RXD pin in the servo chip included in the CD servo module 30; the PB9 pin is connected to the CD_TXD pin in the servo chip included in the CD servo module 30. The model of the servo chip may be SC6137D. The servo chip includes a CD_RXD pin and a CD_TXD pin.

[0046] The servo chip obtains the disc identification instruction sent by the main control chip U1 through the PB8 pin through the CD_RXD pin, identifies whether a CD disc is placed in the placement component according to the disc identification instruction, generates the corresponding disc identification code, and sends the disc identification code to the PB9 pin of the main control chip U1 through the CD_TXD pin for reception.

[0047] The disc identification code includes a disc identification code and a no-disc identification code. The main control module performs identification processing on the disc identification code to obtain an identification result; that is, if it is determined that the disc identification code is a disc identification code, then the identification result is determined to be CD disc data; if it is determined that the disc identification code is a no-disc identification code, then the identification result is determined to be no CD disc data.

[0048] If the main control module 20 determines that the identification result is that there is no CD disc data, it continues to detect the state of the trigger module 10 in real time to obtain the detection result.

[0049] If the main control module determines that the recognition result is CD disc data, it generates a disc reading start instruction and sends the disc reading start instruction to the CD servo module 30; the CD servo module 30 starts disc reading according to the disc reading start instruction to obtain disc reading data, and sends the disc reading data to the digital-to-analog conversion module 40; the digital-to-analog conversion module 40 converts the disc reading data to obtain analog audio data for playback processing.

[0050] If the servo chip determines that the instruction is to stop reading the disc, the servo chip stops reading the disc according to the instruction to stop reading the disc.

[0051] At the same time, the CD servo module 30 also sends the disc reading data to the main control module 20, and the main control module 20 sends the received disc reading data to the display module 60; the display module 60 performs display processing on the disc reading data to obtain display data, and displays the display data through the display component included in the display module 60.

[0052] Among them, the main control chip also includes PA0 pin, PA1 pin, PA2 pin, PA3 pin, PA4 pin, PA5 pin, PA6 pin, PA7 pin, and PA8 pin; the main control chip in the main control module 20 is connected to the IO1 pin, IO2 pin, IO3 pin, IO4 pin, IO5 pin, IO6 pin, IO7 pin, IO8 pin, and IO9 pin included in the display chip in the display module 60 through the PA0 pin, the PA1 pin, the PA2 pin, the PA3 pin, the PA4 pin, the PA5 pin, the PA6 pin, the PA7 pin, and the PA8 pin to control the display module 60 and send the disc reading data to the display module 60.

[0053] Through the above embodiment, it can be known that the main control module 20 detects the state of the trigger component in real time through the corresponding pin to determine and generate a disc identification instruction, perform identification processing, generate a disc identification code to send the disc identification code to the main control module 20 for identification to obtain the identification result. When it is determined that the identification result is CD disc data, the CD servo module 30 is controlled by the start disc reading instruction to start disc reading processing to obtain the disc reading data, and the digital-to-analog conversion module 40 converts the disc reading data to obtain the automated process of analog audio data, so as to realize the interaction of the detection result, disc identification instruction, disc identification code, identification result, start disc reading instruction, disc reading data and other data, so as to realize the data processing of the system according to the corresponding data, so as to realize the detection result determined according to the state of the trigger component in real time and then generate analog audio data for playback processing. In this way, the detection efficiency and operability of the system are improved.

[0054] The embodiment of the present invention also provides a control method of a CD playing system. Figure 3 1 is a flow chart of a control method for a CD playing system provided by an embodiment of the present invention. The control method for a CD playing system is applied to a CD playing system 1 .

[0055] Among them, Figure 1-2As shown, the CD playing system 1 comprises a trigger module 10, a main control module 20, a CD servo module 30 and a digital-to-analog conversion module 40; the trigger module 10 is connected to the main control module 20; the main control module 20 is also connected to the CD servo module 30; the CD servo module 30 is also connected to the digital-to-analog conversion module 40; wherein the main control module 20 is used to detect the state of the trigger module 10 in real time to obtain a detection result; if it is determined that the detection result is a closed state, a disc recognition instruction is generated and sent to the CD servo module 30; the CD servo module 30 is used to perform a The disc identification code is obtained by identification processing, and the disc identification code is sent to the main control module 20; the main control module 20 is also used to identify the disc identification code to obtain an identification result; if the main control module determines that the identification result is that there is CD disc data, it generates a start disc reading instruction and sends the start disc reading instruction to the CD servo module 30; the CD servo module 30 is also used to start disc reading processing according to the received start disc reading instruction to obtain disc reading data, and send the disc reading data to the digital-to-analog conversion module 40; the digital-to-analog conversion module 40 is used to convert the disc reading data to obtain analog audio data.

[0056] The CD playing system 1 further includes a power module 50 and a display module 60; the power module 50 is connected to the trigger module 10, the main control module 20, the CD servo module 30 and the digital-to-analog conversion module 40, and the power module 50 is used to provide the trigger module 10, the main control module 20, the CD servo module 30 and the digital-to-analog conversion module 40 with a working power supply VDD to ensure the normal operation of the system; the display module 60 is used to display the disc reading data. The CD playing system 1 may also include a playing module, which is connected to the main control module 20 and is used to play the analog audio data. The disc reading data may include track data and lyrics data, etc.

[0057] like Figure 3 As shown, the control method of the CD playing system includes the following steps S110-S170.

[0058] S110, the main control module detects the state of the trigger module in real time to obtain a detection result.

[0059] In this embodiment, if Figure 1-2 As shown, the trigger module 10 includes a trigger component, a placement component and a start component; the start component is connected to the placement component and the trigger component; and the trigger component is also connected to the main control module 20.

[0060] The trigger component is triggered to jump to the corresponding state when the start component and the placement component are connected or not connected (disconnected); the placement component is used to place CD discs; the start component is used to start the trigger component in combination with the placement component. The start component can be a cover-type, rotating or flip-type component, and the start component can be connected to the placement component to trigger the trigger component. The trigger component includes a trigger switch SW1, a first resistor R1 and a second resistor R2; the common end of the trigger switch SW1 is connected to the first end of the second resistor R2; the second end of the second resistor R2 is connected to the second end of the first resistor R1 and the main control module 20.

[0061] The specification of the first resistor R1 can be 10K; the specification of the second resistor R2 can be 10R; the model of the trigger switch SW1 is SSCTL10600, including three pins, namely the first pin, the second pin and the third pin; the first pin is a normally open end, and the first pin is grounded. When the starting component establishes a connection with the placement component, the trigger switch SW1 is triggered. At this time, the first pin and the second pin are short-circuited; the second pin is a common end. When the starting component and the placement component are not connected, that is, when the starting component is disconnected from the placement component, the first pin and the second pin are open; the second pin is also connected to the first end of the second resistor R2; the third pin is a normally closed end and is a floating pin.

[0062] Wherein, the first end of the first resistor R1 is connected to the power module 50 .

[0063] In one embodiment, the trigger module includes a trigger component, a placement component and a start component; the main control module detects the state of the trigger module in real time to obtain a detection result, including:

[0064] If the start component establishes a connection with the placement component, the trigger component jumps to a closed state;

[0065] The main control module detects that the trigger component jumps to a closed state and determines that the detection result is a closed state.

[0066] In one embodiment, the main control module detects the state of the trigger module in real time to obtain a detection result, and the method further includes:

[0067] If the start component and the placement component are not connected, the trigger component jumps to a normally open state;

[0068] The main control module detects that the trigger component jumps to the normally open state and determines that the detection result is the normally open state.

[0069] In this embodiment, if Figure 1-2 As shown, under the premise that the power module 50 is started and generates a start signal, and the start signal is sent to the trigger component through the main control module 20 to provide a power signal to the trigger component, the start component is connected to the placement component, and the start component triggers the trigger component at the same time; the trigger switch SW1 in the trigger component is triggered because the start component is connected to the placement component and the start component triggers the trigger component at the same time, the second pin is short-circuited with the first pin, the trigger switch SW1 jumps to a closed state, and generates a trigger signal of 0 potential; the main control module 20 detects the state of the trigger switch in real time, and when it is detected that the trigger component is in a closed state, that is, the trigger signal is 0 potential, the detection result is obtained according to the state of the trigger module 10. At this time, if the main control module 20 determines that the detection result is a closed state, it generates the disc recognition instruction and sends the disc recognition instruction to the CD servo module 30.

[0070] On the premise that the power module 50 is started and generates a start signal, and the start signal is sent to the trigger component through the main control module 20 to provide a power signal to the trigger component, the start component is disconnected from the placement component, that is, the start component is disconnected from the placement component, and the start component is disconnected from the trigger component; the trigger switch SW1 in the trigger component is disconnected from the placement component and the start component is disconnected from the trigger component, the second pin and the first pin are open, the trigger switch SW1 jumps to the normally open state, and the second pin becomes a high-potential trigger signal by pulling up the first resistor R1; the main control module 20 detects the state of the trigger switch in real time, and when it is detected that the trigger component is in the normally open state, that is, the trigger signal is at a high potential, the detection result is obtained according to the state of the trigger module 10. At this time, if the main control module 20 determines that the detection result is the normally open state, it generates the stop disc reading instruction and sends the stop disc reading instruction to the CD servo module 30.

[0071] The starting component is of a press-cover type, that is, the starting component is a top cover; the trigger component is arranged in the placement component, that is, the trigger component is connected to the placement component; when the starting component establishes a connection with the placement component, the top cover of the starting component simultaneously triggers the trigger component, so that the trigger component jumps to a closed state; the main control module 20 detects the state of the trigger component in the trigger module 10 in real time to obtain a detection result; at this time, if the main control module 20 detects that the trigger component jumps to a closed state, it determines that the detection result is a closed state.

[0072] The starting component is rotary, that is, the starting component is a rotating rod; the trigger component is arranged in the placement component, that is, the trigger component is connected to the placement component; when the starting component establishes a connection with the placement component, the rotating rod of the starting component simultaneously triggers the trigger component, so that the trigger component jumps to a closed state; the main control module 20 detects the state of the trigger component in the trigger module 10 in real time to obtain a detection result; at this time, if the main control module 20 detects that the trigger component jumps to a closed state, it determines that the detection result is a closed state.

[0073] The starting component is of a flip-cover type, that is, the starting component is a flip cover (snapping cover); the trigger component is arranged in the placement component, that is, the trigger component is connected to the placement component; when the starting component establishes a connection with the placement component, the flipping of the starting component simultaneously triggers the trigger component, so that the trigger component jumps to a closed state; the main control module 20 detects the state of the trigger component in the trigger module 10 in real time to obtain a detection result; at this time, if the main control module 20 detects that the trigger component jumps to a closed state, it determines that the detection result is a closed state.

[0074] In one embodiment, after the main control module detects the state of the trigger module in real time to obtain a detection result, the method further includes:

[0075] If the main control module determines that the detection result is a normally open state, it generates a stop disc reading instruction and sends the stop disc reading instruction to the CD servo module;

[0076] The CD servo module obtains the disc reading stop instruction and performs disc reading stop processing according to the disc reading stop instruction.

[0077] In this embodiment, if Figure 1-2 As shown, when there is no CD disc placed in the placement component, the servo chip obtains the stop disc reading instruction sent by the main control chip U1 through the PB8 pin through the CD_RXD pin, and the servo chip stops reading the CD disc according to the stop disc reading instruction. Specifically, the CD_TXD pin of the servo chip in the CD servo module 30 receives the stop disc reading instruction sent by the main control chip U1 through the PB9 pin, and stops reading the CD disc according to the stop disc reading instruction.

[0078] Through the above embodiment, the main control module 20 detects the state of the trigger component in the trigger module 10 in real time to obtain the detection result to generate a disc recognition instruction or a disc reading stop instruction according to the detection result, and sends the disc recognition instruction or the disc reading stop instruction to the CD servo module 30. In this way, the detection efficiency and operability are improved. At the same time, subsequent targeted processing is performed according to the detection result, the disc recognition instruction or the disc reading stop instruction.

[0079] S120: If the main control module determines that the detection result is a closed state, it generates a disc identification instruction and sends the disc identification instruction to the CD servo module.

[0080] In this embodiment, if Figure 1-2 As shown, the main control module 20 includes a main control chip U1, a first capacitor C1 and a second capacitor C2; the PF0-OSC_IN pin of the main control chip U1 is connected to the second end of the second resistor R2 and the second end of the first resistor R1; the first VCC pin of the main control chip U1 is connected to the second end of the first capacitor C1; the first VSS pin of the main control chip U1 is connected to the first end of the first capacitor C1; the second VCC pin of the main control chip U1 is connected to the first end of the second capacitor C2; the second VSS pin of the main control chip U1 is connected to the second end of the second capacitor C2.

[0081] The model of the main control chip U1 may be PY32F071C1BU6; the specification of the first capacitor C1 may be 106; the specification of the second capacitor C2 may be 106. The main control chip U1 includes a PF0-OSC_IN pin, a first VCC pin, a first VSS pin, a second VCC pin and a second VSS pin.

[0082] The first end of the first capacitor C1 is also grounded, and the second end of the first capacitor C1 is also connected to the power module 50; the first end of the second capacitor C2 is connected to the power module 50, and the second end of the second capacitor C2 is also grounded.

[0083] The PF0-OSC_IN pin of the main control chip U1 detects the trigger signal sent by the trigger component to determine whether it is in a closed state or a normally open state, that is, the main control chip U1 determines the detection result according to the closed state or the normally open state to generate a corresponding disc recognition instruction or a stop disc reading instruction, and sends the disc recognition instruction or the stop disc reading instruction to the servo chip in the CD servo module 30 through the PB8 pin of the main control chip U1.

[0084] Specifically, if the main control chip U1 determines that the trigger signal is a signal of 0 potential, the detection result is determined to be a closed state, then the disc recognition instruction is generated, and the disc recognition instruction is sent to the CD servo module 30 through the PB8 pin. Correspondingly, if the main control chip U1 determines that the trigger signal is a signal of high potential, the detection result is determined to be a normally open state, then the disc reading stop instruction is generated, and the disc reading stop instruction is sent to the CD servo module 30 through the PB8 pin.

[0085] Through the above embodiment, the main control module 20 receives the trigger signal sent by the trigger component through the corresponding pin, and determines the detection result according to the trigger signal, so as to generate a disc recognition instruction or a stop disc reading instruction according to the detection result. In this way, the detection efficiency and operability of the system are improved. At the same time, subsequent targeted processing is performed according to the disc recognition instruction or the stop disc reading instruction.

[0086] S130: The CD servo module performs identification processing according to the disc identification instruction to obtain a disc identification code, and sends the disc identification code to the main control module.

[0087] In this embodiment, if Figure 1-2 As shown, the main control chip U1 further includes a PB8 pin and a PB9 pin; the main control chip U1 is connected to the CD servo module 30 via the PB8 pin and the PB9 pin.

[0088] The PB8 pin is connected to the CD_RXD pin of the servo chip included in the CD servo module 30; the PB9 pin is connected to the CD_TXD pin of the servo chip included in the CD servo module 30. The model of the servo chip may be SC6137D.

[0089] When a CD disc is placed in the placement component, the servo chip obtains the disc identification instruction sent by the main control chip U1 through the CD_RXD pin, identifies whether a CD disc is placed in the placement component according to the disc identification instruction, generates the corresponding disc identification code, and sends the disc identification code to the PB9 pin of the main control chip U1 through the CD_TXD pin for reception.

[0090] Through the above embodiment, it can be known that the CD servo module 30 performs corresponding identification processing according to the disc identification instruction sent by the main control module 20, identifies whether a CD disc is placed in the placement component according to the disc identification instruction, and generates the corresponding disc identification code. Therefore, the operability of the method is improved.

[0091] S140: The main control module performs identification processing on the disc identification code to obtain an identification result.

[0092] In this embodiment, if Figure 1-2 As shown, the main control module 20 receives the disc identification code sent by the CD servo module 30 through the PB9 pin in the main control chip U1, and performs identification processing on the disc identification code to obtain the identification result; wherein, the identification result includes CD disc data and non-CD disc data.

[0093] On the premise that the power module 50 is started and generates a start signal, and the start signal is sent to the trigger component through the main control module 20 to provide a power signal to the trigger component, a CD disc is placed in the placement component, and the start component is connected to the placement component, and the start component triggers the trigger component at the same time; the trigger switch SW1 in the trigger component is triggered because the start component is connected to the placement component and the start component triggers the trigger component at the same time, the second pin is short-circuited with the first pin, the trigger switch SW1 jumps to a closed state, and generates a trigger signal with a 0 potential; the main control module 20 detects the state of the trigger switch in real time, and when it is detected that the trigger component is in a closed state, that is, the trigger signal is at a 0 potential, the detection result is obtained according to the state of the trigger module 10. At this time, if the main control module 20 determines that the detection result is a closed state, it generates the disc identification instruction and sends the disc identification instruction to the CD servo module 30 through the PB8 pin; the servo chip obtains the disc identification instruction sent by the main control chip U1 through the CD_RXD pin, identifies whether a CD disc is placed in the placement component according to the disc identification instruction, generates the corresponding disc identification code, and sends the disc identification code to the PB9 pin of the main control chip U1 through the CD_TXD pin for reception.

[0094] On the premise that the power module 50 is started and generates a start signal, and the start signal is sent to the trigger component through the main control module 20 to provide a power signal to the trigger component, the start component is disconnected from the placement component, that is, the start component is disconnected from the placement component, and the start component is disconnected from the trigger component; the trigger switch SW1 in the trigger component is disconnected from the placement component and the start component is disconnected from the trigger component, the second pin and the first pin are open, the trigger switch SW1 jumps to the normally open state, and the second pin becomes a high-potential trigger signal by pulling up the first resistor R1; the main control module 20 detects the state of the trigger switch in real time, and when it is detected that the trigger component is in the normally open state, that is, the trigger signal is at a high potential, the detection result is obtained according to the state of the trigger module 10. At this time, if the main control module 20 determines that the detection result is the normally open state, it generates the stop disc reading instruction and sends the stop disc reading instruction to the CD servo module 30.

[0095] The disc identification code includes a disc identification code and a no-disc identification code. The main control module performs identification processing on the disc identification code to obtain an identification result; that is, if it is determined that the disc identification code is a disc identification code, then the identification result is determined to be CD disc data; if it is determined that the disc identification code is a no-disc identification code, then the identification result is determined to be no CD disc data.

[0096] S150: If the main control module determines that the identification result indicates that there is CD disc data, it generates a disc reading start instruction and sends the disc reading start instruction to the CD servo module.

[0097] In this embodiment, if Figure 1-2 As shown, the disc identification code includes a disc identification code and a no-disc identification code. The main control module performs identification processing on the disc identification code to obtain an identification result; that is, if it is determined that the disc identification code is a disc identification code, then the identification result is determined to be CD disc data; if it is determined that the disc identification code is a no-disc identification code, then the identification result is determined to be no CD disc data.

[0098] In one embodiment, the main control module performs identification processing on the disc identification code to obtain an identification result, and the method further includes:

[0099] If the main control module determines that the identification result is that there is no CD disc data, it continues to detect the state of the trigger module in real time to obtain the detection result.

[0100] In this embodiment, if Figure 1-2As shown, the main control module 20 performs identification processing on the disc identification code to obtain an identification result; that is, if the main control module 20 determines that the disc identification code is a no-disc identification code, then it determines that the identification result is no CD disc data; if the main control module determines that the identification result is no CD disc data, then it continues to detect the state of the trigger module in real time to obtain the detection result.

[0101] Meanwhile, if the main control module determines that the identification result is that there is no CD disc data, it may also send a prompt message to the display module 60, such as no CD disc is detected, or the CD disc is a blank disc.

[0102] In this embodiment, if Figure 1-2 As shown, corresponding processing can be quickly performed according to the recognition result determined by the main control module 20. Therefore, the detection efficiency and operability of the method are improved.

[0103] S160: The CD servo module performs disc reading processing according to the received disc reading start instruction to obtain disc reading data, and sends the disc reading data to the digital-to-analog conversion module.

[0104] In this embodiment, if Figure 1-2 As shown, the CD servo module performs disc reading processing according to the received disc reading start instruction to obtain disc reading data, and sends the disc reading data to the digital-to-analog conversion module through the serial port pin.

[0105] The CD servo module 30 also sends the disc reading data to the main control module 20, and the main control module 20 sends the received disc reading data to the display module 60; the display module 60 performs display processing on the disc reading data to obtain display data, and displays the display data through the display component included in the display module 60.

[0106] Among them, the main control chip also includes PA0 pin, PA1 pin, PA2 pin, PA3 pin, PA4 pin, PA5 pin, PA6 pin, PA7 pin, and PA8 pin; the main control chip in the main control module 20 is connected to the IO1 pin, IO2 pin, IO3 pin, IO4 pin, IO5 pin, IO6 pin, IO7 pin, IO8 pin, and IO9 pin included in the display chip in the display module 60 through the PA0 pin, the PA1 pin, the PA2 pin, the PA3 pin, the PA4 pin, the PA5 pin, the PA6 pin, the PA7 pin, and the PA8 pin to control the display module 60 and send the disc reading data to the display module 60.

[0107] S170: The digital-to-analog conversion module converts the disc read data to obtain analog audio data.

[0108] In this embodiment, if Figure 1-2 As shown, the disc read data is digital data, and the digital-to-analog conversion module 40 needs to convert the disc read data into analog audio data of analog data.

[0109] Specifically, the digital-to-analog conversion module 40 includes a digital-to-analog conversion chip; the digital-to-analog conversion chip receives the disc reading data sent by the servo chip in the CD servo module 30 through the corresponding serial port pin, and performs digital-to-analog conversion on the disc reading data to obtain the analog audio data for playback processing by the playback module.

[0110] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A CD playing system, characterized in that: It includes a trigger module, a main control module, a CD servo module and a digital-to-analog conversion module; the trigger module is connected to the main control module; the main control module is also connected to the CD servo module; the CD servo module is also connected to the digital-to-analog conversion module; Wherein, the main control module is used to detect the state of the trigger module in real time to obtain a detection result; if it is determined that the detection result is a closed state, a disc recognition instruction is generated, and the disc recognition instruction is sent to the CD servo module; the CD servo module is used to perform recognition processing according to the disc recognition instruction to obtain a disc recognition code, and send the disc recognition code to the main control module; the main control module is also used to perform recognition processing on the disc recognition code to obtain a recognition result; if the main control module determines that the recognition result is that there is CD disc data, a disc reading start instruction is generated, and the disc reading start instruction is sent to the CD servo module; the CD servo module is also used to perform disc reading processing according to the received disc reading start instruction to obtain disc reading data, and send the disc reading data to the digital-to-analog conversion module; the digital-to-analog conversion module is used to convert the disc reading data to obtain analog audio data.

2. The system according to claim 1, characterized in that The trigger module includes a trigger component, a placement component and a start component; the start component is connected with the placement component and the trigger component; the trigger component is also connected with the main control module.

3. The system according to claim 1, characterized in that The trigger component includes a trigger switch, a first resistor and a second resistor; the common end of the trigger switch is connected to the first end of the second resistor; the second end of the second resistor is connected to the second end of the first resistor and the main control module.

4. The system according to claim 3, characterized in that The main control module includes a main control chip, a first capacitor and a second capacitor; the PF0-OSC_IN pin of the main control chip is connected to the second end of the second resistor and the second end of the first resistor; the first VCC pin of the main control chip is connected to the second end of the first capacitor; the first VSS pin of the main control chip is connected to the first end of the first capacitor; the second VCC pin of the main control chip is connected to the first end of the second capacitor; and the second VSS pin of the main control chip is connected to the second end of the second capacitor.

5. The system according to claim 4, characterized in that The main control chip also includes a PB8 pin and a PB9 pin; the main control chip is connected to the CD servo module via the PB8 pin and the PB9 pin.

6. A control method for a CD playing system as claimed in any one of claims 1 to 5, characterized in that: include: The main control module detects the status of the trigger module in real time to obtain the detection result; If the main control module determines that the detection result is a closed state, it generates a disc identification instruction and sends the disc identification instruction to the CD servo module; The CD servo module performs identification processing according to the disc identification instruction to obtain a disc identification code, and sends the disc identification code to the main control module; The main control module performs identification processing on the disc identification code to obtain an identification result; If the main control module determines that the identification result is that there is CD disc data, it generates a disc reading start instruction and sends the disc reading start instruction to the CD servo module; The CD servo module performs disc reading processing according to the received disc reading start instruction to obtain disc reading data, and sends the disc reading data to the digital-to-analog conversion module; The digital-to-analog conversion module converts the disc read data to obtain analog audio data.

7. The method according to claim 6, characterized in that The trigger module includes a trigger component, a placement component and a start component; The main control module detects the state of the trigger module in real time to obtain a detection result, including: If the start component establishes a connection with the placement component, the trigger component jumps to a closed state; The main control module detects that the trigger component jumps to a closed state and determines that the detection result is a closed state.

8. The method according to claim 7, characterized in that The main control module detects the state of the trigger module in real time to obtain a detection result, and the method further includes: If the start component and the placement component are not connected, the trigger component jumps to a normally open state; The main control module detects that the trigger component jumps to the normally open state and determines that the detection result is the normally open state.

9. The method according to claim 6, characterized in that After the main control module detects the state of the trigger module in real time and obtains the detection result, the method further includes: If the main control module determines that the detection result is a normally open state, it generates a stop disc reading instruction and sends the stop disc reading instruction to the CD servo module; The CD servo module obtains the disc reading stop instruction and performs disc reading stop processing according to the disc reading stop instruction.

10. The method according to claim 6, characterized in that The main control module performs identification processing on the disc identification code to obtain an identification result, and the method further includes: If the main control module determines that the identification result is that there is no CD disc data, it continues to detect the state of the trigger module in real time to obtain the detection result.